Skip to content

Instantly share code, notes, and snippets.

View prayagupa's full-sized avatar
💭
Dada

Prayag prayagupa

💭
Dada
View GitHub Profile
@ianrumford
ianrumford / blog_pallet_image0.clj
Created October 15, 2012 19:34
Pallet examples blog_pallet_image0.clj
(ns pallet_examples.blog_pallet_image0
(:require (pallet [core :as pcore]
[compute :as pcompute]
[configure :as pconfig]
)))
;; The additional Hardware Models (will override the default "small")
(def vmfest-hardware-models
{:small
@gpike
gpike / MvpExample.gwt.xml
Created October 6, 2012 05:25
MvpExample.gwt.xml
<?xml version="1.0" encoding="UTF-8"?>
<module rename-to='mvpexample'>
<!-- Inherit the core Web Toolkit stuff. -->
<inherits name='com.google.gwt.user.User'/>
<!-- Inherit the default GWT style sheet. You can change -->
<!-- the theme of your GWT application by uncommenting -->
<!-- any one of the following lines. -->
<inherits name='com.google.gwt.user.theme.clean.Clean'/>
<!-- <inherits name='com.google.gwt.user.theme.standard.Standard'/> -->
@holys
holys / varlogmongodbmongod.log.txt
Created October 6, 2012 03:13 — forked from anonymous/varlogmongodbmongod.log.txt
/var/log/mongodb/mongod.log
Tue Sep 25 20:35:21
Tue Sep 25 20:35:21 warning: 32-bit servers don't have journaling enabled by default. Please use --journal if you want durability.
Tue Sep 25 20:35:21
Tue Sep 25 20:35:22 [initandlisten] MongoDB starting : pid=7596 port=27017 dbpath=/var/lib/mongodb 32-bit host=ftp
Tue Sep 25 20:35:22 [initandlisten]
Tue Sep 25 20:35:22 [initandlisten] ** NOTE: when using MongoDB 32 bit, you are limited to about 2 gigabytes of data
Tue Sep 25 20:35:22 [initandlisten] ** see http://blog.mongodb.org/post/137788967/32-bit-limitations
Tue Sep 25 20:35:22 [initandlisten] ** with --journal, the limit is lower
Tue Sep 25 20:35:22 [initandlisten]
Tue Sep 25 20:35:22 [initandlisten] db version v2.2.0, pdfile version 4.5
@danieltreacy
danieltreacy / jvm-companies.md
Created September 26, 2012 02:40
Tech companies/startups migrated to the JVM

Tech companies who have migrated to the JVM

NB: Does not include companies that started with a JVM language. The purpose of this gist is to list the companies that decided to move their stack (or some part of it) to the JVM.

@ceteri
ceteri / Impatient #1
Created September 25, 2012 20:20
Cascading user list questions
bash-3.2$ gradle clean jar
:clean
:compileJava
:processResources UP-TO-DATE
:classes
:jar
BUILD SUCCESSFUL
Total time: 4.316 secs
@KWMalik
KWMalik / interviewitems.MD
Created September 16, 2012 22:04 — forked from amaxwell01/interviewitems.MD
My answers to over 100 Google interview questions

##Google Interview Questions: Product Marketing Manager

  • Why do you want to join Google? -- Because I want to create tools for others to learn, for free. I didn't have a lot of money when growing up so I didn't get access to the same books, computers and resources that others had which caused money, I want to help ensure that others can learn on the same playing field regardless of their families wealth status or location.
  • What do you know about Google’s product and technology? -- A lot actually, I am a beta tester for numerous products, I use most of the Google tools such as: Search, Gmaill, Drive, Reader, Calendar, G+, YouTube, Web Master Tools, Keyword tools, Analytics etc.
  • If you are Product Manager for Google’s Adwords, how do you plan to market this?
  • What would you say during an AdWords or AdSense product seminar?
  • Who are Google’s competitors, and how does Google compete with them? -- Google competes on numerous fields: --- Search: Baidu, Bing, Duck Duck Go
@amaxwell01
amaxwell01 / interviewitems.MD
Created September 15, 2012 14:17
My answers to over 100 Google interview questions

##Google Interview Questions: Product Marketing Manager

  • Why do you want to join Google? -- Because I want to create tools for others to learn, for free. I didn't have a lot of money when growing up so I didn't get access to the same books, computers and resources that others had which caused money, I want to help ensure that others can learn on the same playing field regardless of their families wealth status or location.
  • What do you know about Google’s product and technology? -- A lot actually, I am a beta tester for numerous products, I use most of the Google tools such as: Search, Gmaill, Drive, Reader, Calendar, G+, YouTube, Web Master Tools, Keyword tools, Analytics etc.
  • If you are Product Manager for Google’s Adwords, how do you plan to market this?
  • What would you say during an AdWords or AdSense product seminar?
  • Who are Google’s competitors, and how does Google compete with them? -- Google competes on numerous fields: --- Search: Baidu, Bing, Duck Duck Go
@gpike
gpike / build.gradle
Created September 14, 2012 16:03
Gradle build file for GWT
import java.awt.event.ItemEvent;
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'maven'
apply plugin: 'war'
task wrapper(type: Wrapper) { gradleVersion = '1.1' }
def spring_version = '3.1.1.RELEASE'
@michal-lipski
michal-lipski / .gitconfig
Created August 31, 2012 20:45
.gitconfig
[user]
name = Michal Lipski
email = kiwaczki_@gmail.com
[color]
diff = auto
status = auto
branch = auto
interactive = auto
ui = always
[alias]
(ns example.storm.clj.spout.kafka-spout
(:import ; [example.storm.spout UnreliableKafkaSpout]
[storm.kafka HostPort KafkaSpout SpoutConfig StringScheme]))
(def ^:dynamic *kafka-hosts* ["kafka-1.example.net"
"kafka-2.example.net"
"kafka-3.example.net"])
(def ^:dynamic *kafka-ports* [9093
9094