This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
; Modified Tango Desktop Project color scheme for windows console | |
; See : http://en.wikipedia.org/wiki/Tango_Desktop_Project#Palette | |
; Values stored as 00-BB-GG-RR | |
[HKEY_CURRENT_USER\Console] | |
; BLACK DGRAY | |
"ColorTable00"=dword:00222222 | |
"ColorTable08"=dword:00454545 | |
; BLUE LBLUE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-480p - Run tenfoot in 480p rather than 1080p | |
-720p - Run tenfoot in 720p rather than 1080p | |
-accesscode - | |
-all_languages - show longest loc string from any language | |
-batterytestmode - rapidly cycle battery percentages for testing | |
-bigpicture - Start in Steam Big Picture mode | |
-blefw - | |
-cafeapplaunch - Launch apps in a cyber cafe context | |
-candidates - Show libjingle candidates for local connection as they are processed | |
-ccsyntax - Spew details about the localized strings we load |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try | |
{ | |
label7.Text = "登录中..."; | |
string url = "https://login.minecraft.net/?user=" + Program.username + "&password=" + password + "&version=13"; | |
WebClient client = new WebClient(); | |
Stream data = client.OpenRead(url); | |
StreamReader reader = new StreamReader(data); | |
string s = reader.ReadToEnd(); | |
Console.WriteLine(s); | |
data.Close(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from collections import OrderedDict | |
#reverse order of operations | |
#I didn't have to use an OrderedDict, but it's cute | |
operations = OrderedDict([ | |
("+", lambda x, y: x + y), | |
("-", lambda x, y: x - y), | |
("/", lambda x, y: x / y), | |
("*", lambda x, y: x * y), | |
("^", lambda x, y: x ^ y) |
NewerOlder