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
#!/bin/bash | |
### BEGIN INIT INFO | |
# Provides: zram | |
# Required-Start: | |
# Required-Stop: | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Increased Performance In Linux With zRam (Virtual Swap Compressed in RAM) | |
# Description: Adapted from systemd scripts at https://github.com/mystilleef/FedoraZram | |
### END INIT INFO |
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
float S = 20; | |
int N = 6; | |
float M = 500; | |
float wh, hh; | |
PGraphics pg; | |
void setup() { | |
//size(800, 600, P2D); | |
size(1280, 800, P2D); | |
strokeWeight(1.3); |
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
fs = require 'fs' | |
path = require 'path' | |
http = require 'http' | |
{ EventEmitter } = require 'events' | |
socketio = require 'socket.io' | |
Cookies = require 'cookies' | |
hat = require 'hat' | |
{ Template } = require 'dynamictemplate' | |
render = require 'dynamictemplate/render' |
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
inherits = require 'inherits' # https://github.com/isaacs/inherits/blob/master/inherits.js | |
module.exports = feature = (list...) -> | |
if list.length is 0 | |
return -> | |
else if list.length is 1 | |
classes = list[0] | |
else | |
classes = {} | |
for clazz,i in list |
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
fs = require('fs') | |
http = require('http') | |
util = require('util') | |
Stream = require('stream').Stream | |
spawn = require('child_process').spawn | |
filename = "/home/dodo/Videos/Primer.avi" | |
ReadableAndWritableStream = function () { |
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
aliases = { | |
winshow = "window goto $0;window show $1"; | |
winbalance = "window goto $0;window balance"; | |
winunstick = "window goto $0;window stick off"; | |
winstick = "window goto $0;window stick on"; | |
winshowall = "winshow 1 2;winshow 2 3;winshow 3 4;winshow 4 5;winshow 5 6;winshow 6 7"; | |
winhideall = "window hide;window hide;window hide;window hide;window hide;window hide"; | |
winstickall = "winstick 2;winstick 3;winstick 4;winstick 5;winstick 6;winstick 7"; |
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
/** | |
* Circle Collision with Swapping Velocities | |
* by Ira Greenberg. | |
* | |
* Based on Keith Peter's Solution in | |
* Foundation Actionscript Animation: Making Things Move! | |
*//* | |
Ball[] balls = { | |
new Ball(100, 400, 20), |
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 abs = Math.abs; | |
var sqrt = Math.sqrt; | |
var floor = Math.floor; | |
var min = Math.min; | |
var V3 = function(x, y, z) { | |
this.x = x; | |
this.y = y; | |
this.z = z; | |
} |
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
npm info it worked if it ends with ok | |
npm info using [email protected] | |
npm info using [email protected] | |
npm info preinstall [email protected] | |
npm info addNamed [ 'coffee-script', '>= 1.1.1' ] | |
npm info addNamed [ 'eyes', '>= 0.1.6' ] | |
npm info addNamed [ 'express', '>= 2.3.9' ] | |
npm info addNamed [ 'express-expose', '>= 0.2.0' ] | |
npm info addNamed [ 'express-messages', '>= 0.0.2' ] | |
npm info addNamed [ 'gravatar', '>= 1.0.2' ] |
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
[kate - Normal] | |
Color Background=159,160,160 | |
Color Highlighted Bracket=129,168,51 | |
Color Highlighted Line=131,132,132 | |
Color Icon Bar=120,120,120 | |
Color Line Number=0,0,0 | |
Color MarkType1=0,0,255 | |
Color MarkType2=255,0,0 | |
Color MarkType3=255,255,0 | |
Color MarkType4=255,0,255 |
NewerOlder