Skip to content

Instantly share code, notes, and snippets.

View el-rotny's full-sized avatar

Rodrigo Garcia el-rotny

  • Design Collective
  • United States
View GitHub Profile
# -*- mode: ruby -*-
# vi: set ft=ruby :
# David Lutz's Multi VM Vagrantfile
# inspired from Mark Barger's https://gist.github.com/2404910
boxes = [
{ :name => :web, :role => 'web_dev', :ip => '192.168.33.1', :ssh_port => 2201, :http_fwd => 9980, :cpus =>4, :shares => true },
{ :name => :data, :role => 'data_dev', :ip => '192.168.33.2', :ssh_port => 2202, :mysql_fwd => 9936, :cpus =>4 },
{ :name => :railsapp, :role => 'railsapp_dev', :ip => '192.168.33.3', :ssh_port => 2203, :http_fwd => 9990, :cpus =>1}
]
<?xml version="1.0"?>
<layout version="0.1.0">
<default>
<block type="page/html" name="root" output="toHtml" template="page/3columns.phtml">
<block type="page/html_head" name="head" as="head">
<action method="addJs"><script>prototype/prototype.js</script></action>
<action method="addJs"><script>lib/ccard.js</script></action>
<action method="addJs"><script>prototype/validation.js</script></action>
<action method="addJs"><script>scriptaculous/builder.js</script></action>
<action method="addJs"><script>scriptaculous/effects.js</script></action>
<?xml version="1.0"?>
<layout>
<default>
<!--Root/Default Layouts-->
<reference name="root">
<!--Appending Block-->
<block type="page/html_breadcrumbs" name="breadcrumbs" as="breadcrumbs"/>
</reference>
<!--CSS and JS Files-->
[31-Oct-2014 06:35:13 UTC] WordPress database error Table 'wordpressdb.wp_wpr4uj_referral_subscribe' doesn't exist for query INSERT INTO wp_wpr4uj_referral_subscribe (first_name, la$
[31-Oct-2014 06:35:16 UTC] +++2014-10-31T06:35:16+0000:signature_base_string:INFO:normalized_base_string:GET&https%3A%2F%2Fapi.login.yahoo.com%2Foauth%2Fv2%2Fget_request_token&oauth$
[31-Oct-2014 06:35:16 UTC] +++2014-10-31T06:35:16+0000:getreqtok:INFO:request_url:https://api.login.yahoo.com/oauth/v2/get_request_token?oauth_callback=&oauth_consumer_key=dj0yJmk9c$
[31-Oct-2014 06:35:17 UTC] +++2014-10-31T06:35:17+0000:getreqtok:INFO:response_body_parsed:
[31-Oct-2014 06:39:01 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/php_curl.dll' - /usr/lib/php5/20090626+lfs/php_curl.dll: cannot open$
[31-Oct-2014 07:06:44 UTC] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/wordpress/wp-includes/formatting.php on line 534
[31-Oct-2014 07:09:02 UTC] PHP Warning: PHP Sta
@el-rotny
el-rotny / gist:9a317e9a2f2a5ae1fe42
Last active August 29, 2015 14:16
Bootstrap Carousel Fade - SCSS
// Carousel Styles
.carousel {
height: 520px;
min-height: 520px;
@media (max-width: $screen-xs-max) {
& {
}
}
.carousel-inner {
source 'https://rubygems.org'
ruby '2.2.2'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.1.9'
gem 'sprockets-rails', '~> 2.1.4', :require => 'sprockets/railtie'
# Using postgresql as the database for ActiveRecord
gem 'pg'
moped (1.3.1) lib/moped/cluster.rb:261:in `with_secondary'
moped (1.3.1) lib/moped/cluster.rb:258:in `with_secondary'
moped (1.3.1) lib/moped/cluster.rb:258:in `with_secondary'
moped (1.3.1) lib/moped/cluster.rb:258:in `with_secondary'
moped (1.3.1) lib/moped/cluster.rb:258:in `with_secondary'
moped (1.3.1) lib/moped/cluster.rb:258:in `with_secondary'
moped (1.3.1) lib/moped/cluster.rb:258:in `with_secondary'
moped (1.3.1) lib/moped/cluster.rb:258:in `with_secondary'
moped (1.3.1) lib/moped/cluster.rb:258:in `with_secondary'
moped (1.3.1) lib/moped/cluster.rb:258:in `with_secondary'
*** LOCAL GEMS ***
actionmailer (4.1.9)
actionpack (4.1.9)
actionview (4.1.9)
activemodel (4.1.9)
activerecord (4.1.9)
activeresource (4.0.0)
activesupport (4.1.9)
acts-as-taggable-on (3.5.0)
@el-rotny
el-rotny / README.md
Created June 15, 2016 01:32 — forked from jimothyGator/README.md
Nginx configuration for Mac OS X with Homebrew, using sites-enabled directory.
mkdir -p /usr/local/etc/nginx/sites-{enabled,available}
cd /usr/local/etc/nginx/sites-enabled
ln -s ../sites-available/default.conf
ln -s ../sites-available/default-ssl.conf

File locations:

  • nginx.conf to /usr/local/etc/nginx/
  • default.conf and default-ssl.conf to /usr/local/etc/nginx/sites-available
  • homebrew.mxcl.nginx.plist to /Library/LaunchDaemons/
@el-rotny
el-rotny / .gitconfig
Created July 1, 2016 20:10
Gitconfig with Aliases
[core]
filemode = false
excludesfile = /Users/sugarskull/.gitignore_global
pager = less -r
whitespace = trailing-space,space-before-tab
[color]
ui = auto
branch = auto
diff = true
interactive = auto