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
var Channel = (function () { | |
function Channel(name) { | |
this.init(name); | |
} | |
Channel.prototype = new Object(); | |
// Initialise | |
Channel.prototype.init = function (name) { | |
this.name = 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
cs560:Downloads chris$ pypy ./pypy/pypy/translator/goal/translate.py --opt=jit example5.py | |
[translation:info] Translating target as defined by example5 | |
[version:WARNING] Errors getting Mercurial information: Not running from a Mercurial repository! | |
[platform:msg] Setting platform to 'host' cc=None | |
[platform:execute] gcc-4.0 -c -arch x86_64 -O3 -fomit-frame-pointer -mmacosx-version-min=10.4 -mdynamic-no-pic /var/folders/C0/C0N0SHjwEOKxr+PGnBbawE+++TI/-Tmp-/usession-unknown-4/gcctest.c -o /var/folders/C0/C0N0SHjwEOKxr+PGnBbawE+++TI/-Tmp-/usession-unknown-4/gcctest.o | |
[platform:execute] gcc-4.0 /var/folders/C0/C0N0SHjwEOKxr+PGnBbawE+++TI/-Tmp-/usession-unknown-4/gcctest.o -arch x86_64 -mmacosx-version-min=10.4 -o /var/folders/C0/C0N0SHjwEOKxr+PGnBbawE+++TI/-Tmp-/usession-unknown-4/gcctest | |
[platform:execute] gcc-4.0 -c -arch x86_64 -O3 -fomit-frame-pointer -mmacosx-version-min=10.4 -mdynamic-no-pic /var/folders/C0/C0N0SHjwEOKxr+PGnBbawE+++TI/-Tmp-/usession-unknown-4/platcheck_0.c -o /var/folders/C0/C0N0SHjwEOKxr+P |
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
cs560:Downloads chris$ pypy ./pypy/pypy/translator/goal/translate.py --opt=jit --gcrootfinder=shadowstack example5.py | |
[translation:info] Translating target as defined by example5 | |
[version:WARNING] Errors getting Mercurial information: Not running from a Mercurial repository! | |
[platform:msg] Setting platform to 'host' cc=None | |
[platform:execute] gcc-4.0 -c -arch x86_64 -O3 -fomit-frame-pointer -mmacosx-version-min=10.4 -mdynamic-no-pic /var/folders/C0/C0N0SHjwEOKxr+PGnBbawE+++TI/-Tmp-/usession-unknown-5/gcctest.c -o /var/folders/C0/C0N0SHjwEOKxr+PGnBbawE+++TI/-Tmp-/usession-unknown-5/gcctest.o | |
[platform:execute] gcc-4.0 /var/folders/C0/C0N0SHjwEOKxr+PGnBbawE+++TI/-Tmp-/usession-unknown-5/gcctest.o -arch x86_64 -mmacosx-version-min=10.4 -o /var/folders/C0/C0N0SHjwEOKxr+PGnBbawE+++TI/-Tmp-/usession-unknown-5/gcctest | |
[platform:execute] gcc-4.0 -c -arch x86_64 -O3 -fomit-frame-pointer -mmacosx-version-min=10.4 -mdynamic-no-pic /var/folders/C0/C0N0SHjwEOKxr+PGnBbawE+++TI/-Tmp-/usession-unknown-5/platcheck_0.c -o /var |
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
pypy ./pypy/pypy/translator/goal/translate.py --opt=jit --gcrootfinder=shadowstack example5.py | |
[translation:info] Translating target as defined by example5 | |
[platform:msg] Setting platform to 'host' cc=None | |
[platform:execute] gcc-4.0 -c -arch x86_64 -O3 -fomit-frame-pointer -mmacosx-version-min=10.4 -mdynamic-no-pic /var/folders/C0/C0N0SHjwEOKxr+PGnBbawE+++TI/-Tmp-/usession-default-0/gcctest.c -o /var/folders/C0/C0N0SHjwEOKxr+PGnBbawE+++TI/-Tmp-/usession-default-0/gcctest.o | |
[platform:execute] gcc-4.0 /var/folders/C0/C0N0SHjwEOKxr+PGnBbawE+++TI/-Tmp-/usession-default-0/gcctest.o -arch x86_64 -mmacosx-version-min=10.4 -o /var/folders/C0/C0N0SHjwEOKxr+PGnBbawE+++TI/-Tmp-/usession-default-0/gcctest | |
[platform:execute] gcc-4.0 -c -arch x86_64 -O3 -fomit-frame-pointer -mmacosx-version-min=10.4 -mdynamic-no-pic /var/folders/C0/C0N0SHjwEOKxr+PGnBbawE+++TI/-Tmp-/usession-default-0/platcheck_0.c -o /var/folders/C0/C0N0SHjwEOKxr+PGnBbawE+++TI/-Tmp-/usession-default-0/platcheck_0.o | |
[platform:execute] gcc-4.0 /var/folders/ |
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
// in Mode | |
var highlighter = new MarkdownHighlightRules(); | |
this.$tokenizer = new Tokenizer(highlighter.getRules()); | |
this.$embeds = highlighter.getEmbeds(); | |
this.createModeDelegates({ | |
"js-": JavaScriptMode | |
}); |
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
var a = { | |
hidden: { | |
hidden: "seven" | |
} | |
} | |
Object.defineProperty(a, "_proto", { | |
get: function () { return this.hidden; }, | |
set: function (val) { this.hidden = val; } | |
}); |
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
this.transformInput = function(state, editor, session, text) { | |
if (text == '`') { | |
var selection = editor.getSelectionRange(); | |
var selected = session.doc.getTextRange(selection); | |
if (selected !== "") { | |
return { | |
text: '`' + selected + '`', | |
selection: false | |
} | |
} else { |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<link href='http://fonts.googleapis.com/css?family=Crimson+Text:regular,regularitalic,bold,bolditalic' rel='stylesheet' type='text/css'> | |
<link href='http://fonts.googleapis.com/css?family=Maven+Pro:regular,500,bold,900' rel='stylesheet' type='text/css'> | |
<script type="text/x-mathjax-config"> | |
MathJax.Hub.Config({ | |
extensions: ["tex2jax.js"], | |
jax: ["input/TeX","output/HTML-CSS"], |
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
#coding: utf8 | |
#################################### IMPORTS ################################### | |
# Sublime Libs | |
import sublime | |
import sublime_plugin | |
################################################################################ | |
class ExpandselectionCommand(sublime_plugin.TextCommand): |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Yield is Fun</title> | |
</head> | |
<script type="application/javascript;version=1.7"> | |
function __genLoop(generator, callback, onend) { | |
if (callback && typeof callback === 'function') { | |
try { |