Skip to content

Instantly share code, notes, and snippets.

View clone1018's full-sized avatar

Luke Strickland clone1018

View GitHub Profile
templates/base.spt
<html>
<head>
{% block scripts %}{% end %}
</head>
</html>
templates/about.spt
{% extends "base.spt" %}
root@:~# sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
linux-headers-generic-lts-raring linux-image-generic-lts-raring
The following packages will be upgraded:
curl libcurl3 libcurl3-gnutls
3 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 601 kB of archives.
@clone1018
clone1018 / bugs.json
Created December 19, 2013 20:59
Ghostery Data
{
"copyright":"This proprietary database is protected by copyright, and is owned exclusively by Evidon and all rights to it are expressly reserved. If you are interested in using this database for any purpose outside of the Ghostery application, contact Evidon at [email protected]. Evidon may grant permission to use our proprietary database as determined in our sole discretion. Unauthorized use of this proprietary database, or any portion of it, may result in legal proceedings against you, seeking monetary damages and an injunction against you, including the payment of legal fees and costs.",
"bugs":[
{
"type":"ad",
"aid":2,
"cid":145,
"pattern":"static\\.scribefire\\.com\\/ads\\.js",
"name":"ScribeFire QuickAds",
"id":33,
➜ PatchNotes.org git:(master) ✗ sudo gem install travis
Building native extensions. This could take a while...
ERROR: Error installing travis:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.9.1 extconf.rb
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- mkmf (LoadError)
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from extconf.rb:4:in `<main>'
trained
so cli-color as clc
so http
so q as Q
very addresses is new Object
very args is process.argv.splice(2)
very balance is 0
very requests is new Array
2014/01/27 17:50:06 http: panic serving 127.0.0.1:19697: runtime error: invalid memory address or ni
l pointer dereference
goroutine 541 [running]:
net/http.func·007()
/usr/lib/go/src/pkg/net/http/server.go:1022 +0xac
main.GetHelm(0x0, 0x0, 0x8235992, 0x48f10c, 0x52e6e29e, ...)
/home/minotar/go/src/github.com/minotar/minotar/process.go:32 +0x4d
main.func·003(0x0, 0x0, 0x816dc0, 0x0, 0xc200b44880, ...)
/home/minotar/go/src/github.com/minotar/minotar/main.go:215 +0x2f
main.func·001(0xc2000da380, 0xc2000ca000, 0xc2009eadd0)
## 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;