Skip to content

Instantly share code, notes, and snippets.

View nanobeep's full-sized avatar

Matt Jaynes nanobeep

View GitHub Profile
---
- hosts: all
tasks:
- apt_key: id=AC40B2F7 state=present url="http://keyserver.ubuntu.com/pks/lookup?op=get&fingerprint=on&search=0x561F9B9CAC40B2F7"
- apt: pkg=apt-transport-https state=present
- apt_repository: state=present repo='deb https://oss-binaries.phusionpassenger.com/apt/passenger raring main'
- apt: pkg=nginx-full state=present
- apt: pkg=passenger state=present update_cache=yes
- copy: src=/tmp/nginx.conf dest=/etc/nginx/nginx.conf
- service: name=nginx state=started
@nanobeep
nanobeep / gist:4271477
Created December 12, 2012 20:49
test public
test public
@nanobeep
nanobeep / Proquest Test 2
Created November 14, 2012 20:34 — forked from anonymous/Proquest Test 2
Car Video
We will now go down to the car to look at the damage that has been done. The barricade impact wasn't square, it was uh, at a slight angle. We believe that the bumper's harbor(?) will work and that will be all right.
We will now go down to the car.
The uh, motor, is all right. It looks like that the angular impact...uh, moved the bumpers back more on one side than the other. However, they work properly. It doesn't look like the uh, mediary was struck.
The screen seems to be all right on the other side... I believe the motor will run. Let's, let's try and see if the motor will run....get the battery and check it.
The radiator lost it's uh, fluid. They were sprayed with some uh, liquid. But uh, otherwise it looks like they weren't injured...??? No places where they struck, on the wheel or on the dash. The car looks like it might operate...if we have luck with it here. We'll try it now.
# config/initializers/active_admin_mongoid_patch.rb
require "active_admin"
require "active_admin/resource_controller"
require 'ostruct'
module ActiveAdmin
class Namespace
# Disable comments
def comments?
{
"render_id" : "4efcdeb699797c447600000f",
"src_recipe" : "http://www.example.com/a3/recipes/4efcdeb699797c447600000d",
"src" : "http://a3-dev.s3.amazonaws.com/4efcdeb399797c447600000b/spacer.gif",
"dest_recipe" : "http://www.example.com/a3/recipes/4efcdeb699797c447611111e",
"dest" : "http://a3-dev.s3.amazonaws.com/4efcdeb399797c447600000b/4efcdeb699797c447600000f.ext"
}
`test`

header

smaller header

  • list1
  • list2
  • list3
[{"Product":"Alfalfa seeds",
"Definition":"Alfalfa seeds are the seeds of the alfalfa plant. \"Alfalfa (pronounced /ælˈfælfə/) (Medicago sativa) is a flowering plant in the pea family Fabaceae cultivated as an important forage crop in the US, Canada, Argentina, France, Australia, the Middle East, South Africa, and many other countries. It is also known as lucerne in the UK, France, Australia, South Africa and New Zealand, and known as lucerne grass in south Asia. It superficially resembles clover, with clusters of small purple flowers.\"",
"Citation":"http://en.wikipedia.org/wiki/Alfalfa",
"CookingInstructions":"",
"Image":"040111F_-Alfafa_03.jpg"},
{"Product":"Amaranth",
"Definition":"\"Amaranth was one of the staple foodstuffs of the Incas, and it is known as kiwicha in the Andes today. It was also used by the ancientAztecs, who called it huautli, and other Native America peoples in Mexico to prepare ritual drinks and foods. To this day, amaranth grains are toasted much like popcorn or martala and mixed
[{"img":"images/recipeCategories/Beans-and-Legumes.jpg","title":"Beans & Legumes","cat_id":"19"},{"img":"images/recipeCategories/Beef-and-Veal.jpg","title":"Beef & Veal","cat_id":"10"},{"img":"images/recipeCategories/Bread-and-Baking.jpg","title":"Bread & Baking","cat_id":"15"},{"img":"images/recipeCategories/Breakfast.jpg","title":"Breakfast","cat_id":"16"},{"img":"images/recipeCategories/Condiments.jpg","title":"Condiments","cat_id":"17"},{"img":"images/recipeCategories/Cookies-and-Candy.jpg","title":"Cookies & Candy","cat_id":"14"},
{"img":"images/recipeCategories/Desserts.jpg","title":"Desserts","cat_id":"13"},
{"img":"images/recipeCategories/Drinks.jpg","title":"Drinks","cat_id":"1"},{"img":"images/recipeCategories/Eggs.jpg","title":"Eggs","cat_id":"18"},{"img":"images/recipeCategories/Fish-and-Seafood.jpg","title":"Fish & Seafood","cat_id":"8"},{"img":"images/recipeCategories/Hors-Doeuvres-and-Snacks.jpg","title":"Hors d'oeuvres & Snacks","cat_id":"2"},{"img":"images/recipeCategories/Lamb.jpg","title":"
{
"Name" : "Beatles",
"Country" : "England",
"YearFormed" : 1959,
"Style" : "Rock'n'Roll",
"Members" : ["Paul","John","George","Ringo"]
}