- a task list item
- list syntax required
- normal formatting, @mentions, #1234 refs
- incomplete
- completed
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
startGameButton.addListener(new InputListener() { | |
@Override | |
public boolean touchDown(InputEvent event, float x, float y, int pointer, int button) { | |
game.setScreen(new GameScreen(game)); | |
return true; | |
} | |
}); |
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 Foo | |
def self.parse | |
new.parse | |
end | |
def parse | |
if true | |
if false | |
puts "omg" if true |
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
/* | |
NAME: TCPServer | |
SYNOPSIS: TCPServer [port] | |
DESCRIPTION: The program creates a TCP socket in the inet | |
listen for connections from TCPClients, | |
accept clients into private sockets, and | |
fork an echo process to ``serve'' the client. | |
If [port] is not specified, the program uses any available port. |
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
object Character | |
object Statistics | |
attribute accessor character, type: Float, default: 1.0 | |
object PrimaryStatistics < Statistics | |
attribute accessor strength , type: Float, default: 1.0 | |
attribute accessor perception , type: Float, default: 1.0 | |
attribute accessor endurance , type: Float, default: 1.0 | |
attribute accessor charisma , type: Float, default: 1.0 |
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
window.UUID = | |
generate: -> | |
'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace /[xy]/g, (character) -> | |
random_number = Math.random()*16 | 0 # Random number between (and including) 0 and 15 | |
value = if character == 'x' then random_number else (random_number&0x3|0x8) | |
value.toString(16) |
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"?> | |
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cc="urn:ebay:apis:CoreComponentTypes" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility" xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext" xmlns:ed="urn:ebay:apis:EnhancedDataTypes" xmlns:ebl="urn:ebay:apis:eBLBaseComponents" xmlns:ns="urn:ebay:api:PayPalAPI"> | |
<SOAP-ENV:Header> | |
<Security xmlns="http://schemas.xmlsoap.org/ws/2002/12/secext" xsi:type="wsse:SecurityType"> | |
</Security> | |
<RequesterCredentials xmlns="urn:ebay:api:PayPalAPI" xsi:type="ebl:CustomSecurityHeaderType"> | |
<Credentials xmlns="urn:ebay:apis:eBLBaseComponents" xsi:type="ebl:UserIdPasswordType"> | |
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 Parser | |
def errors | |
@errors ||= [] | |
end | |
end |
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
RESET | |
+++++ +++++ set cell 0 to 10 (the multiplier) | |
[ run brackets until cell 0 == 0 | |
> +++++ +++ point to and set cell 1 to 8 * 10 = 80 | |
> +++++ +++++ ++ point to and set cell 2 to 12 * 10 = 120 | |
> +++++ ++++ point to and set cell 3 to 9 * 10 = 90 | |
> +++++ +++++ + point to and set cell 4 to 11 * 10 = 110 | |
<<<< - point to and cell 0 decrement 1 | |
] | |
> ++ . point to cell 1 increment 2 and print |
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
module HotPatch | |
def hot_patch | |
puts "Sizzlin hot... don't call super here =X" | |
end | |
end | |
class Object | |
def hot_patch | |
meta_class = (class << self; self; end) | |
meta_class.send(:include, HotPatch) unless meta_class.ancestors.include?(HotPatch) |