Skip to content

Instantly share code, notes, and snippets.

@imranansari
imranansari / gist:1014911
Created June 8, 2011 17:47
Maven ANT JS Build Tasks with YUI Compressor
<!-- JS tasks -->
<plugin>
<dependencies>
<dependency>
<groupId>commons-net</groupId>
<artifactId>commons-net</artifactId>
<version>1.4.1</version>
</dependency>
<dependency>
<groupId>ant</groupId>
@imranansari
imranansari / phonegap.html
Created December 24, 2011 03:10 — forked from pamelafox/phonegap.html
Phonegap Index (Jinja2)
<!doctype html>
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<title>everyday.io</title>
{% if g and g.debug %}
<link rel="stylesheet" href="css/colorslider.css" />
<link rel="stylesheet" href="css/dateinput.css" />
<link rel="stylesheet" href="css/bootstrap-1.3.0.min.css">
@imranansari
imranansari / dabblet.css
Created January 6, 2012 15:36
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background: #f06;
background: linear-gradient(55deg, #f06, yellow);
min-height:100%;
@imranansari
imranansari / dabblet.css
Created February 24, 2012 01:53
Untitled
.wrapper {
//margin: 50px auto;
width: 200px;
height: 130px;
background: white;
border-radius: 10px;
-webkit-box-shadow: 0px 0px 8px rgba(0,0,0,0.3);
-moz-box-shadow: 0px 0px 8px rgba(0,0,0,0.3);
box-shadow: 0px 0px 8px rgba(0,0,0,0.3);
@imranansari
imranansari / dabblet.css
Created February 24, 2012 01:53
Untitled
.wrapper {
//margin: 50px auto;
width: 200px;
height: 130px;
background: white;
border-radius: 10px;
-webkit-box-shadow: 0px 0px 8px rgba(0,0,0,0.3);
-moz-box-shadow: 0px 0px 8px rgba(0,0,0,0.3);
box-shadow: 0px 0px 8px rgba(0,0,0,0.3);
@imranansari
imranansari / dabblet.css
Created February 24, 2012 01:53
Untitled
.wrapper {
//margin: 50px auto;
width: 160px;
height: 90px;
background: white;
border-radius: 10px;
-webkit-box-shadow: 0px 0px 8px rgba(0,0,0,0.3);
-moz-box-shadow: 0px 0px 8px rgba(0,0,0,0.3);
box-shadow: 0px 0px 8px rgba(0,0,0,0.3);
@imranansari
imranansari / dabblet.css
Created February 24, 2012 02:17
COE Components
.wrapper {
//margin: 50px auto;
width: 160px;
height: 90px;
background: white;
border-radius: 10px;
-webkit-box-shadow: 0px 0px 8px rgba(0,0,0,0.3);
-moz-box-shadow: 0px 0px 8px rgba(0,0,0,0.3);
box-shadow: 0px 0px 8px rgba(0,0,0,0.3);
position: relative;
@imranansari
imranansari / Additional Commands
Created February 29, 2012 22:37 — forked from vinioliveira/Additional Commands
Init.d Juggernaut2 script for Ubuntu
$ sudo adduser --system --no-create-home --disabled-login --disabled-password --group juggernaut
$ sudo mv ~/juggernaut2-for-init.d-startup.sh /etc/init.d/juggernaut
$ sudo chmod +x /etc/init.d/juggernaut
$ sudo update-rc.d -f juggernaut defaults
.wrapper {
//margin: 50px auto;
width: 160px;
height: 90px;
background: white;
border-radius: 10px;
-webkit-box-shadow: 0px 0px 8px rgba(0,0,0,0.3);
-moz-box-shadow: 0px 0px 8px rgba(0,0,0,0.3);
box-shadow: 0px 0px 8px rgba(0,0,0,0.3);
position: relative;
.wrapper {
//margin: 50px auto;
width: 160px;
height: 90px;
background: white;
border-radius: 10px;
-webkit-box-shadow: 0px 0px 8px rgba(0,0,0,0.3);
-moz-box-shadow: 0px 0px 8px rgba(0,0,0,0.3);
box-shadow: 0px 0px 8px rgba(0,0,0,0.3);