Skip to content

Instantly share code, notes, and snippets.

View alizahid's full-sized avatar

Ali Zahid alizahid

View GitHub Profile
@alizahid
alizahid / country-code-to-currency-code-mapping.csv
Created December 21, 2018 21:13 — forked from HarishChaudhari/country-code-to-currency-code-mapping.csv
Country, Country Code, Currency code mapping in CSV format Taken from https://gist.github.com/304261 Contains 249 countries.
Country CountryCode Currency Code
New Zealand NZ New Zealand Dollars NZD
Cook Islands CK New Zealand Dollars NZD
Niue NU New Zealand Dollars NZD
Pitcairn PN New Zealand Dollars NZD
Tokelau TK New Zealand Dollars NZD
Australian AU Australian Dollars AUD
Christmas Island CX Australian Dollars AUD
Cocos (Keeling) Islands CC Australian Dollars AUD
Heard and Mc Donald Islands HM Australian Dollars AUD
@alizahid
alizahid / controllers.application.js
Last active December 28, 2017 12:37 — forked from 3gwebtrain/controllers.application.js
multiselect-toggle
import Ember from 'ember'
export default Ember.Controller.extend({
appName: 'Twiddle',
selected: [],
actions: {
toggle(index) {
const indexOf = this.selected.indexOf(index)
/* Daniel Ott
* entities.css
* 31 January 2011
*
* Adding arrows to thinks makes them more clickable. Right?
* Use CSS's :after pseudo-selector to insert hexadecimal values
* of html entities into the document. Less markup. More awesome.
*/
.add-an-arrow:after {