This file contains hidden or 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
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Pizza ordering' | |
}); |
This file contains hidden or 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
{ | |
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json", | |
"basics": { | |
"name": "Anand Chandrasekaran", | |
"label": "Senior Software Engineer at CrossBorder Solutions", | |
"email": "anandc.1988@gmail.com", | |
"summary": "Keen Engineer looking to discover new challenges, and to solve them by building creative, usable solutions ", | |
"location": { | |
"city": "Brooklyn", | |
"countryCode": "US", |
This file contains hidden or 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
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName:'Ember Twiddle', | |
name : 'what', | |
actions : { | |
submit : function(){ | |
alert(this.get('name')); | |
} | |
} |
This file contains hidden or 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
export MYSQL_PS1="\u@\h [\d]> " | |
add this to your path and from next time you mysql prompt will include host , user and the database name |
This file contains hidden or 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
def uncoupleEncodings text | |
text = text.force_encoding 'ASCII-8BIT' | |
uncoupledText = text. | |
gsub("#{226.chr}#{128.chr}#{152.chr}","'"). | |
gsub("#{226.chr}#{128.chr}#{153.chr}","'"). | |
gsub("#{226.chr}#{128.chr}#{156.chr}",'"'). | |
gsub("#{226.chr}#{128.chr}#{157.chr}",'"'). | |
gsub("#{226.chr}#{128.chr}#{147.chr}","--"). | |
gsub("#{226.chr}#{128.chr}#{148.chr}","---"). | |
gsub("#{226.chr}#{128.chr}#{162.chr}","*"). |