View gist:67b0e75edd6388f4dad10394ffdb84c7
This file contains 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
version: "3.3" | |
services: | |
app: | |
image: nginx | |
ports: | |
- 80 | |
- 443 | |
restart: unless-stopped | |
tty: true |
View basic.php
This file contains 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
/** | |
* We set the on hold flag to true when any work ticket is created. | |
* We set the on hold flag to false when any work ticket is approved. | |
* @return bool | |
*/ | |
public function should_be_on_hold() | |
{ | |
/** @var RepairOrder $order */ | |
$order = $this->__get('product_order'); |
View libvips-installer.sh
This file contains 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
#!/bin/sh | |
# | |
# Orinally made by Lovell Fuller for sharp | |
# https://github.com/lovell/sharp | |
# | |
# Usage: | |
# curl -s https://gist.githubusercontent.com/h2non/89bb2f87c6499d0b25f1/raw/bf3d0743107f02f5db2b93c53f7f0e07a1c33112/libvips-installer.sh | sudo bash - | |
# |
View gist:d00695ff7198202dae95
This file contains 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
==================== | |
Graphs ############# | |
==================== | |
Services | |
http://techcrunch.com/2012/11/13/chartio-improves-the-way-you-visualize-your-data/ | |
http://keen.io/ | |
ChartJS | |
http://www.chartjs.org |
View gist:5971589
This file contains 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
[warn] Problem processing dependencies of source /var/www2/scTracker/app/util/QueryStringUtil.java : java.lang.UnsupportedClassVersionError: util/QueryStringUtil : Unsupported major.minor version 51.0 | |
[warn] Error reading API from class file : java.lang.UnsupportedClassVersionError: util/QueryStringUtil : Unsupported major.minor version 51.0 | |
[warn] Problem processing dependencies of source /var/www2/scTracker/target/scala-2.9.1/src_managed/main/controllers/routes.java : java.lang.UnsupportedClassVersionError: controllers/routes : Unsupported major.minor version 51.0 | |
[warn] Problem processing dependencies of source /var/www2/scTracker/target/scala-2.9.1/src_managed/main/controllers/routes.java : java.lang.UnsupportedClassVersionError: controllers/routes$ref : Unsupported major.minor version 51.0 | |
[warn] Problem processing dependencies of source /var/www2/scTracker/target/scala-2.9.1/src_managed/main/controllers/routes.java : java.lang.UnsupportedClassVersionError: controllers/routes : Unsupported major.minor ve |
View gist:5971512
This file contains 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
2013-07-10 20:35:11,423 - [info] play - database [default] connected at jdbc:postgresql://localhost:5432/dpc | |
2013-07-10 20:35:11,445 - [info] play - Application started (Dev) | |
2013-07-10 20:35:11,446 - [debug] application - Request body: GET /track?url=google.com | |
2013-07-10 20:35:11,446 - [debug] application - request.path -> /track | |
2013-07-10 20:35:11,455 - [debug] application - for request: /track user cookie: Some(Cookie(scst_vx1_nuid,1901,-1,/,None,false,false)) | |
2013-07-10 20:35:11,455 - [debug] application - !AcceleratorUser.isUserIdCookieValid(request) -> false | |
2013-07-10 20:35:11,455 - [debug] application - for request: /track user cookie: Some(Cookie(scst_vx1_nuid,1901,-1,/,None,false,false)) | |
2013-07-10 20:35:11,504 - [debug] application - Loading URL: 'google.com' | |
2013-07-10 20:35:11,510 - [debug] application - createdBy: 1901 | |
2013-07-10 20:35:11,515 - [debug] application - getCanonicalUrl(): http://google.com -> http://google.com |
View jquery.waituntilexists.js
This file contains 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
(function ($) { | |
/** | |
* @function | |
* @property {object} jQuery plugin which runs handler function once specified element is inserted into the DOM | |
* @param {function} handler A function to execute at the time when the element is inserted | |
* @param {bool} shouldRunHandlerOnce Optional: if true, handler is unbound after its first invocation | |
* @example $(selector).waitUntilExists(function); | |
*/ |
View gruntFile-justHandlebars
This file contains 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
module.exports = function(grunt) { | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
handlebars: { | |
compile: { | |
options: { | |
namespace: "Handlebars.templates", |
View Gruntfile.js
This file contains 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
module.exports = function(grunt) { | |
grunt.initConfig({ | |
//some... | |
handlebars: { | |
compile: { | |
options: { | |
namespace: "MyApp.Templates", |
View gist:5481941
This file contains 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
Route::group(array('before' => 'auth'), function() | |
{ | |
Route::get('/dashboard', array('as' => 'dashboard', 'uses' => 'DashboardController@main')); | |
}); |
NewerOlder