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
<ul id="cbp-bislideshow" class="cbp-bislideshow"> | |
<li> | |
<%= image_tag "blur1.jpg" %> | |
</li> | |
<li> | |
<%= image_tag "blur2.jpg" %> | |
</li> | |
</ul> | |
<% provide(:title, 'Sign Up') %> |
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
Sent mail to [email protected] (1151.0ms) | |
Return-Path: <[email protected]> | |
Date: Thu, 10 Apr 2014 13:51:21 +0800 | |
From: "ServiceSeeking.com.au" <[email protected]> | |
Reply-To: [email protected] | |
To: [email protected] | |
Message-ID: <5346315914168_4634ffe845827a@carl-HP-Pavilion-15-Notebook-PC.mail> | |
Subject: New Negative Feedback | |
Mime-Version: 1.0 | |
Content-Type: text/plain; |
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
$(document).ready(function(){ | |
$.ajax({ | |
type: 'GET', | |
dataType: 'json', | |
url: 'http://localhost:3000/projects.json', | |
success: function(data, status, xhr) { | |
$.each(data, function(key, val){ | |
console.log(data); |
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
class Animal | |
def dog | |
"I'm a dog" | |
end | |
def cat | |
"I'm a cat" | |
end | |
def bird |
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
development: | |
adapter: sqlite3 | |
database: db/development.sqlite3 | |
pool: 5 | |
timeout: 5000 |
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
machine: | |
ruby: | |
version: 2.0.0-p247 | |
test: | |
override: | |
# - bundle exec rspec --format documentation --color --pattern "**/*_spec.rb, ../engines/**/spec/**/*_spec.rb" | |
- bundle exec rspec --format documentation --color: | |
parallel: true | |
files: | |
- spec/**/*_spec.rb |
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
def golden_age array | |
start = 0 | |
end_index = 0 | |
max_sum = 0 | |
largest = 0 | |
sub_arr = array.dup | |
return_array = [] | |
array.each_with_index do |num, ind| | |
start = ind |
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
--- | |
- name: clone rbenv | |
git: repo=https://github.com/sstephenson/rbenv.git dest=/home/vagrant/.rbenv | |
- name: change ownership of .rbenv to vagrant | |
file: path=.rbenv owner=vagrant recurse=yes | |
- name: Add rbenv bin to profile | |
lineinfile: dest=/home/vagrant/.zshrc state=present regexp='^\.rbenv\/bin' line='export PATH=$PATH:/home/vagrant/.rbenv/bin' |
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
newApp.controller('newAppController', function newAppController($scope, $http) { | |
$scope.locations = {} | |
$http.get("/api/properties").success(function(data) { | |
$scope.locations = data; | |
}); | |
$scope.searchNearby = function($event){ | |
var keyCode = $event.which || $event.keyCode; | |
if (keyCode === 13) { |
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
package main | |
import ( | |
"fmt" | |
"github.com/carlqt/geodude/controllers/properties" | |
"github.com/carlqt/geodude/controllers/user" | |
"github.com/carlqt/geodude/geocode" | |
"github.com/carlqt/geodude/models" | |
"github.com/dgrijalva/jwt-go" |
OlderNewer