This file contains hidden or 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
| data:text/html, <html contenteditable> |
This file contains hidden or 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
| <?xml version="1.0" encoding="utf-8"?> | |
| <menuitems> | |
| <menuitem> | |
| <lang>csharp,js</lang> | |
| <type>header</type> | |
| <text>some header 0</text> | |
| </menuitem> | |
| <menuitem> | |
| <lang>csharp,js</lang> | |
| <type>composite</type> |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>HTML boilerplate with JQuery</title> | |
| </head> | |
| <body> | |
| <h1>Hello, world!</h1> | |
| <script src="http://code.jquery.com/jquery-latest.js"></script> | |
| </body> | |
| </html> |
This file contains hidden or 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
| mygraph = { '0':['1','2','3','4','5'], | |
| '1':[], | |
| '2':[], | |
| '3':['6'], | |
| '4':[], | |
| '5':[], | |
| '6':['7'], | |
| '7':[], | |
| } | |
This file contains hidden or 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
| import logging | |
| import ctypes | |
| OutputDebugString = ctypes.windll.kernel32.OutputDebugStringA | |
| OutputDebugString.argtypes = [ctypes.c_char_p] | |
| class DbgViewHandler(logging.Handler): | |
| def __init__(self): | |
| logging.Handler.__init__(self) |
This file contains hidden or 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
| import os | |
| clear = lambda: os.system('cls') | |
| # now, to clear the screen | |
| clear() |
This file contains hidden or 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
| <configuration> | |
| <runtime> | |
| <loadFromRemoteSources enabled="true"/> | |
| </runtime> | |
| </configuration> |
This file contains hidden or 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
| class MyPrimitiveSynchronisationContext : SynchronizationContext | |
| { | |
| private readonly Queue<Action> messagesToProcess = new Queue<Action>(); | |
| private readonly object syncHandle = new object(); | |
| private bool isRunning = true; | |
| public override void Send(SendOrPostCallback codeToRun, object state) | |
| { | |
| throw new NotImplementedException(); | |
| } |
NewerOlder