model.where(Sequel.like(:column, "%#{term}%"))model.where(:column => value).update(:enabled => false)| # Path to your oh-my-zsh configuration. | |
| ZSH=/usr/local/oh-my-zsh | |
| # Set name of the theme to load. | |
| # Look in ~/.oh-my-zsh/themes/ | |
| # Optionally, if you set this to "random", it'll load a random theme each | |
| # time that oh-my-zsh is loaded. | |
| ZSH_THEME="mick" | |
| DISABLE_AUTO_UPDATE="true" |
| #!/bin/bash | |
| # Update, upgrade and install development tools: | |
| # apt-get update | |
| # apt-get -y upgrade | |
| # apt-get -y install build-essential | |
| # apt-get -y install git-core | |
| # Install rbenv | |
| git clone git://github.com/sstephenson/rbenv.git /usr/local/rbenv |
| #!/usr/bin/env ruby | |
| require 'optparse' | |
| require 'uri' | |
| options = {} | |
| opt_parser = OptionParser.new do |opt| | |
| opt.banner = "1Password to RequestPolicy Converter" | |
| opt.on('-i', '--in INPUT', "1password export of URLs") do |input| |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| # | |
| # ************************************************* | |
| # chkconfig: 2345 99 99 | |
| # description: notify email address on system boot. | |
| # | |
| # https://gist.github.com/marshallmick007/9025968 | |
| # ************************************************* | |
| # Installing: | |
| # 1) save as /etc/init.d/notify |
| #!/bin/bash | |
| # from https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # Show full path in Finder title bar | |
| defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES | |
| # Expand save panel by default | |
| defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool YES | |
| # Show the ~/Library folder |