Skip to content

Instantly share code, notes, and snippets.

View clone1018's full-sized avatar

Luke Strickland clone1018

View GitHub Profile
## PatchNotes Terms of Service
Last updated January 29th, 2014
By using PatchNotes.com ("Service") or any services of Axxim, LLC ("Axxim")
you are agreeing to be bound by the following terms and conditions
("Terms of Service"). **If you are entering into this agreement on behalf of
a company or other legal entity, you represent that you have the authority to
bind such entity, it's affiliates and all users who access our services
through your account to these terms and conditions.**
Setting up postgresql-contrib-9.1 (9.1.12-0ubuntu0.12.04) ...
Setting up python2.7-dev (2.7.3-0ubuntu3.5) ...
Setting up python-dev (2.7.3-0ubuntu2.2) ...
Setting up unattended-upgrades (0.76ubuntu1) ...
Setting up python-pycurl (7.19.0-4ubuntu3) ...
Setting up python-software-properties (0.82.7.7) ...
Setting up libstdc++6-4.6-dev (4.6.3-1ubuntu5) ...
Setting up g++-4.6 (4.6.3-1ubuntu5) ...
Setting up g++ (4:4.6.3-1ubuntu5) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode.
<?php
public function isMember(Project $project)
{
if($project->owner instanceof Organization) {
foreach($project->owner->users() as $user) {
if($user->id === $this->id) {
return true;
}
}
...
location ~ \.php$ {
root /var/www/projects/fghj/public;
try_files $uri $uri/ /index.php?$args ;
index index.html index.htm index.php;
fastcgi_index index.php;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param APPLICATION_ENV=development;

Keybase proof

I hereby claim:

  • I am clone1018 on github.
  • I am clone1018 (https://keybase.io/clone1018) on keybase.
  • I have a public key whose fingerprint is 5C32 41F4 18F8 A50C 4FB8 CF1B D232 97EB DE01 90AE

To claim this, I am signing this object:

<!--
Hello future GitHubber! I bet you're here to remove those nasty inline styles,
DRY up these templates and make 'em nice and re-usable, right?
Please, don't. https://github.com/styleguide/templates/2.0
-->
- name: Heroku
apps:
- name: gittip
- name: gittip-dev
- name: building-gittip-com
- name: roobot-test
- name: roobot-prod
- name: GitHub
apps:
- name: gittip/www.gittip.com
<?php
class AjaxController extends ABaseControllerThatAddsHelperAPIMethods {
public function __construct() {
$this->requireAuth(array('getStatus'));
}
...
diff --git a/Vagrantfile b/Vagrantfile
index ebba320..262d8d7 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -20,7 +20,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box_url = File.exist?("gittip.box") ? "file://gittip.box" : "http://downloads.gittipllc.netdna-cdn.com/gittip.box"
# Sync the project directory and expose the app
- config.vm.synced_folder ".", "/home/vagrant/#{PROJECT_DIRECTORY}"
+ config.vm.network "private_network", ip: "172.133.83.57"
[core]
symlinks = false
autocrlf = true
[color]
diff = auto
status = auto
branch = auto
interactive = true
[pack]
packSizeLimit = 2g