This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# vim:ft=zsh ts=2 sw=2 sts=2 | |
# | |
# agnoster's Theme - https://gist.github.com/3712874 | |
# A Powerline-inspired theme for ZSH | |
# | |
# # README | |
# | |
# In order for this theme to render correctly, you will need a | |
# [Powerline-patched font](https://github.com/Lokaltog/powerline-fonts). | |
# Make sure you have a recent version: the code points that Powerline |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Document</title> | |
<style> | |
/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function(shipit) { | |
require('shipit-deploy')(shipit); | |
shipit.initConfig({ | |
default: { | |
workspace: '/tmp/app', | |
deployTo: '/var/www/app', | |
repositoryUrl: 'git@repo', | |
ignores: ['.git', 'node_modules', 'bower_components'], | |
rsync: ['--del'], | |
keepReleases: 5, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a=12345; | |
/** | |
* this accepts optinal parametes the first one is the Locale Coce ie en-US,en-IN etc and the second is an object which accepts | |
* conditional formatting params | |
* | |
* | |
**/ | |
b=a.toLocaleString("en-IN",{style:"currency",currency:"INR"}); | |
alert(b); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>gallery exaple</title> | |
</head> | |
<body> | |
<!-- gallery1 --> | |
<div class="gallery"> | |
<div class="gallery-item"> | |
<img class="gallery-image" src="http://upload.wikimedia.org/wikipedia/commons/3/36/Hopetoun_falls.jpg" alt="" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports=function(grunt) | |
{ | |
grunt.initConfig({ | |
uglify:{ | |
files :{ | |
src : "js/*.js", | |
dest : "js/jsmin/", | |
flatten :true, | |
expand :true, | |
ext : ".min.js" |