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
public class ಠ_ಠAttribute : Attribute | |
{ | |
} | |
[ಠ_ಠ] | |
public class Manager | |
{ | |
// 1000s of lines here | |
} |
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
from __future__ import division | |
import collections | |
from texttable import Texttable | |
by_status = collections.defaultdict(list) | |
per_page = 100 | |
offset = 0 | |
while 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Example</title> | |
</head> | |
<body> | |
<!-- this is the DOM template for our o_O app below --> | |
<div id="viewmodel"> | |
<ul bind="foreach: people"> |
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>Example</title> | |
</head> | |
<body> | |
<!-- this is the DOM template for our o_O app below --> | |
<div id="team"> | |
<p bind='text: teamname(); css: css()' /> |
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
#!/bin/bash | |
export APP_ENV=$1 | |
shift | |
if [ -z "$APP_ENV" ]; then | |
echo "Usage: $(basename $0) APP_ENV [ARGUMENTS...]" | |
echo "ARGUMENTS are forwarded to $(which env)" | |
exit 1 | |
fi |
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
Yi = Stativus.createStatechart() | |
Yi.addState "StateA1", | |
globalConcurrentState:'default_states', | |
states: [ | |
name: "StateA1B1", | |
substatesAreConcurrent: true, | |
states: [ | |
name: "StateA1C1" | |
, | |
name: "StateA1C2" |
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
// survey definitions | |
public abstract class SurveyDefinition{ | |
public string Id{ get; set; } | |
public string Survey{ get; set; } | |
public string Version{ get; set; } | |
public abstract Survey Generate(); | |
} | |
public class MySurvey2010 : SurveyDefinition{ |