Skip to content

Instantly share code, notes, and snippets.

@alicoding
alicoding / CLA
Last active January 8, 2019 19:42
<div>
<p class=MTBody><b>Scotiabank Contributor Licence Agreement</b></p>
<p class=MTBody>This Contributor Licence Agreement (this “<b>Agreement</b>”) is
entered into between The Bank of Nova Scotia (“<b>Scotiabank</b>”) and you or
the corporation you represent (“<b>You</b>” or “<b>Your</b>”), and constitutes
a binding legal agreement.</p>
@alicoding
alicoding / react-upgrade.md
Last active March 15, 2016 18:36
react-uograde.MD

Upgrade React to 0.14, React Router to 2.0 and React Intl to 2.0

  1. What did I upgrade?
  2. Why the upgrade?
  3. Why all 3 at once?
  4. How much time did it take to upgrade?
  5. How was all the documentations?

Noticeable/Breaking changes to React 0.14.x from .0.13.x

@alicoding
alicoding / 100
Last active August 29, 2015 14:21
100% only
[ 'th_TH',
'es_AR',
'te',
'pt_BR',
'de',
'tr_TR',
'uz',
'el',
'km',
'en_US',
@alicoding
alicoding / l10n.md
Last active August 29, 2015 14:21
L10N why you so hard?
  • We are using different syntax for different application (nunjucks [gettext] angular [ { 'string' | i18n } ] ). Problem here is that it can cause syntax error sometimes.
  • No pluralization support
  • We're always forget to localize a string or a page...
  • Formatting the string sometimes can be hard to translate
  • Pushing strings consistently
  • Never remove old/unused strings
  • Never update/get in touch with the translation community
  • Never appreciate their work (see Waze l10n team)
  • RTL / LTR
@alicoding
alicoding / header.less
Created March 5, 2014 20:21
LESS variable
@bower-path: "../static/bower";
@import "../static/bower/webmaker-language-picker/styles/languages";
@import "../static/bower/persona-btn/persona-btn.css";
@alicoding
alicoding / default-config.js
Created March 3, 2014 16:25
supported language for popcorn maker
"SUPPORTED_LANGS": [
"bn-BD",
"bn-IN",
"de",
"en-CA",
"en-US",
"es",
"es-CL",
"es-MX",
"fr",
@alicoding
alicoding / .env
Created March 3, 2014 16:18
supported_languages for .env
export SUPPORTED_LANGS='[ "bn-BD", "bn-IN", "de", "en-CA", "en-US", "es", "es-CL", "es-MX", "fr", "id", "km", "pt", "pt-BR", "ru", "th", "th-TH", "zh-CN", "zh-TW" ]'