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
#include <iostream> | |
#include <vector> | |
#include <string> | |
#include <algorithm> | |
using namespace std; | |
class Job { | |
public: | |
string name; |
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
#include <iostream> | |
#include <string> | |
#include <vector> | |
#include <algorithm> | |
const char X = 'X', O = 'O', EMPTY = ' ', TIE = 'T', NO_ONE = 'N'; | |
using namespace std; |
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 ERROR_CSS = "background-color: #f44336; color: #B2DFDB;" | |
var WARN_CSS = "background-color: #FDD835; color: #B2DFDB;" | |
var INFO_CSS = "background-color: #BDBDBD; color: #B2DFDB;" | |
var DEBUG_CSS = "background-color: #9575CD; color: #ECEFF1;" | |
var D = function () { this.console = console } | |
D.prototype.printStyledArgs = function(passedArgs, css, fn) { | |
for (var i = 0; i < passedArgs.length; i++) { |
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
0 - natas0 | |
1 - gtVrDuiDfck831PqWsLEZy5gyDz1clto | |
2 - ZluruAthQk7Q2MqmDeTiUij2ZvWy2mBi | |
3 - sJIJNW6ucpu6HPZ1ZAchaDtwd7oGrD14 | |
4 - Z9tkRkWmpt9Qr7XrR5jWRkgOU901swEZ | |
5 - iX6IOfmpN7AYOQGPwtn3fXpbaJVJcHfq | |
6 - aGoY4q2Dc6MgDq4oL4YtoKtyAg9PeHa1 | |
7 - 7z3hEENjQtflzgnT29q7wAvMNfZdh0i9 | |
8 - DBfUBfqQG69KvJvJ1iAbMoIpwSNQ9bWe | |
9 - W0mMhUcRRnG8dcghE4qvk3JA9lGt8nDl |
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 $ = require('jquery') | |
var TouchManager = function (callbacks) { | |
this.touchState = { | |
currentY: null, | |
currentX: null, | |
startY: null, | |
startX: null, |
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
# MAC ADDRESS SPOOFER | |
MAC="" | |
for i in {0..5}; do | |
VAL=$RANDOM | |
PART=$(printf "%2X" $VAL) | |
MAC+=$(printf "%.2s" $PART) | |
if [ $i -lt 5 ] |
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 | |
DATA_DIR=".poison_result" | |
DEVICES_FILE="$DATA_DIR/device-list.txt" | |
NEMESIS_LOGFILE="$DATA_DIR/nemesis_log.txt" | |
IP_REGEX="[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}" | |
MAC_REGEX="[a-z0-9]\{2\}\:[a-z0-9]\{2\}\:[a-z0-9]\{2\}\:[a-z0-9]\{2\}\:[a-z0-9]\{2\}\:[a-z0-9]\{2\}" | |
if [ ! -d "$DATA_DIR" ]; then |
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 fetch from 'isomorphic-fetch' | |
export function retrieve(url, actionCreator, id = null, collection = null) { | |
return (dispatch, getState) => { | |
function done(data) { | |
dispatch(actionCreator(data)) | |
} | |
if (id !== null) { |
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
file="II.gif" | |
base="II" | |
convert $file -coalesce "${base}-coal.gif" | |
convert -size 1200x1080 "${base}-coal.gif" -resize 30% "${base}-small.gif" | |
convert "${base}-small.gif" frames%04d.png | |
#montage -background '#e177a8' -border 0 -tile 6x -quality 60% frames*.png "A-sheet.jpg" | |
ffmpeg -loop 1 -i bg.png -i frames%04d.png -filter_complex overlay=shortest=1 "II.mp4" |
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
{ | |
SinOsc.ar( | |
Line.kr(440, 220, 1), 0, 1 | |
); | |
}.scope | |
SynthDef(\env_synth,{ | |
Out.ar(0, SinOsc.ar(440)); | |
}).add; |