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
Only in /Users/dvydra/.gem/ruby/2.5.8/gems/rails-4.2.11.15/: .DS_Store | |
Only in /Users/dvydra/.gem/ruby/2.5.8/gems/rails-4.2.11.15/: LICENSE | |
Only in /Users/dvydra/.gem/ruby/2.5.8/gems/rails-4.2.11.15/guides: .DS_Store | |
diff -r /Users/dvydra/.gem/ruby/2.5.8/gems/rails-4.2.11.3/guides/CHANGELOG.md /Users/dvydra/.gem/ruby/2.5.8/gems/rails-4.2.11.15/guides/CHANGELOG.md | |
1,15d0 | |
< ## Rails 4.2.11.3 (May 15, 2020) ## | |
< | |
< * No changes. | |
< | |
< |
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
## Prepare ################################################################### | |
# Remove RVM | |
rvm implode | |
# Ensure your homebrew is working properly and up to date | |
brew doctor | |
brew update | |
## Install ################################################################### |
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
1) Install iTerm2, it's awesome. | |
2) locate your rubymine commandline integration thingy, it's usually `/usr/local/bin/mine` | |
3) Open iTerm2 preferences. Go to Profiles -> Default -> Advanced. | |
4) Select "Run command..." under Semantic History | |
5) Enter "/usr/local/bin/mine --line \2 \1" as the command |
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 'irb/completion' | |
ARGV.concat [ "--readline", "--prompt-mode", "simple" ] | |
module Readline | |
module History | |
LOG = "#{ENV['HOME']}/.irb-history" | |
def self.write_log(line) | |
File.open(LOG, 'ab') {|f| f << "#{line}\n"} | |
end |
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
<strong>Melbourne</strong> | |
<ul> | |
<li>[<a href="http://itpleasesus.com/feed/">RSS</a>] <a href="http://itpleasesus.com">"...it pleases us"</a></li> | |
<li>[<a href="http://jeroxie.com/addiction/feed">RSS</a>] <a href="http://jeroxie.com/addiction">Addictive and consuming - A Melbourne food blog</a></li> | |
<li>[<a href="http://citytraces.julieshiels.com.au/?feed=rss2">RSS</a>] <a href="http://citytraces.julieshiels.com.au">City Traces</a></li> | |
<li>[<a href="http://considerthesauce.net/feed/">RSS</a>] <a href="http://considerthesauce.net">considerthesauce.net</a></li> | |
<li>[<a href="http://www.dailymelbourne.com/feeds/posts/default">RSS</a>] <a href="http://www.dailymelbourne.com">DAILY MELBOURNE</a></li> | |
<li>[<a href="http://www.danielbowen.com/feed/">RSS</a>] <a href="http://www.danielbowen.com">Diary of an Average Australian</a></li> | |
<li>[<a href="http://eatourwayuphighst.blogspot.com/feeds/posts/default">RSS</a>] <a href="http://eatourwayuphighst.blogspot.com/">eat our way up high street project</a></li> |
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
gnuplot> set xdata time | |
gnuplot> set timefmt "%Y-%m-%d_%H:%M:%S" | |
gnuplot> plot "/Users/dvydra/Desktop/time_series2.txt" using 1:2 | |
$ head Desktop/time_series2.txt | |
2011-03-01_00:18:36,490 687731 | |
2011-03-01_00:18:36,651 711241 | |
2011-03-01_01:18:36,553 687731 |
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
extracting a public SSH key from a private key file: | |
ssh-keygen -y -f id_dsa > id_dsa.pub |
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
>> .inputrc | |
"\e[A": history-search-backward | |
"\e[B": history-search-forward | |
"\e[C": forward-char | |
"\e[D": backward-char | |
>> .profile | |
export HISTCONTROL=erasedups | |
export HISTSIZE=10000 | |
export CLICOLOR=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
for i in 1 2 3 4; do grep happy /var/log/server_$i.log|wc -l; done; |
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
[user] | |
name = Daniel Vydra | |
email = daniel.vydra@lonelyplanet.com.au | |
[color] | |
diff = auto | |
status = auto | |
branch = auto | |
interactive = auto | |
ui = true | |
pager = true |
NewerOlder