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
{ | |
"workbench.colorTheme": "Solarized Light", | |
"window.zoomLevel": -1, | |
"gitlens.advanced.messages": { | |
"suppressShowKeyBindingsNotice": true | |
}, | |
"editor.minimap.enabled": false, | |
"files.autoSave": "afterDelay", | |
"git.enableSmartCommit": true, | |
"java.home": "/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home", |
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
# install youtube-dl https://rg3.github.io/youtube-dl/download.html | |
# place this into your ~/.bash_profile | |
# use just with calling: | |
# conPod https://someyoutubeurl | |
# conPodTo https://someyoutubeurl subfolder_of_podcasts_folder | |
# conVid https://someyoutubeurl | |
# conMus https://someyoutubeurl | |
function convYou2MP3 { | |
cd $1 |
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
require 'formula' | |
class Subversion17 < Formula | |
homepage 'http://subversion.apache.org/' | |
url 'http://www.apache.org/dyn/closer.cgi?path=subversion/subversion-1.7.11.tar.bz2' | |
mirror 'http://archive.apache.org/dist/subversion/subversion-1.7.11.tar.bz2' | |
sha1 'd82e187803043b74c072cd5a861ac02e4a027684' | |
option :universal | |
option 'java', 'Build Java bindings' |
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
require 'formula' | |
class Subversion < Formula | |
homepage 'http://subversion.apache.org/' | |
url 'http://www.apache.org/dist/subversion/subversion-1.7.13.tar.bz2' | |
sha1 '844bb756ec505edaa12b9610832bcd21567139f1' | |
bottle do | |
revision 1 | |
sha1 '1d7364a2238b5a1c8270c9c8b269730bf20098d1' => :mountain_lion |
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 | |
$ENV_ID="stage0" | |
mkdir ~/db_dumps | |
mysqldump -u root -p databasename | gzip > ~/db_dumps/dump_projectx_$ENV_ID-`date +%F_%T`.sql.gz |
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 | |
function switch_to_version_in_folder { | |
cd $1 | |
svn switch $2 | |
} | |
switch_to_version_in_folder /path/to/project/that/you/want/toswitch https://yoursvndoamin.com/yoursvnpathtoproject |
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 | |
tail -f -n500 $(find . -name "console*.log" -type f -printf '%T@ %p\n' | sort -n | tail -1 | cut -f2- -d" ") |