repo
string
commit
string
message
string
diff
string
jeffkreeftmeijer/dotfiles
083000075e27644840741a8df31f39684d164e62
Add vim-rhubarb
diff --git a/.gitmodules b/.gitmodules index 8adb4e9..90d03f4 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,30 +1,33 @@ [submodule "nvim/pack/plugins/start/vim-tmux-navigator"] path = nvim/pack/plugins/start/vim-tmux-navigator url = git@github.com:christoomey/vim-tmux-navigator.git [submodule "nvim/pack/plugin...
jeffkreeftmeijer/dotfiles
5e73992130fbe01eb57431af59809172b77e14a4
Move mouse mode to neovim-sensible
diff --git a/nvim/init.vim b/nvim/init.vim index aece694..f9ca864 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -1,14 +1,11 @@ colors dim set bg=dark -" Enable mouse/trackpad scrolling -set mouse=a - " fzf.vim set rtp+=/usr/local/opt/fzf nnoremap <silent> ,t :Files<CR> nnoremap <silent> ,b :Buffers<CR> nno...
jeffkreeftmeijer/dotfiles
8c5f89030e22cbdeb6ae85f649cdf9612ae4a353
set bg=dark in init.vim
diff --git a/nvim/init.vim b/nvim/init.vim index 482f7bf..aece694 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -1,13 +1,14 @@ colors dim +set bg=dark " Enable mouse/trackpad scrolling set mouse=a " fzf.vim set rtp+=/usr/local/opt/fzf nnoremap <silent> ,t :Files<CR> nnoremap <silent> ,b :Buffers<CR> nno...
jeffkreeftmeijer/dotfiles
888f413c8c0754972ac53fe0d304317a533fab9b
Use fzf from brew
diff --git a/nvim/init.vim b/nvim/init.vim index 6d617d9..482f7bf 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -1,12 +1,13 @@ colors dim " Enable mouse/trackpad scrolling set mouse=a " fzf.vim +set rtp+=/usr/local/opt/fzf nnoremap <silent> ,t :Files<CR> nnoremap <silent> ,b :Buffers<CR> nnoremap <silent...
jeffkreeftmeijer/dotfiles
487c83cc4501462d4e3a2df01965ee08c1288d41
Remove Plug
diff --git a/nvim/autoload/plug.vim b/nvim/autoload/plug.vim deleted file mode 100644 index b0f5bc2..0000000 --- a/nvim/autoload/plug.vim +++ /dev/null @@ -1,2414 +0,0 @@ -" vim-plug: Vim plugin manager -" ============================ -" -" Download plug.vim and put it in ~/.vim/autoload -" -" curl -fLo ~/.vim/autolo...
jeffkreeftmeijer/dotfiles
042af3cfdd83bd10dd8e185e47684c0cdcaa1b54
Add Vim plugins as submodules in nvim/pack
diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..8adb4e9 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,30 @@ +[submodule "nvim/pack/plugins/start/vim-tmux-navigator"] + path = nvim/pack/plugins/start/vim-tmux-navigator + url = git@github.com:christoomey/vim-tmux-navigator.git +[submodule "nvim/pa...
jeffkreeftmeijer/dotfiles
cc0760c5827c21a4130cd0ffdd09d2f2453e5884
Add ale
diff --git a/nvim/init.vim b/nvim/init.vim index f38bc3c..2085c0d 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -1,22 +1,26 @@ call plug#begin('~/.vim/plugged') Plug 'christoomey/vim-tmux-navigator' Plug 'jeffkreeftmeijer/neovim-sensible' Plug 'jeffkreeftmeijer/vim-dim' Plug 'jeffkreeftmeijer/vim-numbertoggle'...
jeffkreeftmeijer/dotfiles
7ef65917fbfdea4ba65eb51d89cc729453d6fcc1
Enable mouse/trackpad scrolling for tmux and vim
diff --git a/.tmux.conf b/.tmux.conf index 18fe2b7..5cff0c4 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -1,31 +1,34 @@ # Use Ctrl-a instead of Ctrl-b as the tmux prefix set-option -g prefix C-a # Set the base index to 1 instead of 0 for both windows and panes. set-option -g base-index 1 set-option -g pane-base-i...
jeffkreeftmeijer/dotfiles
138d2d200bcedc0097e28fea5af11f0c7cbd2e71
$ git config --global alias.git '!git'
diff --git a/.gitconfig b/.gitconfig index eb3bdca..8c08f9c 100644 --- a/.gitconfig +++ b/.gitconfig @@ -1,5 +1,7 @@ [user] name = Jeff Kreeftmeijer email = jeffkreeftmeijer@gmail.com [core] excludesfile = ~/.config/.gitignore +[alias] + git = !git
jeffkreeftmeijer/dotfiles
7d72d2bd2a9f3d2c8c054132cf36137f795fe48d
Check in .gitconfig
diff --git a/.gitconfig b/.gitconfig new file mode 100644 index 0000000..eb3bdca --- /dev/null +++ b/.gitconfig @@ -0,0 +1,5 @@ +[user] + name = Jeff Kreeftmeijer + email = jeffkreeftmeijer@gmail.com +[core] + excludesfile = ~/.config/.gitignore
jeffkreeftmeijer/dotfiles
3837afa19095ea0b5ab8b30cd7c20d5106983bd5
Move tabs and list config to neovim-sensible
diff --git a/nvim/init.vim b/nvim/init.vim index 85fab0d..8fb6f89 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -1,27 +1,19 @@ call plug#begin('~/.vim/plugged') Plug 'christoomey/vim-tmux-navigator' Plug 'jeffkreeftmeijer/neovim-sensible' Plug 'jeffkreeftmeijer/vim-dim' Plug 'jeffkreeftmeijer/vim-numbertoggle'...
jeffkreeftmeijer/dotfiles
7e18a92ced2342ca218d9094806f08b8db35cc65
Add vim-numbertoggle
diff --git a/nvim/init.vim b/nvim/init.vim index 2f77ef1..85fab0d 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -1,26 +1,27 @@ call plug#begin('~/.vim/plugged') Plug 'christoomey/vim-tmux-navigator' Plug 'jeffkreeftmeijer/neovim-sensible' Plug 'jeffkreeftmeijer/vim-dim' +Plug 'jeffkreeftmeijer/vim-numbertoggle'...
jeffkreeftmeijer/dotfiles
d816b130a63aec778119cd5e5a252434cf5e07da
Add vim-polyglot, remove plugins for elixir, coffee, rust and liquid
diff --git a/nvim/init.vim b/nvim/init.vim index d15f6b4..2f77ef1 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -1,29 +1,26 @@ call plug#begin('~/.vim/plugged') Plug 'christoomey/vim-tmux-navigator' -Plug 'elixir-lang/vim-elixir' Plug 'jeffkreeftmeijer/neovim-sensible' Plug 'jeffkreeftmeijer/vim-dim' Plug 'jun...
jeffkreeftmeijer/dotfiles
da5083ce88257cb4295ada1f88e2b1f02894984a
Use , instead of <leader> in init.vim
diff --git a/nvim/init.vim b/nvim/init.vim index 21331a0..d15f6b4 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -1,29 +1,29 @@ call plug#begin('~/.vim/plugged') Plug 'christoomey/vim-tmux-navigator' Plug 'elixir-lang/vim-elixir' Plug 'jeffkreeftmeijer/neovim-sensible' Plug 'jeffkreeftmeijer/vim-dim' Plug 'jun...
jeffkreeftmeijer/dotfiles
f40c3a9f271fde23845f6f0dcc56fd8e89ae3cbc
vim: set tab with, show trailing spaces and tabs
diff --git a/nvim/init.vim b/nvim/init.vim index 358d50c..21331a0 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -1,21 +1,29 @@ call plug#begin('~/.vim/plugged') Plug 'christoomey/vim-tmux-navigator' Plug 'elixir-lang/vim-elixir' Plug 'jeffkreeftmeijer/neovim-sensible' Plug 'jeffkreeftmeijer/vim-dim' Plug 'jun...
jeffkreeftmeijer/dotfiles
937655a2d6aa6d190c3ccf7191535cb2fd264eba
Remove rbenv from .bash_profile
diff --git a/.bash_profile b/.bash_profile index b13543d..72961f2 100644 --- a/.bash_profile +++ b/.bash_profile @@ -1,27 +1,24 @@ source ~/.config/bash/git-prompt.sh/git-prompt.sh # PS1: "~/foo/bar/baz $ " export PS1='\w $(__git_ps1 "(%s) ")$ ' # History control: # - ignorespace: lines which begin with a spac...
jeffkreeftmeijer/dotfiles
21b5d909fd270f182d1c3b84541f29e9d5806fb2
Add vim-liquid
diff --git a/nvim/init.vim b/nvim/init.vim index bd324d7..358d50c 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -1,20 +1,21 @@ call plug#begin('~/.vim/plugged') Plug 'christoomey/vim-tmux-navigator' Plug 'elixir-lang/vim-elixir' Plug 'jeffkreeftmeijer/neovim-sensible' Plug 'jeffkreeftmeijer/vim-dim' Plug 'jun...
jeffkreeftmeijer/dotfiles
3cd83034af13df5e9d35e0b737b1c27fa22d1728
Add git-prompt.sh and set PS1
diff --git a/.bash_profile b/.bash_profile index 09cd0d6..b13543d 100644 --- a/.bash_profile +++ b/.bash_profile @@ -1,25 +1,27 @@ +source ~/.config/bash/git-prompt.sh/git-prompt.sh + # PS1: "~/foo/bar/baz $ " -export PS1="\w $ " +export PS1='\w $(__git_ps1 "(%s) ")$ ' # History control: # - ignorespace: lines whi...
jeffkreeftmeijer/dotfiles
a8ba4e8cf470947562ecfea9e4c63feec4520dd5
Install vim-tmux-navigator
diff --git a/.tmux.conf b/.tmux.conf index 869107d..18fe2b7 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -1,30 +1,31 @@ # Use Ctrl-a instead of Ctrl-b as the tmux prefix set-option -g prefix C-a # Set the base index to 1 instead of 0 for both windows and panes. set-option -g base-index 1 set-option -g pane-base-i...
jeffkreeftmeijer/dotfiles
a193ee8b2206d78a053bb74f43b9fec546cb339b
tmux: install tmux-sensible, clean up duplicate config
diff --git a/.tmux.conf b/.tmux.conf index 68bef79..869107d 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -1,38 +1,30 @@ # Use Ctrl-a instead of Ctrl-b as the tmux prefix set-option -g prefix C-a # Set the base index to 1 instead of 0 for both windows and panes. set-option -g base-index 1 set-option -g pane-base-i...
jeffkreeftmeijer/dotfiles
2cd92a4b0d4f6eb13abde803cf6b3d58ab4def92
tmux: Add TPM
diff --git a/.tmux.conf b/.tmux.conf index cde5671..68bef79 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -1,34 +1,38 @@ # Use Ctrl-a instead of Ctrl-b as the tmux prefix set-option -g prefix C-a # Set the base index to 1 instead of 0 for both windows and panes. set-option -g base-index 1 set-option -g pane-base-i...
jeffkreeftmeijer/dotfiles
183f6e35c4d01fe013e17ccf3c42e143b44a85db
tmux: Open new windows and splits in the current path
diff --git a/.tmux.conf b/.tmux.conf index 2fa89dc..cde5671 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -1,29 +1,34 @@ # Use Ctrl-a instead of Ctrl-b as the tmux prefix set-option -g prefix C-a # Set the base index to 1 instead of 0 for both windows and panes. set-option -g base-index 1 set-option -g pane-base-i...
jeffkreeftmeijer/dotfiles
934db1d9d89e88ed749f3799c25422e316b5ce7a
Use the system paste buffer in tmux
diff --git a/.tmux.conf b/.tmux.conf index 87483d5..2fa89dc 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -1,15 +1,29 @@ # Use Ctrl-a instead of Ctrl-b as the tmux prefix set-option -g prefix C-a # Set the base index to 1 instead of 0 for both windows and panes. set-option -g base-index 1 set-option -g pane-base-i...
jeffkreeftmeijer/dotfiles
50d97291fb9f817f2911d11fe98ab1f43c658f81
Use 256 colors in tmux
diff --git a/.tmux.conf b/.tmux.conf index de52981..87483d5 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -1,12 +1,15 @@ # Use Ctrl-a instead of Ctrl-b as the tmux prefix set-option -g prefix C-a # Set the base index to 1 instead of 0 for both windows and panes. set-option -g base-index 1 set-option -g pane-base-i...
jeffkreeftmeijer/dotfiles
7f14226fddeb68430070a541003f72f5136d9c47
Add shortcuts for fzf.vim
diff --git a/nvim/init.vim b/nvim/init.vim index c3c8938..c85104d 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -1,14 +1,19 @@ call plug#begin('~/.vim/plugged') Plug 'elixir-lang/vim-elixir' Plug 'jeffkreeftmeijer/neovim-sensible' Plug 'jeffkreeftmeijer/vim-dim' Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': '....
jeffkreeftmeijer/dotfiles
0b86e06f2d3993e7e00190fd1ece2b7f558718b2
set -g default-command "reattach-to-user-namespace -l ${SHELL}"
diff --git a/.tmux.conf b/.tmux.conf index 7300bc0..de52981 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -1,9 +1,12 @@ # Use Ctrl-a instead of Ctrl-b as the tmux prefix set-option -g prefix C-a # Set the base index to 1 instead of 0 for both windows and panes. set-option -g base-index 1 set-option -g pane-base-in...
jeffkreeftmeijer/dotfiles
0f155c7722c271818d3a9745c20ef4b662ca367e
Add elixir-lang/vim-elixir to init.vim
diff --git a/nvim/init.vim b/nvim/init.vim index 2df75f7..c3c8938 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -1,13 +1,14 @@ call plug#begin('~/.vim/plugged') +Plug 'elixir-lang/vim-elixir' Plug 'jeffkreeftmeijer/neovim-sensible' Plug 'jeffkreeftmeijer/vim-dim' Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': '....
jeffkreeftmeijer/dotfiles
912dfba0390c612da22b839ef5378928ea4e1d7e
Add Skype and Screenhero to cask.sh
diff --git a/bin/cask.sh b/bin/cask.sh index c55307c..e8c7220 100644 --- a/bin/cask.sh +++ b/bin/cask.sh @@ -1,2 +1,2 @@ brew cask install whatsapp seil wacom-bamboo-tablet \ - slack tunnelblick google-chrome + slack tunnelblick google-chrome skype screenhero
jeffkreeftmeijer/dotfiles
c4bba7b95fd442207f29e27ebcd74ec90a96dc1b
Add rust.vim
diff --git a/nvim/init.vim b/nvim/init.vim index f90e75b..2df75f7 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -1,12 +1,13 @@ call plug#begin('~/.vim/plugged') Plug 'jeffkreeftmeijer/neovim-sensible' Plug 'jeffkreeftmeijer/vim-dim' Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } Plug 'junegu...
jeffkreeftmeijer/dotfiles
423e539da33ae7a42fa7a82a30100cc2d86b45bc
Add vim-fugitive
diff --git a/.bash_profile b/.bash_profile new file mode 100644 index 0000000..09cd0d6 --- /dev/null +++ b/.bash_profile @@ -0,0 +1,25 @@ +# PS1: "~/foo/bar/baz $ " +export PS1="\w $ " + +# History control: +# - ignorespace: lines which begin with a space character are not saved +# - ignoredups: lines matching the prev...
rfelix/hostgitrb
95a7dff66aff103e58dfddc2f9ba4b857b9fc0e4
Bumped version to 0.0.2 due to mistake in regexp that didn't allow numbers in path
diff --git a/VERSION b/VERSION index 8a9ecc2..4e379d2 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.0.1 \ No newline at end of file +0.0.2
rfelix/hostgitrb
bc2bf5d2e219dd595e0e4afdffd634d8944328c5
git commit -m "Fixed regexp to allow numbers in paths. Close gh-1
diff --git a/lib/only_git.rb b/lib/only_git.rb index 16095ba..9348683 100755 --- a/lib/only_git.rb +++ b/lib/only_git.rb @@ -1,42 +1,42 @@ #!/usr/bin/env ruby require 'logger' require File.join(File.dirname(__FILE__), '..', 'vendor', 'trollop.rb') DEBUG_LEVEL = Logger::ERROR #Examples of commands that are pe...
rfelix/hostgitrb
0d44e3e66e17c2e61ae810bde1be22a6f537b9c0
Changed Rakefile to use 'mg' gem for managing gem building/packaging Changed gemspec information and added 'mg' as a development dependency
diff --git a/.gitignore b/.gitignore index 86339a0..95569d5 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -*.gem \ No newline at end of file +*.gem +dist/* \ No newline at end of file diff --git a/Rakefile b/Rakefile index b8bfe5e..f61b68e 100644 --- a/Rakefile +++ b/Rakefile @@ -1,26 +1,2 @@ -# ----- Utility ...
rfelix/hostgitrb
7051a6c6d707dfaa1b19ca21ac5ab15bff9c2449
Fixed a few formatting issues with only_git.rb output to authorized_keys Added Rakefile for managing the gem
diff --git a/Rakefile b/Rakefile new file mode 100644 index 0000000..b8bfe5e --- /dev/null +++ b/Rakefile @@ -0,0 +1,26 @@ +# ----- Utility Functions ----- + +def scope(path) + File.join(File.dirname(__FILE__), path) +end + +# ----- Packaging ----- + +require 'rake/gempackagetask' +load scope('hostgitrb.gemspec') + +R...
rfelix/hostgitrb
c66094612d601368c4eeac5016b74fc5702c76cb
Created gemspec stuff Fixed issue when adding a public key to an authorized_keys file that doesn't exist
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..86339a0 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.gem \ No newline at end of file diff --git a/VERSION b/VERSION new file mode 100644 index 0000000..8a9ecc2 --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +0.0.1 \ No newline at end of file diff --...
rfelix/hostgitrb
e77c7812ab784cb2fdb528956b6a2b99e7f7b1b6
Rearranged files in directories and changed bash line
diff --git a/README.textile b/README.textile index e773ca5..3f4e8a5 100644 --- a/README.textile +++ b/README.textile @@ -1,32 +1,32 @@ h1. HostGitRb Some simple scripts to help give people access to git repositories without giving them full access via SSH The directory that contains these scripts should be added t...
rfelix/hostgitrb
61d370c2d18bbbba061809494a716b8cc858d6ce
Fixed up some textile formatting issues in README.textile
diff --git a/README.textile b/README.textile index a84c92f..e773ca5 100644 --- a/README.textile +++ b/README.textile @@ -1,38 +1,32 @@ h1. HostGitRb Some simple scripts to help give people access to git repositories without giving them full access via SSH The directory that contains these scripts should be added t...
rfelix/hostgitrb
a861299ad689773a89466b2ea0f32e13944d2b0b
Converted README to textile
diff --git a/README b/README index 83405ad..a84c92f 100644 --- a/README +++ b/README @@ -1,28 +1,38 @@ -= HostGitRb = +h1. HostGitRb + Some simple scripts to help give people access to git repositories without giving them full access via SSH The directory that contains these scripts should be added to the PATH variab...
rfelix/hostgitrb
50cbab7e15031488d43ba17ade54d4e831226748
allow_git now adds comments to authorized_keys file to make identification easier
diff --git a/allow_git.rb b/allow_git.rb index 4d05dfa..01416e6 100755 --- a/allow_git.rb +++ b/allow_git.rb @@ -1,41 +1,45 @@ #!/usr/local/bin/ruby require 'logger' require 'ftools' require File.join(File.dirname(__FILE__), 'libs','trollop.rb') opts = Trollop.options do opt :file, 'Set path to public ssh k...
rfelix/hostgitrb
651f040501c05e240fc6879bde65669653f4c636
Changed Log settings and made the Logger level a constant to be modified when debugging
diff --git a/only_git.rb b/only_git.rb index 7392c54..abcfb4b 100755 --- a/only_git.rb +++ b/only_git.rb @@ -1,40 +1,42 @@ #!/usr/local/bin/ruby require 'logger' require File.join(File.dirname(__FILE__), 'libs','trollop.rb') +DEBUG_LEVEL = Logger::ERROR + #Examples of commands that are permitted and that are us...
rfelix/hostgitrb
f427e473af78cdbd1c120be3fe824ed58acc4930
Changed regexp to allow / making only_git also permit git urls like ssh://user@domain/gitrepo.git
diff --git a/only_git.rb b/only_git.rb index b662938..7392c54 100755 --- a/only_git.rb +++ b/only_git.rb @@ -1,40 +1,40 @@ #!/usr/local/bin/ruby require 'logger' require File.join(File.dirname(__FILE__), 'libs','trollop.rb') #Examples of commands that are permitted and that are used by git (git clone/git fetch/...
rfelix/hostgitrb
3e520cc37549390fe02a88a7e87e3a2fe0185c43
Added some more info and fixed grammar issue
diff --git a/README b/README index 90b9d39..83405ad 100644 --- a/README +++ b/README @@ -1,23 +1,28 @@ = HostGitRb = Some simple scripts to help give people access to git repositories without giving them full access via SSH -The directory that contains these scripts should be added to the PATH variable so they can ea...
rfelix/hostgitrb
7592cfccc01807aca731501815ce9d66333d8b76
Changed default log level to DEBUG and fixed problem with frozen string in command
diff --git a/only_git.rb b/only_git.rb index 528028b..34f9786 100755 --- a/only_git.rb +++ b/only_git.rb @@ -1,40 +1,40 @@ #!/usr/local/bin/ruby require 'logger' require File.join(File.dirname(__FILE__), 'libs','trollop.rb') #Examples of commands that are permitted and that are used by git (git clone/git fetch/...
rfelix/hostgitrb
98ca0b3319391971eeccb57ac129cb32c7c35817
Fixed mistake with Logger level
diff --git a/only_git.rb b/only_git.rb old mode 100644 new mode 100755 index 5520ee5..528028b --- a/only_git.rb +++ b/only_git.rb @@ -1,40 +1,40 @@ #!/usr/local/bin/ruby require 'logger' require File.join(File.dirname(__FILE__), 'libs','trollop.rb') #Examples of commands that are permitted and that are used by ...
rfelix/hostgitrb
71f5705743ea786c70339ec84c5a305e318f8093
Changed default access to git repos to Read/Write
diff --git a/only_git.rb b/only_git.rb index e34dd19..5520ee5 100644 --- a/only_git.rb +++ b/only_git.rb @@ -1,40 +1,40 @@ #!/usr/local/bin/ruby require 'logger' require File.join(File.dirname(__FILE__), 'libs','trollop.rb') #Examples of commands that are permitted and that are used by git (git clone/git fetch/...
rfelix/hostgitrb
d426ec48c71f916056cd503658be1de601f90347
Added README
diff --git a/README b/README new file mode 100644 index 0000000..db2bc1b --- /dev/null +++ b/README @@ -0,0 +1,3 @@ +HostGitRb + +Some simple scripts to help give people access to git repositories without giving them full access via SSH \ No newline at end of file
rfelix/hostgitrb
99ca4197aaa5b3c1ec5db3c051509025b60c69c5
Added script to limit ssh access to only git
diff --git a/libs/trollop.rb b/libs/trollop.rb new file mode 100644 index 0000000..460c4ce --- /dev/null +++ b/libs/trollop.rb @@ -0,0 +1,714 @@ +## lib/trollop.rb -- trollop command-line processing library +## Author:: William Morgan (mailto: wmorgan-trollop@masanjin.net) +## Copyright:: Copyright 2007 William Morg...
davethegr8/cakephp-typogrify-helper
d26c98899faa378b270eff6c9d56616d390c91c6
refotmatted for cakePHP style coding guidelines
diff --git a/typogrify.php b/typogrify.php index a4e1479..4e5b25c 100644 --- a/typogrify.php +++ b/typogrify.php @@ -1,1031 +1,1057 @@ <?php /* -=============================================================== +====================================================================== CakePHP TypogrifyHelper, based on ph...
davethegr8/cakephp-typogrify-helper
8498ae352142d91102ba68c03d4995c550725a4f
Changed to PHPDoc style documentation
diff --git a/typogrify.php b/typogrify.php index 73b4e12..a4e1479 100644 --- a/typogrify.php +++ b/typogrify.php @@ -1,1041 +1,1031 @@ <?php /* =============================================================== CakePHP TypogrifyHelper, based on php-typogrify and PHP SmartyPants ======================================...
davethegr8/cakephp-typogrify-helper
1369cfbf54f3db0eb1913ac02a03fc55e2b7d544
added readme info
diff --git a/README b/README index e69de29..22d27f5 100644 --- a/README +++ b/README @@ -0,0 +1,18 @@ +TypogrifyHelper for CakePHP is a conversion of the typogrify module +for Drupal. It is based off of php-typogrify and PHP SmartyPants. + +To use this Helper, just follow these steps: + + To initalize the helper in wh...
gregkh/samsung-backlight
871976e0427bbe8c8385b0e73c17fbef379a85d8
Added README saying this repo is now old and not to be used.
diff --git a/README b/README new file mode 100644 index 0000000..db03767 --- /dev/null +++ b/README @@ -0,0 +1,10 @@ +Please use the version of this driver that is in the Linux kernel main +tree in the drivers/platform/x86/ directory. It is the latest version, +and includes all of the needed fixes and supports a wider...
gregkh/samsung-backlight
5b4e3ed757677a81cf9e83e542755d9204bd26bc
Fix driver to work with newer kernel versions
diff --git a/samsung-backlight.c b/samsung-backlight.c index 342ad96..5854b60 100644 --- a/samsung-backlight.c +++ b/samsung-backlight.c @@ -1,179 +1,182 @@ /* * Samsung N130 and NC10 Laptop Backlight driver * * Copyright (C) 2009 Greg Kroah-Hartman (gregkh@suse.de) * Copyright (C) 2009 Novell Inc. * * Thi...
gregkh/samsung-backlight
cb0feb7ba6094ceb05505fee659e898709ae078e
make value 0 actually show something.
diff --git a/samsung-backlight.c b/samsung-backlight.c index 411b324..342ad96 100644 --- a/samsung-backlight.c +++ b/samsung-backlight.c @@ -1,178 +1,179 @@ /* * Samsung N130 and NC10 Laptop Backlight driver * * Copyright (C) 2009 Greg Kroah-Hartman (gregkh@suse.de) * Copyright (C) 2009 Novell Inc. * * Thi...
gregkh/samsung-backlight
22e16dd8950234a7ae87d45fe9cedc28cc3ea41f
me do math guud
diff --git a/samsung-backlight.c b/samsung-backlight.c index 466be0e..411b324 100644 --- a/samsung-backlight.c +++ b/samsung-backlight.c @@ -1,178 +1,178 @@ /* * Samsung N130 and NC10 Laptop Backlight driver * * Copyright (C) 2009 Greg Kroah-Hartman (gregkh@suse.de) * Copyright (C) 2009 Novell Inc. * * Thi...
gregkh/samsung-backlight
886c2ee63d52a18ef076214e280d76d88fa5f597
first cut at moving the values to be between 0 and 7
diff --git a/samsung-backlight.c b/samsung-backlight.c index 3581cd0..466be0e 100644 --- a/samsung-backlight.c +++ b/samsung-backlight.c @@ -1,158 +1,178 @@ /* * Samsung N130 and NC10 Laptop Backlight driver * * Copyright (C) 2009 Greg Kroah-Hartman (gregkh@suse.de) * Copyright (C) 2009 Novell Inc. * * Thi...
gregkh/samsung-backlight
66973ab6a58161afcc00a2fba10ab6d905e87b98
added N120 support, and lots of cleanups from Dmitry
diff --git a/samsung-backlight.c b/samsung-backlight.c index accc20e..3581cd0 100644 --- a/samsung-backlight.c +++ b/samsung-backlight.c @@ -1,168 +1,158 @@ /* * Samsung N130 and NC10 Laptop Backlight driver * * Copyright (C) 2009 Greg Kroah-Hartman (gregkh@suse.de) * Copyright (C) 2009 Novell Inc. * * Thi...
gregkh/samsung-backlight
6ecfda3f1d5d0c12b588382bca0b81dd7a7bf8a0
Support for the Samsung NP-Q45 from Jérémie Huchet added
diff --git a/samsung-backlight.c b/samsung-backlight.c index 2e38e63..accc20e 100644 --- a/samsung-backlight.c +++ b/samsung-backlight.c @@ -1,158 +1,168 @@ /* * Samsung N130 and NC10 Laptop Backlight driver * * Copyright (C) 2009 Greg Kroah-Hartman (gregkh@suse.de) * Copyright (C) 2009 Novell Inc. * * Thi...
gregkh/samsung-backlight
0b769c01b2cf35227e9f0a2ad50d9ba34f693cd3
fix up the "if we don't find the device, what do we do?" logic a bit
diff --git a/samsung-backlight.c b/samsung-backlight.c index 63395c2..2e38e63 100644 --- a/samsung-backlight.c +++ b/samsung-backlight.c @@ -1,156 +1,158 @@ /* - * Samsung N130 Laptop Backlight driver + * Samsung N130 and NC10 Laptop Backlight driver * * Copyright (C) 2009 Greg Kroah-Hartman (gregkh@suse.de) * C...
gregkh/samsung-backlight
9045774edddaf373f5d3359911bc01692a0ca96a
Added support for Samsung NC10 laptop
diff --git a/samsung-backlight.c b/samsung-backlight.c index a8d501e..63395c2 100644 --- a/samsung-backlight.c +++ b/samsung-backlight.c @@ -1,146 +1,156 @@ /* * Samsung N130 Laptop Backlight driver * * Copyright (C) 2009 Greg Kroah-Hartman (gregkh@suse.de) * Copyright (C) 2009 Novell Inc. * * This program...
gregkh/samsung-backlight
ada1a638e12cca47e6e6f27e511934c7a13a3552
remove pci driver api, it's not needed to load the module automatically
diff --git a/samsung-backlight.c b/samsung-backlight.c index 5ed4235..a8d501e 100644 --- a/samsung-backlight.c +++ b/samsung-backlight.c @@ -1,177 +1,146 @@ /* * Samsung N130 Laptop Backlight driver * * Copyright (C) 2009 Greg Kroah-Hartman (gregkh@suse.de) * Copyright (C) 2009 Novell Inc. * * This program...
gregkh/samsung-backlight
9253b12802ed170545965efcbb9d7efd6de02f84
add dmi support to the driver
diff --git a/samsung-backlight.c b/samsung-backlight.c index 4465f0b..5ed4235 100644 --- a/samsung-backlight.c +++ b/samsung-backlight.c @@ -1,151 +1,177 @@ /* * Samsung N130 Laptop Backlight driver * * Copyright (C) 2009 Greg Kroah-Hartman (gregkh@suse.de) * Copyright (C) 2009 Novell Inc. * * This program...
gregkh/samsung-backlight
488d2f88e85857065aa22d7334320e69e4d8513c
add backlight class support
diff --git a/samsung-backlight.c b/samsung-backlight.c index bfc9373..4465f0b 100644 --- a/samsung-backlight.c +++ b/samsung-backlight.c @@ -1,76 +1,151 @@ /* * Samsung N130 Laptop Backlight driver * * Copyright (C) 2009 Greg Kroah-Hartman (gregkh@suse.de) * Copyright (C) 2009 Novell Inc. * * This program ...
gregkh/samsung-backlight
12845e79f486aeb261d01e0749cbfcdc94726f4e
initial pci structure for driver
diff --git a/samsung-backlight.c b/samsung-backlight.c index 21c5209..bfc9373 100644 --- a/samsung-backlight.c +++ b/samsung-backlight.c @@ -1,20 +1,76 @@ +/* + * Samsung N130 Laptop Backlight driver + * + * Copyright (C) 2009 Greg Kroah-Hartman (gregkh@suse.de) + * Copyright (C) 2009 Novell Inc. + * + * This program i...
shykes/mqtools
e6c4a9d5b598a2105d597eb84a5e41c48a105540
mqcat is send-only
diff --git a/mqcat.py b/mqcat.py index d6961b3..90f2924 100644 --- a/mqcat.py +++ b/mqcat.py @@ -1,59 +1,42 @@ #!/usr/bin/env python import sys +import logging import argparse from carrot.connection import BrokerConnection from carrot.messaging import Publisher, Consumer parser = argparse.ArgumentParser(des...
shykes/mqtools
ba8029dc8cd07278eefccab1f5e105bb4e6a67b0
mqsniff: non-destructively dump trafic on an exchange
diff --git a/bin/mqsniff b/bin/mqsniff new file mode 100644 index 0000000..ade7a1b --- /dev/null +++ b/bin/mqsniff @@ -0,0 +1,6 @@ +#!/usr/bin/env python + +from mqcat.mqsniff import main + +if __name__ == "__main__": + main() diff --git a/mqsniff.py b/mqsniff.py new file mode 100644 index 0000000..623c6d7 --- /dev/...
shykes/mqtools
288631cbb7be21cd021f9f0bc0bf9f155893d872
Renamed to mqtools and added MIT license
diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..ed4122c --- /dev/null +++ b/LICENSE @@ -0,0 +1,24 @@ +mqtools + +Copyright (c) 2009 - 2010 Dotcloud SARL + +Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Softwa...
shykes/mqtools
b1d5f814466190e4c6e2afdec3901529aa731510
Fixed executable flags
diff --git a/bin/mqcat b/bin/mqcat old mode 100644 new mode 100755 diff --git a/mqcat.py b/mqcat.py old mode 100755 new mode 100644
shykes/mqtools
a98ab9ef63f2e5b000ac10b8f83a652c504451c9
Simplified command-line arguments
diff --git a/mqcat.py b/mqcat.py index e6bd207..d6961b3 100755 --- a/mqcat.py +++ b/mqcat.py @@ -1,60 +1,59 @@ #!/usr/bin/env python import sys import argparse from carrot.connection import BrokerConnection from carrot.messaging import Publisher, Consumer parser = argparse.ArgumentParser(description="Read a...
shykes/mqtools
87cea39f5c600ce992811ebc16cb15b26431b035
mqcat: convert text streams to amqp and vice-versa
diff --git a/.hgignore b/.hgignore new file mode 100644 index 0000000..89dba7e --- /dev/null +++ b/.hgignore @@ -0,0 +1,8 @@ +syntax: glob + +env/ +*.egg-info +*.pyc +pip-log.txt +dist +build diff --git a/__init__.py b/__init__.py new file mode 100644 index 0000000..d84cade --- /dev/null +++ b/__init__.py @@ -0,0 +1,4 ...
rtucker/rgeoutages
a4e0af504935a186e8cb873c8dc0c8b737c0287d
set markerCluster maxZoom to 14
diff --git a/generate_map.py b/generate_map.py index a2c45b0..48416cd 100755 --- a/generate_map.py +++ b/generate_map.py @@ -1,507 +1,509 @@ #!/usr/bin/python # vim: set fileencoding=utf-8 : import math import os import sqlite3 import sys import time import urllib import urllib2 from datetime import datet...
rtucker/rgeoutages
b7a862b6dc172b510243b3feaeb11390e0fbbbd7
Clean up after API v3 update
diff --git a/generate_map.py b/generate_map.py index 9edf79d..a2c45b0 100755 --- a/generate_map.py +++ b/generate_map.py @@ -1,469 +1,507 @@ #!/usr/bin/python # vim: set fileencoding=utf-8 : import math import os import sqlite3 import sys import time import urllib import urllib2 +from datetime import datet...
rtucker/rgeoutages
98070d0cb23776b1d7c3b3215cbf8a1b7867287e
Google Maps API v3 support
diff --git a/generate_map.py b/generate_map.py index 3db9c7e..9edf79d 100755 --- a/generate_map.py +++ b/generate_map.py @@ -1,484 +1,469 @@ #!/usr/bin/python # vim: set fileencoding=utf-8 : import math import os import sqlite3 import sys import time import urllib import urllib2 try: import json exc...
rtucker/rgeoutages
794e262a8a63878364701b28d534e2e73af1a1ed
Google Maps v3: change geocode endpoint
diff --git a/generate_map.py b/generate_map.py index be3d86a..3db9c7e 100755 --- a/generate_map.py +++ b/generate_map.py @@ -1,484 +1,484 @@ #!/usr/bin/python # vim: set fileencoding=utf-8 : import math import os import sqlite3 import sys import time import urllib import urllib2 try: import json exc...
rtucker/rgeoutages
5b3d5752d40ebdafd21d71e8e029f42f6176542f
overload mode fixes
diff --git a/generate_map.py b/generate_map.py index b766609..be3d86a 100755 --- a/generate_map.py +++ b/generate_map.py @@ -1,481 +1,484 @@ #!/usr/bin/python # vim: set fileencoding=utf-8 : import math import os import sqlite3 import sys import time import urllib import urllib2 try: import json exc...
rtucker/rgeoutages
7fbbc4bc3d3d096fba6029694db36f8ed14021ff
munin: fix path to json_xs
diff --git a/rgeoutages_munin.sh b/rgeoutages_munin.sh index b25b4f2..849c229 100755 --- a/rgeoutages_munin.sh +++ b/rgeoutages_munin.sh @@ -1,30 +1,30 @@ #!/bin/bash BASEDIR=/var/www/hoopycat.com/html/rgeoutages if [ "$1" = "config" ]; then cat <<EOM graph_title RG&E Power Outage Summary graph_args --bas...
rtucker/rgeoutages
31008af3b1b5c45d97b3ec70a50cf2c9c2ba1fc3
munin: graph total customers affected
diff --git a/rgeoutages_munin.sh b/rgeoutages_munin.sh index 2b8f68d..b25b4f2 100755 --- a/rgeoutages_munin.sh +++ b/rgeoutages_munin.sh @@ -1,26 +1,30 @@ #!/bin/bash BASEDIR=/var/www/hoopycat.com/html/rgeoutages if [ "$1" = "config" ]; then cat <<EOM graph_title RG&E Power Outage Summary graph_args --bas...
rtucker/rgeoutages
e19bab973a9a1fc436b1063304c5e7ecba23043f
hardcode path to json_xs
diff --git a/rgeoutages_munin.sh b/rgeoutages_munin.sh index 6a2688c..2b8f68d 100755 --- a/rgeoutages_munin.sh +++ b/rgeoutages_munin.sh @@ -1,26 +1,26 @@ #!/bin/bash BASEDIR=/var/www/hoopycat.com/html/rgeoutages if [ "$1" = "config" ]; then cat <<EOM graph_title RG&E Power Outage Summary graph_args --bas...
rtucker/rgeoutages
f764ea934f3ab615d5c4a8bd1a4fa55153537d23
add data.json output; write map even if there are no outages
diff --git a/.gitignore b/.gitignore index 4b21cfa..0cfe77f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,7 @@ index.html outages_* secrets.py *.pyc *.sqlite3 outagechart.png -history.json +*.json diff --git a/generate_map.py b/generate_map.py index 6a35888..2844db1 100755 --- a/generate_map.py +++ b/genera...
rtucker/rgeoutages
16a721989acf3611cf846bfc7723a9b1de827bed
skip non-local links in crawling (usually means no outages)
diff --git a/scrape_rge.py b/scrape_rge.py index 44dbc02..68ded36 100644 --- a/scrape_rge.py +++ b/scrape_rge.py @@ -1,109 +1,113 @@ #!/usr/bin/python # Scrapes RG&E outage information. # Requires: # python-pycurl # python-beautifulsoup import os import pycurl import StringIO from BeautifulSoup impor...
rtucker/rgeoutages
01ca2cd136b4c917c2a99083ac0ea685f6915b7d
fix accidental deletion...
diff --git a/fetch_outages.sh b/fetch_outages.sh index bf0c0ff..47dea70 100755 --- a/fetch_outages.sh +++ b/fetch_outages.sh @@ -1,24 +1,24 @@ #!/bin/bash BASEDIR=/var/www/hoopycat.com/html/rgeoutages/ GENERATOR=$BASEDIR/generate_map.py HTMLFILE=$BASEDIR/index.html export TZ=America/New_York # Test for sanity...
rtucker/rgeoutages
93b11d9a301b9e1cf3c61f9be2302ffcf48ff5d1
fix munin plugin for outage charting
diff --git a/fetch_outages.sh b/fetch_outages.sh index b1da252..bf0c0ff 100755 --- a/fetch_outages.sh +++ b/fetch_outages.sh @@ -1,23 +1,24 @@ #!/bin/bash BASEDIR=/var/www/hoopycat.com/html/rgeoutages/ GENERATOR=$BASEDIR/generate_map.py HTMLFILE=$BASEDIR/index.html export TZ=America/New_York # Test for sanity...
rtucker/rgeoutages
4906eac65011885dc566552038c2749941d64c93
fix current working directory
diff --git a/fetch_outages.sh b/fetch_outages.sh index bf0c0ff..b1da252 100755 --- a/fetch_outages.sh +++ b/fetch_outages.sh @@ -1,24 +1,23 @@ #!/bin/bash BASEDIR=/var/www/hoopycat.com/html/rgeoutages/ GENERATOR=$BASEDIR/generate_map.py HTMLFILE=$BASEDIR/index.html export TZ=America/New_York # Test for sanity...
rtucker/rgeoutages
e478481827acc064d70be3ea7f325f666a7546c9
more compat changes
diff --git a/fetch_outages.sh b/fetch_outages.sh index 7bb4974..bf0c0ff 100755 --- a/fetch_outages.sh +++ b/fetch_outages.sh @@ -1,27 +1,24 @@ #!/bin/bash BASEDIR=/var/www/hoopycat.com/html/rgeoutages/ GENERATOR=$BASEDIR/generate_map.py HTMLFILE=$BASEDIR/index.html export TZ=America/New_York # Test for sanity...
rtucker/rgeoutages
0a327c4ba753fa4d4980bc9fce7f1fc68390d976
Fix it to work with RG&E's new outage reporting site
diff --git a/fetch_outages.sh b/fetch_outages.sh index 17266a8..7bb4974 100755 --- a/fetch_outages.sh +++ b/fetch_outages.sh @@ -1,55 +1,27 @@ #!/bin/bash BASEDIR=/var/www/hoopycat.com/html/rgeoutages/ GENERATOR=$BASEDIR/generate_map.py HTMLFILE=$BASEDIR/index.html export TZ=America/New_York # Test for sanity...
rtucker/rgeoutages
89f01a1ac96004b2b2c4bf6545c3789abb64d22e
change the info text, so the google listing for this page is more useful
diff --git a/generate_map.py b/generate_map.py index 4953336..4184688 100755 --- a/generate_map.py +++ b/generate_map.py @@ -1,452 +1,450 @@ #!/usr/bin/python # vim: set fileencoding=utf-8 : import math import os import sqlite3 import sys import time import urllib import urllib2 try: import json exc...
rtucker/rgeoutages
23b141d85a3786eb6b63ca4a12d9e6271c97b274
Fix a unicode problem in generate_map.py
diff --git a/generate_map.py b/generate_map.py index ad60c67..4953336 100755 --- a/generate_map.py +++ b/generate_map.py @@ -1,451 +1,452 @@ #!/usr/bin/python +# vim: set fileencoding=utf-8 : import math import os import sqlite3 import sys import time import urllib import urllib2 try: import json exc...
rtucker/rgeoutages
05c29fb88c0cfdcaafb0dd4371787b7fffa58ac4
reducing outlier filter distance from 50 to 30
diff --git a/generate_map.py b/generate_map.py index 0be27f5..ad60c67 100755 --- a/generate_map.py +++ b/generate_map.py @@ -1,451 +1,451 @@ #!/usr/bin/python import math import os import sqlite3 import sys import time import urllib import urllib2 try: import json except: import simplejson as js...
rtucker/rgeoutages
7e4a6d2d77be03b050dcd4fee630b967fa587a54
adding history.json and outagechart.png to .gitignore
diff --git a/.gitignore b/.gitignore index 0f720b4..4b21cfa 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,7 @@ index.html outages_* secrets.py *.pyc *.sqlite3 +outagechart.png +history.json
rtucker/rgeoutages
f68049ac08a73f6d86fec99e06690e151f82d148
munin server upgraded to lucid; new url
diff --git a/fetch_outages.sh b/fetch_outages.sh index b73e3b3..17266a8 100755 --- a/fetch_outages.sh +++ b/fetch_outages.sh @@ -1,55 +1,55 @@ #!/bin/bash BASEDIR=/var/www/hoopycat.com/html/rgeoutages/ GENERATOR=$BASEDIR/generate_map.py HTMLFILE=$BASEDIR/index.html export TZ=America/New_York # Test for sanity...
rtucker/rgeoutages
46aa42736e6598ca526f9b71d0d86b1ec2c1b175
adding outage count to title, cleaning up some text
diff --git a/generate_map.py b/generate_map.py index 4a493a2..0be27f5 100755 --- a/generate_map.py +++ b/generate_map.py @@ -1,449 +1,451 @@ #!/usr/bin/python import math import os import sqlite3 import sys import time import urllib import urllib2 try: import json except: import simplejson as js...
rtucker/rgeoutages
cce47f07a93ee00c7ad388d2ae259f64d50d8cd9
another zoom adjustment
diff --git a/generate_map.py b/generate_map.py index 28f8ed3..4a493a2 100755 --- a/generate_map.py +++ b/generate_map.py @@ -1,449 +1,449 @@ #!/usr/bin/python import math import os import sqlite3 import sys import time import urllib import urllib2 try: import json except: import simplejson as js...
rtucker/rgeoutages
090ee07fba895f460bd2a6d885590e195712606a
more zoom tweaking, also found red is not an explicitly available option for color
diff --git a/generate_map.py b/generate_map.py index 3942b22..28f8ed3 100755 --- a/generate_map.py +++ b/generate_map.py @@ -1,445 +1,449 @@ #!/usr/bin/python import math import os import sqlite3 import sys import time import urllib import urllib2 try: import json except: import simplejson as js...
rtucker/rgeoutages
ac7ac004eed83df670053d98b4e97d7de9b74e98
zoom adjustment
diff --git a/generate_map.py b/generate_map.py index d8c8002..3942b22 100755 --- a/generate_map.py +++ b/generate_map.py @@ -1,447 +1,445 @@ #!/usr/bin/python import math import os import sqlite3 import sys import time import urllib import urllib2 try: import json except: import simplejson as js...
rtucker/rgeoutages
5772c45b49868b2e5514be7ec0666a0988d90561
huh, there is no blue google maps marker. also adjusting timings for color decay
diff --git a/generate_map.py b/generate_map.py index 563b54b..d8c8002 100755 --- a/generate_map.py +++ b/generate_map.py @@ -1,447 +1,447 @@ #!/usr/bin/python import math import os import sqlite3 import sys import time import urllib import urllib2 try: import json except: import simplejson as js...
rtucker/rgeoutages
35573748242e2e5a094d57783d83d3b1613a755a
dont add citycenters to the points list, to avoid throwing off zoom
diff --git a/generate_map.py b/generate_map.py index cf79f2e..563b54b 100755 --- a/generate_map.py +++ b/generate_map.py @@ -1,448 +1,447 @@ #!/usr/bin/python import math import os import sqlite3 import sys import time import urllib import urllib2 try: import json except: import simplejson as js...
rtucker/rgeoutages
9af82fc2ef5fd4f6ea59eec5f871af6af2a62172
those pesky negative numbers... switching the order of the min/max longitude initialization numbers
diff --git a/generate_map.py b/generate_map.py index ca03b31..cf79f2e 100755 --- a/generate_map.py +++ b/generate_map.py @@ -1,448 +1,448 @@ #!/usr/bin/python import math import os import sqlite3 import sys import time import urllib import urllib2 try: import json except: import simplejson as js...
rtucker/rgeoutages
7eaed18362e95e346e3e3999a96e37acd66152c8
need to export the TZ variable
diff --git a/fetch_outages.sh b/fetch_outages.sh index 8c28402..b73e3b3 100755 --- a/fetch_outages.sh +++ b/fetch_outages.sh @@ -1,55 +1,55 @@ #!/bin/bash BASEDIR=/var/www/hoopycat.com/html/rgeoutages/ GENERATOR=$BASEDIR/generate_map.py HTMLFILE=$BASEDIR/index.html -TZ=America/New_York +export TZ=America/New_York...
rtucker/rgeoutages
49d6be10b69d6048760c27a4242ae8b4e646c24d
adjust the min/max lat/lng variable initialization so that the first point always throws it
diff --git a/generate_map.py b/generate_map.py index 31dc65b..ca03b31 100755 --- a/generate_map.py +++ b/generate_map.py @@ -1,448 +1,448 @@ #!/usr/bin/python import math import os import sqlite3 import sys import time import urllib import urllib2 try: import json except: import simplejson as js...
rtucker/rgeoutages
aa47baf164a76f37365ce52c717d6b7c29448077
forcing the timezone to America/New_York (GMT is kinda useless here)
diff --git a/fetch_outages.sh b/fetch_outages.sh index 53660fb..8c28402 100755 --- a/fetch_outages.sh +++ b/fetch_outages.sh @@ -1,54 +1,55 @@ #!/bin/bash BASEDIR=/var/www/hoopycat.com/html/rgeoutages/ GENERATOR=$BASEDIR/generate_map.py HTMLFILE=$BASEDIR/index.html +TZ=America/New_York # Test for sanity [ -d ...
rtucker/rgeoutages
36f22aa4b94d4a684c8122399521a5e3a455bbfe
keep track of when outages were created and change the icon color depending on age
diff --git a/generate_map.py b/generate_map.py index a6325e0..31dc65b 100755 --- a/generate_map.py +++ b/generate_map.py @@ -1,413 +1,448 @@ #!/usr/bin/python import math import os import sqlite3 import sys import time import urllib import urllib2 try: import json except: import simplejson as js...