start new:
tmux
start new with session name:
tmux new -s myname
| main(); | |
| function main(){ | |
| var list = new Array(); | |
| var doc = app.activeDocument; | |
| var str = ""; | |
| var coords = new Array(); | |
| var ab = doc.artboards[0]; | |
| // ab.rulerOrigin = [0 , 0]; |
| // rd_MasksToShapes.jsx | |
| // Copyright (c) 2007 redefinery (Jeffrey R. Almasol). All rights reserved. | |
| // check it: www.redefinery.com | |
| // | |
| // Name: rd_MasksToShapes | |
| // Version: 0.7 | |
| // | |
| // Description: | |
| // This script creates a shape layer with paths for each mask on the | |
| // selected layer. |
| @Brett's searches | |
| @Brett's custom searches | |
| go https://duckduckgo.com/?q=%21%20%s Open first result (DuckDuckGo) | |
| b https://duckduckgo.com/?q=%21%s Bang search (DuckDuckGo) | |
| grep https://www.cueup.com/?q=%s&fq=1 Greplin | |
| ss https://duckduckgo.com/site:%d%20%s Current site (DuckDuckGo) | |
| bt https://duckduckgo.com/site:brettterpstra.com%20%s BrettTerpstra.com (DuckDuckGo) | |
| gh http://github.com/search?q=%s&type=Everything&repo=&langOverride=&start_value=1 Search GitHub (everything) | |
| hints http://hints.macworld.com/search.php?query=%s&keyType=all&datestart=&dateend=&topic=0&type=stories&results=50&mode=search Search Mac OS X Hints | |
| mu http://www.macupdate.com/find/mac/%s Search MacUpdate (Software) |
| #include "testApp.h" | |
| //-------------------------------------------------------------- | |
| void testApp::setup(){ | |
| ofEnableNormalizedTexCoords(); | |
| ofDisableArbTex(); | |
| ofSetFrameRate(60); | |
| ofBackground(22,33,44); | |
| // Shader + VAO/VBO |
| # Install MacTex: http://mirror.ctan.org/systems/mac/mactex/mactex-basic.pkg | |
| $ sudo chown -R `whoami` /usr/local/texlive | |
| $ tlmgr update --self | |
| $ tlmgr install ucs | |
| $ tlmgr install etoolbox | |
| # Install pandoc view homebrew |
| #define ANALOG_IN 0 | |
| void setup() { | |
| Serial.begin(9600); | |
| //Serial.begin(115200); | |
| } | |
| void loop() { | |
| int val = analogRead(ANALOG_IN); | |
| Serial.write( 0xff ); |
| /* | |
| * Oscilloscope | |
| * Gives a visual rendering of analog pin 0 in realtime. | |
| * | |
| * This project is part of Accrochages | |
| * See http://accrochages.drone.ws | |
| * | |
| * (c) 2008 Sofian Audry (info@sofianaudry.com) | |
| * | |
| * This program is free software: you can redistribute it and/or modify |
| #!/bin/bash | |
| # | |
| # This script configures WordPress file permissions based on recommendations | |
| # from http://codex.wordpress.org/Hardening_WordPress#File_permissions | |
| # | |
| # Author: Michael Conigliaro <mike [at] conigliaro [dot] org> | |
| # | |
| WP_OWNER=www-data # <-- wordpress owner | |
| WP_GROUP=www-data # <-- wordpress group | |
| WP_ROOT=$1 # <-- wordpress root directory |
| #gallery.rb | |
| #jekyll plugin | |
| #this code creates the inner image list for twitter-bootstrap carousel | |
| #found here | |
| #https://groups.google.com/forum/?fromgroups=#!topic/jekyll-rb/Z0LZuPxUsy0 | |
| #http://twitter.github.com/bootstrap/javascript.html#carousel | |
| #needs bootstrap-carousel.js | |
| #needs bootstrap-transition.js |