Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace FunctorTest | |
{ | |
public interface SingleParamPolymorph<T> { } | |
public interface TwoParamsPolymorph<T, U> { } |
(ns proc | |
(:import [java.lang ProcessBuilder]) | |
(:use [clojure.java.io :only [reader writer]])) | |
(defn spawn [& args] | |
(let [process (-> (ProcessBuilder. args) | |
(.start))] | |
{:out (-> process | |
(.getInputStream) | |
(reader)) |
macro $do { | |
case { $y:expr } => { | |
$y | |
} | |
case { $x:ident <- $y:expr $rest ... } => { | |
λ['>=']($y, function($x) { | |
return $do { $rest ... } | |
}); | |
} | |
} |
int main(){} |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
#! /usr/bin/env ocamlscript | |
Ocaml.ocamlflags := ["-thread"]; | |
Ocaml.packs := [ "core" ] | |
-- | |
open Core.Std | |
type term = | |
| Ident of string | |
| Lambda of string * term | |
| Apply of term * term |
This is the full version of the thread for opencart#1286, archived from notification emails.
The discussion has since been deleted almost entirely by OpenCart's developer.
Everyone who posted in it has also been blocked from the OpenCart repo.
inside = (what, from)=> | |
if typeof window isnt 'undefined' | |
window[what] = from | |
else | |
global[what] = from | |
we = (obj)-> obj | |
load = (thing)=> inside thing, we require thing | |
inside '$', we require 'jquery' | |
load 'assert' |
package main | |
import ( | |
"fmt" | |
"sync" | |
"time" | |
) | |
type Publisher struct { | |
mutex sync.RWMutex |