Skip to content

Instantly share code, notes, and snippets.

View manojlds's full-sized avatar

Manoj manojlds

View GitHub Profile

Keybase proof

I hereby claim:

  • I am manojlds on github.
  • I am manojlds (https://keybase.io/manojlds) on keybase.
  • I have a public key whose fingerprint is B0A9 BA18 4385 44F5 D676 67FA 9ED6 79BC 72EA 755B

To claim this, I am signing this object:

Anchors in Markdown

To create an anchor to a heading in github flavored markdown. Add - characters between each word in the heading and wrap the value in parens (#some-markdown-heading) so your link should look like so:

[create an anchor](#anchors-in-markdown)

@manojlds
manojlds / hack.sh
Created August 28, 2013 18:47 — forked from DAddYE/hack.sh
#!/bin/sh
##
# This is a script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# Run in interactive mode with:
# $ sh -c "$(curl -sL https://raw.github.com/gist/2108403/hack.sh)"
#
# or run it without prompt questions:
@manojlds
manojlds / gist:3889239
Created October 14, 2012 17:23
sample diff
diff --git a/Gemfile.lock b/Gemfile.lock
index 5060be1..cfaf0aa 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -2,6 +2,7 @@ GEM
remote: http://rubygems.org/
specs:
RedCloth (4.2.9)
+ RedCloth (4.2.9-x86-mingw32)
albino (1.3.3)
@manojlds
manojlds / stringequals.cs
Created September 15, 2012 12:53
String equals
string.Equals(sample1,sample2)
@manojlds
manojlds / cruise-config.xml
Created March 6, 2012 22:11
Go pipeline Templates
<pipeline name="deploy-to-sandbox-master" template="deploy-template">
<params>
<param name="BUILD_PIPELINE">build-master</param>
</params>
<materials>
<pipeline pipelineName="#{BUILD_PIPELINE}" stageName="build" />
</materials>
</pipeline>