Gists Index

Deploy Ruby AWS lambda with github action (Oct 2020)
(Jun 2020)
Google page speed report 2018 (May 2020)
React Navigation (v4) sequential navigator (Apr 2020)
TypeScript cheatsheet (Sep 2019)
Simple Ruby router (Jul 2019)
React Native "Could not find iPhone simulator" (Jul 2019)
10 ways to have a better conversation (by Celeste Headlee) (Dec 2018)
React Native iOS third-party double-conversion build error fix (Oct 2018)
MVP cheatsheet (Aug 2018)
Bulk upsert (Rails/PostgreSQL) (Aug 2018)
Effective Ruby (Jun 2018)
Rails manual association preloading (Mar 2018)
Loader/loading Higher-Order Component (Mar 2018)
fetch with timeout (Mar 2018)
Climb the stairs (brain friendly, not so cpu friendly) (Jan 2018)
Warden Rails cookie (Dec 2017)
Heroku prod database export to Docker database container (Dec 2017)
Quick&dirty trello task list (Dec 2017)
Optimal images optimization (Oct 2017)
fetch timeout (Aug 2017)
React Native ScrollView repeated background (May 2017)
Traductor (rails models translations) (Apr 2017)
Rails, Auth0, JWT, RS256 (Feb 2017)
nokogiri -> ERROR: cannot discover where libxml2 is located on your system (Jan 2017)
mnmlist web (Oct 2016)
Kata04: Data Munging - Part One: Weather Data (Aug 2016)
10 Modern Software Over-Engineering Mistakes (Aug 2016)
Lean: Eliminate Waste (Aug 2016)
php server nginx config (Aug 2016)
PHP named params (Jul 2016)
[RubyMotion] blurred background view (Jul 2016)
[RubyMotion] [ProMotion] hide status bar (Jul 2016)
Symfony2: exclude 4xx client errors from logging (Mar 2016)
AMD loading code (Feb 2016)
Component\AdyenCreditCard (Feb 2016)
OS X: forward port 80 to 8080 (Oct 2015)
Connecting to remote server local services via SSH tunnel (Feb 2015)
Forwarding fluentd internal tag to loggly automatically (Jan 2015)
Nginx PHP common configuration (Aug 2014)
Convert CSV to SQL INSERT statements (Jun 2014)
Converting from base-16 to base-36 number (with 128bit precision) (May 2014)
Passing HTTP AUTH BASIC/DIGEST headers from Apache to PHP-FPM (Mar 2014)
Centered block element with unknown width (Nov 2013)
Simple Librato client for PHP (Oct 2013)
Non-blocking socket connection (Sep 2013)
Remove multiple items in the Mac OSX (Lion) ‘Open With’ (Apr 2013)
preg_replace_callback with match counter (Apr 2013)
Responsive embedded youtube video (Mar 2013)
$jsonp (Oct 2012)
homebrew formula for apache2 (2.4.3) (Oct 2012)
Doctrine\Common\Cache\CacheProvider performance-aware adapter (May 2012)
Russian roulette ;-) (Mar 2012)
Service task for Mac OS X (Feb 2012)
Observer in JS (Feb 2012)
Call class method via instance (Nov 2011)
Codility demo test (Ruby) (Oct 2011)
Codility demo test (PHP) (Oct 2011)
Devise: find by username OR email (Sep 2011)
PHP: Converting DateTime between timezones (Sep 2011)
Regex look ahead and look behind (Jun 2011)
Apache log analyzer (Jun 2011)
PHP PDO grouping results (May 2011)
Accessing private members of the same object type (May 2011)
PHP new ternary operator gotcha (May 2011)
MySQL fast data load (May 2011)
Mac OS X: redirecting port 80 to actual http port (Apr 2011)
Clipped text in CSS (Mar 2011)
mongoid: embedded document without object_id (Mar 2011)
~/.mplayer/config (polish font in mplayer) (Mar 2011)
interpret_status in rails3 (Feb 2011)
hirb and wirble configuration (Feb 2011)
Lazy assignment pattern (Feb 2011)
PHP: function in method (Jan 2011)
will_paginate query with per_page working in rails3 (Jan 2011)
jQuery onload event for images (Jan 2011)
Doctrine_Hydrator_FlatArray (Dec 2010)
Doctrine2 EnumType (Dec 2010)