Skip to content

Instantly share code, notes, and snippets.

View lubieniebieski's full-sized avatar
💙

Adam Nowak lubieniebieski

💙
View GitHub Profile
@lubieniebieski
lubieniebieski / DailyJournal.md
Created November 11, 2024 20:27
Obsidian template for DailyJournal

<%* moment.locale("en") const thisDay = window.moment(new Date(tp.file.title)); const lastYearDay = thisDay.clone().subtract(1, 'years'); const thisWeek = thisDay.format("YYYY-[W]ww"); const thisMonth = thisDay.format("YYYY-MM-[M]"); const thisDayLong = thisDay.format("dddd Do MMMM YYYY"); const thisYear = thisDay.format("YYYY-[Y]"); -%>

@lubieniebieski
lubieniebieski / com.googlecode.iterm2.plist
Last active August 29, 2015 14:07
com.googlecode.iterm2.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AdjustWindowForFontSizeChange</key>
<true/>
<key>AllowClipboardAccess</key>
<false/>
<key>AnimateDimming</key>
<true/>
@lubieniebieski
lubieniebieski / .laptop.local
Last active August 29, 2015 14:06
laptop local
#!/bin/sh
# Netguru
# Caskroom - http://caskroom.io/
brew_cask_expand_alias() {
brew cask info "$1" 2>/dev/null | head -1 | awk '{gsub(/:/, ""); print $1}'
}
@lubieniebieski
lubieniebieski / rvm-ruby-patch
Last active December 11, 2015 06:59
speed up your ruby 1.9.3!
rvm get head
brew install autoconf automake
rvm uninstall 1.9.3-p448
rvm cleanup sources
rvm install 1.9.3-p448 --patch railsexpress
rvm reload
bundle
gem pristine --all
@lubieniebieski
lubieniebieski / robot.js
Created December 4, 2012 21:47
qlaqlaqla
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.ahead(200);
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AnimateDimming</key>
<true/>
<key>AppleAntiAliasingThreshold</key>
<integer>1</integer>
<key>AppleScrollAnimationEnabled</key>
<integer>0</integer>
@lubieniebieski
lubieniebieski / terminal_aliases.sh
Created April 3, 2012 14:34
Favourite terminal aliases
# bash/terminal
alias h=history
hf(){
grep "$@" ~/.bash_history
}
# rails
alias be='bundle exec'