Standard escape codes are prefixed with Escape
:
- Ctrl-Key:
^[
- Octal:
\033
- Unicode:
\u001b
- Hexadecimal:
\x1B
- Decimal:
27
#!/bin/ksh | |
# Help message | |
usage() { | |
echo "Usage: $0 [-s screen] [-l] [-h]" | |
echo " -s screen Select screen number (0, 1, 2, etc.)" | |
echo " -l List available screens" | |
echo " -h Show this help message" | |
exit 1 | |
} |
diff --git a/src/Color.cs b/src/Color.cs | |
index 2499edc..817b67e 100644 | |
--- a/src/Color.cs | |
+++ b/src/Color.cs | |
@@ -1392,6 +1392,24 @@ namespace Microsoft.Xna.Framework | |
private set; | |
} | |
+ public static Color CustomRed | |
+ { |
#!/bin/bash | |
set -e | |
find -name "*.wma" -exec bash -c 'ffmpeg -i "{}" -q:a 10 "${0/.wma}.ogg"' {} \; | |
find -name "*.wmv" -exec bash -c 'ffmpeg -i "{}" -q:v 10 -q:a 10 "${0/.wmv}.ogv"' {} \; |
If you have trouble with automatic installation, please contact the developers (via IRC, our forum, the webpage comments or our issue tracker) before attempting a manual install.
#!/usr/bin/env python | |
# Program for extracting the NES roms of each game in the Mega Man Legacy | |
# Collection for PC | |
# iNES Headers for Mega Man 1-6 | |
HEADERS = [b'\x4E\x45\x53\x1A\x08\x00\x21\x00\x00\x00\x00\x00\x00\x00\x00\x00', | |
b'\x4E\x45\x53\x1A\x10\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00', | |
b'\x4E\x45\x53\x1A\x10\x10\x40\x00\x00\x00\x00\x00\x00\x00\x00\x00', | |
b'\x4E\x45\x53\x1A\x20\x00\x40\x00\x00\x00\x00\x00\x00\x00\x00\x00', |
#!/bin/bash | |
# Stardew Valley XnaToFna Automation Script | |
# Written by Ethan "flibitijibibo" Lee | |
# | |
# Usage: Place in Stardew Valley folder, run from terminal. | |
# NOTE: Be sure you have Mono 4.4 or newer! Stardew's XML structures need it! | |
# Be smart. Be safe. | |
set -e |
require 'bindata' | |
require 'pathname' | |
require 'fileutils' | |
require 'optparse' | |
class Header < BinData::Record | |
endian :little | |
uint32 :magic | |
float :version |
//gcc osvrexample.c -losvrClientKit | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <osvr/ClientKit/ContextC.h> | |
#include <osvr/ClientKit/InterfaceC.h> | |
#include <osvr/ClientKit/InterfaceStateC.h> |
#!/bin/bash | |
# FNA Update Script | |
# Written by Ethan "flibitijibibo" Lee | |
# | |
# Released under public domain. | |
# No warranty implied; use at your own risk. | |
# | |
# Run this script in the game's executable folder. | |
# | |
# This script requires the following programs: |