Skip to content

Instantly share code, notes, and snippets.

Michael Mitchell variousred

  • Bend, OR
Block or report user

Report or block variousred

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View .htaccess
DirectoryIndex index.html
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^our-communities/?$ /our-communities/#/stores?page=1 [R=301,NE,L]
RewriteRule ^apartments/az/phoenix/avenue-25 http://www.avenue25apartments.com [R=301,L]
RewriteRule ^apartments/ca/campbell/revere http://www.reverecampbell.com [R=301,L]
RewriteRule ^apartments/ca/oakland/901-jefferson http://www.901jefferson.com [R=301,L]
RewriteRule ^apartments/nc/raleigh/berkshire-cameron-village http://www.berkshirecameronvillage.com [R=301,L]
View .htaccess
DirectoryIndex index.html
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^our-communities/?$ /our-communities/#/stores?page=1 [R=301,NE,L]
RewriteRule ^apartments/az/phoenix/avenue-25 http://www.avenue25apartments.com [R=301,L]
RewriteRule ^apartments/ca/campbell/revere http://www.reverecampbell.com [R=301,L]
RewriteRule ^apartments/ca/oakland/901-jefferson http://www.901jefferson.com [R=301,L]
RewriteRule ^apartments/nc/raleigh/berkshire-cameron-village http://www.berkshirecameronvillage.com [R=301,L]
View delete2.rb
ClientApp.all.each do |client_app|
config_vars = ['RUBY_GC_HEAP_GROWTH_MAX_SLOTS',
'RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR',
'RUBY_GC_MALLOC_LIMIT_MAX',
'RUBY_GC_OLDMALLOC_LIMIT_MAX']
heroku = ::Heroku::API.new(api_key: ENV['HEROKU_API_KEY'])
config_vars.each do |config_var|
begin
puts "setting #{config_var} on #{client_app.name}"
heroku.delete_config_var(client_app.name, config_var)
View .htaccess
DirectoryIndex index.html
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^self-storage/?$ /self-storage/ga/atlanta/space-shop-self-storage-decatur [R=301,L]
RewriteRule ^self-storage/ga/?$ /self-storage/ga/atlanta/space-shop-self-storage-decatur [R=301,L]
RewriteRule ^self-storage/ga/atlanta/?$ /self-storage/ga/atlanta/space-shop-self-storage-decatur [R=301,L]
RewriteRule ^self-storage/?$ /self-storage/ga/loganville/space-shop-self-storage-loganville [R=301,L]
RewriteRule ^self-storage/ga/?$ /self-storage/ga/loganville/space-shop-self-storage-loganville [R=301,L]
RewriteRule ^self-storage/ga/loganville/?$ /self-storage/ga/loganville/space-shop-self-storage-loganville [R=301,L]
RewriteRule ^self-storage/?$ /self-storage/ga/buford/space-shop-hamilton-mill [R=301,L]
View .vimrc
execute pathogen#infect()
execute pathogen#helptags()
syntax on
filetype plugin indent on
set number
set expandtab
set tabstop=2
set shiftwidth=2
set ignorecase
set smartcase
You can’t perform that action at this time.