Skip to content

Instantly share code, notes, and snippets.

View deepakprasanna's full-sized avatar

Deepak Prasanna deepakprasanna

View GitHub Profile

Keybase proof

I hereby claim:

  • I am deepakprasanna on github.
  • I am deepakprasanna (https://keybase.io/deepakprasanna) on keybase.
  • I have a public key ASBG6BIf2AKpE8UPT9L7luLj3TzHke_0TxnttEZsG_y-0wo

To claim this, I am signing this object:

@deepakprasanna
deepakprasanna / .dockerignore
Last active March 8, 2018 13:10
Dockerfile for create-react-app using multistage builds. Forgetting the .dockerignore file can make your build process painfully slow.
node_modules
➜ duplii git:(develop) git log
➜ duplii git:(develop) git pull origin develop
From github.com:tarkalabs/duplii
* branch develop -> FETCH_HEAD
Already up-to-date.
➜ duplii git:(develop) rake db:drop
➜ duplii git:(develop) rake db:create
➜ duplii git:(develop) rake db:migrate
== 20141013103158 DeviseCreateUsers: migrating ================================
-- create_table(:users)
➜ v3 git:(master) ✗ cult
[17:58:57] Requiring external module coffee-script/register
[17:58:58] Using gulpfile ~/Workspace/vimana-ui/v3/gulpfile.coffee
[17:58:58] Starting 'clean'...
[17:58:58] Finished 'clean' after 36 ms
[17:58:58] Starting 'default'...
[17:58:58] Starting 'coffee'...
[17:58:58] starting coffee
[17:58:58] Starting 'javascripts'...
[17:58:58] Starting 'html'...
@deepakprasanna
deepakprasanna / gist:7761975
Created December 3, 2013 00:48
server.log
bin/server-for-tenant tft
[warn] The global sbt directory is now versioned and is located at /Users/deepak/.sbt/0.13.
[warn] You are seeing this warning because there is global configuration in /Users/deepak/.sbt but not in /Users/deepak/.sbt/0.13.
[warn] The global sbt directory may be changed via the sbt.global.base system property.
[info] Loading project definition from /Users/deepak/Workspace/vimana/project
[info] Set current project to vimana (in build file:/Users/deepak/Workspace/vimana/)
[info] Wrote start script for mainClass := None to /Users/deepak/Workspace/vimana/mains/target/start
[success] Total time: 3 s, completed 2 Dec, 2013 2:54:34 PM
09:24:36,840 |-INFO in ch.qos.logback.classic.gaffer.ConfigurationDelegate@38da84cf - Added status listener of type [ch.qos.logback.core.status.OnConsoleStatusListener]
09:24:36,870 |-INFO in ch.qos.logback.classic.gaffer.ConfigurationDelegate@38da84cf - Setting ReconfigureOnChangeFilter scanning period to 30 seconds
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant::Config.run do |config|
config.vm.box = "precise32"
config.vm.forward_port 80, 8080
config.vm.customize [
"modifyvm", :id,
"--name", "LAMP VM",
Header hash: {"X-Ops-Timestamp"=>"2012-11-20T22:55:41Z", "X-Ops-Authorization-6"=>"9eBKQX2cLrnpVdKvzoRZZlnTo7mxY4qoHNdVunCg4A==", "X-Ops-Authorization-5"=>"tDx9tLQhmi6vBCmJDgLVUcn1TNu2KDXAHm1eyMYEzODt5pxU33sNz1ci986F", "X-Ops-Authorization-4"=>"DVthyovKPdM3DjjAr/OoUE4jmaW/hRU3RM2Y4/XqB2Re5LgAm8GEOwMGjQLt", "X-Ops-Authorization-3"=>"tTNpdbfaWPOlL5YZm7WBDXvJVI6y6M9SFET09YD2gdLP67cPRFI+T8O94LJz", "X-Ops-Authorization-2"=>"5bxX59bJTSIDlTsy//Yg3JxTa7vqOdtZhrN4UrCF5O2wSHZ4qvpv0zV+vKe4", "X-Ops-Authorization-1"=>"PCBa2qLMchbmuA2qSjl/8gJ+BfNwisIn2uvIPmfkf2nLfKvnoGkPV2uSiHi9", "X-Ops-Userid"=>"thoughtster-validator", "X-Ops-Sign"=>"algorithm=sha1;version=1.0;", "X-Ops-Content-Hash"=>"zmBEqtnLCFUnT0M1aEm8ZdX/1BQ="}
[2012-11-20T22:55:41+00:00] DEBUG: Sending HTTP Request via POST to api.opscode.com:80/organizations/thoughtster/clients
[2012-11-20T22:55:56+00:00] DEBUG: ---- HTTP Status and Header Data: ----
[2012-11-20T22:55:56+00:00] DEBUG: HTTP 1.1 301 Moved Permanently
[2012-11-20T22:55:56+00:00] DEBUG: content-type:
#Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant::Config.run do |config|
config.vm.box = "precise32"
config.vm.forward_port 80, 8080
config.vm.customize [
"modifyvm", :id,
capybara-webkit depends on qtwebkit, make sure you have qtwebkit before you install capybara-webkit.
qtwebkit:
apt-get install libqt4-dev libqtwebkit-dev
Gemfile:
capybara-webkit
features/support/env:
Capybara.javascript_driver = :webkit
#git-stash apply left all stashed data hanging around.
#This is why you should not use git-stash apply.
$ git stash list
stash@{0}: WIP on development: eb6209b Merge branch 'development' of github.com:
stash@{1}: WIP on development: 3b9a6bb Merge branch 'development' of github.com:
stash@{2}: WIP on development: fa0cbd1 Merge branch 'development' of github.com:
stash@{3}: WIP on development: 632c2b6 fixed conflicts
stash@{4}: WIP on development: 425bef6 created candidate page
stash@{5}: WIP on staging: 5b5c4f0 The user contact number is also saved in orga