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 fact2 { | |
public static int factorial(int x) { | |
if (x==0) return 1; | |
else return x * factorial (x-1); | |
} | |
public static void main() { | |
int i, gobble; | |
i = 0; |
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
.assembly extern mscorlib {} | |
.assembly addnums {} | |
.method static void main() | |
{ | |
.entrypoint | |
.maxstack 11 | |
.locals init ( int32 ) | |
ldc.i4.s 10 | |
stloc.0 |
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
.assembly extern mscorlib {} | |
.assembly addnums {} | |
.method static void main() | |
{ | |
.entrypoint | |
.maxstack 15 | |
.locals init ( int32 ) | |
// a = 10 | |
ldc.i4.s 10 |
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 pyvirtualdisplay import Display | |
from selenium import webdriver | |
display = Display(visible=0, size=(800, 600)) | |
display.start() | |
browser = webdriver.Firefox() | |
browser.get('http://www.google.com') | |
print browser.title | |
browser.quit() |
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>NOAA GOES NA Recent</title> | |
<style> | |
body { | |
margin: 0; | |
} | |
.container { |
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
{"tape_1":{"label":"Tape 1","family":"tapes","medium":"3/4\" Tape","notes":"","stories":[{"slug":"Slug 1","date":"2015-11-07T00:17:32.806Z","format":"Unknown","runtime":"0:00","notes":"","reporter":"Unknown","photographer":"Unknown"},{"slug":"Slug 1","date":"2015-11-07T00:17:32.806Z","format":"Unknown","runtime":"0:00","notes":"","reporter":"Unknown","photographer":"Unknown"},{"slug":"Slug 1","date":"2015-11-07T00:17:32.806Z","format":"Unknown","runtime":"0:00","notes":"","reporter":"Unknown","photographer":"Unknown"},{"slug":"Slug 1","date":"2015-11-07T00:17:32.806Z","format":"Unknown","runtime":"0:00","notes":"","reporter":"Unknown","photographer":"Unknown"},{"slug":"Slug 1","date":"2015-11-07T00:17:32.806Z","format":"Unknown","runtime":"0:00","notes":"","reporter":"Unknown","photographer":"Unknown"},{"slug":"Slug 1","date":"2015-11-07T00:17:32.806Z","format":"Unknown","runtime":"0:00","notes":"","reporter":"Unknown","photographer":"Unknown"},{"slug":"Slug 1","date":"2015-11-07T00:17:32.806Z","format":"Unkn |
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
{ | |
"name": "...", | |
"version": "...", | |
"description": "KTVQ Video Archive Management.", | |
"main": "./dist/index.js", | |
"typings": "./dist/index.d.ts", | |
"repository": { | |
"type": "git", | |
"url": "[email protected]:DavidSouther/rupert.git" | |
}, |
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
var log = debug('draggable'); | |
function Draggable(element, scope){ | |
var apply; | |
if(scope.$apply){ | |
apply = function(fn){ | |
return function(){ | |
var context = this; | |
var args = arguments; |
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
var log = debug('draggable'); | |
function Draggable(element, scope){ | |
var apply; | |
if(scope.$apply){ | |
apply = function(fn){ | |
return function(){ | |
var context = this; | |
var args = arguments; |
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
var config = { | |
name: 'rupert-auth-example', | |
hostname: 'localhost', | |
stassets: { | |
root: './src/client' | |
}, | |
server: { | |
root: './src/server' | |
}, | |
mongo: { |
NewerOlder