This file contains hidden or 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
diff --git a/lib/trello-archiver/filewriter.rb b/lib/trello-archiver/filewriter.rb | |
index 2308e43..f570cfb 100644 | |
--- a/lib/trello-archiver/filewriter.rb | |
+++ b/lib/trello-archiver/filewriter.rb | |
@@ -1,119 +1,205 @@ | |
+ class Archiver | |
+ include Trello | |
+ include Trello::Authorization | |
+ def initialize(options = |
This file contains hidden or 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
" Run the current file in a ConqueTerm, great for ruby tests | |
let g:ConqueTerm_InsertOnEnter = 0 | |
let g:ConqueTerm_CWInsert = 1 | |
nmap <silent> <Leader>r :call RunRubyCurrentFileConque()<CR> | |
nmap <silent> <Leader>R :call RunRakeConque()<CR> | |
nmap <silent> <Leader>c :execute 'ConqueTermSplit script/console'<CR> | |
nmap <silent> <Leader>i :execute 'ConqueTermSplit pry'<CR> | |
nmap <silent> <Leader>b :execute 'ConqueTermSplit /bin/bash --login'<CR> | |
nmap <silent> <Leader>S :call RunRspecCurrentFileConque()<CR> |
This file contains hidden or 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
#!/usr/bin/env jruby | |
=begin | |
Implementation notes: | |
Setup SQL Auth User in SQLSERVER | |
Allow Mixed authentication | |
Disable Firewall on SQL port 1433 and 1434 | |
Test connection on localhost | |
Download and extract sqljdbc4.jar | |
http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=21599 | |
http://download.microsoft.com/download/D/6/A/D6A241AC-433E-4CD2-A1CE-50177E8428F0/1033/sqljdbc_3.0.1301.101_enu.tar.gz |
This file contains hidden or 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
# Episode 1 Shell Commands | |
whoami | |
uname -a | |
sudo apt-get install gedit | |
gedit | |
clear | |
sudo apt-get update | |
sudo apt-get upgrade | |
cd /media/ | |
ls |
This file contains hidden or 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
# Episode 2 Shell Commands | |
sudo apt-get install curl | |
\curl -L https://get.rvm.io | bash -s stable --ruby | |
source /home/zph/.rvm/scripts/rvm | |
rvm requirements | |
sudo /usr/bin/apt-get install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion pkg-config | |
sudo add-apt-repository ppa:webupd8team/sublime-text-2 | |
sudo apt-get update | |
sudo apt-get install sublime-text | |
sublime-text |
This file contains hidden or 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 a sane Ruby Version Manager along with Recent Ruby | |
\curl -L https://get.rvm.io | bash -s stable --ruby | |
# Source the installed script to allow for using RVM this first time | |
# Future logins will automatically source RVM using your bashrc or zshrc | |
source ~/.rvm/scripts/rvm | |
# Clone Trello-Archiver | |
git clone https://github.com/zph/trello-archiver.git | |
# Move into folder | |
cd trello-archiver/ | |
# Install needed Ruby Gem dependencies |
This file contains hidden or 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
#!/usr/bin/env bash | |
# Script to export json data from Trello | |
# Written by ZPH <[email protected]> | |
# Credit for API call belongs to http://www.shesek.info/general/automatically-backup-trello-lists-cards-and-other-data | |
# | |
# Caveats: | |
# -API limits the number certain parameters returned. | |
# -JSON output may be truncated for large boards; further research needed. |
This file contains hidden or 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
#!/usr/bin/env ruby | |
require 'open-uri' | |
# Script to export json data from Trello | |
# Written by ZPH <[email protected]> | |
# Credit for API call belongs to http://www.shesek.info/general/automatically-backup-trello-lists-cards-and-other-data | |
# | |
# Caveats: | |
# -API limits the number certain parameters returned. | |
# -JSON output may be truncated for large boards; further research needed. |
This file contains hidden or 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
# CAVEATS | |
# on Linux - delete any lines referencing reattach-to-user-namespace | |
# on OSX - run `brew install reattach-to-user-namespace` | |
set -g prefix C-a | |
unbind C-b | |
bind C-a send-prefix | |
bind C-z send-prefix | |
bind-key C-a last-window | |
bind-key C-z last-window | |
unbind % # Remove default binding since we’re replacing |
This file contains hidden or 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
" plain annotations | |
map <silent> <F10> !xmpfilter -a<cr> | |
nmap <silent> <F10> V<F10> | |
imap <silent> <F10> <ESC><F10>a | |
" Test::Unit assertions; use -s to generate RSpec expectations instead | |
map <silent> <S-F10> !xmpfilter -u<cr> | |
nmap <silent> <S-F10> V<S-F10> | |
imap <silent> <S-F10> <ESC><S-F10>a |