NOTE: the content is out-of-date. All development is moved to the https://github.com/yurydelendik/wasmception
# locations, e.g.
export WORKDIR=~/llvmwasm; mkdir -p $WORKDIR
export INSTALLDIR=$WORKDIR
| import llvmlite.ir as ir | |
| import llvmlite.binding as llvm | |
| from ctypes import CFUNCTYPE | |
| def main(): | |
| m = ir.Module() | |
| func_ty = ir.FunctionType(ir.VoidType(), []) | |
| i32_ty = ir.IntType(32) | |
| func = ir.Function(m, func_ty, name="printer") |
| // -*- mode: groovy -*- | |
| // vim: set filetype=groovy : | |
| node( 'some_node' ) { | |
| stage( "Phase 1" ) { | |
| sshagent( credentials: [ 'some_creds' ] ) { | |
| checkout scm | |
| def lastSuccessfulCommit = getLastSuccessfulCommit() | |
| def currentCommit = commitHashForBuild( currentBuild.rawBuild ) | |
| if (lastSuccessfulCommit) { |
NOTE: the content is out-of-date. All development is moved to the https://github.com/yurydelendik/wasmception
# locations, e.g.
export WORKDIR=~/llvmwasm; mkdir -p $WORKDIR
export INSTALLDIR=$WORKDIR
| // Usage: | |
| // Copy and paste all of this into a debug console window of the "Who is Hiring?" comment thread | |
| // then use as follows: | |
| // | |
| // query(term | [term, term, ...], term | [term, term, ...], ...) | |
| // | |
| // When arguments are in an array then that means an "or" and when they are seperate that means "and" | |
| // | |
| // Term is of the format: | |
| // ((-)text/RegExp) ( '-' means negation ) |
| // Source: https://groups.google.com/forum/#!topic/angular/hVrkvaHGOfc | |
| // jsFiddle: http://jsfiddle.net/pkozlowski_opensource/PxdSP/14/ | |
| // author: Pawel Kozlowski | |
| var myApp = angular.module('myApp', []); | |
| //service style, probably the simplest one | |
| myApp.service('helloWorldFromService', function() { | |
| this.sayHello = function() { | |
| return "Hello, World!" |