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
using System; | |
using System.CodeDom.Compiler; | |
using System.Reflection; | |
using System.Threading.Tasks; | |
/* | |
To execute, run | |
string code = "your code here"; | |
if (!code.Contains("return")) code = "return " + code; | |
code = code.Trim().TrimEnd(';') + ";"; |
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
using System; | |
namespace Spinner | |
{ public class Spinner | |
{ private readonly string[] _spinner_chars = new[] {"|", "/", "-", "\\" }; | |
private int _interval; | |
public Spinner() | |
{ this._interval = 100; | |
} |
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
using System.Collections.Generic; | |
using System.Linq; | |
namespace LogParser | |
{ | |
public class LocationMap | |
{ | |
public class CountryNode | |
{ | |
public string name; |
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
#!/usr/bin/env python | |
from PIL import Image | |
import sys, random | |
image_file = './test.bmp' | |
zoom = 10 | |
if len(sys.argv) != 3: | |
print "usage: {} <image_file> <zoom>".format(sys.argv[0]) | |
exit(1) |
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
/*Channel Categories*/ | |
.containerDefault-1bbItS{ | |
padding-top: 11px; | |
} | |
.nameCollapsed-3_ChMu, .nameDefault-Lnjrwm, .nameHovered-1YFSWq, .nameHoveredCollapsed-2c-EHI, .nameMuted-1n0LSj, .nameUnread-WKlSv-{ | |
text-transform: none; | |
font-size: 95%; | |
} | |
/*Completely hide blocked messages*/ |