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
#!/usr/bin/ruby | |
%w[fileutils ftools set zlib].each do |filename| | |
require filename | |
end | |
# Load the Marshal dump to a hash | |
def load file_name | |
begin | |
file = Zlib::GzipReader.open(file_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
#!/bin/bash | |
# backup-script for rsync/osx | |
# | |
# | |
# | |
# ----- Set Default Parameters ----- | |
# | |
# folders to backup.. |
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
==> Downloading http://cclive.googlecode.com/files/cclive-0.6.5.tar.bz2 | |
File already downloaded in /Users/gio/Library/Caches/Homebrew | |
==> ./configure --disable-debug --prefix=/usr/local/Cellar/cclive/0.6.5 | |
==> make install | |
==> Exit Status: 2 | |
http://github.com/mxcl/homebrew/blob/master/Library/Formula/cclive.rb#L13 | |
==> Environment | |
HOMEBREW_VERSION: 0.8 | |
HEAD: ed55d2f4bb8135b1330107410b807656e8df2285 | |
HOMEBREW_PREFIX: /usr/local |
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
@Gio's searches | |
@Gio'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) | |
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) | |
jq http://api.jquery.com/?ns0=1&s=%s&go= Search jQuery API docs |
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
-- the following variable allows to choose what we want to export | |
-- it can be "Selected Papers Only", "Selected Collection" or "Entire Library" | |
set myDesiredSaveRange to "Selected Collection" | |
-- the following variable allows is the path where we save the bib file | |
set myPath to "~/Desktop/from_papers.bib" | |
-- do we also have a prettifier? | |
set runPrettifier to true | |
-- path to it |
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
==> Downloading http://downloads.sourceforge.net/project/fontforge/fontforge-source/fontforge_full-20110222.tar.bz2 | |
Already downloaded: /Library/Caches/Homebrew/fontforge-20110222.tar.bz2 | |
==> ./configure --prefix=/usr/local/Cellar/fontforge/20110222 --enable-double --without-freetype-bytecode --with-python-headers=/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 --with-python-lib=-lpython2.7 --enable-pyextension | |
==> make | |
( cd Unicode ; make ) | |
ln -s ./po/*.po po | |
ln: po/de.po: File exists | |
ln: po/el.po: File exists | |
ln: po/en_GB.po: File exists | |
ln: po/es.po: File exists |
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
This file contains any messages produced by compilers while | |
running configure, to aid debugging if configure makes a mistake. | |
It was created by configure, which was | |
generated by GNU Autoconf 2.65. Invocation command line was | |
$ ./configure --prefix=/usr/local/Cellar/fontforge/20110222 --enable-double --without-freetype-bytecode --with-python-headers=/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 --with-python-lib=-lpython2.7 --enable-pyextension | |
## --------- ## | |
## Platform. ## |
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
on findAndReplace(tofind, toreplace, TheString) | |
set ditd to text item delimiters | |
set res to missing value | |
set text item delimiters to tofind | |
repeat with tis in text items of TheString | |
if res is missing value then | |
set res to tis | |
else | |
set res to res & toreplace & tis | |
end if |
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/sh | |
foo=$(curl -s http://elite.so/tpp/proxy.txt | grep org | grep www | awk '/org/{print $2}') | |
foo="http://"$foo | |
open $foo |
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
set nocompatible | |
filetype off | |
set rtp+=~/.vim/bundle/vundle | |
call vundle#rc() | |
Bundle 'gmarik/vundle' | |
" My Bundles here: | |
" |
OlderNewer