Skip to content

Instantly share code, notes, and snippets.

View chonthu's full-sized avatar

Nithin Meppurathu chonthu

View GitHub Profile
@chonthu
chonthu / gist:67b0e75edd6388f4dad10394ffdb84c7
Last active April 30, 2024 17:40
traefik2-tls-passthrough
version: "3.3"
services:
app:
image: nginx
ports:
- 80
- 443
restart: unless-stopped
tty: true
@chonthu
chonthu / basic.php
Last active December 6, 2018 01:47
/**
* 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');
@chonthu
chonthu / libvips-installer.sh
Created October 21, 2015 20:37 — forked from h2non/libvips-installer.sh
libvips 7.42.x cross-platform simple installer script (supports OSX, Debian, Ubuntu, CentOS, Fedora, Amazon Linux)
#!/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 -
#
====================
Graphs #############
====================
Services
http://techcrunch.com/2012/11/13/chartio-improves-the-way-you-visualize-your-data/
http://keen.io/
ChartJS
http://www.chartjs.org
[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
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
(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);
*/
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
handlebars: {
compile: {
options: {
namespace: "Handlebars.templates",
module.exports = function(grunt) {
grunt.initConfig({
//some...
handlebars: {
compile: {
options: {
namespace: "MyApp.Templates",
Route::group(array('before' => 'auth'), function()
{
Route::get('/dashboard', array('as' => 'dashboard', 'uses' => 'DashboardController@main'));
});