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
### /config/environment.rb | |
config.gem 'fastercsv' | |
### /config/routes.rb | |
map.connect '/users/export', :controller => 'users', :action => 'export' | |
### /app/models/user.rb | |
# find all students and pass to controller export action for export to csv | |
def self.find_students | |
find_by_sql("select students.firstname, students.lastname, students.grade, students.homeroom, students.phone, students.email, students.relationship, users.firstname, users.lastname, accounts.school from students, users, accounts where students.user_id = users.id and accounts.id = users.account_id") |
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
Atom config. |
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
putangina gist-vim test |
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
ag.vim l9 tcomment_vim vim-easymotion vim-jst webapi-vim | |
bufexplorer lightline.vim unite.vim vim-fugitive vim-pathogen YankRing.vim | |
ctrlp.vim mru vim-closer vim-hyperstyle vimproc.vim | |
gist-vim nerdtree vim-coffee-script vim-javascript vim-startify |
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
Get window class or window role: | |
xprop | grep CLASS | |
xprop | grep ROLE | |
Plug values into i3 config: | |
for_window [class="#{CLASS_NAME}"] move container to workspace #{WORKSPACE} | |
for_window [window_role="#{WINDOW_ROLE}"] move container to workspace #{WORKSPACE} |
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
https://discussions.apple.com/thread/6808549?start=0&tstart=0 |
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
Parameter settings: | |
LeftEdge = 117 | |
RightEdge = 2827 | |
TopEdge = 89 | |
BottomEdge = 1575 | |
FingerLow = 25 | |
FingerHigh = 30 | |
MaxTapTime = 180 | |
MaxTapMove = 148 | |
MaxDoubleTapTime = 100 |
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
gnome-tweak-tool | |
- Hinting: slight | |
- Antialiasing: rgba | |
freetype-freeworld from rpmfusion |
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
<?xml version="1.0"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<fontconfig> | |
<!-- | |
Documented at | |
http://linux.die.net/man/5/fonts-conf | |
To check font mapping run the command at terminal | |
$ fc-match 'helvetica Neue' |
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
unbind C-b | |
set-option -g prefix ` | |
bind ` send-prefix |
OlderNewer