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
.assembly 'fact' | |
{ | |
} | |
.namespace Factorial | |
{ | |
.class public Factorial | |
{ | |
.method public static void Main(string[] argv) | |
{ |
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 | |
""" | |
This module provides an interface to the Google Prediction API. | |
""" | |
import json | |
import numbers | |
import urllib | |
import urllib2 |
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
diff --git a/tools/wafadmin/Tools/node_addon.py b/tools/wafadmin/Tools/node_addon.py | |
index 9462b60..72748c9 100644 | |
--- a/tools/wafadmin/Tools/node_addon.py | |
+++ b/tools/wafadmin/Tools/node_addon.py | |
@@ -41,6 +41,9 @@ def detect(conf): | |
found = os.path.exists(join(prefix, "bin/node")) | |
conf.check_message('node prefix', '', found, prefix) | |
+ ## On Cygwin we need to link to the generated symbol definitions | |
+ if Options.platform.startswith('cygwin'): conf.env['LIB_NODE'] = 'node' |
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
{- | | |
Module : TweetHTML | |
Description : Convert a Twitter message (tweet) to HTML | |
Copyright : (c) Brian McKenna | |
License : MIT | |
-} | |
module TweetHTML (tweetHTML) where | |
import Data.Char |
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
From 57ae2bf86e269702ae417edc03565c1f0b3ed7d0 Mon Sep 17 00:00:00 2001 | |
From: Brian McKenna <brian@brianmckenna.org> | |
Date: Wed, 21 Jul 2010 09:56:09 +1000 | |
Subject: [PATCH] Making install task recognise npm config. Fixes issue #522 | |
--- | |
Cakefile | 8 ++++++++ | |
package.json | 2 +- | |
2 files changed, 9 insertions(+), 1 deletions(-) |
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
// LLVM_STYLE: old | |
// Solving Intertyper... | |
// Cycle start, items: | |
// Processing using LineSplitter: 1 | |
// New results: 0 out of 0 | |
// Processing using Tokenizer: 102 | |
// New results: 0 out of 0 | |
// Processing using Triager: 102 | |
// New results: 0 out of 0 | |
// Processing using Global: 37 |
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
<!--================== Content models for exclusions =====================--> | |
<!-- a elements use %Inline; excluding a --> | |
<!ENTITY % a.content | |
"(#PCDATA | %special; | %fontstyle; | %phrase; | %inline.forms; | %misc.inline;)*"> | |
<!-- pre uses %Inline excluding img, object, applet, big, small, | |
font, or basefont --> |
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
(ns puffnfresh.core | |
(:require-macros [puffnfresh.timeout :as timeout])) | |
(defn -main [& args] | |
(timeout/timeout-macro | |
(prn "Hello") | |
(prn "World") | |
(prn "!"))) | |
(set! *main-cli-fn* -main) |
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
import org.parboiled.scala.Parser | |
object HelloWorld extends Parser { | |
def main(args: Array[String]) = {} | |
} |
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
;; For perspective.el: | |
;; https://github.com/nex3/perspective-el | |
(defun iswitchb-persp-curr-only () | |
(let* ((names (remq nil (mapcar 'buffer-name (persp-buffers persp-curr)))) | |
(matches (remove-if-not (lambda (x) (member x names)) iswitchb-temp-buflist))) | |
(setf iswitchb-temp-buflist matches))) | |
(add-hook 'iswitchb-make-buflist-hook 'iswitchb-persp-curr-only) |
OlderNewer