Skip to content

Instantly share code, notes, and snippets.

View deepak-kumar's full-sized avatar

Deepak Kumar deepak-kumar

  • Kanpur,India
View GitHub Profile
@deepak-kumar
deepak-kumar / 0_reuse_code.js
Last active August 29, 2015 14:11
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
# Shell Script
# Compiles specified nginx version with google SPDY module
# Author: Deepak Kumar
# Twitter: @deepak_kumar
# November 19th, 2013
# Nginx modules included here are as per my need. Feel free modify/add/remove. Cheers!
#!/bin/sh
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for symfony/framework-standard-edition 2.3.x-dev -> satisfiable by symfony/framework-standard-edition[2.3.x-dev].
- friendsofsymfony/user-bundle 2.0.x-dev requires symfony/security-bundle >=2.1,<2.3-dev -> satisfiable by symfony/symfony[v2.1.7, v2.1.0, v2.1.1, v2.1.10, v2.1.11, v2.1.2, v2.1.3, v2.1.4, v2.1.5, v2.1.6, v2.1.8, v2.1.9, v2.2.0, v2.2.1, v2.2.2], symfony/security-bundle[v2.1.0, v2.1.1, v2.1.10, v2.1.11, v2.1.2, v2.1.3, v2.1.4, v2.1.5, v2.1.6, v2.1.7, v2.1.8, v2.1.9, v2.2.0, v2.2.1, v2.2.2].
- friendsofsymfony/user-bundle v1.3.0 requires symfony/security-bundle 2.1.* -> satisfiable by symfony/symfony[v2.1.7, v2.1.0, v2.1.1, v2.1.10, v2.1.11, v2.1.2, v2.1.3, v2.1.4, v2.1.5, v2.1.6, v2.1.8, v2.1.9], symfony/security-bundle[v2.1.0, v2.1.1, v2.1.10, v2.1.11, v2.1.2, v2.1.3, v2.1.4, v
{
"name": "symfony/framework-standard-edition",
"description": "The \"Symfony Standard Edition\" distribution",
"autoload": {
"psr-0": {
"": "src/"
}
},
"require": {
"php": ">=5.3.3",
# Shell Script
# Installs specified nginx version with google SPDY patch
# Author: Deepak Kumar
# Twitter: @deepak_kumar
# March 2nd, 2013
# Nginx modules included here are as per my need. Feel free modify/add/remove. Cheers!
#!/bin/sh