diff --git a/101.html b/101.html index 1128cf51f..1e29d43f4 100644 --- a/101.html +++ b/101.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -706,7 +706,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/404.html b/404.html index be8f2d0c4..67dc9f94d 100644 --- a/404.html +++ b/404.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -170,7 +170,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/absinthe.html b/absinthe.html index 248eadb45..db7a6fb59 100644 --- a/absinthe.html +++ b/absinthe.html @@ -33,8 +33,8 @@ - - + + @@ -103,11 +103,11 @@ gtag('config','UA-106902774-1'); @@ -573,7 +573,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/activeadmin.html b/activeadmin.html index 341c877c6..8a2bd672b 100644 --- a/activeadmin.html +++ b/activeadmin.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -572,7 +572,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/adb.html b/adb.html index ca3c1635e..5b7073a01 100644 --- a/adb.html +++ b/adb.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -666,7 +666,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/analytics.html b/analytics.html index 518d70264..cc3bc010c 100644 --- a/analytics.html +++ b/analytics.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -458,7 +458,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/analytics.js.html b/analytics.js.html index f31194ca1..0f929503a 100644 --- a/analytics.js.html +++ b/analytics.js.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -471,7 +471,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/angularjs.html b/angularjs.html index 9089733e7..6a9d0e485 100644 --- a/angularjs.html +++ b/angularjs.html @@ -1,7 +1,7 @@ - - - + + + @@ -33,8 +33,8 @@ - - + + @@ -89,25 +89,26 @@ gtag('config','UA-106902774-1'); - + - - - - - - -
- + + + + + + + @@ -145,13 +146,52 @@ gtag('config','UA-106902774-1'); -
-
-
-

-

Angular.js

+ -
+ + + + +
+
+ -
-

About

+ + + + + + +
+

About

+
+ + + + + +
+
+
+ + + 0 Comments + + for this cheatsheet. + Write yours! + +
+
+
+
+
+
+ +
- -
+ -
- + - + + - - - - - - diff --git a/animated_gif.html b/animated_gif.html index b525261e5..c2b163825 100644 --- a/animated_gif.html +++ b/animated_gif.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -513,7 +513,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/ansi.html b/ansi.html index 1099aaa4e..015076af3 100644 --- a/ansi.html +++ b/ansi.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -539,7 +539,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/ansible-examples.html b/ansible-examples.html index 17400f9db..cdb8aed28 100644 --- a/ansible-examples.html +++ b/ansible-examples.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -350,6 +350,8 @@ gtag('config','UA-106902774-1'); cheatsheet + + @@ -471,7 +473,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/ansible-guide.html b/ansible-guide.html index 9b87163ff..133abfc2f 100644 --- a/ansible-guide.html +++ b/ansible-guide.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -438,6 +438,8 @@ ok: [127.0.0.1] cheatsheet + + @@ -559,7 +561,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/ansible-modules.html b/ansible-modules.html index 003ccf4d0..0bcf79d10 100644 --- a/ansible-modules.html +++ b/ansible-modules.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -559,6 +559,8 @@ gtag('config','UA-106902774-1'); cheatsheet + + @@ -680,7 +682,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/ansible-roles.html b/ansible-roles.html index 2bbc87368..be699ddd4 100644 --- a/ansible-roles.html +++ b/ansible-roles.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -362,6 +362,8 @@ gtag('config','UA-106902774-1'); cheatsheet + + @@ -483,7 +485,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/ansible.html b/ansible.html index 712a0e565..57f03267a 100644 --- a/ansible.html +++ b/ansible.html @@ -1,7 +1,7 @@ - - - + + + @@ -33,8 +33,8 @@ - - + + @@ -85,25 +85,26 @@ gtag('config','UA-106902774-1'); - + - - - - - - -
- + + + + + + + @@ -141,13 +142,52 @@ gtag('config','UA-106902774-1'); -
-
-
-

-

Ansible

+ -
+ + + + +
+
- -
+
+ + + + + + + + +
+

Getting started

+

About

+ + +

Hosts

$ sudo mkdir /etc/ansible
@@ -178,7 +231,9 @@ $ sudo vim /etc/ansible/hosts
 
$ ansible-playbook playbook.yml
 
-

Tasks

+

Playbook files

+ +

Tasks

- hosts: all
   user: root
@@ -199,7 +254,7 @@ handlers:
   - include: db.yml user=timmy
 
-

Handlers

+

Handlers

handlers:
   - name: start apache2
@@ -212,7 +267,7 @@ tasks:
       - start apache2
 
-

Vars

+

Vars

- host: lol
   vars_files:
@@ -225,7 +280,7 @@ tasks:
       only_if: "$vm == 0"
 
-

Roles

+

Roles

- host: xxx
   roles:
@@ -256,56 +311,268 @@ tasks:
   local_home: "{{ lookup('env','HOME') }}"
 
-

References

- +
+
+ + + +
+
+
+ + + 0 Comments + + for this cheatsheet. + Write yours! + +
+
+
+
+
+
+ +
- -
+ -
- + - + + - - - - - - diff --git a/appcache.html b/appcache.html index b4dced685..e0a631ae0 100644 --- a/appcache.html +++ b/appcache.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -511,7 +511,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/applescript.html b/applescript.html index a968c8c59..e56c3cd54 100644 --- a/applescript.html +++ b/applescript.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -486,7 +486,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/applinks.html b/applinks.html index 42a973b83..58f50d225 100644 --- a/applinks.html +++ b/applinks.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -529,7 +529,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/arel.html b/arel.html index 4cbf49598..0b5a882df 100644 --- a/arel.html +++ b/arel.html @@ -1,7 +1,7 @@ - - - + + + @@ -33,8 +33,8 @@ - - + + @@ -85,25 +85,26 @@ gtag('config','UA-106902774-1'); - + - - - - - - -
- + + + + + + + @@ -141,13 +142,52 @@ gtag('config','UA-106902774-1'); -
-
-
-

-

Arel

+ -
+ + + + +
+
+ -
-

Tables

+ + + + + + +
+

About

+ +

Arel is an SQL abstraction library built into Ruby on Rails.

+ + + +

Tables

users = Arel::Table.new(:users)
 users = User.arel_table  # ActiveRecord model
@@ -266,54 +321,295 @@ this_month    = photos_with_credits.where(photos[:created_at].gteq(Date.today.be
 recent_photos = photos_with_credits.where(photos[:created_at].gteq(Date.today.beginning_of_month)).limit(5)
 
-

Reference

+
+
- + + + +
+
+
+ + + 0 Comments + + for this cheatsheet. + Write yours! + +
+
+
+
+
+
+ +
- -
+ -
- + - + + - - - - - - diff --git a/atom.html b/atom.html index 982424a45..d04e4f3ea 100644 --- a/atom.html +++ b/atom.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -753,7 +753,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/awesome-redux.html b/awesome-redux.html index a2dcfc1e9..3f3f5d809 100644 --- a/awesome-redux.html +++ b/awesome-redux.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -495,6 +495,8 @@ store.dispatch(fetchPosts()).then(() => { cheatsheet + + @@ -630,7 +632,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/awscli.html b/awscli.html index 92e1c4de1..131f94d64 100644 --- a/awscli.html +++ b/awscli.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -393,6 +393,8 @@ aws configure --profile project2 cheatsheet + + @@ -556,7 +558,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/backbone.html b/backbone.html index cf3f400a0..63977ac9a 100644 --- a/backbone.html +++ b/backbone.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -732,7 +732,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/bash.html b/bash.html index aa1493e4f..d0d471f4d 100644 --- a/bash.html +++ b/bash.html @@ -33,8 +33,8 @@ - - + + @@ -103,11 +103,11 @@ gtag('config','UA-106902774-1'); @@ -1624,7 +1624,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/blessed.html b/blessed.html index 288b61652..54639d8cb 100644 --- a/blessed.html +++ b/blessed.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -534,7 +534,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/bluebird.html b/bluebird.html index 450905c61..c19393718 100644 --- a/bluebird.html +++ b/bluebird.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -627,7 +627,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/bolt.html b/bolt.html index 53887d3b3..584bb2278 100644 --- a/bolt.html +++ b/bolt.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -434,7 +434,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/bookshelf.html b/bookshelf.html index 4415dd49b..5c0d585dd 100644 --- a/bookshelf.html +++ b/bookshelf.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -532,7 +532,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/bootstrap.html b/bootstrap.html index cf82c0746..ce717384e 100644 --- a/bootstrap.html +++ b/bootstrap.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -622,7 +622,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/browser-sync.html b/browser-sync.html index e2c1fd2a9..34e6251bb 100644 --- a/browser-sync.html +++ b/browser-sync.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -512,7 +512,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/browserify.html b/browserify.html index fc43d8f73..95bcc173b 100644 --- a/browserify.html +++ b/browserify.html @@ -33,8 +33,8 @@ - - + + @@ -103,11 +103,11 @@ gtag('config','UA-106902774-1'); @@ -553,7 +553,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/bulma.html b/bulma.html index d6fc0f15c..87631b905 100644 --- a/bulma.html +++ b/bulma.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -652,7 +652,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/bundler.html b/bundler.html index e9f357c7a..e2a7a74b5 100644 --- a/bundler.html +++ b/bundler.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -555,7 +555,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/c_preprocessor.html b/c_preprocessor.html index f2122f47c..382b2c8a8 100644 --- a/c_preprocessor.html +++ b/c_preprocessor.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -504,7 +504,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/camp.html b/camp.html index d7a51c365..f892d77df 100644 --- a/camp.html +++ b/camp.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -600,7 +600,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/canvas.html b/canvas.html index 2d76f5a9a..053bb589a 100644 --- a/canvas.html +++ b/canvas.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -609,7 +609,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/capybara.html b/capybara.html index 4fbe7c4bd..592341162 100644 --- a/capybara.html +++ b/capybara.html @@ -33,8 +33,8 @@ - - + + @@ -103,11 +103,11 @@ gtag('config','UA-106902774-1'); @@ -830,7 +830,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/cask-index.html b/cask-index.html index edfd2fe77..de2b12178 100644 --- a/cask-index.html +++ b/cask-index.html @@ -1,7 +1,7 @@ - - - + + + @@ -33,8 +33,8 @@ - - + + @@ -67,6 +67,10 @@ + + + + - + - - - - - - -
- + + + + + + + @@ -141,13 +146,52 @@ gtag('config','UA-106902774-1'); -
-
-
-

-

Caskroom index

+ -
+ + + + +
+
+ -
-

Caskroom

+ -

A

+ + + + +
+

A

+
+
+ + + + + +
+
+
+ + + 0 Comments + + for this cheatsheet. + Write yours! + +
+
+
+
+
+
+ +
- -
+ -
- + - + + - - - - - - diff --git a/chai.html b/chai.html index f5dc5038d..49a3eebc6 100644 --- a/chai.html +++ b/chai.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -652,7 +652,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/cheatsheet-styles.html b/cheatsheet-styles.html index 1caf64f9c..29a6c53da 100644 --- a/cheatsheet-styles.html +++ b/cheatsheet-styles.html @@ -33,8 +33,8 @@ - - + + @@ -103,11 +103,11 @@ gtag('config','UA-106902774-1'); @@ -1045,7 +1045,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/chef.html b/chef.html index a6a22a547..2aea70df8 100644 --- a/chef.html +++ b/chef.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -421,6 +421,8 @@ end cheatsheet + + @@ -584,7 +586,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/chunky_png.html b/chunky_png.html index c8cf040c2..ebd51363e 100644 --- a/chunky_png.html +++ b/chunky_png.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -535,7 +535,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/cidr.html b/cidr.html index b41a7d13d..b6411492f 100644 --- a/cidr.html +++ b/cidr.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -449,7 +449,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/circle.html b/circle.html index 772f1191e..fa337e6f8 100644 --- a/circle.html +++ b/circle.html @@ -1,7 +1,7 @@ - - - + + + @@ -33,8 +33,8 @@ - - + + @@ -85,25 +85,26 @@ gtag('config','UA-106902774-1'); - + - - - - - - -
- + + + + + + + @@ -141,13 +142,52 @@ gtag('config','UA-106902774-1'); -
-
-
-

-

CircleCI

+ -
+ + + + +
+
+ -
-

circle.yml

+ + + + + + +
+

About

+ + + +

circle.yml

+
+ + + + +
+
+
+ + + 0 Comments + + for this cheatsheet. + Write yours! + +
+
+
+
+
+
+ +
- -
+ -
- + - + + - - - - - - diff --git a/clip.html b/clip.html index f7bde3ae6..e5381842b 100644 --- a/clip.html +++ b/clip.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -527,7 +527,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/co.html b/co.html index 8fde69682..ad86bbe99 100644 --- a/co.html +++ b/co.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -554,7 +554,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/command_line.html b/command_line.html index 3c3db7a6c..b59bae08f 100644 --- a/command_line.html +++ b/command_line.html @@ -1,7 +1,7 @@ - - - + + + @@ -33,8 +33,8 @@ - - + + @@ -85,25 +85,26 @@ gtag('config','UA-106902774-1'); - + - - - - - - -
- + + + + + + + @@ -141,13 +142,52 @@ gtag('config','UA-106902774-1'); -
-
-
-

-

Command line stuff

+ -
+ + + + +
+
+ -
-

List (ls)

+ + + + + + +
+

List (ls)

+ +

Usage

ls [options] [paths]
 

Format

- +
@@ -210,7 +259,7 @@ gtag('config','UA-106902774-1');

Options

-
Switch
+
@@ -229,7 +278,7 @@ gtag('config','UA-106902774-1');

Sorting

-
-R
+
@@ -270,16 +319,16 @@ gtag('config','UA-106902774-1');
Switch
-


+

Tail

-

Tail

+

Usage

tail [-F | -f | -r] [-bN | -cN | -nN] [file ...]
 

Modes

- +
@@ -298,7 +347,7 @@ gtag('config','UA-106902774-1');

Options

-
-f
+
@@ -321,14 +370,16 @@ gtag('config','UA-106902774-1');


-

Sudo

+

Sudo

+ +

Usage

sudo [options] <command>
 

Listing

-
-bN
+
@@ -339,7 +390,7 @@ gtag('config','UA-106902774-1');

Options

-
-l
+
@@ -374,7 +425,7 @@ gtag('config','UA-106902774-1');

File descriptors

-
-A
+
@@ -385,7 +436,7 @@ gtag('config','UA-106902774-1');

Prompt

-
-C fd
+
@@ -396,7 +447,7 @@ gtag('config','UA-106902774-1');

Interactive

-
-p prompt
+
@@ -427,7 +478,7 @@ gtag('config','UA-106902774-1');

Timestamp

-
Switch
+
@@ -444,14 +495,16 @@ gtag('config','UA-106902774-1');
-v
-


+

wc (Word count)

-

wc (Word count)

+

wc

... | wc [options]
 
- +

Options

+ +
@@ -472,23 +525,16 @@ gtag('config','UA-106902774-1');
-c
-


+

Grep

-

Search-and-replace in all files

- -
perl -p -i -e 's/hello/HELLO/g' **/*
-
- -


- -

Grep

+

Usage

grep [options] [pattern] [file ...]
 
-

Options

+

Options

- +
@@ -567,48 +613,302 @@ gtag('config','UA-106902774-1'); fgrep => grep -F +

Other recipes

+ +

Search-and-replace in all files

+ +
perl -p -i -e 's/hello/HELLO/g' **/*
+
+ + + + + + + + +
+
+
+ + + 0 Comments + + for this cheatsheet. + Write yours! + +
+
+
+
+
+
+ +
- -
Switch
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SwitchDescription
-1One entry per line
-lLong view
-oLong view (without groups)
-CMulticolumn (sorted horizontally)
-xMulticolumn (sorted vertically)
-FAdd / after directories
-GColor
\n\n

Options

\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
-RRecurse
-aInclude hidden (dotfiles)
-AInclude hidden (but not . and ..)
\n\n

Sorting

\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SwitchDescription
-rreverse order
-Ssort by size
-tsort by time modified
-usort by time accessed
-Usort by time created
-csort by time status was changed
-hHuman-readable size (3k)
\n\n


\n\n

Tail

\n\n
tail [-F | -f | -r] [-bN | -cN | -nN] [file ...]\n
\n\n

Modes

\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
-ffollow
-Ffollow by filename (accounts for log rotation)
-rReverse order
\n\n

Options

\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
-bNN*512 bytes
-cNN bytes
-nNN lines
+NStart from line N
\n\n


\n\n

Sudo

\n\n
sudo [options] <command>\n
\n\n

Listing

\n\n\n \n \n \n \n \n \n
-lList allowed commands
\n\n

Options

\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
-AUse $SUDO_ASKPASS
-bRun in background
-EPreserve environment
-Huse target’s $HOME
-nDon’t prompt for password
-PPreserve group vector
-SRead password from stdin
\n\n

File descriptors

\n\n\n \n \n \n \n \n \n
-C fdClose all open file descriptors
\n\n

Prompt

\n\n\n \n \n \n \n \n \n
-p promptCustom prompt (-p “%p password:”)
\n\n

Interactive

\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SwitchDescription
-i [cmd]Interactive shell without variables
-s [cmd]Interactive shell
-u userrun as this user
-g grouprun as this group
\n\n

Timestamp

\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
-vrevalidate timestamp for 5 mins
-kinvalidate timestamp
-Kjust like -k
\n\n


\n\n

wc (Word count)

\n\n
... | wc [options]\n
\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
-cBytes
-lLines
-mCharacters (incl multi-byte)
-wWords
\n\n


\n\n

Search-and-replace in all files

\n\n
perl -p -i -e 's/hello/HELLO/g' **/*\n
\n\n


\n\n

Grep

\n\n
grep [options] [pattern] [file ...]\n
\n\n

Options

\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SwitchDescription
-A numPrint num lines of training context
-G–basic-regexp (default)
-E–extended-regexp
-P–perl-regexp
-f file–file (Get patterns for file)
-F–fixed-strings
-h–no-filename
-H–with-filename
-l–files-with-matches (just print filenames)
-L–files-without-match
-r, -R–recursive
-v–invert-match
-i–ignore-case
\n\n

Synonyms

\n\n
egrep  =>  grep -E\nfgrep  =>  grep -F\n
", + "content_html": "

List (ls)

\n\n

Usage

\n\n
ls [options] [paths]\n
\n\n

Format

\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SwitchDescription
-1One entry per line
-lLong view
-oLong view (without groups)
-CMulticolumn (sorted horizontally)
-xMulticolumn (sorted vertically)
-FAdd / after directories
-GColor
\n\n

Options

\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
-RRecurse
-aInclude hidden (dotfiles)
-AInclude hidden (but not . and ..)
\n\n

Sorting

\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SwitchDescription
-rreverse order
-Ssort by size
-tsort by time modified
-usort by time accessed
-Usort by time created
-csort by time status was changed
-hHuman-readable size (3k)
\n\n

Tail

\n\n

Usage

\n\n
tail [-F | -f | -r] [-bN | -cN | -nN] [file ...]\n
\n\n

Modes

\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
-ffollow
-Ffollow by filename (accounts for log rotation)
-rReverse order
\n\n

Options

\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
-bNN*512 bytes
-cNN bytes
-nNN lines
+NStart from line N
\n\n


\n\n

Sudo

\n\n

Usage

\n\n
sudo [options] <command>\n
\n\n

Listing

\n\n\n \n \n \n \n \n \n
-lList allowed commands
\n\n

Options

\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
-AUse $SUDO_ASKPASS
-bRun in background
-EPreserve environment
-Huse target’s $HOME
-nDon’t prompt for password
-PPreserve group vector
-SRead password from stdin
\n\n

File descriptors

\n\n\n \n \n \n \n \n \n
-C fdClose all open file descriptors
\n\n

Prompt

\n\n\n \n \n \n \n \n \n
-p promptCustom prompt (-p “%p password:”)
\n\n

Interactive

\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SwitchDescription
-i [cmd]Interactive shell without variables
-s [cmd]Interactive shell
-u userrun as this user
-g grouprun as this group
\n\n

Timestamp

\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
-vrevalidate timestamp for 5 mins
-kinvalidate timestamp
-Kjust like -k
\n\n

wc (Word count)

\n\n

wc

\n\n
... | wc [options]\n
\n\n

Options

\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
-cBytes
-lLines
-mCharacters (incl multi-byte)
-wWords
\n\n

Grep

\n\n

Usage

\n\n
grep [options] [pattern] [file ...]\n
\n\n

Options

\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SwitchDescription
-A numPrint num lines of training context
-G–basic-regexp (default)
-E–extended-regexp
-P–perl-regexp
-f file–file (Get patterns for file)
-F–fixed-strings
-h–no-filename
-H–with-filename
-l–files-with-matches (just print filenames)
-L–files-without-match
-r, -R–recursive
-v–invert-match
-i–ignore-case
\n\n

Synonyms

\n\n
egrep  =>  grep -E\nfgrep  =>  grep -F\n
\n\n

Other recipes

\n\n

Search-and-replace in all files

\n\n
perl -p -i -e 's/hello/HELLO/g' **/*\n
", "intro_html": "", "description_html": "", "tags": null, @@ -522,7 +522,7 @@ "url": "/commander.js", "category": "JavaScript libraries", "keywords": null, - "content_html": "

Initialize

\n\n
var cli = require('commander');\n
\n\n

Options

\n\n
cli\n  .version(require('../package').version)\n  .usage('[options] <command>')\n  .option('-w, --words <n>', 'generate <n> words')\n  .option('-i, --interval <n>', 'interval [1000]', 1000)\n  .option('-s, --symbols', 'include symbols')\n  .parse(process.argv);\n
\n\n

Help

\n\n
.on('--help', function() {\n  console.log('');\n})\n
\n\n

Commands

\n\n
cli.outputHelp();\ncli.args == [\"hello\"];\n
\n\n

Other useful things

\n\n
process.exit(0);\n
", + "content_html": "

About

\n\n\n\n

Initialize

\n\n
var cli = require('commander');\n
\n\n

Options

\n\n
cli\n  .version(require('../package').version)\n  .usage('[options] <command>')\n  .option('-w, --words <n>', 'generate <n> words')\n  .option('-i, --interval <n>', 'interval [1000]', 1000)\n  .option('-s, --symbols', 'include symbols')\n  .parse(process.argv);\n
\n\n

Help

\n\n
.on('--help', function() {\n  console.log('');\n})\n
\n\n

Commands

\n\n
cli.outputHelp();\ncli.args == [\"hello\"];\n
\n\n

Other useful things

\n\n
process.exit(0);\n
", "intro_html": "", "description_html": "", "tags": null, @@ -709,7 +709,7 @@ "url": "/devise", "category": "Others", "keywords": null, - "content_html": "

Devise is a flexible authentication \ngem.

\n\n

Installation

\n\n

Rails 3: Add the following to your Gemfile

\n\n
gem \"devise\"\ngem \"hpricot\"\ngem \"ruby_parser\"\n
\n\n

Install devise in your project

\n\n
$ rails generate devise:install\n
\n\n

Generate devise for your model

\n\n
$ rails generate devise MODEL\n$ rake db:migrate\n
\n\n

(Optional) Generate devise views

\n\n
$ rails generate devise:views\n
\n\n

Helpers

\n\n
user_signed_in?\ncurrent_user\nuser_session\ndestroy_user_session_path (Logout)\nnew_user_session_path (Login)\nedit_user_registration_path (Edit registration)\nnew_user_registration_path (Register new user)\n
\n\n

Controller stuff

\n\n
before_filter :authenticate_user!\n
\n\n

Model

\n\n

Model options

\n\n
class User < ActiveRecord::Base\n  devise :database_authenticatable,\n    :registerable,\n    :confirmable,\n    :recoverable,\n    :rememberable,\n    :trackable,\n    :validatable\nend\n
\n\n

Migration helpers

\n\n
create_table :users do |t|\n  t.database_authenticatable\n  t.confirmable\n  t.recoverable\n  t.rememberable\n  t.trackable\n  t.timestamps\nend\n
\n\n

Routing

\n\n

Authenticated and unauthenticated routes

\n\n
unauthenticated do\n   root :to => 'home#index'\nend\n\nauthenticated do\n  root :to => 'dashboard#index'\nend\n
\n\n

As

\n
as :user do\n  get 'sign_in', :to => 'devise/sessions#new'\nend\n
\n\n

Devise_for magic

\n\n
devise_for :users\n\n    # Session routes for Authenticatable (default)\n         new_user_session GET  /users/sign_in                    {:controller=>\"devise/sessions\", :action=>\"new\"}\n             user_session POST /users/sign_in                    {:controller=>\"devise/sessions\", :action=>\"create\"}\n     destroy_user_session GET  /users/sign_out                   {:controller=>\"devise/sessions\", :action=>\"destroy\"}\n   \n    # Password routes for Recoverable, if User model has :recoverable configured\n        new_user_password GET  /users/password/new(.:format)     {:controller=>\"devise/passwords\", :action=>\"new\"}\n       edit_user_password GET  /users/password/edit(.:format)    {:controller=>\"devise/passwords\", :action=>\"edit\"}\n            user_password PUT  /users/password(.:format)         {:controller=>\"devise/passwords\", :action=>\"update\"}\n                          POST /users/password(.:format)         {:controller=>\"devise/passwords\", :action=>\"create\"}\n   \n    # Confirmation routes for Confirmable, if User model has :confirmable configured\n    new_user_confirmation GET  /users/confirmation/new(.:format) {:controller=>\"devise/confirmations\", :action=>\"new\"}\n        user_confirmation GET  /users/confirmation(.:format)     {:controller=>\"devise/confirmations\", :action=>\"show\"}\n                          POST /users/confirmation(.:format)     {:controller=>\"devise/confirmations\", :action=>\"create\"}\n
\n\n

Customizing devise_for

\n\n
devise_for :users,\n  :path => \"usuarios\",\n  :path_names => {\n    :sign_in => 'login',\n    :sign_out => 'logout',\n    :password => 'secret',\n    :confirmation => 'verification',\n    :unlock => 'unblock',\n    :registration => 'register',\n    :sign_up => 'cmon_let_me_in' }\n
\n\n

Test helpers

\n\n
include Devise::TestHelpers\nhttps://github.com/plataformatec/devise/blob/1094ba65aac1d37713f2cba71f9edad76b5ca274/lib/devise/test_helpers.rb\n\nsign_in @user\nsign_out @user\n
", + "content_html": "

About

\n\n

Devise is a flexible authentication \ngem.

\n\n\n\n

Installation

\n\n

Rails 3: Add the following to your Gemfile

\n\n
gem \"devise\"\ngem \"hpricot\"\ngem \"ruby_parser\"\n
\n\n

Install devise in your project

\n\n
$ rails generate devise:install\n
\n\n

Generate devise for your model

\n\n
$ rails generate devise MODEL\n$ rake db:migrate\n
\n\n

(Optional) Generate devise views

\n\n
$ rails generate devise:views\n
\n\n

Helpers

\n\n
user_signed_in?\ncurrent_user\nuser_session\ndestroy_user_session_path (Logout)\nnew_user_session_path (Login)\nedit_user_registration_path (Edit registration)\nnew_user_registration_path (Register new user)\n
\n\n

Controller stuff

\n\n
before_filter :authenticate_user!\n
\n\n

Model

\n\n

Model options

\n\n
class User < ActiveRecord::Base\n  devise :database_authenticatable,\n    :registerable,\n    :confirmable,\n    :recoverable,\n    :rememberable,\n    :trackable,\n    :validatable\nend\n
\n\n

Migration helpers

\n\n
create_table :users do |t|\n  t.database_authenticatable\n  t.confirmable\n  t.recoverable\n  t.rememberable\n  t.trackable\n  t.timestamps\nend\n
\n\n

Routing

\n\n

Authenticated and unauthenticated routes

\n\n
unauthenticated do\n   root :to => 'home#index'\nend\n\nauthenticated do\n  root :to => 'dashboard#index'\nend\n
\n\n

As

\n
as :user do\n  get 'sign_in', :to => 'devise/sessions#new'\nend\n
\n\n

Devise_for magic

\n\n
devise_for :users\n\n    # Session routes for Authenticatable (default)\n         new_user_session GET  /users/sign_in                    {:controller=>\"devise/sessions\", :action=>\"new\"}\n             user_session POST /users/sign_in                    {:controller=>\"devise/sessions\", :action=>\"create\"}\n     destroy_user_session GET  /users/sign_out                   {:controller=>\"devise/sessions\", :action=>\"destroy\"}\n   \n    # Password routes for Recoverable, if User model has :recoverable configured\n        new_user_password GET  /users/password/new(.:format)     {:controller=>\"devise/passwords\", :action=>\"new\"}\n       edit_user_password GET  /users/password/edit(.:format)    {:controller=>\"devise/passwords\", :action=>\"edit\"}\n            user_password PUT  /users/password(.:format)         {:controller=>\"devise/passwords\", :action=>\"update\"}\n                          POST /users/password(.:format)         {:controller=>\"devise/passwords\", :action=>\"create\"}\n   \n    # Confirmation routes for Confirmable, if User model has :confirmable configured\n    new_user_confirmation GET  /users/confirmation/new(.:format) {:controller=>\"devise/confirmations\", :action=>\"new\"}\n        user_confirmation GET  /users/confirmation(.:format)     {:controller=>\"devise/confirmations\", :action=>\"show\"}\n                          POST /users/confirmation(.:format)     {:controller=>\"devise/confirmations\", :action=>\"create\"}\n
\n\n

Customizing devise_for

\n\n
devise_for :users,\n  :path => \"usuarios\",\n  :path_names => {\n    :sign_in => 'login',\n    :sign_out => 'logout',\n    :password => 'secret',\n    :confirmation => 'verification',\n    :unlock => 'unblock',\n    :registration => 'register',\n    :sign_up => 'cmon_let_me_in' }\n
\n\n

Test helpers

\n\n

Test helpers

\n\n
include Devise::TestHelpers\n\nsign_in @user\nsign_out @user\n
\n\n

See: https://github.com/plataformatec/devise/blob/1094ba65aac1d37713f2cba71f9edad76b5ca274/lib/devise/test_helpers.rb

", "intro_html": "", "description_html": "", "tags": null, @@ -808,7 +808,7 @@ "url": "/elixir-metaprogramming", "category": "Elixir", "keywords": null, - "content_html": "

Kernel

\n\n

Most of these magic is defined in Kernel.SpecialForms.

\n\n

Pseudo-variables

\n\n
__DIR__     # current dir\n__MODULE__  # current module\n__CALLER__  # caller of the function\n
\n\n

__ENV__

\n\n
Map.keys(__ENV__)\n[:__struct__, :aliases, :context, :context_modules, :export_vars, :file,\n :function, :functions, :lexical_tracker, :line, :macro_aliases, :macros,\n :module, :requires, :vars]\n
\n\n
__CALLER__.module |> Module.definitions_in |> IO.inspect\n
\n\n
apply(Enum, :reverse, [[1, 2, 3]])\n
", + "content_html": "

Kernel

\n\n

Most of these magic is defined in Kernel.SpecialForms.

\n\n

Pseudo-variables

\n\n
__DIR__     # current dir\n__MODULE__  # current module\n__CALLER__  # caller of the function\n
\n\n

__ENV__

\n\n
Map.keys(__ENV__)\n[:__struct__, :aliases, :context, :context_modules, :export_vars, :file,\n :function, :functions, :lexical_tracker, :line, :macro_aliases, :macros,\n :module, :requires, :vars]\n
\n\n
__CALLER__.module |> Module.definitions_in |> IO.inspect\n
\n\n
apply(Enum, :reverse, [[1, 2, 3]])\n
", "intro_html": "", "description_html": "", "tags": null, @@ -1020,7 +1020,7 @@ "content_html": "

Firefox 31 (July 2014)

\n\n
    \n
  • CSS: variables
  • \n
\n\n

Firefox 30 (June 2014)

\n\n
    \n
  • CSS: Allow line-height in <input type='button'>
  • \n
  • JS: Console.count()
  • \n
  • JS: ES6 array and generator comprehensions
  • \n
\n\n

Firefox 29 (April 2014)

\n\n
    \n
  • New UI
  • \n
  • CSS: Unprefixed box-shadow
  • \n
\n\n

Firefox 18 (Jan 2013)

\n\n
    \n
  • Faster JS compiler (IonMonkey)
  • \n
  • Mac retina support
  • \n
  • JS: window.devicePixelRatio
  • \n
  • JS: unprefixed ontouchstart
  • \n
  • HTML: <input type='number'>
  • \n
  • HTML: <input type='color'>
  • \n
\n\n

Firefox 17 (Nov 2012)

\n\n
    \n
  • No more support for Mac OSX 10.5 and below
  • \n
  • SVG FillPaint and StrokePaint
  • \n
  • HTML <iframe sandbox=...> (docs)
  • \n
  • Official support for Windows 8 (link)
  • \n
\n\n

Firefox 16 (Oct 2012)

\n\n
    \n
  • Web app support (docs)
  • \n
  • Unprefixed CSS animations, transitions, transforms, gradients
  • \n
\n\n

Firefox 15 (Aug 2012)

\n\n
    \n
  • Background updates
  • \n
  • SPDY v3
  • \n
  • Opus audio codec
  • \n
  • HTML <audio played> (and <video>)
  • \n
  • HTML <source media=...>
  • \n
\n\n

Firefox 14 (Jul 2012)

\n\n
    \n
  • Full screen support for OSX Lion
  • \n
  • JS pointer lock API (docs)
  • \n
  • JS display sleep API (docs)
  • \n
\n\n

Firefox 13 (Jun 2012)

\n\n
    \n
  • Smooth scrolling by default
  • \n
  • SPDY on by default
  • \n
  • CSS column-fill (docs)
  • \n
  • ECMA 6 Map and Set
  • \n
  • CSS background-position extended syntax
  • \n
  • CSS :invalid
  • \n
  • CSS turn unit (rotate(0.5turn))
  • \n
\n\n

Firefox 12 (Apr 2012)

\n\n
    \n
  • CSS text-align-last (docs)
  • \n
\n\n

Firefox 11 (Mar 2012)

\n\n
    \n
  • element.outerHTML (docs)
  • \n
  • Dev tools: Style editor, 3D page inspector (docs)
  • \n
  • Unprefixed web sockets
  • \n
  • CSS text-size-adjust (docs)
  • \n
\n\n

Firefox 10 (Jan 2012)

\n\n
    \n
  • CSS 3D transforms
  • \n
  • HTML <bdi> element
  • \n
  • JS fullscreen API (docs)
  • \n
  • IndexedDB APIs
  • \n
  • Dev tools: CSS Style inspector
  • \n
\n\n

Firefox 9 (Dec 2011)

\n\n
    \n
  • Two-finger swipe in Mac OSX Lion
  • \n
  • CSS font-stretch
  • \n
  • CSS improved text-overflow
  • \n
  • JS navigator.doNotTrack
  • \n
\n\n

Firefox 8 (Nov 2011)

\n\n

Firefox 7 (Sep 2011)

\n\n
    \n
  • CSS text-overflow: ellipsis
  • \n
  • Hidden http:// prefix in address bar
  • \n
\n\n

Firefox 6 (Aug 2011)

\n\n
    \n
  • JS window.matchMedia
  • \n
  • Websockets (!)
  • \n
  • JS EvetnSource / server-sent events
  • \n
\n\n

Firefox 5 (Jun 2011)

\n\n
    \n
  • CSS animations
  • \n
  • Background tab setTimeout and setInterval clamped to 1000ms
  • \n
\n\n

Firefox 4 (Mar 2011)

\n\n
    \n
  • Do Not Track (DNT) header
  • \n
  • New JS endinge (JagerMonkey)
  • \n
  • Hardware-accelerated rendering
  • \n
  • WebM video
  • \n
  • OpenType ligatures/kerning/font variants
  • \n
  • CSS transitions partial support
  • \n
  • JS audio data API
  • \n
  • JS mozRequestAnimationFrame
  • \n
  • HTML5 forms API
  • \n
  • <video buffered>
  • \n
  • HTML5 history API
  • \n
  • New HTML5 parser
  • \n
  • \n
\n\n

Firefox 3.6 (Jan 2010)

\n\n
    \n
  • CSS gradients
  • \n
  • CSS pointer events
  • \n
  • HTML drag & drop API
  • \n
  • HTML <script async>
  • \n
\n\n

Reference

\n\n", "intro_html": "", "description_html": "", - "tags": null, + "tags": ["Archived"], "updated": null },{ "id": "fish-shell", @@ -1061,7 +1061,7 @@ "url": "/flux", "category": "React", "keywords": null, - "content_html": "

Architecture

\n\n
    \n
  • \n

    Dispatchers receive actions that get dispatched to its listeners.

    \n
  • \n
  • \n

    Stores are objects that store data, usually changed from a dispatcher listener.

    \n
  • \n
  • \n

    Views are React components that listen to Store changes, or emit actions to the dispatcher.

    \n
  • \n
\n\n
\n\n

Dispatcher

\n\n

Pub-sub

\n

A dispatcher emits events (.dispatch()) to its listeners (.register(fn)).

\n\n
var Dispatcher = require('flux').Dispatcher;\n\nd = new Dispatcher();\n\n// send\nd.dispatch({ action: 'edit', ... };\n\n// receive\ntoken = d.register(function (payload) {\n  payload.action === 'edit'\n})\n
\n\n

Ensuring proper order

\n\n

With multiple listeners, you can ensure one is fired after another using .waitFor().

\n\n
token1 = d.register(...);\n\ntoken2 = d.register(function (payload) {\n\n  // ensure receiver 1 is fired before this\n  d.waitFor([ token1 ]);\n  \n  // process here\n})\n
\n\n

Subclassing

\n\n

Object.assign is the preferred way to subclass Dispatcher (think $.extend).
\nYou can also make action creators, which are shortcuts for dispatch().

\n\n
var Dispatcher = require('flux').Dispatcher;\nvar assign = require('object-assign');\n\nvar AppDispatcher = assign({}, Dispatcher.prototype, {\n\n  // action creator\n  handleViewAction(action) {\n    this.dispatch({\n      source: 'VIEW_ACTION',\n      action: action\n    })\n  } \n\n})\n
\n\n
\n\n

Stores

\n\n

Plain objects

\n

Stores are just like objects.

\n\n
var TodoStore = { list: [] };\n
\n\n

Events

\n

Sometimes they’re eventemitters, too. Usually it’s used to emit change events for views to pick up.

\n\n
var TodoStore = assign({}, EventEmitter.prototype, {\n  ...\n});\n\nTodoStore.emit('change');\nTodoStore.on('change', function () { ... });\n
\n\n

Model logic

\n

Logic can sometimes belong in stores.

\n\n
{\n  isAllActive() {\n    return this.list.every(item => item.active);\n  }\n}\n
\n\n
\n\n

Stores and dispatchers

\n\n

Instantiate

\n

Make a Dispatcher and Stores.

\n\n
d = new Dispatcher();\nTabStore = { tab: 'home' };\n
\n\n

Updating data

\n

Dispatch events to alter the store.

\n\n
d.dispatch({ action: 'tab.change', tab: 'timeline' });\n\nd.register(function (data) {\n  if (data.action === 'tab.change') {\n    TabStore.tab = data.tab;\n  }\n});\n
\n\n
\n\n

With Views

\n\n

Listen to dispatchers

\n

Views (React Components) can listen to Dispatchers.

\n\n
var TodoApp = React.createClass({\n\n  componentDidMount() {\n    this.token = AppDispatcher.register((payload) => {\n      switch (payload.action) {\n        case 'tab.change':\n          this.render();\n          // ...\n      }\n    });\n  },\n  \n  componentDidUnmount() {\n    AppDispatcher.unregister(this.token);\n  }\n  \n});\n
\n\n

Listen to Stores

\n

Or to Stores’s change events.

\n\n
{\n  componentDidMount() {\n    TodoStore.on('change', this.onChange);\n  },\n  \n  componentDidUnmount() {\n    TodoState.removeListener('change', this.onChange);\n  },\n  \n  onChange(data) {\n    // ...\n  }\n}\n
\n\n
\n\n

Also see

\n\n", + "content_html": "

About

\n\n

About

\n\n

Flux is an architecture for building client-side web applications.

\n\n\n\n

Architecture

\n\n
    \n
  • \n

    Dispatchers receive actions that get dispatched to its listeners.

    \n
  • \n
  • \n

    Stores are objects that store data, usually changed from a dispatcher listener.

    \n
  • \n
  • \n

    Views are React components that listen to Store changes, or emit actions to the dispatcher.

    \n
  • \n
\n\n
\n\n

Dispatcher

\n\n

Pub-sub

\n

A dispatcher emits events (.dispatch()) to its listeners (.register(fn)).

\n\n
var Dispatcher = require('flux').Dispatcher;\n\nd = new Dispatcher();\n\n// send\nd.dispatch({ action: 'edit', ... };\n\n// receive\ntoken = d.register(function (payload) {\n  payload.action === 'edit'\n})\n
\n\n

Ensuring proper order

\n\n

With multiple listeners, you can ensure one is fired after another using .waitFor().

\n\n
token1 = d.register(...);\n\ntoken2 = d.register(function (payload) {\n\n  // ensure receiver 1 is fired before this\n  d.waitFor([ token1 ]);\n  \n  // process here\n})\n
\n\n

Subclassing

\n\n

Object.assign is the preferred way to subclass Dispatcher (think $.extend).
\nYou can also make action creators, which are shortcuts for dispatch().

\n\n
var Dispatcher = require('flux').Dispatcher;\nvar assign = require('object-assign');\n\nvar AppDispatcher = assign({}, Dispatcher.prototype, {\n\n  // action creator\n  handleViewAction(action) {\n    this.dispatch({\n      source: 'VIEW_ACTION',\n      action: action\n    })\n  } \n\n})\n
\n\n
\n\n

Stores

\n\n

Plain objects

\n

Stores are just like objects.

\n\n
var TodoStore = { list: [] };\n
\n\n

Events

\n

Sometimes they’re eventemitters, too. Usually it’s used to emit change events for views to pick up.

\n\n
var TodoStore = assign({}, EventEmitter.prototype, {\n  ...\n});\n\nTodoStore.emit('change');\nTodoStore.on('change', function () { ... });\n
\n\n

Model logic

\n

Logic can sometimes belong in stores.

\n\n
{\n  isAllActive() {\n    return this.list.every(item => item.active);\n  }\n}\n
\n\n
\n\n

Stores and dispatchers

\n\n

Instantiate

\n

Make a Dispatcher and Stores.

\n\n
d = new Dispatcher();\nTabStore = { tab: 'home' };\n
\n\n

Updating data

\n

Dispatch events to alter the store.

\n\n
d.dispatch({ action: 'tab.change', tab: 'timeline' });\n\nd.register(function (data) {\n  if (data.action === 'tab.change') {\n    TabStore.tab = data.tab;\n  }\n});\n
\n\n
\n\n

With Views

\n\n

Listen to dispatchers

\n

Views (React Components) can listen to Dispatchers.

\n\n
var TodoApp = React.createClass({\n\n  componentDidMount() {\n    this.token = AppDispatcher.register((payload) => {\n      switch (payload.action) {\n        case 'tab.change':\n          this.render();\n          // ...\n      }\n    });\n  },\n  \n  componentDidUnmount() {\n    AppDispatcher.unregister(this.token);\n  }\n  \n});\n
\n\n

Listen to Stores

\n

Or to Stores’s change events.

\n\n
{\n  componentDidMount() {\n    TodoStore.on('change', this.onChange);\n  },\n  \n  componentDidUnmount() {\n    TodoState.removeListener('change', this.onChange);\n  },\n  \n  onChange(data) {\n    // ...\n  }\n}\n
\n\n
\n\n

Also see

\n\n", "intro_html": "", "description_html": "", "tags": null, @@ -1182,7 +1182,7 @@ "url": "/git-tricks", "category": "Git", "keywords": null, - "content_html": "

Refs

\n\n
HEAD^       # 1 commit before head\nHEAD^^      # 2 commits before head\nHEAD~5      # 5 commits before head\n
\n\n

Branches

\n\n
# create a new branch\n  git checkout -b $branchname\n  git push origin $branchname --set-upstream\n\n# get a remote branch\n  git fetch origin\n  git checkout --track origin/$branchname\n\n# delete local remote-tracking branches (lol)\n  git remote prune origin\n\n# list merged branches\n  git branch -a --merged\n\n# delete remote branch\n  git push origin :$branchname\n  \n# go back to previous branch\n  git checkout -\n
\n\n

Collaboration

\n\n
# Rebase your changes on top of the remote master\n  git pull --rebase upstream master\n  \n# Squash multiple commits into one for a cleaner git log\n# (on the following screen change the word pick to either 'f' or 's')\n  git rebase -i $commit_ref\n
\n\n

Submodules

\n\n
# Import .gitmodules\n  git submodule init\n\n# Clone missing submodules, and checkout commits\n  git submodule update --init --recursive\n\n# Update remote URLs in .gitmodules\n# (Use when you changed remotes in submodules)\n  git submodule sync\n
\n\n

Diff

\n\n

Diff with stats

\n\n
git diff --stat\napp/a.txt    | 2 +-\napp/b.txt    | 8 ++----\n2 files changed, 10 insertions(+), 84 deletions(-)\n
\n\n

Just filenames

\n\n
git diff --summary\n
\n\n

Log options

\n\n
--oneline\n  e11e9f9 Commit message here\n\n--decorate\n  shows \"(origin/master)\"\n\n--graph\n  shows graph lines\n\n--date=relative\n  \"2 hours ago\"\n
\n\n

Misc

\n\n

Cherry pick

\n\n
git rebase 76acada^\n
\n\n

Misc

\n\n
# get current sha1 (?)\n  git show-ref HEAD -s\n\n# show single commit info\n  git log -1 f5a960b5\n\n# Go back up to root directory\n  cd \"$(git rev-parse --show-top-level)\"\n
\n\n

Short log

\n\n
 $ git shortlog\n $ git shortlog HEAD~20..    # last 20 commits\n\n James Dean (1):\n     Commit here\n     Commit there\n\n Frank Sinatra (5):\n     Another commit\n     This other commit\n
\n\n

Bisect

\n\n
git bisect start HEAD HEAD~6\ngit bisect run npm test\ngit checkout refs/bisect/bad   # this is where it screwed up\ngit bisect reset\n
\n\n

Manual bisection

\n\n
git bisect start\ngit bisect good   # current version is good\n\ngit checkout HEAD~8\nnpm test          # see if it's good\ngit bisect bad    # current version is bad\n\ngit bisect reset  # abort\n
\n\n

Searching

\n\n
git log --grep=\"fixes things\"  # search in commit messages\ngit log -S\"window.alert\"       # search in code\ngit log -G\"foo.*\"              # search in code (regex)\n
\n\n

GPG Signing

\n\n
git config set user.signingkey <GPG KEY ID>       # Sets GPG key to use for signing\n\ngit commit -m \"Implement feature Y\" --gpg-sign    # Or -S, GPG signs commit\n\ngit config set commit.gpgsign true                # Sign commits by default\ngit commit -m \"Implement feature Y\" --no-gpg-sign # Do not sign\n
", + "content_html": "

Refs

\n\n
HEAD^       # 1 commit before head\nHEAD^^      # 2 commits before head\nHEAD~5      # 5 commits before head\n
\n\n

Branches

\n\n
# create a new branch\n  git checkout -b $branchname\n  git push origin $branchname --set-upstream\n\n# get a remote branch\n  git fetch origin\n  git checkout --track origin/$branchname\n\n# delete local remote-tracking branches (lol)\n  git remote prune origin\n\n# list merged branches\n  git branch -a --merged\n\n# delete remote branch\n  git push origin :$branchname\n  \n# go back to previous branch\n  git checkout -\n
\n\n

Collaboration

\n\n
# Rebase your changes on top of the remote master\n  git pull --rebase upstream master\n  \n# Squash multiple commits into one for a cleaner git log\n# (on the following screen change the word pick to either 'f' or 's')\n  git rebase -i $commit_ref\n
\n\n

Submodules

\n\n

Submodules

\n\n
# Import .gitmodules\n  git submodule init\n\n# Clone missing submodules, and checkout commits\n  git submodule update --init --recursive\n\n# Update remote URLs in .gitmodules\n# (Use when you changed remotes in submodules)\n  git submodule sync\n
\n\n

Diff

\n\n

Diff with stats

\n\n
git diff --stat\napp/a.txt    | 2 +-\napp/b.txt    | 8 ++----\n2 files changed, 10 insertions(+), 84 deletions(-)\n
\n\n

Just filenames

\n\n
git diff --summary\n
\n\n

Log options

\n\n

Options

\n\n
--oneline\n  e11e9f9 Commit message here\n\n--decorate\n  shows \"(origin/master)\"\n\n--graph\n  shows graph lines\n\n--date=relative\n  \"2 hours ago\"\n
\n\n

Misc

\n\n

Cherry pick

\n\n
git rebase 76acada^\n
\n\n

Misc

\n\n
# get current sha1 (?)\n  git show-ref HEAD -s\n\n# show single commit info\n  git log -1 f5a960b5\n\n# Go back up to root directory\n  cd \"$(git rev-parse --show-top-level)\"\n
\n\n

Short log

\n\n
 $ git shortlog\n $ git shortlog HEAD~20..    # last 20 commits\n\n James Dean (1):\n     Commit here\n     Commit there\n\n Frank Sinatra (5):\n     Another commit\n     This other commit\n
\n\n

Bisect

\n\n
git bisect start HEAD HEAD~6\ngit bisect run npm test\ngit checkout refs/bisect/bad   # this is where it screwed up\ngit bisect reset\n
\n\n

Manual bisection

\n\n
git bisect start\ngit bisect good   # current version is good\n\ngit checkout HEAD~8\nnpm test          # see if it's good\ngit bisect bad    # current version is bad\n\ngit bisect reset  # abort\n
\n\n

Searching

\n\n
git log --grep=\"fixes things\"  # search in commit messages\ngit log -S\"window.alert\"       # search in code\ngit log -G\"foo.*\"              # search in code (regex)\n
\n\n

GPG signing

\n\n
git config set user.signingkey <GPG KEY ID>       # Sets GPG key to use for signing\n\ngit commit -m \"Implement feature Y\" --gpg-sign    # Or -S, GPG signs commit\n\ngit config set commit.gpgsign true                # Sign commits by default\ngit commit -m \"Implement feature Y\" --no-gpg-sign # Do not sign\n
", "intro_html": "", "description_html": "", "tags": null, @@ -1281,10 +1281,10 @@ "url": "/gulp", "category": "JavaScript libraries", "keywords": null, - "content_html": "
    \n
  • gulp-ruby-sass
  • \n
  • gulp-autoprefixer
  • \n
  • gulp-minify-css
  • \n
  • gulp-jshint
  • \n
  • gulp-concat
  • \n
  • gulp-uglify
  • \n
  • gulp-imagemin
  • \n
  • gulp-livereload (requires tiny-lr)
  • \n
  • gulp-clean
  • \n
  • gulp-cache
  • \n
  • \n

    gulp-notify

    \n
  • \n
  • gulp-header (headers in files)
  • \n
  • gulp-mocha
  • \n
  • gulp-stylus
  • \n
  • gulp-compass
  • \n
  • gulp-nodemon
  • \n
  • gulp-size (displays size)
  • \n
\n\n

Example

\n\n
// gulpfile.js\n// Load plugins\nvar gulp = require('gulp'),\n    sass = require('gulp-ruby-sass'),\n    autoprefixer = require('gulp-autoprefixer'),\n    minifycss = require('gulp-minify-css'),\n    jshint = require('gulp-jshint'),\n    uglify = require('gulp-uglify'),\n    imagemin = require('gulp-imagemin'),\n    rename = require('gulp-rename'),\n    clean = require('gulp-clean'),\n    concat = require('gulp-concat'),\n    notify = require('gulp-notify'),\n    cache = require('gulp-cache'),\n    livereload = require('gulp-livereload'),\n    lr = require('tiny-lr'),\n    server = lr();\n\n// Styles\ngulp.task('styles', function() {\n  return gulp.src('src/styles/main.scss')\n    .pipe(sass({ style: 'expanded', }))\n    .pipe(autoprefixer('last 2 version', 'safari 5', 'ie 8', 'ie 9', 'opera 12.1', 'ios 6', 'android 4'))\n    .pipe(gulp.dest('dist/styles'))\n    .pipe(rename({ suffix: '.min' }))\n    .pipe(minifycss())\n    .pipe(livereload(server))\n    .pipe(gulp.dest('dist/styles'))\n    .pipe(notify({ message: 'Styles task complete' }));\n});\n\n// Scripts\ngulp.task('scripts', function() {\n  return gulp.src('src/scripts/**/*.js')\n    .pipe(jshint('.jshintrc'))\n    .pipe(jshint.reporter('default'))\n    .pipe(concat('main.js'))\n    .pipe(gulp.dest('dist/scripts'))\n    .pipe(rename({ suffix: '.min' }))\n    .pipe(uglify())\n    .pipe(livereload(server))\n    .pipe(gulp.dest('dist/scripts'))\n    .pipe(notify({ message: 'Scripts task complete' }));\n});\n\n// Images\ngulp.task('images', function() {\n  return gulp.src('src/images/**/*')\n    .pipe(cache(imagemin({ optimizationLevel: 3, progressive: true, interlaced: true })))\n    .pipe(livereload(server))\n    .pipe(gulp.dest('dist/images'))\n    .pipe(notify({ message: 'Images task complete' }));\n});\n\n// Clean\ngulp.task('clean', function() {\n  return gulp.src(['dist/styles', 'dist/scripts', 'dist/images'], {read: false})\n    .pipe(clean());\n});\n\n// Default task\ngulp.task('default', ['clean'], function() {\n    gulp.start('styles', 'scripts', 'images');\n});\n\n// Watch\ngulp.task('watch', function() {\n\n  // Listen on port 35729\n  server.listen(35729, function (err) {\n    if (err) {\n      return console.log(err)\n    };\n\n    // Watch .scss files\n    gulp.watch('src/styles/**/*.scss', ['styles']);\n\n    // Watch .js files\n    gulp.watch('src/scripts/**/*.js', ['scripts']);\n\n    // Watch image files\n    gulp.watch('src/images/**/*', ['images']);\n\n  });\n\n});\n
\n\n

References

\n\n

https://github.com/gulpjs/gulp/blob/master/docs/getting-started.md#getting-started

\n\n

Livereload

\n\n
var lr = require('tiny-lr')();\n\nfunction notify (lr, root) {\n  return function (event) {\n    var fname = require('path').relative(root, event.path);\n    lr.changed({ body: { files: [ fname ] }});\n  };\n}\n\ngulp.task('livereload', function () {\n  lr.listen(35729)\n  gulp.watch('public/**/*', notify(lr, __dirname+'/public'));\n});\n\n// Express\napp.use(require('connect-livereload')())\n<!-- livereload --><script>document.write('<script src=\"'+(location.protocol||'http:')+'//'+(location.hostname||'localhost')+':35729/livereload.js?snipver=1\"><\\/scr'+'ipt>')</script>\n
", + "content_html": "

Available plugins

\n\n
    \n
  • gulp-ruby-sass
  • \n
  • gulp-autoprefixer
  • \n
  • gulp-minify-css
  • \n
  • gulp-jshint
  • \n
  • gulp-concat
  • \n
  • gulp-uglify
  • \n
  • gulp-imagemin
  • \n
  • gulp-livereload (requires tiny-lr)
  • \n
  • gulp-clean
  • \n
  • gulp-cache
  • \n
  • \n

    gulp-notify

    \n
  • \n
  • gulp-header (headers in files)
  • \n
  • gulp-mocha
  • \n
  • gulp-stylus
  • \n
  • gulp-compass
  • \n
  • gulp-nodemon
  • \n
  • gulp-size (displays size)
  • \n
\n\n

Example

\n\n
// gulpfile.js\n// Load plugins\nvar gulp = require('gulp'),\n    sass = require('gulp-ruby-sass'),\n    autoprefixer = require('gulp-autoprefixer'),\n    minifycss = require('gulp-minify-css'),\n    jshint = require('gulp-jshint'),\n    uglify = require('gulp-uglify'),\n    imagemin = require('gulp-imagemin'),\n    rename = require('gulp-rename'),\n    clean = require('gulp-clean'),\n    concat = require('gulp-concat'),\n    notify = require('gulp-notify'),\n    cache = require('gulp-cache'),\n    livereload = require('gulp-livereload'),\n    lr = require('tiny-lr'),\n    server = lr();\n\n// Styles\ngulp.task('styles', function() {\n  return gulp.src('src/styles/main.scss')\n    .pipe(sass({ style: 'expanded', }))\n    .pipe(autoprefixer('last 2 version', 'safari 5', 'ie 8', 'ie 9', 'opera 12.1', 'ios 6', 'android 4'))\n    .pipe(gulp.dest('dist/styles'))\n    .pipe(rename({ suffix: '.min' }))\n    .pipe(minifycss())\n    .pipe(livereload(server))\n    .pipe(gulp.dest('dist/styles'))\n    .pipe(notify({ message: 'Styles task complete' }));\n});\n\n// Scripts\ngulp.task('scripts', function() {\n  return gulp.src('src/scripts/**/*.js')\n    .pipe(jshint('.jshintrc'))\n    .pipe(jshint.reporter('default'))\n    .pipe(concat('main.js'))\n    .pipe(gulp.dest('dist/scripts'))\n    .pipe(rename({ suffix: '.min' }))\n    .pipe(uglify())\n    .pipe(livereload(server))\n    .pipe(gulp.dest('dist/scripts'))\n    .pipe(notify({ message: 'Scripts task complete' }));\n});\n\n// Images\ngulp.task('images', function() {\n  return gulp.src('src/images/**/*')\n    .pipe(cache(imagemin({ optimizationLevel: 3, progressive: true, interlaced: true })))\n    .pipe(livereload(server))\n    .pipe(gulp.dest('dist/images'))\n    .pipe(notify({ message: 'Images task complete' }));\n});\n\n// Clean\ngulp.task('clean', function() {\n  return gulp.src(['dist/styles', 'dist/scripts', 'dist/images'], {read: false})\n    .pipe(clean());\n});\n\n// Default task\ngulp.task('default', ['clean'], function() {\n    gulp.start('styles', 'scripts', 'images');\n});\n\n// Watch\ngulp.task('watch', function() {\n\n  // Listen on port 35729\n  server.listen(35729, function (err) {\n    if (err) {\n      return console.log(err)\n    };\n\n    // Watch .scss files\n    gulp.watch('src/styles/**/*.scss', ['styles']);\n\n    // Watch .js files\n    gulp.watch('src/scripts/**/*.js', ['scripts']);\n\n    // Watch image files\n    gulp.watch('src/images/**/*', ['images']);\n\n  });\n\n});\n
\n\n

References

\n\n

https://github.com/gulpjs/gulp/blob/master/docs/getting-started.md#getting-started

\n\n

Livereload

\n\n
var lr = require('tiny-lr')();\n\nfunction notify (lr, root) {\n  return function (event) {\n    var fname = require('path').relative(root, event.path);\n    lr.changed({ body: { files: [ fname ] }});\n  };\n}\n\ngulp.task('livereload', function () {\n  lr.listen(35729)\n  gulp.watch('public/**/*', notify(lr, __dirname+'/public'));\n});\n\n// Express\napp.use(require('connect-livereload')())\n<!-- livereload --><script>document.write('<script src=\"'+(location.protocol||'http:')+'//'+(location.hostname||'localhost')+':35729/livereload.js?snipver=1\"><\\/scr'+'ipt>')</script>\n
", "intro_html": "", "description_html": "", - "tags": null, + "tags": ["Archived"], "updated": null },{ "id": "haml", @@ -1798,7 +1798,7 @@ "url": "/ledger-examples", "category": "Ledger", "keywords": null, - "content_html": "

Inspecting transactions:

\n\n
# show me expenses for october (--period)\n  ledger r Expenses -p oct\n\n# what's the most expensive? (--sorted)\n  ledger r Expenses -S amount --tail 10\n\n# how much was spent on grocery? (--weekly, --monthly)\n  ledger r Grocery\n  ledger r Grocery -W\n  ledger r Grocery -M\n\n# what did I spend my Mastercard on? (--period, --begin, --end)\n  ledger r mastercard\n  ledger r mastercard -p \"january\"\n  ledger r mastercard -b 01/25 -e 01/31\n
\n\n

Graphing:

\n\n
# Graph my bank account balance, monthly\n  ledger r Savings -M\n\n# Graph my expenses, monthly (-n = --collapse)\n  ledger r Expenses -M -n\n\n# ...what's the average per month?\n  ledger r Expenses -M -n --average\n
\n\n

Simple:

\n\n
# what did I do yesterday?\n# ..list transactions on this day\n  ledger r -p 01/26\n  ledger r -p yesterday\n
\n\n

Switches:

\n\n
# what's everything I got in USD? (--exchange)\n  ledger b Assets -X USD\n
", + "content_html": "

Inspecting transactions

\n\n
# show me expenses for october (--period)\n  ledger r Expenses -p oct\n\n# what's the most expensive? (--sorted)\n  ledger r Expenses -S amount --tail 10\n\n# how much was spent on grocery? (--weekly, --monthly)\n  ledger r Grocery\n  ledger r Grocery -W\n  ledger r Grocery -M\n\n# what did I spend my Mastercard on? (--period, --begin, --end)\n  ledger r mastercard\n  ledger r mastercard -p \"january\"\n  ledger r mastercard -b 01/25 -e 01/31\n
\n\n

Graphing

\n\n
# Graph my bank account balance, monthly\n  ledger r Savings -M\n\n# Graph my expenses, monthly (-n = --collapse)\n  ledger r Expenses -M -n\n\n# ...what's the average per month?\n  ledger r Expenses -M -n --average\n
\n\n

Simple

\n\n
# what did I do yesterday?\n# ..list transactions on this day\n  ledger r -p 01/26\n  ledger r -p yesterday\n
\n\n

Switches

\n\n
# what's everything I got in USD? (--exchange)\n  ledger b Assets -X USD\n
", "intro_html": "", "description_html": "", "tags": null, @@ -1809,7 +1809,7 @@ "url": "/ledger-format", "category": "Ledger", "keywords": null, - "content_html": "
2015/01/01 Pay rent\n  Assets:Savings     -$300\n  Expenses:Rent\n
\n\n

First line

\n\n
2015/01/01 *       Pay rent       ; tagname:\n^          ^       ^\nDate       Flag    Description    ^ comment/tag\n
\n\n

Balance assertion

\n\n
2015/01/01 Pay rent\n  Assets:Savings     -$300 = $1200  ; assert there's $1200 left after\n  Expenses:Rent\n
\n

Flags:

\n\n
* cleared\n! pending\n
\n\n

Accounts

\n

Only relevant with --strict or --pedantic

\n\n
account Expenses:Food\n    note This account is all about the chicken!\n    alias food\n    payee ^(KFC|Popeyes)$\n    check commodity == \"$\"\n    assert commodity == \"$\"\n    eval print(\"Hello!\")\n    default\n
\n\n

Others

\n\n
D $1,000.00     ; set default commodity\n\nalias Cash = Assets:Cash\n\nY2015           ; set default year (you can use 01/25 as date after)\n
\n\n

Prefix all transactions with an account

\n\n
account Home\ninclude home.journal\nend\n
", + "content_html": "

Example

\n
2015/01/01 Pay rent\n  Assets:Savings     -$300\n  Expenses:Rent\n
\n\n

First line

\n\n
2015/01/01 *       Pay rent       ; tagname:\n^          ^       ^\nDate       Flag    Description    ^ comment/tag\n
\n\n

Balance assertion

\n\n
2015/01/01 Pay rent\n  Assets:Savings     -$300 = $1200  ; assert there's $1200 left after\n  Expenses:Rent\n
\n

Flags:

\n\n
* cleared\n! pending\n
\n\n

Accounts

\n\n

Accounts

\n\n

Only relevant with --strict or --pedantic

\n\n
account Expenses:Food\n    note This account is all about the chicken!\n    alias food\n    payee ^(KFC|Popeyes)$\n    check commodity == \"$\"\n    assert commodity == \"$\"\n    eval print(\"Hello!\")\n    default\n
\n\n

Others

\n\n

Others

\n\n
D $1,000.00     ; set default commodity\n\nalias Cash = Assets:Cash\n\nY2015           ; set default year (you can use 01/25 as date after)\n
\n\n

Prefix all transactions with an account

\n\n
account Home\ninclude home.journal\nend\n
", "intro_html": "", "description_html": "", "tags": null, @@ -1820,7 +1820,7 @@ "url": "/ledger-periods", "category": "Ledger", "keywords": null, - "content_html": "
[INTERVAL] [BEGIN] [END]\n
\n\n

Interval:

\n\n
every day\nevery week\nevery month\nevery quarter\nevery year\nevery N days     # N is any integer\nevery N weeks\nevery N months\nevery N quarters\nevery N years\ndaily\nweekly\nbiweekly\nmonthly\nbimonthly\nquarterly\nyearly\n
\n\n

Begin:

\n\n
from <SPEC>\nsince <SPEC>\n
\n\n

The end time can be either of:

\n\n
to <SPEC>\nuntil <SPEC>\n
\n\n

Spec:

\n\n
2004\n2004/10\n2004/10/1\n10/1\noctober\noct\nthis week  # or day, month, quarter, year\nnext week\nlast week\n
\n\n

Examples:

\n\n
$ ledger r -p \"since last month\"\n
\n\n

See: http://ledger-cli.org/3.0/doc/ledger3.html#Period-Expressions

", + "content_html": "

About

\n\n\n\n

Usage

\n\n
[INTERVAL] [BEGIN] [END]\n
\n\n

Intervals

\n\n
every day\nevery week\nevery month\nevery quarter\nevery year\nevery N days     # N is any integer\nevery N weeks\nevery N months\nevery N quarters\nevery N years\ndaily\nweekly\nbiweekly\nmonthly\nbimonthly\nquarterly\nyearly\n
\n\n

Begin

\n\n
from <SPEC>\nsince <SPEC>\n
\n\n

End

\n\n
to <SPEC>\nuntil <SPEC>\n
\n\n

Spec

\n\n
2004\n2004/10\n2004/10/1\n10/1\noctober\noct\nthis week  # or day, month, quarter, year\nnext week\nlast week\n
\n\n

Examples

\n\n
$ ledger r -p \"since last month\"\n
", "intro_html": "", "description_html": "", "tags": null, @@ -1831,7 +1831,7 @@ "url": "/ledger-query", "category": "Ledger", "keywords": null, - "content_html": "

Query characters

\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
QueryDescription
@payeePayee
%tagTag
=noteNote
#codeCode
TERM and TERMBoolean and
TERM or TERMBoolean or
not TERMBoolean not
\n\n

Examples

\n\n
ledger r @taco\nledger r comment =~ /landline/\n
\n\n

References

\n\n", + "content_html": "

About

\n\n\n\n

Query characters

\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
QueryDescription
@payeePayee
%tagTag
=noteNote
#codeCode
TERM and TERMBoolean and
TERM or TERMBoolean or
not TERMBoolean not
\n\n

Examples

\n\n
ledger r @taco\nledger r comment =~ /landline/\n
", "intro_html": "", "description_html": "", "tags": null, @@ -1897,7 +1897,7 @@ "url": "/lua", "category": "Others", "keywords": null, - "content_html": "

Comments

\n\n
-- comment\n--[[ Multiline\n     comment ]]\n
\n\n

Invoking functions

\n\n
print()\nprint(\"Hi\")\n\n-- You can omit parentheses if the argument is one string or table literal\nprint \"Hello World\"     <-->     print(\"Hello World\")\ndofile 'a.lua'          <-->     dofile ('a.lua')\nprint [[a multi-line    <-->     print([[a multi-line\n message]]                        message]])\nf{x=10, y=20}           <-->     f({x=10, y=20})\ntype{}                  <-->     type({})\n
\n\n

Tables / arrays

\n\n
t = {}\nt = { a = 1, b = 2 }\nt.a = function() ... end\n\nt = { [\"hello\"] = 200 }\nt.hello\n\n-- Remember, arrays are also tables\narray = { \"a\", \"b\", \"c\", \"d\" }\nprint(array[2])       -- \"b\" (one-indexed)\nprint(#array)         -- 4 (length)\n
\n\n

Loops

\n\n
while condition do\nend\n\nfor i = 1,5 do\nend\n\nfor i = start,finish,delta do\nend\n\nfor k,v in pairs(tab) do\nend\n\nrepeat\nuntil condition\n\n-- Breaking out:\nwhile x do\n  if condition then break end\nend\n
\n\n

Conditionals

\n\n
if condition then\n  print(\"yes\")\nelseif condition then\n  print(\"maybe\")\nelse\n  print(\"no\")\nend\n
\n\n

Variables

\n\n
local x = 2\ntwo, four = 2, 4\n
\n\n

Functions

\n\n
function myFunction()\n  return 1\nend\n\nfunction myFunctionWithArgs(a, b)\n  -- ...\nend\n\nmyFunction()\n\nanonymousFunctions(function()\n  -- ...\nend)\n\n-- Not exported in the module\nlocal function myPrivateFunction()\nend\n\n-- Splats\nfunction doAction(action, ...)\n  print(\"Doing '\"..action..\"' to\", ...)\n  --> print(\"Doing 'write' to\", \"Shirley\", \"Abed\")\nend\n\ndoAction('write', \"Shirley\", \"Abed\")\n
\n\n

Lookups

\n\n
mytable = { x = 2, y = function() .. end }\n\n-- The same:\nmytable.x\nmytable['x']\n\n-- Syntactic sugar, these are equivalent:\nmytable.y(mytable)\nmytable:y()\n\nmytable.y(mytable, a, b)\nmytable:y(a, b)\n\nfunction X:y(z) .. end\nfunction X.y(self, z) .. end\n
\n\n

Metatables

\n\n
mt = {}\n\n-- A metatable is simply a table with functions in it.\nmt.__tostring = function() return \"lol\" end\nmt.__add      = function(b) ... end       -- a + b\nmt.__mul      = function(b) ... end       -- a * b\nmt.__index    = function(k) ... end       -- Lookups (a[k] or a.k)\nmt.__newindex = function(k, v) ... end    -- Setters (a[k] = v)\n\n-- Metatables allow you to override behavior of another table.\nmytable = {}\nsetmetatable(mytable, mt)\n\nprint(myobject)\n
\n\n

Classes

\n\n
Account = {}\n\nfunction Account:new(balance)\n  local t = setmetatable({}, { __index = Account })\n\n  -- Your constructor stuff\n  t.balance = (balance or 0)\n  return t\nend\n\nfunction Account:withdraw(amount)\n  print(\"Withdrawing \"..amount..\"...\")\n  self.balance = self.balance - amount\n  self:report()\nend\n\nfunction Account:report()\n  print(\"Your current balance is: \"..self.balance)\nend\n\na = Account:new(9000)\na:withdraw(200)    -- method call\n
\n\n

Constants

\n\n
nil\nfalse\ntrue\n
\n\n

Operators (and their metatable names)

\n\n
-- Relational (binary)\n-- __eq  __lt  __gt  __le  __ge\n   ==    <     >     <=    >=\n~=   -- Not equal, just like !=\n\n-- Arithmetic (binary)\n-- __add  __sub  __muv  __div  __mod  __pow\n   +      -      *      /      %      ^\n\n-- Arithmetic (unary)\n-- __unm (unary minus)\n   -\n\n-- Logic (and/or)\nnil and false  --> nil\nfalse and nil  --> false\n0 and 20       --> 20\n10 and 20      --> 20\n\n\n-- Length\n-- __len(array)\n#array\n\n\n-- Indexing\n-- __index(table, key)\nt[key]\nt.key\n\n-- __newindex(table, key, value)\nt[key]=value\n\n-- String concat\n-- __concat(left, right)\n\"hello, \"..name\n\n-- Call\n-- __call(func, ...)\n
\n\n

API: Global functions (ref)

\n\n
dofile(\"hello.lua\")\nloadfile(\"hello.lua\")\n\nassert(x)    -- x or (raise an error)\nassert(x, \"failed\")\n\ntype(var)   -- \"nil\" | \"number\" | \"string\" | \"boolean\" | \"table\" | \"function\" | \"thread\" | \"userdata\"\n\n-- Does /not/ invoke meta methods (__index and __newindex)\nrawset(t, index, value)    -- Like t[index] = value\nrawget(t, index)           -- Like t[index]\n\n_G  -- Global context\nsetfenv(1, {})  -- 1: current function, 2: caller, and so on -- {}: the new _G\n\npairs(t)     -- iterable list of {key, value}\nipairs(t)    -- iterable list of {index, value}\n\ntonumber(\"34\")\ntonumber(\"8f\", 16)\n
\n\n

API: Strings

\n\n
'string'..'concatenation'\n\ns = \"Hello\"\ns:upper()\ns:lower()\ns:len()    -- Just like #s\n\ns:find()\ns:gfind()\n\ns:match()\ns:gmatch()\n\ns:sub()\ns:gsub()\n\ns:rep()\ns:char()\ns:dump()\ns:reverse()\ns:byte()\ns:format()\n
\n\n

API: Tables

\n\n
table.foreach(t, function(row) ... end)\ntable.setn\ntable.insert(t, 21)          -- append (--> t[#t+1] = 21)\ntable.insert(t, 4, 99)\ntable.getn\ntable.concat\ntable.sort\ntable.remove(t, 4)\n
\n\n

API: Math (ref)

\n\n
math.abs     math.acos    math.asin       math.atan    math.atan2\nmath.ceil    math.cos     math.cosh       math.deg     math.exp\nmath.floor   math.fmod    math.frexp      math.ldexp   math.log\nmath.log10   math.max     math.min        math.modf    math.pow\nmath.rad     math.random  math.randomseed math.sin     math.sinh\nmath.sqrt    math.tan     math.tanh\n\nmath.sqrt(144)\nmath\n
\n\n

API: Misc

\n\n
io.output(io.open(\"file.txt\", \"w\"))\nio.write(x)\nio.close()\n\nfor line in io.lines(\"file.txt\")\n\nfile = assert(io.open(\"file.txt\", \"r\"))\nfile:read()\nfile:lines()\nfile:close()\n
\n\n

Reference

\n\n

https://www.lua.org/pil/13.html\n http://lua-users.org/wiki/ObjectOrientedProgramming

", + "content_html": "

Basic examples

\n\n

References

\n\n\n\n

Comments

\n\n
-- comment\n--[[ Multiline\n     comment ]]\n
\n\n

Invoking functions

\n\n
print()\nprint(\"Hi\")\n\n-- You can omit parentheses if the argument is one string or table literal\nprint \"Hello World\"     <-->     print(\"Hello World\")\ndofile 'a.lua'          <-->     dofile ('a.lua')\nprint [[a multi-line    <-->     print([[a multi-line\n message]]                        message]])\nf{x=10, y=20}           <-->     f({x=10, y=20})\ntype{}                  <-->     type({})\n
\n\n

Tables / arrays

\n\n
t = {}\nt = { a = 1, b = 2 }\nt.a = function() ... end\n\nt = { [\"hello\"] = 200 }\nt.hello\n\n-- Remember, arrays are also tables\narray = { \"a\", \"b\", \"c\", \"d\" }\nprint(array[2])       -- \"b\" (one-indexed)\nprint(#array)         -- 4 (length)\n
\n\n

Loops

\n\n
while condition do\nend\n\nfor i = 1,5 do\nend\n\nfor i = start,finish,delta do\nend\n\nfor k,v in pairs(tab) do\nend\n\nrepeat\nuntil condition\n\n-- Breaking out:\nwhile x do\n  if condition then break end\nend\n
\n\n

Conditionals

\n\n
if condition then\n  print(\"yes\")\nelseif condition then\n  print(\"maybe\")\nelse\n  print(\"no\")\nend\n
\n\n

Variables

\n\n
local x = 2\ntwo, four = 2, 4\n
\n\n

Functions

\n\n
function myFunction()\n  return 1\nend\n\nfunction myFunctionWithArgs(a, b)\n  -- ...\nend\n\nmyFunction()\n\nanonymousFunctions(function()\n  -- ...\nend)\n\n-- Not exported in the module\nlocal function myPrivateFunction()\nend\n\n-- Splats\nfunction doAction(action, ...)\n  print(\"Doing '\"..action..\"' to\", ...)\n  --> print(\"Doing 'write' to\", \"Shirley\", \"Abed\")\nend\n\ndoAction('write', \"Shirley\", \"Abed\")\n
\n\n

Lookups

\n\n
mytable = { x = 2, y = function() .. end }\n\n-- The same:\nmytable.x\nmytable['x']\n\n-- Syntactic sugar, these are equivalent:\nmytable.y(mytable)\nmytable:y()\n\nmytable.y(mytable, a, b)\nmytable:y(a, b)\n\nfunction X:y(z) .. end\nfunction X.y(self, z) .. end\n
\n\n

More concepts

\n\n

Metatables

\n\n
mt = {}\n\n-- A metatable is simply a table with functions in it.\nmt.__tostring = function() return \"lol\" end\nmt.__add      = function(b) ... end       -- a + b\nmt.__mul      = function(b) ... end       -- a * b\nmt.__index    = function(k) ... end       -- Lookups (a[k] or a.k)\nmt.__newindex = function(k, v) ... end    -- Setters (a[k] = v)\n\n-- Metatables allow you to override behavior of another table.\nmytable = {}\nsetmetatable(mytable, mt)\n\nprint(myobject)\n
\n\n

Classes

\n\n
Account = {}\n\nfunction Account:new(balance)\n  local t = setmetatable({}, { __index = Account })\n\n  -- Your constructor stuff\n  t.balance = (balance or 0)\n  return t\nend\n\nfunction Account:withdraw(amount)\n  print(\"Withdrawing \"..amount..\"...\")\n  self.balance = self.balance - amount\n  self:report()\nend\n\nfunction Account:report()\n  print(\"Your current balance is: \"..self.balance)\nend\n\na = Account:new(9000)\na:withdraw(200)    -- method call\n
\n\n

Constants

\n\n
nil\nfalse\ntrue\n
\n\n

Operators (and their metatable names)

\n\n

Relational

\n\n
-- Relational (binary)\n-- __eq  __lt  __gt  __le  __ge\n   ==    <     >     <=    >=\n~=   -- Not equal, just like !=\n\n-- Arithmetic (binary)\n-- __add  __sub  __muv  __div  __mod  __pow\n   +      -      *      /      %      ^\n\n-- Arithmetic (unary)\n-- __unm (unary minus)\n   -\n
\n\n

Logic

\n\n
-- Logic (and/or)\nnil and false  --> nil\nfalse and nil  --> false\n0 and 20       --> 20\n10 and 20      --> 20\n
\n\n

Tables

\n\n
-- Length\n-- __len(array)\n#array\n\n\n-- Indexing\n-- __index(table, key)\nt[key]\nt.key\n\n-- __newindex(table, key, value)\nt[key]=value\n\n-- String concat\n-- __concat(left, right)\n\"hello, \"..name\n\n-- Call\n-- __call(func, ...)\n
\n\n

API

\n\n

API: Global Functions

\n\n
dofile(\"hello.lua\")\nloadfile(\"hello.lua\")\n\nassert(x)    -- x or (raise an error)\nassert(x, \"failed\")\n\ntype(var)   -- \"nil\" | \"number\" | \"string\" | \"boolean\" | \"table\" | \"function\" | \"thread\" | \"userdata\"\n\n-- Does /not/ invoke meta methods (__index and __newindex)\nrawset(t, index, value)    -- Like t[index] = value\nrawget(t, index)           -- Like t[index]\n\n_G  -- Global context\nsetfenv(1, {})  -- 1: current function, 2: caller, and so on -- {}: the new _G\n\npairs(t)     -- iterable list of {key, value}\nipairs(t)    -- iterable list of {index, value}\n\ntonumber(\"34\")\ntonumber(\"8f\", 16)\n
\n\n

API: Strings

\n\n
'string'..'concatenation'\n\ns = \"Hello\"\ns:upper()\ns:lower()\ns:len()    -- Just like #s\n\ns:find()\ns:gfind()\n\ns:match()\ns:gmatch()\n\ns:sub()\ns:gsub()\n\ns:rep()\ns:char()\ns:dump()\ns:reverse()\ns:byte()\ns:format()\n
\n\n

API: Tables

\n\n
table.foreach(t, function(row) ... end)\ntable.setn\ntable.insert(t, 21)          -- append (--> t[#t+1] = 21)\ntable.insert(t, 4, 99)\ntable.getn\ntable.concat\ntable.sort\ntable.remove(t, 4)\n
\n\n

API: Math

\n\n
math.abs     math.acos    math.asin       math.atan    math.atan2\nmath.ceil    math.cos     math.cosh       math.deg     math.exp\nmath.floor   math.fmod    math.frexp      math.ldexp   math.log\nmath.log10   math.max     math.min        math.modf    math.pow\nmath.rad     math.random  math.randomseed math.sin     math.sinh\nmath.sqrt    math.tan     math.tanh\n\nmath.sqrt(144)\nmath\n
\n\n

API: Misc

\n\n
io.output(io.open(\"file.txt\", \"w\"))\nio.write(x)\nio.close()\n\nfor line in io.lines(\"file.txt\")\n\nfile = assert(io.open(\"file.txt\", \"r\"))\nfile:read()\nfile:lines()\nfile:close()\n
", "intro_html": "", "description_html": "", "tags": null, @@ -1930,10 +1930,10 @@ "url": "/make-assets", "category": "Others", "keywords": null, - "content_html": "

Basic compiling

\n\n
bin := ./node_modules/.bin\n\nall: build/foo.js\n\nbuild/%.js: src/%.coffee\n    @$(bin)/coffee < $^ > $@\n
\n\n

Stylus + Autoprefixer

\n\n
bin := ./node_modules/.bin\nstylus := $(bin)/stylus\nautoprefixer := $(bin)/autoprefixer\nstyl_files := $(shell find web/ -name \"*.styl\")\n\nall: public/app.css\n\npublic/app.css: css/app.styl\n\n%.css: %.styl $(styl_files)\n    @$(stylus) $< | $(autoprefixer) -b \"> 1%\" > $@\n
\n\n

Hint

\n\n
hint:\n   $(js_files)\n
\n\n

Watching

\n\n
watch:\n    @echo \"... watching for changes\"\n    @while true; do make -s; sleep 1; done\n
\n\n

Browserify

\n\n
js_files := $(shell find web/ -name \"*.js\")\n\npublic/app.js: web/app.js\npublic/vendor.js: web/vendor.js\n\npublic/%.js: web/%.js $(js_files)\n    $(browserify) -t [ cssify -x .css ] $< > $@\n
", + "content_html": "

Basic compiling

\n\n
bin := ./node_modules/.bin\n\nall: build/foo.js\n\nbuild/%.js: src/%.coffee\n    @$(bin)/coffee < $^ > $@\n
\n\n

Stylus + Autoprefixer

\n\n
bin := ./node_modules/.bin\nstylus := $(bin)/stylus\nautoprefixer := $(bin)/autoprefixer\nstyl_files := $(shell find web/ -name \"*.styl\")\n\nall: public/app.css\n\npublic/app.css: css/app.styl\n\n%.css: %.styl $(styl_files)\n    @$(stylus) $< | $(autoprefixer) -b \"> 1%\" > $@\n
\n\n

Hint

\n\n
hint:\n   $(js_files)\n
\n\n

Watching

\n\n
watch:\n    @echo \"... watching for changes\"\n    @while true; do make -s; sleep 1; done\n
\n\n

Browserify

\n\n
js_files := $(shell find web/ -name \"*.js\")\n\npublic/app.js: web/app.js\npublic/vendor.js: web/vendor.js\n\npublic/%.js: web/%.js $(js_files)\n    $(browserify) -t [ cssify -x .css ] $< > $@\n
", "intro_html": "", "description_html": "", - "tags": null, + "tags": ["Archived"], "updated": null },{ "id": "makefile", @@ -1941,7 +1941,7 @@ "url": "/makefile", "category": "CLI", "keywords": null, - "content_html": "

Var assignment

\n\n
foo  = \"bar\"\nbar  = $(foo) foo  # dynamic (renewing) assignment\nfoo := \"boo\"       # one time assignment, $(bar) now is \"boo foo\"\nfoo ?= /usr/local  # safe assignment, $(foo) and $(bar) still the same\nbar += world       # append, \"boo foo world\"\nfoo != echo fooo   # exec shell command and assign to foo\n# $(bar) now is \"fooo foo world\"\n
\n\n

= expressions are only evaluated when they’re being used.

\n\n

Magic variables

\n\n
out.o: src.c src.h\n  $@   # \"out.o\" (target)\n  $<   # \"src.c\" (first prerequisite)\n  $^   # \"src.c src.h\" (all prerequisites)\n\n%.o: %.c\n  $*   # the 'stem' with which an implicit rule matches (\"foo\" in \"foo.c\")\n\nalso:\n  $+   # prerequisites (all, with duplication)\n  $?   # prerequisites (new ones)\n  $|   # prerequisites (order-only?)\n\n  $(@D) # target directory\n
\n\n

Command prefixes

\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
PrefixDescription
-Ignore errors
@Don’t print command
+Run even if Make is in ‘don’t execute’ mode
\n\n
build:\n    @echo \"compiling\"\n    -gcc $< $@\n\n-include .depend\n
\n\n

Find files

\n\n
js_files  := $(wildcard test/*.js)\nall_files := $(shell find images -name \"*\")\n
\n\n

Substitutions

\n\n
file     = $(SOURCE:.cpp=.o)   # foo.cpp => foo.o\noutputs  = $(files:src/%.coffee=lib/%.js)\n\noutputs  = $(patsubst %.c, %.o, $(wildcard *.c))\nassets   = $(patsubst images/%, assets/%, $(wildcard images/*))\n
\n\n

More functions

\n\n
$(strip $(string_var))\n\n$(filter %.less, $(files))\n$(filter-out %.less, $(files))\n
\n\n

Building files

\n\n
%.o: %.c\n  ffmpeg -i $< > $@   # Input and output\n  foo $^\n
\n\n

Includes

\n\n
-include foo.make\n
\n\n

Options

\n\n
make\n  -e, --environment-overrides\n  -B, --always-make\n  -s, --silent\n  -j, --jobs=N   # parallel processing\n
\n\n

Conditionals

\n\n
foo: $(objects)\nifeq ($(CC),gcc)\n  $(CC) -o foo $(objects) $(libs_for_gcc)\nelse\n  $(CC) -o foo $(objects) $(normal_libs)\nendif\n
\n\n

Recursive

\n\n
deploy:\n  $(MAKE) deploy2\n
\n\n

Further reading

\n\n", + "content_html": "

Var assignment

\n\n
foo  = \"bar\"\nbar  = $(foo) foo  # dynamic (renewing) assignment\nfoo := \"boo\"       # one time assignment, $(bar) now is \"boo foo\"\nfoo ?= /usr/local  # safe assignment, $(foo) and $(bar) still the same\nbar += world       # append, \"boo foo world\"\nfoo != echo fooo   # exec shell command and assign to foo\n# $(bar) now is \"fooo foo world\"\n
\n\n

= expressions are only evaluated when they’re being used.

\n\n

Magic variables

\n\n
out.o: src.c src.h\n  $@   # \"out.o\" (target)\n  $<   # \"src.c\" (first prerequisite)\n  $^   # \"src.c src.h\" (all prerequisites)\n\n%.o: %.c\n  $*   # the 'stem' with which an implicit rule matches (\"foo\" in \"foo.c\")\n\nalso:\n  $+   # prerequisites (all, with duplication)\n  $?   # prerequisites (new ones)\n  $|   # prerequisites (order-only?)\n\n  $(@D) # target directory\n
\n\n

Command prefixes

\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
PrefixDescription
-Ignore errors
@Don’t print command
+Run even if Make is in ‘don’t execute’ mode
\n\n
build:\n    @echo \"compiling\"\n    -gcc $< $@\n\n-include .depend\n
\n\n

Find files

\n\n
js_files  := $(wildcard test/*.js)\nall_files := $(shell find images -name \"*\")\n
\n\n

Substitutions

\n\n
file     = $(SOURCE:.cpp=.o)   # foo.cpp => foo.o\noutputs  = $(files:src/%.coffee=lib/%.js)\n\noutputs  = $(patsubst %.c, %.o, $(wildcard *.c))\nassets   = $(patsubst images/%, assets/%, $(wildcard images/*))\n
\n\n

More functions

\n\n
$(strip $(string_var))\n\n$(filter %.less, $(files))\n$(filter-out %.less, $(files))\n
\n\n

Building files

\n\n
%.o: %.c\n  ffmpeg -i $< > $@   # Input and output\n  foo $^\n
\n\n

Includes

\n\n
-include foo.make\n
\n\n

Options

\n\n
make\n  -e, --environment-overrides\n  -B, --always-make\n  -s, --silent\n  -j, --jobs=N   # parallel processing\n
\n\n

Conditionals

\n\n
foo: $(objects)\nifeq ($(CC),gcc)\n  $(CC) -o foo $(objects) $(libs_for_gcc)\nelse\n  $(CC) -o foo $(objects) $(normal_libs)\nendif\n
\n\n

Recursive

\n\n
deploy:\n  $(MAKE) deploy2\n
\n\n

Further reading

\n\n", "intro_html": "", "description_html": "", "tags": null, @@ -2084,7 +2084,7 @@ "url": "/mocha-html", "category": "JavaScript libraries", "keywords": null, - "content_html": "

This is a mocha template that loads js/css from cdn.

\n\n
<!doctype html>\n<html>\n<head>\n  <meta charset='utf-8'>\n  <title>Mocha</title>\n  <meta name='viewport' content='width=device-width, initial-scale=1.0'>\n  <link href='https://cdn.rawgit.com/mochajs/mocha/2.2.5/mocha.css' rel='stylesheet' />\n</head>\n<body>\n  <div id='mocha'></div>\n  <script src='https://cdn.rawgit.com/mochajs/mocha/2.2.5/mocha.js'></script>\n  <script src='https://cdn.rawgit.com/chaijs/chai/2.3.0/chai.js'></script>\n  <script>window.onerror=function(msg,url,line){document.getElementById('mocha').innerHTML+='<h1>'+msg+'</'+'h1>'+'<h2>'+url+':'+line+'</'+'h2>';return false}</script>\n  <script>mocha.setup('bdd')</script>\n  <!-- what to test: -->\n  <script src='../index.js'></script>\n  <!-- tests to run: -->\n  <script src='first_test.js'></script>\n  <script src='second_test.js'></script>\n  <script>mocha.run()</script>\n</body>\n</html>\n
", + "content_html": "

About

\n\n

This is a mocha template that loads js/css from cdn.

\n\n

Template

\n\n
<!doctype html>\n<html>\n<head>\n  <meta charset='utf-8'>\n  <title>Mocha</title>\n  <meta name='viewport' content='width=device-width, initial-scale=1.0'>\n  <link href='https://cdn.rawgit.com/mochajs/mocha/2.2.5/mocha.css' rel='stylesheet' />\n</head>\n<body>\n  <div id='mocha'></div>\n  <script src='https://cdn.rawgit.com/mochajs/mocha/2.2.5/mocha.js'></script>\n  <script src='https://cdn.rawgit.com/chaijs/chai/2.3.0/chai.js'></script>\n  <script>window.onerror=function(msg,url,line){document.getElementById('mocha').innerHTML+='<h1>'+msg+'</'+'h1>'+'<h2>'+url+':'+line+'</'+'h2>';return false}</script>\n  <script>mocha.setup('bdd')</script>\n  <!-- what to test: -->\n  <script src='../index.js'></script>\n  <!-- tests to run: -->\n  <script src='first_test.js'></script>\n  <script src='second_test.js'></script>\n  <script>mocha.run()</script>\n</body>\n</html>\n
", "intro_html": "", "description_html": "", "tags": null, @@ -2249,7 +2249,7 @@ "url": "/nodejs", "category": "Node.js", "keywords": null, - "content_html": "

About

\n\n\n\n

Globals

\n\n
__filename\n__dirname\n
\n\n

exec

\n\n
var exec = require('child_process').exec,\n\nvar child = exec('cat *.js bad_file | wc -l',\n  function (error, stdout, stderr) {\n    console.log('stdout: ' + stdout);\n    console.log('stderr: ' + stderr);\n    if (error !== null) {\n      console.log('exec error: ' + error);\n    }\n});\n
\n\n

Snippets

\n\n
info = require('../package.json')\ninfo.version\n\nprocess.stdout.write(util.inspect(objekt, false, Infinity, true) + '\\n');\n
\n\n

Spawn - passthru the in/out

\n\n
var spawn = require('child_process').spawn;\nvar proc = spawn(bin, argv, { stdio: 'inherit' });\nproc.on('error', function(err) {\n  if (err.code == \"ENOENT\") { \"does not exist\" }\n  if (err.code == \"EACCES\") { \"not executable\" }\n});\nproc.on('exit', function(code) { ... });\n\n// also { stdio: ['pipe', 'pipe', process.stdout] }\n// also { stdio: [process.stdin, process.stderr, process.stdout] }\n\nproc.stdout.on('data', function (data) {\n});\nproc.stderr.on('data', function (data) {\n});\n
", + "content_html": "

Globals

\n\n
__filename\n__dirname\n
\n\n

exec

\n\n
var exec = require('child_process').exec,\n\nvar child = exec('cat *.js bad_file | wc -l',\n  function (error, stdout, stderr) {\n    console.log('stdout: ' + stdout);\n    console.log('stderr: ' + stderr);\n    if (error !== null) {\n      console.log('exec error: ' + error);\n    }\n});\n
\n\n

Snippets

\n\n
info = require('../package.json')\ninfo.version\n\nprocess.stdout.write(util.inspect(objekt, false, Infinity, true) + '\\n');\n
\n\n

Spawn - passthru the in/out

\n\n
var spawn = require('child_process').spawn;\nvar proc = spawn(bin, argv, { stdio: 'inherit' });\nproc.on('error', function(err) {\n  if (err.code == \"ENOENT\") { \"does not exist\" }\n  if (err.code == \"EACCES\") { \"not executable\" }\n});\nproc.on('exit', function(code) { ... });\n\n// also { stdio: ['pipe', 'pipe', process.stdout] }\n// also { stdio: [process.stdin, process.stderr, process.stdout] }\n\nproc.stdout.on('data', function (data) {\n});\nproc.stderr.on('data', function (data) {\n});\n
", "intro_html": "", "description_html": "", "tags": null, @@ -2260,7 +2260,7 @@ "url": "/nopt", "category": "JavaScript libraries", "keywords": null, - "content_html": "
var args = require('nopt')({\n  foo: [String, null],\n  size: ['big', 'medium', 'small'],\n  many: [String, Array],\n  debug: Boolean,\n  version: Boolean,\n  help: Boolean\n}, {\n  h: '--help',\n  v: '--version'\n}, process.argv);\n\nargs == {\n  debug: true,\n  version: true,\n  size: 'big',\n  argv: {\n    remain: ['...', '...'],\n    cooked: ...,\n    original: ...\n  }\n}\n
\n\n
if (args.help) {\n  console.log([\n      'Usage:',\n      '  hicat [options] [file]',\n      '',\n      'Options:',\n      '  -h, --help         print usage information',\n      '  -v, --version      show version info and exit',\n  ].join('\\n'));\n  process.exit(0);\n}\n\nif (args.version) {\n  console.log(require('../package.json').version);\n  process.exit(0);\n}\n
\n\n

https://www.npmjs.org/package/nopt

", + "content_html": "

About

\n\n\n\n

Example

\n\n
var args = require('nopt')({\n  foo: [String, null],\n  size: ['big', 'medium', 'small'],\n  many: [String, Array],\n  debug: Boolean,\n  version: Boolean,\n  help: Boolean\n}, {\n  h: '--help',\n  v: '--version'\n}, process.argv);\n\nargs == {\n  debug: true,\n  version: true,\n  size: 'big',\n  argv: {\n    remain: ['...', '...'],\n    cooked: ...,\n    original: ...\n  }\n}\n
\n\n
if (args.help) {\n  console.log([\n      'Usage:',\n      '  hicat [options] [file]',\n      '',\n      'Options:',\n      '  -h, --help         print usage information',\n      '  -v, --version      show version info and exit',\n  ].join('\\n'));\n  process.exit(0);\n}\n\nif (args.version) {\n  console.log(require('../package.json').version);\n  process.exit(0);\n}\n
", "intro_html": "", "description_html": "", "tags": null, @@ -2337,7 +2337,7 @@ "url": "/parsimmon", "category": "JavaScript libraries", "keywords": null, - "content_html": "
const P = require('parsimmon')\n\nP.regexp(/[a-z]+/)\n.parse('hello')\n//=> { status: true, value: ['hello'] }\n
\n\n

Atoms

\n\n
P.regexp(/[a-z]+/)\nP.string('hello')\nP.oneOf('abc')             // like P.regexp(/[abc]/)\n\nP.whitespace\nP.optWhitespace\nP.eof\n
\n\n

Combinators

\n\n
P.seq(a, b, c)             // sequence of these\nP.alt(a, b)                // any of these\nP.sepBy(a, P.string(','))  // sequence of `a`, separated by ','\nP.sepBy1(a, P.string(',')) // same, at least once\n\na.or(b)                    // like P.alt(a, b)\na.skip(b)                  // parses `b` but discards it\n\na.many()\na.times(3)\na.times(1, 4)              // 1 <= x <= 4\na.atMost(10)\na.atLeast(10)\n
\n\n

Formatting

\n\n
P.seq(P.number, P.oneOf('+-*/'), P.number)\n.map(([left, oper, right]) => ({ oper, left, right }))\n
\n\n

Reference

\n\n", + "content_html": "

Basic usage

\n
const P = require('parsimmon')\n\nP.regexp(/[a-z]+/)\n.parse('hello')\n//=> { status: true, value: ['hello'] }\n
\n\n

Atoms

\n\n
P.regexp(/[a-z]+/)\nP.string('hello')\nP.oneOf('abc')             // like P.regexp(/[abc]/)\n\nP.whitespace\nP.optWhitespace\nP.eof\n
\n\n

Combinators

\n\n
P.seq(a, b, c)             // sequence of these\nP.alt(a, b)                // any of these\nP.sepBy(a, P.string(','))  // sequence of `a`, separated by ','\nP.sepBy1(a, P.string(',')) // same, at least once\n\na.or(b)                    // like P.alt(a, b)\na.skip(b)                  // parses `b` but discards it\n\na.many()\na.times(3)\na.times(1, 4)              // 1 <= x <= 4\na.atMost(10)\na.atLeast(10)\n
\n\n

Formatting

\n\n
P.seq(P.number, P.oneOf('+-*/'), P.number)\n.map(([left, oper, right]) => ({ oper, left, right }))\n
\n\n

Reference

\n\n", "intro_html": "", "description_html": "", "tags": null, @@ -2436,10 +2436,10 @@ "url": "/phoenix-ecto@1.2", "category": "Elixir", "keywords": null, - "content_html": "

This is for Phoenix 1.2 and below. Phoenix 1.3 has a new API..

\n\n

Generating

\n\n
$ mix phoenix.gen.html Profile profiles email:string age:integer\n$ mix phoenix.gen.html User users email:string hashed_password:string\n
\n\n

Schema

\n\n
defmodule User do\n  use Ecto.Schema\n\n  schema \"users\" do\n    field :name\n    field :age, :integer\n    # :id :binary :integer :float :boolean :string :binary\n    # {:array, inner_type} :decimal :map\n\n    field :password, virtual: true\n  end\nend\n
\n\n

Changesets

\n\n
def changeset(user, params \\\\ :empty) do\n  %User{}\n  |> Ecto.Changeset.change   # basic casting to changeset\n\n  user\n  |> cast(params, ~w(name email), ~w(age)) # params to Changeset\n\n  |> validate_format(:email, ~r/@/)\n\n  |> validate_inclusion(:age, 18..100)\n  |> validate_exclusion(:role, ~w(admin superadmin))\n  |> validate_subset(:pets, ~w(cat dog parrot whale))\n\n  |> validate_length(:body, min: 1)\n  |> validate_length(:body, min: 1, max: 160)\n  |> validate_length(:partners, is: 2)\n\n  |> validate_number(:pi, greater_than: 3)\n  |> validate_number(:pi, less_than: 4)\n  |> validate_number(:pi, equal_to: 42)\n\n  |> validate_change(:title, fn _, _ -> [])\n  |> validate_confirmation(:password, message: \"does not match\")\n\n  |> unique_constraint(:email)\n  |> foreign_key_constraint(:post_id)\n  |> assoc_constraint(:post)      # ensure post_id exists\n  |> no_assoc_constraint(:post)   # negative (useful for deletions)\nend\n
\n\n
changeset.valid?\nchangeset.errors     #=> [title: \"empty\"]\n\nchangeset.changes    #=> %{}\nchangeset.params[:title]\n\nchangeset.required   #=> [:title]\nchangeset.optional   #=> [:body]\n
\n\n

Updating

\n\n
changeset #(or model)\n|> change(title: \"New title\")\n|> change(%{ title: \"New title\" })\n|> put_change(:title, \"New title\")\n|> force_change(:title, \"New title\")\n|> update_change(:title, &(&1 <> \"...\"))\n\n|> delete_change(:title)\n|> merge(other_changeset)\n\n|> add_error(:title, \"empty\")\n
\n\n

Getting

\n\n
get_change(changeset, :title)    #=> \"hi\" (if changed)\nget_field(changeset, :title)     #=> \"hi\" (even if unchanged)\n\nfetch_change(changeset, :title)  #=> {:ok, \"hi\"} | :error\nfetch_field(changeset, :title)   #=> {:changes | :model, \"value\"} | :error\n
\n\n

Ecto

\n\n

Get one

\n\n
Repo.get(User, id)\nRepo.get_by(User, email: \"john@hello.com\")  #=> %User{} | nil\n\n# also get! get_by!\n
\n\n

Create/update

\n\n
changeset |> Repo.update\nchangeset |> Repo.insert\nchangeset |> Repo.insert_or_update\n
\n\n
User\n|> Ecto.Changeset.change(%{name: \"hi\"})\n|> Repo.insert\n
\n\n

Many

\n\n

Queries

\n\n
from p in Post,\n  where: p.title == \"Hello\",\n  where: [state: \"Sweden\"],\n\n  limit: 1,\n  offset: 10,\n\n  order_by: c.name,\n  order_by: [c.name, c.title],\n  order_by: [asc: c.name, desc: c.title],\n\n  preload: [:comments],\n  preload: [comments: {c, likes: l}],\n\n  join: c in assoc(c, :comments),\n  join: p in Post, on: c.post_id == p.id,\n  group_by: p,\n\n  select: p,\n  select: {p.title, p.description},\n  select: [p.title, p.description],\n
\n\n

Get many

\n\n
Repo.all(User)\n
\n\n

Update many

\n\n
Repo.update_all(Post, set: [title: \"Title\"])\nRepo.update_all(Post, inc: [views: 1])\n
\n\n

Chaining _all with queries

\n\n
from(p in Post, where: p.id < 10)\n|> Repo.update_all(...)\n\nfrom(p in Post, where: p.id < 10)\n|> Repo.all()\n
", + "content_html": "

About

\n\n

This is for Phoenix 1.2 and below. Phoenix 1.3 has a new API..

\n\n

Generating

\n\n
$ mix phoenix.gen.html Profile profiles email:string age:integer\n$ mix phoenix.gen.html User users email:string hashed_password:string\n
\n\n

Schema

\n\n
defmodule User do\n  use Ecto.Schema\n\n  schema \"users\" do\n    field :name\n    field :age, :integer\n    # :id :binary :integer :float :boolean :string :binary\n    # {:array, inner_type} :decimal :map\n\n    field :password, virtual: true\n  end\nend\n
\n\n

Changesets

\n\n
def changeset(user, params \\\\ :empty) do\n  %User{}\n  |> Ecto.Changeset.change   # basic casting to changeset\n\n  user\n  |> cast(params, ~w(name email), ~w(age)) # params to Changeset\n\n  |> validate_format(:email, ~r/@/)\n\n  |> validate_inclusion(:age, 18..100)\n  |> validate_exclusion(:role, ~w(admin superadmin))\n  |> validate_subset(:pets, ~w(cat dog parrot whale))\n\n  |> validate_length(:body, min: 1)\n  |> validate_length(:body, min: 1, max: 160)\n  |> validate_length(:partners, is: 2)\n\n  |> validate_number(:pi, greater_than: 3)\n  |> validate_number(:pi, less_than: 4)\n  |> validate_number(:pi, equal_to: 42)\n\n  |> validate_change(:title, fn _, _ -> [])\n  |> validate_confirmation(:password, message: \"does not match\")\n\n  |> unique_constraint(:email)\n  |> foreign_key_constraint(:post_id)\n  |> assoc_constraint(:post)      # ensure post_id exists\n  |> no_assoc_constraint(:post)   # negative (useful for deletions)\nend\n
\n\n
changeset.valid?\nchangeset.errors     #=> [title: \"empty\"]\n\nchangeset.changes    #=> %{}\nchangeset.params[:title]\n\nchangeset.required   #=> [:title]\nchangeset.optional   #=> [:body]\n
\n\n

Updating

\n\n
changeset #(or model)\n|> change(title: \"New title\")\n|> change(%{ title: \"New title\" })\n|> put_change(:title, \"New title\")\n|> force_change(:title, \"New title\")\n|> update_change(:title, &(&1 <> \"...\"))\n\n|> delete_change(:title)\n|> merge(other_changeset)\n\n|> add_error(:title, \"empty\")\n
\n\n

Getting

\n\n
get_change(changeset, :title)    #=> \"hi\" (if changed)\nget_field(changeset, :title)     #=> \"hi\" (even if unchanged)\n\nfetch_change(changeset, :title)  #=> {:ok, \"hi\"} | :error\nfetch_field(changeset, :title)   #=> {:changes | :model, \"value\"} | :error\n
\n\n

Ecto

\n\n

Get one

\n\n
Repo.get(User, id)\nRepo.get_by(User, email: \"john@hello.com\")  #=> %User{} | nil\n\n# also get! get_by!\n
\n\n

Create/update

\n\n
changeset |> Repo.update\nchangeset |> Repo.insert\nchangeset |> Repo.insert_or_update\n
\n\n
User\n|> Ecto.Changeset.change(%{name: \"hi\"})\n|> Repo.insert\n
\n\n

Many

\n\n

Queries

\n\n
from p in Post,\n  where: p.title == \"Hello\",\n  where: [state: \"Sweden\"],\n\n  limit: 1,\n  offset: 10,\n\n  order_by: c.name,\n  order_by: [c.name, c.title],\n  order_by: [asc: c.name, desc: c.title],\n\n  preload: [:comments],\n  preload: [comments: {c, likes: l}],\n\n  join: c in assoc(c, :comments),\n  join: p in Post, on: c.post_id == p.id,\n  group_by: p,\n\n  select: p,\n  select: {p.title, p.description},\n  select: [p.title, p.description],\n
\n\n

Get many

\n\n
Repo.all(User)\n
\n\n

Update many

\n\n
Repo.update_all(Post, set: [title: \"Title\"])\nRepo.update_all(Post, inc: [views: 1])\n
\n\n

Chaining _all with queries

\n\n
from(p in Post, where: p.id < 10)\n|> Repo.update_all(...)\n\nfrom(p in Post, where: p.id < 10)\n|> Repo.all()\n
", "intro_html": "", "description_html": "", - "tags": null, + "tags": ["Archived"], "updated": null },{ "id": "phoenix-ecto@1.3", @@ -2557,7 +2557,7 @@ "url": "/postgresql", "category": "Databases", "keywords": null, - "content_html": "

Replace anything within <placeholder> accordingly

\n\n

Console

\n\n
$ psql #logs in to default database & default user\n$ sudo -u <rolename:postgres> psql #logs in with a particular user\n
\n\n

Commands

\n\n
    \n
  • Show roles: \\du
  • \n
  • Show tables: \\dt
  • \n
  • Show databases: \\l
  • \n
  • Connect to a database: \\c <database>
  • \n
  • Show columns of a table: \\d <table> or \\d+ <table>
  • \n
  • Quit: \\q
  • \n
\n\n

Creating database

\n\n
 $ createdb databasename\n
", + "content_html": "

Console

\n\n
$ psql #logs in to default database & default user\n$ sudo -u <rolename:postgres> psql #logs in with a particular user\n
\n\n

Replace anything within <placeholder> accordingly

\n\n

Commands

\n\n
    \n
  • Show roles: \\du
  • \n
  • Show tables: \\dt
  • \n
  • Show databases: \\l
  • \n
  • Connect to a database: \\c <database>
  • \n
  • Show columns of a table: \\d <table> or \\d+ <table>
  • \n
  • Quit: \\q
  • \n
\n\n

Creating database

\n\n
 $ createdb databasename\n
", "intro_html": "", "description_html": "", "tags": null, @@ -2579,7 +2579,7 @@ "url": "/projectionist", "category": "Vim", "keywords": null, - "content_html": "
/* .projectionist.vim */\n{\n  \"app/assets/react/components/*.jsx\": {\n    \"type\": \"component\",\n    \"template\": [\n      \"import React from 'react'\",\n      \"export default {} = React.createClass({ ... })\"\n    ]\n  }\n
\n\n

Available options

\n\n
{\n  \"lib/*.rb\": {\n    \"type\": \"lib\", /* enables :Elib */\n    \"alternate\": \"test/{}_spec.rb\", /* for :A */\n    \"template\": [ ... ],\n\n    \"path\": \"include\", /* for `gf` i think */\n\n    \"console\": \"node\", /* for :Console */\n    \"dispatch\": \"node\", /* for :Dispatch (dispatch.vim) */\n    \"start\": \"rails server\", /* for :Start (dispatch.vim) */\n    \"make\": \"node\", /* for makeprg */\n  }\n}\n
\n\n

Commands

\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
CommandDescription
:AEdit alternate
:A {file}Edit file
:ASEdit in split
:AVEdit in vsplit
:ATEdit in tab
:ADReplace with template
:Cdcd to root
:Cd {path}cd to path in root
:Lcdcd to root using :lcd
:ProjectDo {cmd}run command in root
\n\n

Reference

\n\n

See vim-projectionist.

", + "content_html": "

Basic usage

\n\n
/* .projectionist.vim */\n{\n  \"app/assets/react/components/*.jsx\": {\n    \"type\": \"component\",\n    \"template\": [\n      \"import React from 'react'\",\n      \"export default {} = React.createClass({ ... })\"\n    ]\n  }\n
\n\n

Available options

\n\n
{\n  \"lib/*.rb\": {\n    \"type\": \"lib\", /* enables :Elib */\n    \"alternate\": \"test/{}_spec.rb\", /* for :A */\n    \"template\": [ ... ],\n\n    \"path\": \"include\", /* for `gf` i think */\n\n    \"console\": \"node\", /* for :Console */\n    \"dispatch\": \"node\", /* for :Dispatch (dispatch.vim) */\n    \"start\": \"rails server\", /* for :Start (dispatch.vim) */\n    \"make\": \"node\", /* for makeprg */\n  }\n}\n
\n\n

Commands

\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
CommandDescription
:AEdit alternate
:A {file}Edit file
:ASEdit in split
:AVEdit in vsplit
:ATEdit in tab
:ADReplace with template
:Cdcd to root
:Cd {path}cd to path in root
:Lcdcd to root using :lcd
:ProjectDo {cmd}run command in root
\n\n

Reference

\n\n

See vim-projectionist.

", "intro_html": "", "description_html": "", "tags": null, @@ -2685,7 +2685,7 @@ "updated": null },{ "id": "rails-controllers", - "title": "Controllers", + "title": "Rails controllers", "url": "/rails-controllers", "category": "Rails", "keywords": null, @@ -2696,18 +2696,18 @@ "updated": null },{ "id": "rails-forms", - "title": "Form helpers", + "title": "Rails form helpers", "url": "/rails-forms", "category": "Rails", "keywords": null, - "content_html": "

Form builder

\n\n
- form_for @post do |f|\n
\n\n

Field names will be prefixed with post (the class name), and values will be derived from this object (eg, f.text_field :name from @post.name).

\n\n

Options

\n\n
- form_for @post, |\n  url: { method: 'put', action: 'create' }, |\n  html: { class: 'nifty_form' } |\n  do |f|\n
\n\n

Fields

\n\n

Text

\n\n
f.text_field :title\nf.text_area :body, size: '60x12'\n
\n\n

Checkbox

\n\n
f.check_box :remember_me\nf.label :remember_me, \"Remember me\"\n
\n\n

Radio

\n\n
f.radio_button :gender, 'male'\nf.label :gender_male, \"Male\"\n\nf.radio_button :gender, 'female'\nf.label :gender_female, \"Female\"\n
\n\n

Label

\n\n
f.label :title\nf.label :title, \"Title\"\nf.label :title, \"Title\", class: \"title\"\nf.label(:post, :terms) { \"Accept terms\" }\n
\n\n

Submit button

\n\n
f.submit \"Create\"\n
\n\n

Hidden fields

\n\n
f.hidden_field :id\n
\n\n

Misc

\n\n

The model

\n\n
f.object\n
\n\n

Fields for

\n\n
= form_for @post do |f|\n  = fields_for :author, @post.author do |ff|\n    = ff.text_field :name\n
\n\n

Select dropdowns

\n\n
f.select :city_id, [['Lisbon',1], ['Madrid',2], ...], 4\n# (4 = selected)\n\noptions_for_select [['Lisbon',1], ['Madrid',2], ...], 4\n# Just makes <option> tags\n
\n\n

Collections

\n\n
f.collection_radio_buttons :author_id, Author.all, :id, :name_with_initial\nf.collection_select :city_id, City.all, :id, :name\n# (field, collection, value_key, label_key)\n
\n\n

Time select

\n\n
f.time_zone_select :time_zone\nf.date_select :birthday\n
\n

I18n

\n\n
helpers:\n  submit:\n    # helpers.submit.<action>\n    create: \"Create a %{model}\"\n    update: \"Confirm changes to %{model}\"\n\n    # helpers.submit.<model>.<action>\n    article:\n      create: \"Publish article\"\n      update: \"Update article\"\n\n  # helpers.label.<model>.<field>\n  label:\n    post:\n      body: \"Your body text\"\n
\n\n

Outside f

\n\n
radio_button(\"post\", \"category\", \"rails\")\nradio_button(\"post\", \"category\", \"java\")\n\n# picks from @post.category\n# <input type=\"radio\" id=\"post_category_rails\" name=\"post[category]\"\n#  value=\"rails\" checked=\"checked\" />\n
\n\n

Reference

\n\n
select(method, choices = nil, options = {}, html_options = {}, &block)\n  choices == [ ['label', id], ... ]\n\nsubmit(value=nil, options={})\n
", + "content_html": "

Form builder

\n\n

Form builder

\n\n
- form_for @post do |f|\n
\n\n

Field names will be prefixed with post (the class name), and values will be derived from this object (eg, f.text_field :name from @post.name).

\n\n

Options

\n\n
- form_for @post, |\n  url: { method: 'put', action: 'create' }, |\n  html: { class: 'nifty_form' } |\n  do |f|\n
\n\n

Fields

\n\n

Text

\n\n
f.text_field :title\nf.text_area :body, size: '60x12'\n
\n\n

Checkbox

\n\n
f.check_box :remember_me\nf.label :remember_me, \"Remember me\"\n
\n\n

Radio

\n\n
f.radio_button :gender, 'male'\nf.label :gender_male, \"Male\"\n\nf.radio_button :gender, 'female'\nf.label :gender_female, \"Female\"\n
\n\n

Label

\n\n
f.label :title\nf.label :title, \"Title\"\nf.label :title, \"Title\", class: \"title\"\nf.label(:post, :terms) { \"Accept terms\" }\n
\n\n

Submit button

\n\n
f.submit \"Create\"\n
\n\n

Hidden fields

\n\n
f.hidden_field :id\n
\n\n

Misc

\n\n

The model

\n\n
f.object\n
\n\n

Fields for

\n\n
= form_for @post do |f|\n  = fields_for :author, @post.author do |ff|\n    = ff.text_field :name\n
\n\n

Select dropdowns

\n\n
f.select :city_id, [['Lisbon',1], ['Madrid',2], ...], 4\n# (4 = selected)\n\noptions_for_select [['Lisbon',1], ['Madrid',2], ...], 4\n# Just makes <option> tags\n
\n\n

Collections

\n\n
f.collection_radio_buttons :author_id, Author.all, :id, :name_with_initial\nf.collection_select :city_id, City.all, :id, :name\n# (field, collection, value_key, label_key)\n
\n\n

Time select

\n\n
f.time_zone_select :time_zone\nf.date_select :birthday\n
\n

I18n

\n\n
helpers:\n  submit:\n    # helpers.submit.<action>\n    create: \"Create a %{model}\"\n    update: \"Confirm changes to %{model}\"\n\n    # helpers.submit.<model>.<action>\n    article:\n      create: \"Publish article\"\n      update: \"Update article\"\n\n  # helpers.label.<model>.<field>\n  label:\n    post:\n      body: \"Your body text\"\n
\n\n

Outside f

\n\n
radio_button(\"post\", \"category\", \"rails\")\nradio_button(\"post\", \"category\", \"java\")\n\n# picks from @post.category\n# <input type=\"radio\" id=\"post_category_rails\" name=\"post[category]\"\n#  value=\"rails\" checked=\"checked\" />\n
\n\n

Reference

\n\n
select(method, choices = nil, options = {}, html_options = {}, &block)\n  choices == [ ['label', id], ... ]\n\nsubmit(value=nil, options={})\n
", "intro_html": "", "description_html": "", "tags": null, "updated": null },{ "id": "rails-helpers", - "title": "Helpers", + "title": "Rails helpers", "url": "/rails-helpers", "category": "Rails", "keywords": null, @@ -2718,18 +2718,18 @@ "updated": null },{ "id": "rails-i18n", - "title": "i18n", + "title": "Rails i18n", "url": "/rails-i18n", "category": "Rails", "keywords": null, - "content_html": "
t('my.messages.hello')\n\n# same as 'my.messages.hello'\nt(:hello, scope: 'my.messages')\nt(:hello, scope: [:my, :messages])\n\nt('my.messages.hello', default: \"Hello\")\n
\n\n
en:\n  my:\n    messages:\n      hello: \"Hello\"\n
\n\n

Interpolation

\n\n
t('hello', name: \"John\")\n
\n\n
hello: \"Hello %{name}\"\n
\n\n

Lazy lookup

\n\n
# from the 'books/index' view\nt('.title')\n
\n\n
en:\n  books:\n    index:\n      title: \"Título\"\n
\n\n

Plural

\n\n
t(:inbox, count: 1)  #=> 'one message'\nt(:inbox, count: 2)  #=> '2 messages'\n
\n\n
inbox:\n  one: 'one message',\n  other: '%{count} messages'\n
\n\n

Localizing

\n\n

Time

\n\n
l(Time.now)\nl(Time.now, format: :short)\n
\n\n
en:\n  time:\n    formats:\n      default: \"%a, %d %b %Y %H:%M:%S %z\"\n      long: \"%B %d, %Y %H:%M\"\n      short: \"%d %b %H:%M\"\n
\n\n

Date

\n\n
l(Date.today)\n
\n\n
en:\n  date:\n    formats:\n      default: \"%Y-%m-%d\" # 2015-06-25\n      long: \"%B %d, %Y\"   # June 25, 2015\n      short: \"%b %d\"      # Jun 25\n
\n\n

ActiveRecord

\n\n

Model names

\n\n
User.model_name.human            #=> \"User\"\nChild.model_name.human(count: 2) #=> \"Children\"\n
\n\n
en:\n  activerecord:\n    models:\n      user: \"User\"\n      child:\n        one: \"Child\"\n        other: \"Children\"\n
\n\n

Attributes

\n\n
User.human_attribute_for :name   #=> \"Name\"\n
\n\n
en:\n  activerecord:\n    attributes:\n      user:\n        # activerecord.attributes.<model>.<field>\n        name: \"Name\"\n        email: \"Email\"\n
\n\n

Error messages

\n\n
error_messages_for(...)\n
\n\n
activerecord:\n  errors:\n    models:\n      venue:\n        attributes:\n          name:\n            blank: \"Please enter a name.\"\n
\n\n

Possible scopes (in order):

\n\n
activerecord.errors.models.[model_name].attributes.[attribute_name].[error]\nactiverecord.errors.models.[model_name].[error]\nactiverecord.errors.messages.[error]\nerrors.attributes.[attribute_name].[error]\nerrors.messages.[error]\n
\n\n

Where [error] can be:

\n\n
validates\n  confirmation - :confirmation\n  acceptance   - :accepted\n  presence     - :blank\n  length       - :too_short (%{count})\n  length       - :too_long (%{count})\n  length       - :wrong_length (%{count})\n  uniqueness   - :taken\n  format       - :invalid\n  numericality - :not_a_number\n
\n\n

Form labels

\n\n
form_for @post do\n  f.label :body\n
\n\n
helpers:\n  # helpers.label.<model>.<field>\n  label:\n    post:\n      body: \"Your body text\"\n
\n\n

Submit buttons

\n\n
form_for @post do\n  f.submit\n
\n\n
helpers:\n  submit:\n    # helpers.submit.<action>\n    create: \"Create a %{model}\"\n    update: \"Confirm changes to %{model}\"\n\n    # helpers.submit.<model>.<action>\n    article:\n      create: \"Publish article\"\n      update: \"Update article\"\n
\n\n

Numbers

\n\n
number_to_delimited(2000)             #=> \"2,000\"\nnumber_to_currency(12.3)              #=> \"$12.30\"\nnumber_to_percentage(0.3)             #=> \"30%\"\nnumber_to_rounded(3.14, precision: 0) #=> \"3\"\nnumber_to_human(12_000)               #=> \"12 Thousand\"\nnumber_to_human_size(12345)           #=> \"12.3 kb\"\n
\n\n

Delimited

\n\n
number_to_delimited(n)\n
\n\n
number:\n  format:\n    separator: '.'\n    delimiter: ','\n    precision: 3\n    significant: false\n    strip_insignificant_zeroes: false\n
\n\n

Currencies

\n\n
number_to_currency(n)\n
\n\n
number:\n  currency:\n    format:\n      format: \"%u%n\" # %u = unit, %n = number\n      unit: \"$\"\n      separator: '.'\n      delimiter: ','\n      precision: 3\n      # (see number.format)\n
\n\n

Percentage

\n\n
number_to_percentage(n)\n
\n\n
number:\n  percentage:\n    format:\n      format: \"%n%\"\n      # (see number.format)\n
\n\n

Programmatic access

\n\n
I18n.backend.store_translations :en, ok: \"Ok\"\nI18n.locale = :en\nI18n.default_locale = :en\n\nI18n.available_locales\n\nI18n.translate :ok   # aka, I18n.t\nI18n.localize date   # aka, I18n.l\n
\n\n

Reference

\n\n
    \n
  • http://guides.rubyonrails.org/i18n.html
  • \n
  • http://rails-i18n.org/wiki
  • \n
  • https://github.com/svenfuchs/i18n
  • \n
  • https://github.com/svenfuchs/rails-i18n/blob/master/rails/locale/en.yml
  • \n
", + "content_html": "

References

\n\n\n\n

Example

\n\n
t('my.messages.hello')\n\n# same as 'my.messages.hello'\nt(:hello, scope: 'my.messages')\nt(:hello, scope: [:my, :messages])\n\nt('my.messages.hello', default: \"Hello\")\n
\n\n

YAML

\n\n
en:\n  my:\n    messages:\n      hello: \"Hello\"\n
\n\n

Interpolation

\n\n
t('hello', name: \"John\")\n
\n\n

YAML

\n\n
hello: \"Hello %{name}\"\n
\n\n

Lazy lookup

\n\n
# from the 'books/index' view\nt('.title')\n
\n\n

YAML

\n\n
en:\n  books:\n    index:\n      title: \"Título\"\n
\n\n

Plural

\n\n
t(:inbox, count: 1)  #=> 'one message'\nt(:inbox, count: 2)  #=> '2 messages'\n
\n\n

YAML

\n\n
inbox:\n  one: 'one message',\n  other: '%{count} messages'\n
\n\n

Localizing

\n\n

Time

\n\n
l(Time.now)\nl(Time.now, format: :short)\n
\n\n

YAML

\n\n
en:\n  time:\n    formats:\n      default: \"%a, %d %b %Y %H:%M:%S %z\"\n      long: \"%B %d, %Y %H:%M\"\n      short: \"%d %b %H:%M\"\n
\n\n

Date

\n\n
l(Date.today)\n
\n\n

YAML

\n\n
en:\n  date:\n    formats:\n      default: \"%Y-%m-%d\" # 2015-06-25\n      long: \"%B %d, %Y\"   # June 25, 2015\n      short: \"%b %d\"      # Jun 25\n
\n\n

ActiveRecord

\n\n

Model names

\n\n
User.model_name.human            #=> \"User\"\nChild.model_name.human(count: 2) #=> \"Children\"\n
\n\n

YAML

\n\n
en:\n  activerecord:\n    models:\n      user: \"User\"\n      child:\n        one: \"Child\"\n        other: \"Children\"\n
\n\n

Attributes

\n\n
User.human_attribute_for :name   #=> \"Name\"\n
\n\n

YAML

\n\n
en:\n  activerecord:\n    attributes:\n      user:\n        # activerecord.attributes.<model>.<field>\n        name: \"Name\"\n        email: \"Email\"\n
\n\n

Error messages

\n\n
error_messages_for(...)\n
\n\n

YAML

\n\n
activerecord:\n  errors:\n    models:\n      venue:\n        attributes:\n          name:\n            blank: \"Please enter a name.\"\n
\n\n

Scopes

\n\n

Possible scopes (in order):

\n\n
activerecord.errors.models.[model_name].attributes.[attribute_name].[error]\nactiverecord.errors.models.[model_name].[error]\nactiverecord.errors.messages.[error]\nerrors.attributes.[attribute_name].[error]\nerrors.messages.[error]\n
\n\n

Where [error] can be:

\n\n
validates\n  confirmation - :confirmation\n  acceptance   - :accepted\n  presence     - :blank\n  length       - :too_short (%{count})\n  length       - :too_long (%{count})\n  length       - :wrong_length (%{count})\n  uniqueness   - :taken\n  format       - :invalid\n  numericality - :not_a_number\n
\n\n

Form labels

\n\n
form_for @post do\n  f.label :body\n
\n\n

YAML

\n\n
helpers:\n  # helpers.label.<model>.<field>\n  label:\n    post:\n      body: \"Your body text\"\n
\n\n

Submit buttons

\n\n
form_for @post do\n  f.submit\n
\n\n

YAML

\n\n
helpers:\n  submit:\n    # helpers.submit.<action>\n    create: \"Create a %{model}\"\n    update: \"Confirm changes to %{model}\"\n\n    # helpers.submit.<model>.<action>\n    article:\n      create: \"Publish article\"\n      update: \"Update article\"\n
\n\n

Numbers

\n\n
number_to_delimited(2000)             #=> \"2,000\"\nnumber_to_currency(12.3)              #=> \"$12.30\"\nnumber_to_percentage(0.3)             #=> \"30%\"\nnumber_to_rounded(3.14, precision: 0) #=> \"3\"\nnumber_to_human(12_000)               #=> \"12 Thousand\"\nnumber_to_human_size(12345)           #=> \"12.3 kb\"\n
\n\n

Delimited

\n\n
number_to_delimited(n)\n
\n\n

YAML

\n\n
number:\n  format:\n    separator: '.'\n    delimiter: ','\n    precision: 3\n    significant: false\n    strip_insignificant_zeroes: false\n
\n\n

Currencies

\n\n
number_to_currency(n)\n
\n\n
number:\n  currency:\n    format:\n      format: \"%u%n\" # %u = unit, %n = number\n      unit: \"$\"\n      separator: '.'\n      delimiter: ','\n      precision: 3\n      # (see number.format)\n
\n\n

Percentage

\n\n
number_to_percentage(n)\n
\n\n

YAML

\n\n
number:\n  percentage:\n    format:\n      format: \"%n%\"\n      # (see number.format)\n
\n\n

Programmatic access

\n\n

Programmatic access

\n\n
I18n.backend.store_translations :en, ok: \"Ok\"\nI18n.locale = :en\nI18n.default_locale = :en\n\nI18n.available_locales\n\nI18n.translate :ok   # aka, I18n.t\nI18n.localize date   # aka, I18n.l\n
", "intro_html": "", "description_html": "", "tags": null, "updated": null },{ "id": "rails-migrations", - "title": "Migrations", + "title": "Rails migrations", "url": "/rails-migrations", "category": "Rails", "keywords": null, @@ -2755,7 +2755,7 @@ "url": "/rails-plugins", "category": "Rails", "keywords": null, - "content_html": "

Generate a plugin

\n\n

Generate a Rails Engine plugin:

\n\n
rails plugin new myplugin --skip-bundle --full\n
\n\n

Initializers

\n\n\n\n

Subclass Railtie and provide an initializer method.

\n\n
module NewPlugin\n  class Railtie < Rails::Railtie\n    initializer \"newplugin.initialize\" do |app|\n \n      # subscribe to all rails notifications: controllers, AR, etc.\n      ActiveSupport::Notifications.subscribe do |*args|\n        event = ActiveSupport::Notifications::Event.new(*args)\n        puts \"Got notification: #{event.inspect}\"\n      end\n \n    end\n  end\nend\n
\n\n

Custom routes

\n\n\n\n

To create custom routes.rb keywords:

\n\n
# # routes.rb:\n# myplugin_for x\n#\nclass ActionDispatch::Routing\n  class Mapper\n    def myplugin_for(*x)\n    end\n  end\nend\n
\n\n

Example with a block:

\n\n
# authenticated do\n#   resources :users\n# end\n#\ndef authenticated\n  constraint = lambda { |request| request... }\n\n  constraints(constraint) { yield }\nend\n
\n\n

Custom generators

\n\n\n\n

Basic

\n\n
# rails g initializer\n# lib/generators/initializer_generator.rb\nclass InitializerGenerator < Rails::Generators::Base\n  def create_initializer_file\n    create_file \"config/initializers/initializer.rb\", \"# Add initialization content here\"\n  end\nend\n
\n\n
    \n
  • Extend Rails::Generators::Base.
  • \n
  • Each public method in the generator is executed when a generator is invoked.
  • \n
\n\n

Generating a generator

\n\n
$ rails generate generator initializer\n
\n\n

NamedBase

\n\n

Use NamedBase instead if you want to take an argument. It will be available as \nfile_name.

\n\n
class InitializerGenerator < Rails::Generators::Base\n  def lol\n    puts file_name\n  end\nend\n
\n\n

More

\n\n
class InitializerGenerator < Rails::Generators::NamedBase\n  # \n  source_root File.expand_path(\"../templates\", __FILE__)\n  desc \"Description goes here.\"\nend\n
\n\n

Generators lookup

\n\n

When invoking rails g XXX:

\n\n
[rails/]generators/XXX/XXX_generator.rb\n[rails/]generators/XXX_generator.rb\n
\n\n

When invoking rails g XXX:YYY:

\n\n
[rails/]generators/XXX/YYY_generator.rb\n
\n\n

ActiveModel ‘acts as’

\n\n
# yaffle/lib/yaffle/acts_as_yaffle.rb\nmodule Yaffle\n  module ActsAsYaffle\n    extend ActiveSupport::Concern\n \n    included do\n    end\n \n    module ClassMethods\n      def acts_as_yaffle(options = {})\n        # your code will go here\n      end\n    end\n  end\nend\n \nActiveRecord::Base.send :include, Yaffle::ActsAsYaffle\n
", + "content_html": "

Generate a plugin

\n\n

Generate a Rails Engine plugin:

\n\n
rails plugin new myplugin --skip-bundle --full\n
\n\n

Initializers

\n\n

Initializers

\n\n\n\n

Initializer method

\n\n

Subclass Railtie and provide an initializer method.

\n\n
module NewPlugin\n  class Railtie < Rails::Railtie\n    initializer \"newplugin.initialize\" do |app|\n \n      # subscribe to all rails notifications: controllers, AR, etc.\n      ActiveSupport::Notifications.subscribe do |*args|\n        event = ActiveSupport::Notifications::Event.new(*args)\n        puts \"Got notification: #{event.inspect}\"\n      end\n \n    end\n  end\nend\n
\n\n

Custom routes

\n\n

Custom routes

\n\n\n\n

Creating routes

\n\n

To create custom routes.rb keywords:

\n\n
# # routes.rb:\n# myplugin_for x\n#\nclass ActionDispatch::Routing\n  class Mapper\n    def myplugin_for(*x)\n    end\n  end\nend\n
\n\n

Example with a block:

\n\n
# authenticated do\n#   resources :users\n# end\n#\ndef authenticated\n  constraint = lambda { |request| request... }\n\n  constraints(constraint) { yield }\nend\n
\n\n

Custom generators

\n\n

Custom generators

\n\n\n\n

Basic

\n\n
# rails g initializer\n# lib/generators/initializer_generator.rb\nclass InitializerGenerator < Rails::Generators::Base\n  def create_initializer_file\n    create_file \"config/initializers/initializer.rb\", \"# Add initialization content here\"\n  end\nend\n
\n\n
    \n
  • Extend Rails::Generators::Base.
  • \n
  • Each public method in the generator is executed when a generator is invoked.
  • \n
\n\n

Generating a generator

\n\n
$ rails generate generator initializer\n
\n\n

NamedBase

\n\n

Use NamedBase instead if you want to take an argument. It will be available as \nfile_name.

\n\n
class InitializerGenerator < Rails::Generators::Base\n  def lol\n    puts file_name\n  end\nend\n
\n\n

More

\n\n
class InitializerGenerator < Rails::Generators::NamedBase\n  # \n  source_root File.expand_path(\"../templates\", __FILE__)\n  desc \"Description goes here.\"\nend\n
\n\n

Generators lookup

\n\n

When invoking rails g XXX:

\n\n
[rails/]generators/XXX/XXX_generator.rb\n[rails/]generators/XXX_generator.rb\n
\n\n

When invoking rails g XXX:YYY:

\n\n
[rails/]generators/XXX/YYY_generator.rb\n
\n\n

ActiveModel ‘acts as’

\n\n

acts as

\n\n
# yaffle/lib/yaffle/acts_as_yaffle.rb\nmodule Yaffle\n  module ActsAsYaffle\n    extend ActiveSupport::Concern\n \n    included do\n    end\n \n    module ClassMethods\n      def acts_as_yaffle(options = {})\n        # your code will go here\n      end\n    end\n  end\nend\n \nActiveRecord::Base.send :include, Yaffle::ActsAsYaffle\n
", "intro_html": "", "description_html": "", "tags": null, @@ -2766,7 +2766,7 @@ "url": "/rails-routes", "category": "Rails", "keywords": null, - "content_html": "

Multiple resources (resources)

\n\n
resources :photos\n\n# PhotosController:\n# index  =>    GET /photos\n# new    =>    GET /photos/new\n# create =>   POST /photos/new\n# show   =>    GET /photos/:id\n# edit   =>    GET /photos/:id/edit\n# update =>    PUT /photos/:id\n# delete => DELETE /photos/:id\n#\n# Helpers:\n# new_photo_path\n# photo_path(id)\n# edit_photo_path(id)\n
\n\n

Custom actions

\n\n
resources :photos do\n  member { get 'preview' }       # /photo/1/preview\n  collection { get 'search' }    # /photos/search\n\n  get 'preview', on: :member     # (..same as the first)\nend\n
\n\n

Options

\n\n
resources :photos,\n  path_names: { new: 'brand_new' }    # /photos/1/brand_new\n  path: 'postings'                    # /postings\n  only: :index\n  only: [:index, :show]\n  except: :show\n  except: [:index, :show]\n\n  shallow: true                       # also generate shallow routes\n  shalow_path: 'secret'\n  shallow_prefix: 'secret'\n
\n\n

Single resource (resource)

\n\n
resource :coder\n\n# CodersController:\n# new    =>    GET /coder/new\n# create =>   POST /coder/new\n# show   =>    GET /coder\n# edit   =>    GET /coder/edit\n# update =>    PUT /coder\n# delete => DELETE /coder\n
\n\n

Matching (match)

\n\n
match 'photo/:id' => 'photos#show'  # /photo/what-is-it\nmatch 'photo/:id', id: /[0-9]+/     # /photo/0192\nmatch 'photo/:id' => 'photos#show', constraints: { id: /[0-9]+/ }\nmatch 'photo/:id', via: :get\nmatch 'photo/:id', via: [:get, :post]\n\nmatch 'photo/*path' => 'photos#unknown'    # /photo/what/ever\n\n# params[:format] == 'jpg'\nmatch 'photos/:id' => 'photos#show', :defaults => { :format => 'jpg' }\n
\n\n

Get/post

\n\n

get is the same as match via: :get.

\n\n
get 'photo/:id' => 'photos#show'\n# same as match 'photo/:id' => 'photos#show', via: :get\n\npost 'photo/:id' => 'photos#update'\n# same as match 'photo/:id' => 'photos#show', via: :post\n
\n\n

Redirection

\n\n
match '/stories' => redirect('/posts')\nmatch '/stories/:name' => redirect('/posts/%{name}')\n
\n\n

Named

\n\n
# logout_path\nmatch 'exit' => 'sessions#destroy', as: :logout\n
\n\n

Constraints

\n\n
match '/', constraints: { subdomain: 'admin' }\n\n# admin.site.com/admin/photos\nnamespace 'admin' do\n  constraints subdomain: 'admin' do\n    resources :photos\n  end\nend\n
\n\n

Custom constraints

\n\n
class BlacklistConstraint\n  def initialize\n    @ips = Blacklist.retrieve_ips\n  end\n \n  def matches?(request)\n    @ips.include?(request.remote_ip)\n  end\nend\n \nTwitterClone::Application.routes.draw do\n  match \"*path\" => \"blacklist#index\",\n    :constraints => BlacklistConstraint.new\nend\n
\n\n

Scopes

\n\n
scope 'admin', constraints: { subdomain: 'admin' } do\n  resources ...\nend\n
\n\n

Rack middleware

\n\n
# Yes, Sprockets is middleware\nmatch '/application.js' => Sprockets\n
\n\n

Route helpers

\n\n
projects_path   # /projects\nprojects_url    # http://site.com/projects\n
\n\n

Default help text

\n\n
# The priority is based upon order of creation:\n# first created -> highest priority.\n\n# Sample of regular route:\nmatch 'products/:id' => 'catalog#view'\n\n# Keep in mind you can assign values other than :controller and :action\n\n# Sample of named route:\nmatch 'products/:id/purchase' => 'catalog#purchase', :as => :purchase\n\n# This route can be invoked with purchase_url(:id => product.id)\n\n# Sample resource route (maps HTTP verbs to controller actions automatically):\nresources :products\n\n# Sample resource route with options:\nresources :products do\n  member do\n    get 'short'\n    post 'toggle'\n  end\n\n  collection do\n    get 'sold'\n  end\nend\n\n# Sample resource route with sub-resources:\nresources :products do\n  resources :comments, :sales\n  resource :seller\nend\n\n# Sample resource route with more complex sub-resources\nresources :products do\n  resources :comments\n  resources :sales do\n    get 'recent', :on => :collection\n  end\nend\n\n# Sample resource route within a namespace:\nnamespace :admin do\n  # Directs /admin/products/* to Admin::ProductsController\n  # (app/controllers/admin/products_controller.rb)\n  resources :products\nend\n\n# You can have the root of your site routed with \"root\"\n# just remember to delete public/index.html.\nroot :to => 'welcome#index'\n\n# See how all your routes lay out with \"rake routes\"\n\n# This is a legacy wild controller route that's not recommended for RESTful applications.\n# Note: This route will make all actions in every controller accessible via GET requests.\nmatch ':controller(/:action(/:id(.:format)))'\n
\n\n

References

\n\n", + "content_html": "

Resources

\n\n

Multiple resources (resources)

\n\n
resources :photos\n\n# PhotosController:\n# index  =>    GET /photos\n# new    =>    GET /photos/new\n# create =>   POST /photos/new\n# show   =>    GET /photos/:id\n# edit   =>    GET /photos/:id/edit\n# update =>    PUT /photos/:id\n# delete => DELETE /photos/:id\n#\n# Helpers:\n# new_photo_path\n# photo_path(id)\n# edit_photo_path(id)\n
\n\n

Custom actions

\n\n
resources :photos do\n  member { get 'preview' }       # /photo/1/preview\n  collection { get 'search' }    # /photos/search\n\n  get 'preview', on: :member     # (..same as the first)\nend\n
\n\n

Options

\n\n
resources :photos,\n  path_names: { new: 'brand_new' }    # /photos/1/brand_new\n  path: 'postings'                    # /postings\n  only: :index\n  only: [:index, :show]\n  except: :show\n  except: [:index, :show]\n\n  shallow: true                       # also generate shallow routes\n  shalow_path: 'secret'\n  shallow_prefix: 'secret'\n
\n\n

Single resource (resource)

\n\n
resource :coder\n\n# CodersController:\n# new    =>    GET /coder/new\n# create =>   POST /coder/new\n# show   =>    GET /coder\n# edit   =>    GET /coder/edit\n# update =>    PUT /coder\n# delete => DELETE /coder\n
\n\n

Matching (match)

\n\n
match 'photo/:id' => 'photos#show'  # /photo/what-is-it\nmatch 'photo/:id', id: /[0-9]+/     # /photo/0192\nmatch 'photo/:id' => 'photos#show', constraints: { id: /[0-9]+/ }\nmatch 'photo/:id', via: :get\nmatch 'photo/:id', via: [:get, :post]\n\nmatch 'photo/*path' => 'photos#unknown'    # /photo/what/ever\n\n# params[:format] == 'jpg'\nmatch 'photos/:id' => 'photos#show', :defaults => { :format => 'jpg' }\n
\n\n

Get/post

\n\n

get is the same as match via: :get.

\n\n
get 'photo/:id' => 'photos#show'\n# same as match 'photo/:id' => 'photos#show', via: :get\n\npost 'photo/:id' => 'photos#update'\n# same as match 'photo/:id' => 'photos#show', via: :post\n
\n\n

Redirection

\n\n
match '/stories' => redirect('/posts')\nmatch '/stories/:name' => redirect('/posts/%{name}')\n
\n\n

Named

\n\n
# logout_path\nmatch 'exit' => 'sessions#destroy', as: :logout\n
\n\n

Constraints

\n\n
match '/', constraints: { subdomain: 'admin' }\n\n# admin.site.com/admin/photos\nnamespace 'admin' do\n  constraints subdomain: 'admin' do\n    resources :photos\n  end\nend\n
\n\n

Custom constraints

\n\n
class BlacklistConstraint\n  def initialize\n    @ips = Blacklist.retrieve_ips\n  end\n \n  def matches?(request)\n    @ips.include?(request.remote_ip)\n  end\nend\n \nTwitterClone::Application.routes.draw do\n  match \"*path\" => \"blacklist#index\",\n    :constraints => BlacklistConstraint.new\nend\n
\n\n

Scopes

\n\n
scope 'admin', constraints: { subdomain: 'admin' } do\n  resources ...\nend\n
\n\n

Rack middleware

\n\n
# Yes, Sprockets is middleware\nmatch '/application.js' => Sprockets\n
\n\n

Route helpers

\n\n
projects_path   # /projects\nprojects_url    # http://site.com/projects\n
\n\n

Default help text

\n\n
# The priority is based upon order of creation:\n# first created -> highest priority.\n\n# Sample of regular route:\nmatch 'products/:id' => 'catalog#view'\n\n# Keep in mind you can assign values other than :controller and :action\n\n# Sample of named route:\nmatch 'products/:id/purchase' => 'catalog#purchase', :as => :purchase\n\n# This route can be invoked with purchase_url(:id => product.id)\n\n# Sample resource route (maps HTTP verbs to controller actions automatically):\nresources :products\n\n# Sample resource route with options:\nresources :products do\n  member do\n    get 'short'\n    post 'toggle'\n  end\n\n  collection do\n    get 'sold'\n  end\nend\n\n# Sample resource route with sub-resources:\nresources :products do\n  resources :comments, :sales\n  resource :seller\nend\n\n# Sample resource route with more complex sub-resources\nresources :products do\n  resources :comments\n  resources :sales do\n    get 'recent', :on => :collection\n  end\nend\n\n# Sample resource route within a namespace:\nnamespace :admin do\n  # Directs /admin/products/* to Admin::ProductsController\n  # (app/controllers/admin/products_controller.rb)\n  resources :products\nend\n\n# You can have the root of your site routed with \"root\"\n# just remember to delete public/index.html.\nroot :to => 'welcome#index'\n\n# See how all your routes lay out with \"rake routes\"\n\n# This is a legacy wild controller route that's not recommended for RESTful applications.\n# Note: This route will make all actions in every controller accessible via GET requests.\nmatch ':controller(/:action(/:id(.:format)))'\n
\n\n

References

\n\n", "intro_html": "", "description_html": "", "tags": null, @@ -2777,10 +2777,10 @@ "url": "/rails-tricks", "category": "Rails", "keywords": null, - "content_html": "

in config/environments/development.rb:

\n\n
# Source maps for Sass\nconfig.sass.debug_info = true\nconfig.sass.line_comments = false\n\n# Don't break apart\nconfig.assets.debug = false\n
\n\n

Partial locals

\n\n
<%= render 'article', full: true %>\n<%= render 'article' %>\n\n<% if local_assigns[:full] %>\n  ...\n<% end %>\n
\n\n

HTML in i18n

\n\n
en:\n  read_more_html: \"read <b>more</b>...\"\n
\n\n

Exception handling:

\n\n
# config/application.rb\nconfig.exceptions_app = self.routes\n\nget '/404', to: 'errors#not_found'\nget '/500', to: 'errors#server_error'\n\nclass ErrorsController\n  def not_found\n    render status: :not_found\n  end\n end\n
\n\n

Rails updating:

\n\n
rake rails:update\n
\n\n

Distinct pluck:

\n\n
Article.distinct.pluck('author')\n
\n\n

Relation#merge

\n\n
scope :with_drafts, -> {\n  uniq.joins(:articles).merge(Article.draft)\n}\n
\n\n

Order

\n\n
scope :recent, -> { order created_at: :desc }\n
\n\n

Group by month

\n\n
.group(\"to_char(created_at, 'YYYY-MM')\")\n.group(\"to_char(created_at, 'YYYY-MM')\").count\n
", + "content_html": "

Sass source maps

\n\n

in config/environments/development.rb:

\n\n
# Source maps for Sass\nconfig.sass.debug_info = true\nconfig.sass.line_comments = false\n\n# Don't break apart\nconfig.assets.debug = false\n
\n\n

Partial locals

\n\n
<%= render 'article', full: true %>\n<%= render 'article' %>\n\n<% if local_assigns[:full] %>\n  ...\n<% end %>\n
\n\n

HTML in i18n

\n\n
en:\n  read_more_html: \"read <b>more</b>...\"\n
\n\n

Exception handling

\n\n
# config/application.rb\nconfig.exceptions_app = self.routes\n\nget '/404', to: 'errors#not_found'\nget '/500', to: 'errors#server_error'\n\nclass ErrorsController\n  def not_found\n    render status: :not_found\n  end\n end\n
\n\n

Rails updating

\n\n
rake rails:update\n
\n\n

Distinct pluck

\n\n
Article.distinct.pluck('author')\n
\n\n

Relation#merge

\n\n
scope :with_drafts, -> {\n  uniq.joins(:articles).merge(Article.draft)\n}\n
\n\n

Order

\n\n
scope :recent, -> { order created_at: :desc }\n
\n\n

Group by month

\n\n
.group(\"to_char(created_at, 'YYYY-MM')\")\n.group(\"to_char(created_at, 'YYYY-MM')\").count\n
", "intro_html": "", "description_html": "", - "tags": null, + "tags": ["Archived"], "updated": null },{ "id": "rails", @@ -3360,7 +3360,7 @@ "url": "/tape", "category": "JavaScript libraries", "keywords": null, - "content_html": "
test('things', (t) => {\n  t.plan(1)\n\n  t.equal('actual', 'expected')\n  t.equal('actual', 'expected', 'should be equal') // messages are optional\n\n  t.end(err)\n  t.fail('msg')\n  t.pass('msg')\n  t.timeoutAfter(2000)\n  t.skip('msg')\n\n  t.ok(value, 'is truthy')\n  t.notOk(value, 'is falsy')\n  t.error(err, 'is falsy (print err.message)')\n\n  t.equal(actual, expected, 'is equal')\n  t.notEqual\n\n  t.deepEqual(actual, expected, 'is equal (use node's deepEqual)')\n  t.notDeepEqual\n\n  t.looseEqual(actual, expected, 'is equal (use node's deepEqual with ==)')\n  t.notLooseEqual\n\n  t.throws(fn, /FooError/)\n  t.throws(fn, FooError /* class */)\n  t.doesNotThrow\n\n  t.comment('message')\n})\n
\n\n
test.only((t) => { ... })\n
", + "content_html": "

Example

\n\n
test('things', (t) => {\n  t.plan(1)\n\n  t.equal('actual', 'expected')\n  t.equal('actual', 'expected', 'should be equal') // messages are optional\n\n  t.end(err)\n  t.fail('msg')\n  t.pass('msg')\n  t.timeoutAfter(2000)\n  t.skip('msg')\n\n  t.ok(value, 'is truthy')\n  t.notOk(value, 'is falsy')\n  t.error(err, 'is falsy (print err.message)')\n\n  t.equal(actual, expected, 'is equal')\n  t.notEqual\n\n  t.deepEqual(actual, expected, 'is equal (use node's deepEqual)')\n  t.notDeepEqual\n\n  t.looseEqual(actual, expected, 'is equal (use node's deepEqual with ==)')\n  t.notLooseEqual\n\n  t.throws(fn, /FooError/)\n  t.throws(fn, FooError /* class */)\n  t.doesNotThrow\n\n  t.comment('message')\n})\n
\n\n
test.only((t) => { ... })\n
", "intro_html": "", "description_html": "", "tags": null, diff --git a/datetime.html b/datetime.html index ec8c10878..9a891b41c 100644 --- a/datetime.html +++ b/datetime.html @@ -33,8 +33,8 @@ - - + + @@ -103,11 +103,11 @@ gtag('config','UA-106902774-1'); @@ -1038,7 +1038,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/deis.html b/deis.html index 6071f5cf7..48c79deda 100644 --- a/deis.html +++ b/deis.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -399,6 +399,8 @@ deis limits:set web=1024 --cpu cheatsheet + + @@ -548,7 +550,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/deku.html b/deku.html index d21caa6c6..cc5c412cb 100644 --- a/deku.html +++ b/deku.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -538,7 +538,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/deku@1.html b/deku@1.html index 99e732902..90e13d7a7 100644 --- a/deku@1.html +++ b/deku@1.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -584,7 +584,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/deprecated/bower-api.html b/deprecated/bower-api.html index c0dba17d5..0308bb4de 100644 --- a/deprecated/bower-api.html +++ b/deprecated/bower-api.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -519,7 +519,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/devise.html b/devise.html index 9d766c870..829b0cb9b 100644 --- a/devise.html +++ b/devise.html @@ -1,7 +1,7 @@ - - - + + + @@ -33,8 +33,8 @@ - - + + @@ -85,25 +85,26 @@ gtag('config','UA-106902774-1'); - + - - - - - - -
- + + + + + + + @@ -141,13 +142,52 @@ gtag('config','UA-106902774-1'); -
-
-
-

-

Devise

+ -
+ + + + +
+
+ -
-

Devise is a flexible authentication + + + + + + +

+

About

+ +

Devise is a flexible authentication gem.

-

Installation

+ + +

Installation

Rails 3: Add the following to your Gemfile

@@ -188,7 +241,7 @@ $ rake db:migrate
$ rails generate devise:views
 
-

Helpers

+

Helpers

user_signed_in?
 current_user
@@ -199,7 +252,7 @@ edit_user_registration_path (Edit registration)
 new_user_registration_path (Register new user)
 
-

Controller stuff

+

Controller stuff

before_filter :authenticate_user!
 
@@ -287,55 +340,305 @@ end

Test helpers

+

Test helpers

+
include Devise::TestHelpers
-https://github.com/plataformatec/devise/blob/1094ba65aac1d37713f2cba71f9edad76b5ca274/lib/devise/test_helpers.rb
 
 sign_in @user
 sign_out @user
 
+

See: https://github.com/plataformatec/devise/blob/1094ba65aac1d37713f2cba71f9edad76b5ca274/lib/devise/test_helpers.rb

+ +
+
+ + + + + +
+
+
+ + + 0 Comments + + for this cheatsheet. + Write yours! + +
+
+
+
+
+
+ +
- -
+ -
- + - + + - - - - - - diff --git a/divshot.html b/divshot.html index 208eebaa2..c98a5417e 100644 --- a/divshot.html +++ b/divshot.html @@ -33,8 +33,8 @@ - - + + @@ -103,11 +103,11 @@ gtag('config','UA-106902774-1'); @@ -619,7 +619,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/do.html b/do.html index affa4dba3..32a96d2ab 100644 --- a/do.html +++ b/do.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -595,7 +595,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/docker-compose.html b/docker-compose.html index c7e546293..d15b025de 100644 --- a/docker-compose.html +++ b/docker-compose.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -560,6 +560,8 @@ user: 0:0 cheatsheet + + @@ -723,7 +725,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/docker.html b/docker.html index 31ba0cccc..9c9c78584 100644 --- a/docker.html +++ b/docker.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -501,6 +501,8 @@ docker container prune cheatsheet + + @@ -650,7 +652,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/dockerfile.html b/dockerfile.html index 48098e319..c9c666964 100644 --- a/dockerfile.html +++ b/dockerfile.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -432,6 +432,8 @@ that label-values can span multiple lines." cheatsheet + + @@ -581,7 +583,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/dom-range.html b/dom-range.html index 44db1eac1..c7688b353 100644 --- a/dom-range.html +++ b/dom-range.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -556,7 +556,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/dom-selection.html b/dom-selection.html index 63711385f..06e78f377 100644 --- a/dom-selection.html +++ b/dom-selection.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -539,7 +539,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/editorconfig.html b/editorconfig.html index d93e399d8..02b5e53ba 100644 --- a/editorconfig.html +++ b/editorconfig.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -558,7 +558,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/elixir-metaprogramming.html b/elixir-metaprogramming.html index 9e1be5e5b..0f59dbce5 100644 --- a/elixir-metaprogramming.html +++ b/elixir-metaprogramming.html @@ -1,7 +1,7 @@ - - - + + + @@ -33,8 +33,8 @@ - - + + @@ -85,25 +85,26 @@ gtag('config','UA-106902774-1'); - + - - - - - - -
- + + + + + + + @@ -141,13 +142,52 @@ gtag('config','UA-106902774-1'); -
-
-
-

-

Elixir metaprogramming

+ -
+ + + + +
+
+ -
-

Kernel

+ + + + + + +
+

Kernel

Most of these magic is defined in Kernel.SpecialForms.

@@ -185,48 +232,295 @@ __CALLER__ # caller of the function
apply(Enum, :reverse, [[1, 2, 3]])
 
+
+
+ + + + + +
+
+
+ + + 0 Comments + + for this cheatsheet. + Write yours! + +
+
+
+
+
+
+ +
- -
+ -
- + - + + - - - - - - diff --git a/elixir.html b/elixir.html index 5efb302db..f329f742e 100644 --- a/elixir.html +++ b/elixir.html @@ -33,8 +33,8 @@ - - + + @@ -103,11 +103,11 @@ gtag('config','UA-106902774-1'); @@ -1198,7 +1198,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/emacs.html b/emacs.html index 4045948dc..f99584ce9 100644 --- a/emacs.html +++ b/emacs.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -516,7 +516,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/ember.html b/ember.html index 188655984..aad8e47bc 100644 --- a/ember.html +++ b/ember.html @@ -33,8 +33,8 @@ - - + + @@ -103,11 +103,11 @@ gtag('config','UA-106902774-1'); @@ -566,7 +566,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/emmet.html b/emmet.html index b39b5fe5f..5b76d10a5 100644 --- a/emmet.html +++ b/emmet.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -653,7 +653,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/enzyme.html b/enzyme.html index 585f17343..c3abc7770 100644 --- a/enzyme.html +++ b/enzyme.html @@ -33,8 +33,8 @@ - - + + @@ -103,11 +103,11 @@ gtag('config','UA-106902774-1'); @@ -610,6 +610,8 @@ wrap.containsAnyMatchingElements([ <div /> ]) // → boolean cheatsheet + + @@ -745,7 +747,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/enzyme@2.html b/enzyme@2.html index 815107d2e..486df48ae 100644 --- a/enzyme@2.html +++ b/enzyme@2.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -476,6 +476,8 @@ wrap.containsAnyMatchingElements([ <div /> ]) // => boolean cheatsheet + + @@ -611,7 +613,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/es6.html b/es6.html index 1c50c0016..925b5d54e 100644 --- a/es6.html +++ b/es6.html @@ -33,8 +33,8 @@ - - + + @@ -103,11 +103,11 @@ gtag('config','UA-106902774-1'); @@ -972,7 +972,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/ets.html b/ets.html index 5cfe6fb09..8fd0d2916 100644 --- a/ets.html +++ b/ets.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -543,7 +543,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/expectjs.html b/expectjs.html index 85da71c2a..6781fe529 100644 --- a/expectjs.html +++ b/expectjs.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -581,7 +581,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/express.html b/express.html index ce9e169a5..a1c968765 100644 --- a/express.html +++ b/express.html @@ -33,8 +33,8 @@ - - + + @@ -90,9 +90,9 @@ gtag('config','UA-106902774-1'); - - - + + +
@@ -114,7 +114,7 @@ gtag('config','UA-106902774-1'); "@id": "https://google.com/article" }, "headline": "Express.js cheatsheet", - "image": [ "https://assets.devhints.io/previews/express.jpg?t=20230314041559" ], + "image": [ "https://assets.devhints.io/previews/express.jpg?t=20230314044132" ], "description": "The one-page guide to Express.js: usage, examples, links, snippets, and more." } diff --git a/exunit.html b/exunit.html index 3c3290ea8..bbc9d3a87 100644 --- a/exunit.html +++ b/exunit.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -585,7 +585,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/factory_bot.html b/factory_bot.html index 2ccc9049b..2fcf43599 100644 --- a/factory_bot.html +++ b/factory_bot.html @@ -33,8 +33,8 @@ - - + + @@ -103,11 +103,11 @@ gtag('config','UA-106902774-1'); @@ -680,7 +680,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/fastify.html b/fastify.html index ec8ef87f5..18396a15d 100644 --- a/fastify.html +++ b/fastify.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -775,7 +775,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/ffaker.html b/ffaker.html index 66f7a9203..aabfb2dfc 100644 --- a/ffaker.html +++ b/ffaker.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -972,7 +972,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/ffmpeg.html b/ffmpeg.html index 340b3bd17..1d286778c 100644 --- a/ffmpeg.html +++ b/ffmpeg.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -550,7 +550,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/figlet.html b/figlet.html index 9c283e23e..270067b8a 100644 --- a/figlet.html +++ b/figlet.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -2496,7 +2496,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/find.html b/find.html index 6206ca05c..a5ea03109 100644 --- a/find.html +++ b/find.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -568,7 +568,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/firebase.html b/firebase.html index 492436a27..2bb1feac9 100644 --- a/firebase.html +++ b/firebase.html @@ -33,8 +33,8 @@ - - + + @@ -103,11 +103,11 @@ gtag('config','UA-106902774-1'); @@ -573,7 +573,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/firefox.html b/firefox.html index 0e88e59d0..2bb18c2f3 100644 --- a/firefox.html +++ b/firefox.html @@ -1,7 +1,7 @@ - - - + + + @@ -33,8 +33,8 @@ - - + + @@ -67,6 +67,10 @@ + + + + - + - - - - - - -
- + + + + + + + @@ -141,13 +146,52 @@ gtag('config','UA-106902774-1'); -
-
-
-

-

Firefox

+ -
+ + + + +
+
+ -
-

Firefox 31 (July 2014)

+ + + + + + +
+

Firefox 31 (July 2014)

  • CSS: variables
  • @@ -329,48 +380,295 @@ gtag('config','UA-106902774-1');
  • Firefox releases
+
+
+ + + + + +
+
+
+ + + 0 Comments + + for this cheatsheet. + Write yours! + +
+
+
+
+
+
+ +
- -
+ -
- + - + + - - - - - - diff --git a/fish-shell.html b/fish-shell.html index 023a8bd5a..c3a629c2e 100644 --- a/fish-shell.html +++ b/fish-shell.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -1020,7 +1020,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/fitness/general.html b/fitness/general.html index bc5428fa2..df536d0ad 100644 --- a/fitness/general.html +++ b/fitness/general.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -519,7 +519,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/fitness/micronutrients.html b/fitness/micronutrients.html index 851108ef0..849254852 100644 --- a/fitness/micronutrients.html +++ b/fitness/micronutrients.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -597,7 +597,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/fitness/phat.html b/fitness/phat.html index 34f23218f..b494a6c03 100644 --- a/fitness/phat.html +++ b/fitness/phat.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -743,7 +743,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/flashlight.html b/flashlight.html index 8d4ce77f0..55b17c600 100644 --- a/flashlight.html +++ b/flashlight.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -544,7 +544,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/flow.html b/flow.html index c86b151ec..5edd2e5e4 100644 --- a/flow.html +++ b/flow.html @@ -33,8 +33,8 @@ - - + + @@ -103,11 +103,11 @@ gtag('config','UA-106902774-1'); @@ -875,7 +875,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/flux.html b/flux.html index bca0712a3..5acb1c4ee 100644 --- a/flux.html +++ b/flux.html @@ -1,7 +1,7 @@ - - - + + + @@ -33,8 +33,8 @@ - - + + @@ -85,25 +85,26 @@ gtag('config','UA-106902774-1'); - + - - - - - - -
- + + + + + + + @@ -141,13 +142,52 @@ gtag('config','UA-106902774-1'); -
-
-
-

-

Flux architecture

+ -
+ + + + +
+
+ -
-

Architecture

+ + + + + + +
+

About

+ +

About

+ +

Flux is an architecture for building client-side web applications.

+ + + +

Architecture

  • @@ -340,48 +397,295 @@ d.register(function (data) {
+
+
+ + + + + +
+
+
+ + + 0 Comments + + for this cheatsheet. + Write yours! + +
+
+
+
+
+
+ +
- -
+ -
- + - + + - - - - - - diff --git a/flynn.html b/flynn.html index 9d52de671..8872a3955 100644 --- a/flynn.html +++ b/flynn.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -432,6 +432,8 @@ flynn meta set foo=baz cheatsheet + + @@ -581,7 +583,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/freenode.html b/freenode.html index f7dc15738..b42ff449e 100644 --- a/freenode.html +++ b/freenode.html @@ -33,8 +33,8 @@ - - + + @@ -103,11 +103,11 @@ gtag('config','UA-106902774-1'); @@ -519,7 +519,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/frequency-separation-retouching.html b/frequency-separation-retouching.html index aa30aecc8..8fb7201a3 100644 --- a/frequency-separation-retouching.html +++ b/frequency-separation-retouching.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -523,7 +523,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/gh-pages.html b/gh-pages.html index 9d40be178..c8a5539ca 100644 --- a/gh-pages.html +++ b/gh-pages.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -473,7 +473,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/git-branch.html b/git-branch.html index a7b1baa62..c5ab3fa89 100644 --- a/git-branch.html +++ b/git-branch.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -456,6 +456,8 @@ git push --force cheatsheet + + @@ -577,7 +579,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/git-extras.html b/git-extras.html index 1974366a8..87cdda329 100644 --- a/git-extras.html +++ b/git-extras.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -447,6 +447,8 @@ $ git unlock config/database.yml cheatsheet + + @@ -568,7 +570,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/git-log-format.html b/git-log-format.html index 1161ab419..0b1207371 100644 --- a/git-log-format.html +++ b/git-log-format.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -633,6 +633,8 @@ gtag('config','UA-106902774-1'); cheatsheet + + @@ -754,7 +756,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/git-log.html b/git-log.html index 844297a22..db7619fe6 100644 --- a/git-log.html +++ b/git-log.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -457,6 +457,8 @@ git log v2.0...master # reachable from *master* and *v2.0*, but not both cheatsheet + + @@ -578,7 +580,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/git-revisions.html b/git-revisions.html index 2d6b2d601..852cc9a64 100644 --- a/git-revisions.html +++ b/git-revisions.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -639,6 +639,8 @@ gtag('config','UA-106902774-1'); cheatsheet + + @@ -760,7 +762,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/git-tricks.html b/git-tricks.html index 0a2ce8560..2053409d7 100644 --- a/git-tricks.html +++ b/git-tricks.html @@ -1,7 +1,7 @@ - - - + + + @@ -33,8 +33,8 @@ - - + + @@ -85,25 +85,26 @@ gtag('config','UA-106902774-1'); - + - - - - - - -
- + + + + + + + @@ -141,13 +142,52 @@ gtag('config','UA-106902774-1'); -
-
-
-

-

Git tricks

+ -
+ + + + +
+
+ -
-

Refs

+ + + + + + +
+

Refs

HEAD^       # 1 commit before head
 HEAD^^      # 2 commits before head
 HEAD~5      # 5 commits before head
 
-

Branches

+

Branches

# create a new branch
   git checkout -b $branchname
@@ -190,7 +237,7 @@ HEAD~5      # 5 commits before head
   git checkout -
 
-

Collaboration

+

Collaboration

# Rebase your changes on top of the remote master
   git pull --rebase upstream master
@@ -202,6 +249,8 @@ HEAD~5      # 5 commits before head
 
 

Submodules

+

Submodules

+
# Import .gitmodules
   git submodule init
 
@@ -230,6 +279,8 @@ app/b.txt    | 8 ++----
 
 

Log options

+

Options

+
--oneline
   e11e9f9 Commit message here
 
@@ -296,14 +347,14 @@ git bisect bad    # current version is bad
 git bisect reset  # abort
 
-

Searching

+

Searching

git log --grep="fixes things"  # search in commit messages
 git log -S"window.alert"       # search in code
 git log -G"foo.*"              # search in code (regex)
 
-

GPG Signing

+

GPG signing

git config set user.signingkey <GPG KEY ID>       # Sets GPG key to use for signing
 
@@ -314,48 +365,295 @@ git commit -m "Implement feature Y" --no-gpg-sign # Do not sign
 
+
+
+ + + + + +
+
+
+ + + 0 Comments + + for this cheatsheet. + Write yours! + +
+
+
+
+
+
+ +
- -
+ -
- + - + + - - - - - - diff --git a/gnupg.html b/gnupg.html index a6b7d513e..4620ac55c 100644 --- a/gnupg.html +++ b/gnupg.html @@ -33,8 +33,8 @@ - - + + @@ -101,11 +101,11 @@ gtag('config','UA-106902774-1'); @@ -767,7 +767,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/go.html b/go.html index 0d120d634..86f5b081e 100644 --- a/go.html +++ b/go.html @@ -33,8 +33,8 @@ - - + + @@ -103,11 +103,11 @@ gtag('config','UA-106902774-1'); @@ -1031,7 +1031,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/goby.html b/goby.html index 392329352..9a6e9dd7d 100644 --- a/goby.html +++ b/goby.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -1799,7 +1799,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/google-webfonts.html b/google-webfonts.html index 16435bb04..b5b1441b7 100644 --- a/google-webfonts.html +++ b/google-webfonts.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -516,7 +516,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/google_analytics.html b/google_analytics.html index 6e41d5f4e..683f4d0f8 100644 --- a/google_analytics.html +++ b/google_analytics.html @@ -33,8 +33,8 @@ - - + + @@ -103,11 +103,11 @@ gtag('config','UA-106902774-1'); @@ -532,7 +532,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/graphql.html b/graphql.html index 93de17d70..13da647e0 100644 --- a/graphql.html +++ b/graphql.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -727,7 +727,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/gremlins.html b/gremlins.html index a97368b0c..ee61e7bfe 100644 --- a/gremlins.html +++ b/gremlins.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -572,7 +572,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/grep.html b/grep.html index c25db25cf..24a242ea7 100644 --- a/grep.html +++ b/grep.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -582,7 +582,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/gulp.html b/gulp.html index 8953989b6..f33b48acc 100644 --- a/gulp.html +++ b/gulp.html @@ -1,7 +1,7 @@ - - - + + + @@ -33,8 +33,8 @@ - - + + @@ -67,6 +67,10 @@ + + + + - + - - - - - - -
- + + + + + + + @@ -141,13 +146,52 @@ gtag('config','UA-106902774-1'); -
-
-
-

-

Gulp

+ -
+ + + + +
+
+ -
-
    + + + + + + +
    +

    Available plugins

    + +
    • gulp-ruby-sass
    • gulp-autoprefixer
    • gulp-minify-css
    • @@ -297,48 +350,295 @@ app.use(require('connect-livereload')()) <!-- livereload --><script>document.write('<script src="'+(location.protocol||'http:')+'//'+(location.hostname||'localhost')+':35729/livereload.js?snipver=1"><\/scr'+'ipt>')</script> +
    +
+ + + + + +
+
+
+ + + 0 Comments + + for this cheatsheet. + Write yours! + +
+
+
+
+
+
+ +
- -
+ -
- + - + + - - - - - - diff --git a/haml.html b/haml.html index fa9025741..47403ea60 100644 --- a/haml.html +++ b/haml.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -535,7 +535,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/handlebars.js.html b/handlebars.js.html index 65a53af19..a0debd271 100644 --- a/handlebars.js.html +++ b/handlebars.js.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -517,7 +517,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/harvey.js.html b/harvey.js.html index 26af93781..7ce494288 100644 --- a/harvey.js.html +++ b/harvey.js.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -523,7 +523,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/heroku.html b/heroku.html index ab4e3bfe9..005380439 100644 --- a/heroku.html +++ b/heroku.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -520,6 +520,8 @@ Require valid-user cheatsheet + + @@ -669,7 +671,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/hledger.html b/hledger.html index 1c6ee08b5..694b2f74c 100644 --- a/hledger.html +++ b/hledger.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -492,6 +492,8 @@ hledger stats cheatsheet + + @@ -504,6 +506,8 @@ hledger stats cheatsheet + + @@ -516,6 +520,8 @@ hledger stats cheatsheet + + @@ -651,7 +657,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/homebrew.html b/homebrew.html index 0d309ef0e..e9a7037d9 100644 --- a/homebrew.html +++ b/homebrew.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -638,7 +638,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/html-email.html b/html-email.html index b74496887..1cfb22571 100644 --- a/html-email.html +++ b/html-email.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -621,7 +621,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/html-input.html b/html-input.html index 0e1b60338..b0a30a723 100644 --- a/html-input.html +++ b/html-input.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -665,7 +665,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/html-meta.html b/html-meta.html index 27c5a782d..941153eb8 100644 --- a/html-meta.html +++ b/html-meta.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -623,7 +623,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/html-microformats.html b/html-microformats.html index 890bcc98a..3c2f2c904 100644 --- a/html-microformats.html +++ b/html-microformats.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -507,7 +507,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/html-share.html b/html-share.html index d56e21075..9912125d5 100644 --- a/html-share.html +++ b/html-share.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -510,7 +510,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/html.html b/html.html index bb681ce7d..758472f52 100644 --- a/html.html +++ b/html.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -610,7 +610,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/http-status.html b/http-status.html index 81f64ee9c..95aa15d1a 100644 --- a/http-status.html +++ b/http-status.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -838,7 +838,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/httpie.html b/httpie.html index 14def0400..b28d05b57 100644 --- a/httpie.html +++ b/httpie.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -580,7 +580,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/ie.html b/ie.html index a60eaa41b..14c675c76 100644 --- a/ie.html +++ b/ie.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -1142,7 +1142,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/ie_bugs.html b/ie_bugs.html index 1f550894f..1f4b0e0e0 100644 --- a/ie_bugs.html +++ b/ie_bugs.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -522,7 +522,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/imagemagick.html b/imagemagick.html index fee24e1d1..264298914 100644 --- a/imagemagick.html +++ b/imagemagick.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -569,7 +569,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/immutable.js.html b/immutable.js.html index 3b6fb1440..46ab63e54 100644 --- a/immutable.js.html +++ b/immutable.js.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -529,7 +529,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/index.html b/index.html index f952d8b72..2ac00b791 100644 --- a/index.html +++ b/index.html @@ -35,8 +35,8 @@ - - + + @@ -104,11 +104,11 @@ gtag('config','UA-106902774-1'); @@ -1771,6 +1771,8 @@ gtag('config','UA-106902774-1'); ansible + + Ansible @@ -6935,6 +6937,8 @@ gtag('config','UA-106902774-1'); postgresql + + PostgreSQL @@ -7345,6 +7349,8 @@ gtag('config','UA-106902774-1'); circle + + CircleCI @@ -8305,6 +8311,8 @@ gtag('config','UA-106902774-1'); elixir-metaprogramming + + Elixir metaprogramming @@ -8711,6 +8719,8 @@ gtag('config','UA-106902774-1'); phoenix-ecto@1.2 + + Phoenix: Ecto models @@ -9379,6 +9389,8 @@ gtag('config','UA-106902774-1'); git-tricks + + Git tricks @@ -12639,6 +12651,8 @@ gtag('config','UA-106902774-1'); angularjs + + Angular.js @@ -12917,6 +12931,8 @@ gtag('config','UA-106902774-1'); commander.js + + Commander.js @@ -13213,6 +13229,8 @@ gtag('config','UA-106902774-1'); gulp + + Gulp @@ -13701,6 +13719,8 @@ gtag('config','UA-106902774-1'); mocha-html + + Mocha HTML @@ -13719,6 +13739,8 @@ gtag('config','UA-106902774-1'); mocha-tdd + + Mocha.js TDD interface @@ -13855,6 +13877,8 @@ gtag('config','UA-106902774-1'); nopt + + Nopt @@ -13885,6 +13909,8 @@ gtag('config','UA-106902774-1'); parsimmon + + Parsimmon @@ -14365,6 +14391,8 @@ gtag('config','UA-106902774-1'); tape + + Tape @@ -15803,6 +15831,8 @@ gtag('config','UA-106902774-1'); ledger-examples + + Ledger examples @@ -15821,6 +15851,8 @@ gtag('config','UA-106902774-1'); ledger-format + + Ledger format @@ -15839,6 +15871,8 @@ gtag('config','UA-106902774-1'); ledger-periods + + Ledger periods @@ -20045,6 +20079,8 @@ gtag('config','UA-106902774-1'); python + + Python @@ -20335,6 +20371,8 @@ gtag('config','UA-106902774-1'); arel + + Arel @@ -20809,8 +20847,10 @@ gtag('config','UA-106902774-1'); rails-controllers + + - Controllers + Rails controllers @@ -20827,8 +20867,10 @@ gtag('config','UA-106902774-1'); rails-forms + + - Form helpers + Rails form helpers @@ -20845,8 +20887,10 @@ gtag('config','UA-106902774-1'); rails-helpers + + - Helpers + Rails helpers @@ -20863,8 +20907,10 @@ gtag('config','UA-106902774-1'); rails-i18n + + - i18n + Rails i18n @@ -20881,8 +20927,10 @@ gtag('config','UA-106902774-1'); rails-migrations + + - Migrations + Rails migrations @@ -20919,6 +20967,8 @@ gtag('config','UA-106902774-1'); rails-plugins + + Rails plugins @@ -20937,6 +20987,8 @@ gtag('config','UA-106902774-1'); rails-routes + + Routes @@ -20955,6 +21007,8 @@ gtag('config','UA-106902774-1'); rails-tricks + + Rails tricks @@ -21447,6 +21501,8 @@ gtag('config','UA-106902774-1'); flux + + Flux architecture @@ -24431,6 +24487,8 @@ gtag('config','UA-106902774-1'); projectionist + + Projectionist @@ -25747,6 +25805,8 @@ gtag('config','UA-106902774-1'); cask-index + + Caskroom index @@ -25799,6 +25859,8 @@ gtag('config','UA-106902774-1'); command_line + + Command line stuff @@ -25887,6 +25949,8 @@ gtag('config','UA-106902774-1'); devise + + Devise @@ -26013,6 +26077,8 @@ gtag('config','UA-106902774-1'); firefox + + Firefox @@ -26359,6 +26425,8 @@ gtag('config','UA-106902774-1'); lua + + Lua @@ -26381,6 +26449,8 @@ gtag('config','UA-106902774-1'); make-assets + + Make for assets @@ -27143,7 +27213,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/index@2016.html b/index@2016.html index 8c719cff5..a36305c12 100644 --- a/index@2016.html +++ b/index@2016.html @@ -33,8 +33,8 @@ - - + + @@ -90,9 +90,9 @@ gtag('config','UA-106902774-1'); - - - + + +
@@ -16985,35 +16985,35 @@ gtag('config','UA-106902774-1'); - Controllers + Rails controllers rails-controllers - Form helpers + Rails form helpers rails-forms - Helpers + Rails helpers rails-helpers - i18n + Rails i18n rails-i18n - Migrations + Rails migrations rails-migrations diff --git a/inkscape.html b/inkscape.html index 83d6a69a2..2139b6846 100644 --- a/inkscape.html +++ b/inkscape.html @@ -33,8 +33,8 @@ - - + + @@ -103,11 +103,11 @@ gtag('config','UA-106902774-1'); @@ -559,7 +559,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/ios-provision.html b/ios-provision.html index 1f223b253..691bd0c6b 100644 --- a/ios-provision.html +++ b/ios-provision.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -596,7 +596,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/jasmine.html b/jasmine.html index c152bd20f..74ded07ab 100644 --- a/jasmine.html +++ b/jasmine.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -665,7 +665,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/jekyll-github.html b/jekyll-github.html index 5ad1d74f8..ca5db662a 100644 --- a/jekyll-github.html +++ b/jekyll-github.html @@ -33,8 +33,8 @@ - - + + @@ -103,11 +103,11 @@ gtag('config','UA-106902774-1'); @@ -563,7 +563,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/jekyll.html b/jekyll.html index b7bb3bc59..a45c6c164 100644 --- a/jekyll.html +++ b/jekyll.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -1228,7 +1228,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/jest.html b/jest.html index 1165e294b..332063aea 100644 --- a/jest.html +++ b/jest.html @@ -33,8 +33,8 @@ - - + + @@ -103,11 +103,11 @@ gtag('config','UA-106902774-1'); @@ -827,7 +827,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/jinja.html b/jinja.html index 94800573c..d7ac11e08 100644 --- a/jinja.html +++ b/jinja.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -399,6 +399,8 @@ template.render(name='John Doe') == u'Hello John Doe!' cheatsheet + + @@ -520,7 +522,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/jquery-cdn.html b/jquery-cdn.html index f22c15c6c..c2803ac6c 100644 --- a/jquery-cdn.html +++ b/jquery-cdn.html @@ -33,8 +33,8 @@ - - + + @@ -103,11 +103,11 @@ gtag('config','UA-106902774-1'); @@ -502,7 +502,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/jquery.html b/jquery.html index 31568cc97..4b1095dc1 100644 --- a/jquery.html +++ b/jquery.html @@ -33,8 +33,8 @@ - - + + @@ -103,11 +103,11 @@ gtag('config','UA-106902774-1'); @@ -545,7 +545,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/js-appcache.html b/js-appcache.html index 0b90564ff..9726ed833 100644 --- a/js-appcache.html +++ b/js-appcache.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -519,7 +519,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/js-array.html b/js-array.html index b17354537..f646e76b1 100644 --- a/js-array.html +++ b/js-array.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -576,7 +576,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/js-date.html b/js-date.html index cef3eeedc..78fa0b54e 100644 --- a/js-date.html +++ b/js-date.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -714,7 +714,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/js-fetch.html b/js-fetch.html index 353c20bf9..4e159ef25 100644 --- a/js-fetch.html +++ b/js-fetch.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -572,7 +572,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/js-lazy.html b/js-lazy.html index eeea8fa9a..62b47deb6 100644 --- a/js-lazy.html +++ b/js-lazy.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -551,7 +551,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/js-model.html b/js-model.html index dc6aa88e9..afa2f44e9 100644 --- a/js-model.html +++ b/js-model.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -565,7 +565,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/js-speech.html b/js-speech.html index 5d3b4e4e3..7c7d91cf3 100644 --- a/js-speech.html +++ b/js-speech.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -508,7 +508,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/jscoverage.html b/jscoverage.html index e4d8e393e..a31986d58 100644 --- a/jscoverage.html +++ b/jscoverage.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -535,7 +535,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/jsdoc.html b/jsdoc.html index be2a48e71..69618d9ca 100644 --- a/jsdoc.html +++ b/jsdoc.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -656,7 +656,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/jshint.html b/jshint.html index 0d9baa46e..6288b0566 100644 --- a/jshint.html +++ b/jshint.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -623,7 +623,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/knex.html b/knex.html index 24f008a4b..0f73aa502 100644 --- a/knex.html +++ b/knex.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -808,6 +808,8 @@ knex migrate:rollback --env production cheatsheet + + @@ -929,7 +931,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/koa.html b/koa.html index c208cdf8a..25d07ee0e 100644 --- a/koa.html +++ b/koa.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -587,7 +587,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/kotlin.html b/kotlin.html index af42cfd0d..459586317 100644 --- a/kotlin.html +++ b/kotlin.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -766,7 +766,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/kramdown.html b/kramdown.html index ec1565da2..eeb5153c0 100644 --- a/kramdown.html +++ b/kramdown.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -565,7 +565,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/layout-thrashing.html b/layout-thrashing.html index 02517f748..7aeac0af4 100644 --- a/layout-thrashing.html +++ b/layout-thrashing.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -577,7 +577,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/ledger-csv.html b/ledger-csv.html index a9c709d5b..31219198a 100644 --- a/ledger-csv.html +++ b/ledger-csv.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -341,6 +341,8 @@ gtag('config','UA-106902774-1'); cheatsheet + + @@ -353,6 +355,8 @@ gtag('config','UA-106902774-1'); cheatsheet + + @@ -365,6 +369,8 @@ gtag('config','UA-106902774-1'); cheatsheet + + @@ -500,7 +506,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/ledger-examples.html b/ledger-examples.html index 16fa6d40c..d73511bd7 100644 --- a/ledger-examples.html +++ b/ledger-examples.html @@ -1,7 +1,7 @@ - - - + + + @@ -33,8 +33,8 @@ - - + + @@ -85,25 +85,26 @@ gtag('config','UA-106902774-1'); - + - - - - - - -
- + + + + + + + @@ -141,13 +142,52 @@ gtag('config','UA-106902774-1'); -
-
-
-

-

Ledger examples

+ -
+ + + + +
+
+ -
-

Inspecting transactions:

+ + + + + + +
+

Inspecting transactions

# show me expenses for october (--period)
   ledger r Expenses -p oct
@@ -179,7 +226,7 @@ gtag('config','UA-106902774-1');
   ledger r mastercard -b 01/25 -e 01/31
 
-

Graphing:

+

Graphing

# Graph my bank account balance, monthly
   ledger r Savings -M
@@ -191,7 +238,7 @@ gtag('config','UA-106902774-1');
   ledger r Expenses -M -n --average
 
-

Simple:

+

Simple

# what did I do yesterday?
 # ..list transactions on this day
@@ -199,54 +246,301 @@ gtag('config','UA-106902774-1');
   ledger r -p yesterday
 
-

Switches:

+

Switches

# what's everything I got in USD? (--exchange)
   ledger b Assets -X USD
 
+
+
+ + + + + +
+
+
+ + + 0 Comments + + for this cheatsheet. + Write yours! + +
+
+
+
+
+
+ +
- -
+ -
- + - + + - - - - - - diff --git a/ledger-format.html b/ledger-format.html index e21ef2559..d9120466c 100644 --- a/ledger-format.html +++ b/ledger-format.html @@ -1,7 +1,7 @@ - - - + + + @@ -33,8 +33,8 @@ - - + + @@ -85,25 +85,26 @@ gtag('config','UA-106902774-1'); - + - - - - - - -
- + + + + + + + @@ -141,13 +142,52 @@ gtag('config','UA-106902774-1'); -
-
-
-

-

Ledger format

+ -
+ + + + +
+
+ -
-
2015/01/01 Pay rent
+  
+
+  
+
+  
+
+  
+

Example

+
2015/01/01 Pay rent
   Assets:Savings     -$300
   Expenses:Rent
 
@@ -185,6 +233,9 @@ Date Flag Description ^ comment/tag

Accounts

+ +

Accounts

+

Only relevant with --strict or --pedantic

account Expenses:Food
@@ -199,6 +250,8 @@ Date       Flag    Description    ^ comment/tag
 
 

Others

+

Others

+
D $1,000.00     ; set default commodity
 
 alias Cash = Assets:Cash
@@ -213,48 +266,295 @@ include home.journal
 end
 
+
+
+ + + + + +
+
+
+ + + 0 Comments + + for this cheatsheet. + Write yours! + +
+
+
+
+
+
+ +
- -
+ -
- + - + + - - - - - - diff --git a/ledger-periods.html b/ledger-periods.html index 95cf91f66..31845a141 100644 --- a/ledger-periods.html +++ b/ledger-periods.html @@ -1,7 +1,7 @@ - - - + + + @@ -33,8 +33,8 @@ - - + + @@ -85,25 +85,26 @@ gtag('config','UA-106902774-1'); - + - - - - - - -
- + + + + + + + @@ -141,13 +142,52 @@ gtag('config','UA-106902774-1'); -
-
-
-

-

Ledger periods

+ -
+ + + + +
+
+ -
-
[INTERVAL] [BEGIN] [END]
+  
+
+  
+
+  
+
+  
+

About

+ + + +

Usage

+ +
[INTERVAL] [BEGIN] [END]
 
-

Interval:

+

Intervals

every day
 every week
@@ -184,19 +239,19 @@ quarterly
 yearly
 
-

Begin:

+

Begin

from <SPEC>
 since <SPEC>
 
-

The end time can be either of:

+

End

to <SPEC>
 until <SPEC>
 
-

Spec:

+

Spec

2004
 2004/10
@@ -209,55 +264,300 @@ next week
 last week
 
-

Examples:

+

Examples

$ ledger r -p "since last month"
 
-

See: http://ledger-cli.org/3.0/doc/ledger3.html#Period-Expressions

+
+
+ + + + +
+
+
+ + + 0 Comments + + for this cheatsheet. + Write yours! + +
+
+
+
+
+
+ +
- -
+ -
- + - + + - - - - - - diff --git a/ledger-query.html b/ledger-query.html index aa2501b8a..a8970afb7 100644 --- a/ledger-query.html +++ b/ledger-query.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -207,7 +207,13 @@ gtag('config','UA-106902774-1');
-

Query characters

+

About

+ + + +

Query characters

@@ -256,12 +262,6 @@ gtag('config','UA-106902774-1'); ledger r comment =~ /landline/ -

References

- - - @@ -397,6 +397,8 @@ ledger r comment =~ /landline/ cheatsheet + + @@ -409,6 +411,8 @@ ledger r comment =~ /landline/ cheatsheet + + @@ -421,6 +425,8 @@ ledger r comment =~ /landline/ cheatsheet + + @@ -542,7 +548,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/ledger.html b/ledger.html index ba5108be4..a7c619a41 100644 --- a/ledger.html +++ b/ledger.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -585,6 +585,8 @@ Then, when you receive the payment, you change it to:

cheatsheet + + @@ -597,6 +599,8 @@ Then, when you receive the payment, you change it to:

cheatsheet + + @@ -609,6 +613,8 @@ Then, when you receive the payment, you change it to:

cheatsheet + + @@ -744,7 +750,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/less.html b/less.html index 96c25784a..89bdad2a4 100644 --- a/less.html +++ b/less.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -534,7 +534,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/licenses.html b/licenses.html index b75bb34f9..413ee378e 100644 --- a/licenses.html +++ b/licenses.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -595,7 +595,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/linux.html b/linux.html index f7c144ca0..e5f393100 100644 --- a/linux.html +++ b/linux.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -571,7 +571,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/lodash.html b/lodash.html index de4afa15f..a8aa4ba6f 100644 --- a/lodash.html +++ b/lodash.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -705,7 +705,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/lua.html b/lua.html index ec9532e8e..bef20576e 100644 --- a/lua.html +++ b/lua.html @@ -1,7 +1,7 @@ - - - + + + @@ -33,8 +33,8 @@ - - + + @@ -85,25 +85,26 @@ gtag('config','UA-106902774-1'); - + - - - - - - -
- + + + + + + + @@ -141,13 +142,52 @@ gtag('config','UA-106902774-1'); -
-
-
-

-

Lua

+ -
+ + + + +
+
+ -
-

Comments

+ + + + + + +
+

Basic examples

+ +

References

+ + + +

Comments

-- comment
 --[[ Multiline
      comment ]]
 
-

Invoking functions

+

Invoking functions

print()
 print("Hi")
@@ -181,7 +237,7 @@ f{x=10, y=20}           <-->     f({x=10, y=20})
 type{}                  <-->     type({})
 
-

Tables / arrays

+

Tables / arrays

t = {}
 t = { a = 1, b = 2 }
@@ -196,7 +252,7 @@ print(array[2])       -- "b" (one-indexed)
 print(#array)         -- 4 (length)
 
-

Loops

+

Loops

while condition do
 end
@@ -219,7 +275,7 @@ while x do
 end
 
-

Conditionals

+

Conditionals

if condition then
   print("yes")
@@ -230,13 +286,13 @@ else
 end
 
-

Variables

+

Variables

local x = 2
 two, four = 2, 4
 
-

Functions

+

Functions

function myFunction()
   return 1
@@ -265,7 +321,7 @@ end
 doAction('write', "Shirley", "Abed")
 
-

Lookups

+

Lookups

mytable = { x = 2, y = function() .. end }
 
@@ -284,7 +340,9 @@ function X:y(z) .. end
 function X.y(self, z) .. end
 
-

Metatables

+

More concepts

+ +

Metatables

mt = {}
 
@@ -302,7 +360,7 @@ setmetatable(mytable, mt)
 print(myobject)
 
-

Classes

+

Classes

Account = {}
 
@@ -328,7 +386,7 @@ a = Account:new(9000)
 a:withdraw(200)    -- method call
 
-

Constants

+

Constants

nil
 false
@@ -337,6 +395,8 @@ true
 
 

Operators (and their metatable names)

+

Relational

+
-- Relational (binary)
 -- __eq  __lt  __gt  __le  __ge
    ==    <     >     <=    >=
@@ -349,15 +409,20 @@ true
 -- Arithmetic (unary)
 -- __unm (unary minus)
    -
+
--- Logic (and/or) +

Logic

+ +
-- Logic (and/or)
 nil and false  --> nil
 false and nil  --> false
 0 and 20       --> 20
 10 and 20      --> 20
+
+

Tables

--- Length +
-- Length
 -- __len(array)
 #array
 
@@ -378,7 +443,9 @@ t[key]=value
 -- __call(func, ...)
 
-

API: Global functions (ref)

+

API

+ +

API: Global Functions

dofile("hello.lua")
 loadfile("hello.lua")
@@ -402,7 +469,7 @@ tonumber("34")
 tonumber("8f", 16)
 
-

API: Strings

+

API: Strings

'string'..'concatenation'
 
@@ -428,7 +495,7 @@ s:byte()
 s:format()
 
-

API: Tables

+

API: Tables

table.foreach(t, function(row) ... end)
 table.setn
@@ -440,7 +507,7 @@ table.sort
 table.remove(t, 4)
 
-

API: Math (ref)

+

API: Math

math.abs     math.acos    math.asin       math.atan    math.atan2
 math.ceil    math.cos     math.cosh       math.deg     math.exp
@@ -453,7 +520,7 @@ math.sqrt(144)
 math
 
-

API: Misc

+

API: Misc

io.output(io.open("file.txt", "w"))
 io.write(x)
@@ -467,53 +534,295 @@ file:lines()
 file:close()
 
-

Reference

+
+
-

https://www.lua.org/pil/13.html - http://lua-users.org/wiki/ObjectOrientedProgramming

+ + + +
+
+
+ + + 0 Comments + + for this cheatsheet. + Write yours! + +
+
+
+
+
+
+ +
- -
+ -
- + - + + - - - - - - diff --git a/machinist.html b/machinist.html index eef7330ff..1217d7157 100644 --- a/machinist.html +++ b/machinist.html @@ -33,8 +33,8 @@ - - + + @@ -103,11 +103,11 @@ gtag('config','UA-106902774-1'); @@ -555,7 +555,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/macos-mouse-acceleration.html b/macos-mouse-acceleration.html index ca41ba147..6428bd996 100644 --- a/macos-mouse-acceleration.html +++ b/macos-mouse-acceleration.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -468,7 +468,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/make-assets.html b/make-assets.html index 597c18226..f6c048fc9 100644 --- a/make-assets.html +++ b/make-assets.html @@ -1,7 +1,7 @@ - - - + + + @@ -33,8 +33,8 @@ - - + + @@ -67,6 +67,10 @@ + + + + - + - - - - - - -
- + + + + + + + @@ -141,13 +146,52 @@ gtag('config','UA-106902774-1'); -
-
-
-

-

Make for assets

+ -
+ + + + +
+
+ -
-

Basic compiling

+ + + + + + +
+

Basic compiling

bin := ./node_modules/.bin
 
@@ -170,7 +221,7 @@ build/%.js: src/%.coffee
     @$(bin)/coffee < $^ > $@
 
-

Stylus + Autoprefixer

+

Stylus + Autoprefixer

bin := ./node_modules/.bin
 stylus := $(bin)/stylus
@@ -185,20 +236,20 @@ public/app.css: css/app.styl
     @$(stylus) $< | $(autoprefixer) -b "> 1%" > $@
 
-

Hint

+

Hint

hint:
    $(js_files)
 
-

Watching

+

Watching

watch:
     @echo "... watching for changes"
     @while true; do make -s; sleep 1; done
 
-

Browserify

+

Browserify

js_files := $(shell find web/ -name "*.js")
 
@@ -209,50 +260,295 @@ public/%.js: web/%.js $(js_files)
     $(browserify) -t [ cssify -x .css ] $< > $@
 
+
+
+ + + + + +
+
+
+ + + 0 Comments + + for this cheatsheet. + Write yours! + +
+
+
+
+
+
+ +
- -
+ -
- + - + + - - - - - - - - diff --git a/makefile.html b/makefile.html index d308ea7dd..ebbefbcc0 100644 --- a/makefile.html +++ b/makefile.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -207,7 +207,7 @@ gtag('config','UA-106902774-1');
-

Var assignment

+

Var assignment

foo  = "bar"
 bar  = $(foo) foo  # dynamic (renewing) assignment
@@ -220,7 +220,7 @@ foo != echo fooo   # exec shell command and assign to foo
 
 

= expressions are only evaluated when they’re being used.

-

Magic variables

+

Magic variables

out.o: src.c src.h
   $@   # "out.o" (target)
@@ -238,7 +238,7 @@ also:
   $(@D) # target directory
 
-

Command prefixes

+

Command prefixes

@@ -270,13 +270,13 @@ also: -include .depend -

Find files

+

Find files

js_files  := $(wildcard test/*.js)
 all_files := $(shell find images -name "*")
 
-

Substitutions

+

Substitutions

file     = $(SOURCE:.cpp=.o)   # foo.cpp => foo.o
 outputs  = $(files:src/%.coffee=lib/%.js)
@@ -285,7 +285,7 @@ outputs  = $(patsubst %.c, %.o, $(wildcard *.c))
 assets   = $(patsubst images/%, assets/%, $(wildcard images/*))
 
-

More functions

+

More functions

$(strip $(string_var))
 
@@ -293,19 +293,19 @@ $(filter %.less, $(files))
 $(filter-out %.less, $(files))
 
-

Building files

+

Building files

%.o: %.c
   ffmpeg -i $< > $@   # Input and output
   foo $^
 
-

Includes

+

Includes

-include foo.make
 
-

Options

+

Options

make
   -e, --environment-overrides
@@ -314,7 +314,7 @@ $(filter-out %.less, $(files))
   -j, --jobs=N   # parallel processing
 
-

Conditionals

+

Conditionals

foo: $(objects)
 ifeq ($(CC),gcc)
@@ -324,13 +324,13 @@ else
 endif
 
-

Recursive

+

Recursive

deploy:
   $(MAKE) deploy2
 
-

Further reading

+

Further reading

  • isaacs’s Makefile
  • @@ -624,7 +624,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/mako.html b/mako.html index dad982adc..6e2153e34 100644 --- a/mako.html +++ b/mako.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -415,6 +415,8 @@ print(mytemplate.render(name="jack")) cheatsheet + + @@ -536,7 +538,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/man.html b/man.html index e682b0b0f..ee7170532 100644 --- a/man.html +++ b/man.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -540,7 +540,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/markdown.html b/markdown.html index e48425e98..6bcbe8517 100644 --- a/markdown.html +++ b/markdown.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -623,7 +623,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/meow.html b/meow.html index 60c45a092..0edca1ba4 100644 --- a/meow.html +++ b/meow.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -545,7 +545,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/meta-tags.html b/meta-tags.html index f3365bc3b..3328314c6 100644 --- a/meta-tags.html +++ b/meta-tags.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -577,7 +577,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/middleman.html b/middleman.html index 1f4307176..26f235a01 100644 --- a/middleman.html +++ b/middleman.html @@ -33,8 +33,8 @@ - - + + @@ -103,11 +103,11 @@ gtag('config','UA-106902774-1'); @@ -586,7 +586,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/minimist.html b/minimist.html index a66d9a7af..46f4dee0e 100644 --- a/minimist.html +++ b/minimist.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -564,7 +564,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/minitest.html b/minitest.html index dbe63309b..64fd2a3f0 100644 --- a/minitest.html +++ b/minitest.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -610,7 +610,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/mixpanel.html b/mixpanel.html index d66a502ae..b370fc2c3 100644 --- a/mixpanel.html +++ b/mixpanel.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -459,7 +459,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/mobx.html b/mobx.html index ea5da90a5..445409d1b 100644 --- a/mobx.html +++ b/mobx.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -608,7 +608,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/mocha-blanket.html b/mocha-blanket.html index 67c85fc32..f760449a2 100644 --- a/mocha-blanket.html +++ b/mocha-blanket.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -548,7 +548,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/mocha-html.html b/mocha-html.html index 38d01fa30..a96dc7b40 100644 --- a/mocha-html.html +++ b/mocha-html.html @@ -1,7 +1,7 @@ - - - + + + @@ -33,8 +33,8 @@ - - + + @@ -85,25 +85,26 @@ gtag('config','UA-106902774-1'); - + - - - - - - -
    - + + + + + + + @@ -141,13 +142,52 @@ gtag('config','UA-106902774-1'); -
    -
    -
    -

    -

    Mocha HTML

    + -
    + + + + +
    +
    + -
    -

    This is a mocha template that loads js/css from cdn.

    + + + + + + +
    +

    About

    + +

    This is a mocha template that loads js/css from cdn.

    + +

    Template

    <!doctype html>
     <html>
    @@ -186,48 +237,295 @@ gtag('config','UA-106902774-1');
     </html>
     
    +
    +
    + + + + + +
    +
    +
    + + + 0 Comments + + for this cheatsheet. + Write yours! + +
    +
    +
    +
    +
    +
    + +
    - -
    + -
    - + - + + - - - - - - diff --git a/mocha-tdd.html b/mocha-tdd.html index d77445981..5ae3e317b 100644 --- a/mocha-tdd.html +++ b/mocha-tdd.html @@ -1,7 +1,7 @@ - - - + + + @@ -33,8 +33,8 @@ - - + + @@ -85,25 +85,26 @@ gtag('config','UA-106902774-1'); - + - - - - - - -
    - + + + + + + + @@ -141,13 +142,52 @@ gtag('config','UA-106902774-1'); -
    -
    -
    -

    -

    Mocha.js TDD interface

    + -
    + + + + +
    +
    + -
    -

    TDD

    + + + + + + +
    +

    TDD

    mocha.setup('tdd');
     
    @@ -207,48 +254,295 @@ expect(tea).to.have.property('flavors').with.length(3);
       
  • Sinon Chai
+ + + + + + + +
+
+
+ + + 0 Comments + + for this cheatsheet. + Write yours! + +
+
+
+
+
+
+ +
- -
+
@@ -250,52 +299,299 @@ gtag('config','UA-106902774-1');
Command
-

Reference

+

Reference

See vim-projectionist.

+
+
+ + + + + +
+
+
+ + + 0 Comments + + for this cheatsheet. + Write yours! + +
+
+
+
+
+
+ +
- -
+ -
- + - + + - - - - - - diff --git a/promise.html b/promise.html index 0a77d02e1..95b5dcfbf 100644 --- a/promise.html +++ b/promise.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -564,7 +564,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/pry.html b/pry.html index 5226e5c56..acde56d93 100644 --- a/pry.html +++ b/pry.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -644,7 +644,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/psdrb.html b/psdrb.html index 9dbf17d70..d4b83a163 100644 --- a/psdrb.html +++ b/psdrb.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -591,7 +591,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/pug.html b/pug.html index d826ec95b..4b91bd6a8 100644 --- a/pug.html +++ b/pug.html @@ -33,8 +33,8 @@ - - + + @@ -103,11 +103,11 @@ gtag('config','UA-106902774-1'); @@ -656,7 +656,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/python.html b/python.html index 2dbe0033f..50dcffa71 100644 --- a/python.html +++ b/python.html @@ -1,7 +1,7 @@ - - - + + + @@ -33,8 +33,8 @@ - - + + @@ -85,25 +85,26 @@ gtag('config','UA-106902774-1'); - + - - - - - - -
- + + + + + + + @@ -141,13 +142,52 @@ gtag('config','UA-106902774-1'); -
-
-
-

-

Python

+ -
+ + + + +
+
+ -
-

Tuples (immutable)

+ + + + + + +
+

Tuples (immutable)

tuple = ()
 
@@ -326,48 +373,239 @@ file.close() # It closes the file automatically at the end of scope, no need for `file.close()`. +
+
+ + + + + +
+
+
+ + + 0 Comments + + for this cheatsheet. + Write yours! + +
+
+
+
+
+
+ +
- -
+ -
-
-

- Devhints.io cheatsheets is a collection of cheatsheets I've written over the years. - Suggestions and corrections? Send them in. - - I'm Rico Sta. Cruz. - Check out my Today I learned blog for more. -

- -

- -

- -

-

+ +
+ - + + - - - - - - diff --git a/qjs.html b/qjs.html index c22e76305..7385096c3 100644 --- a/qjs.html +++ b/qjs.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -571,7 +571,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/qunit.html b/qunit.html index 7a8d4b24d..fcaf6ea06 100644 --- a/qunit.html +++ b/qunit.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -533,7 +533,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/rack-test.html b/rack-test.html index 28716e2db..1eed46874 100644 --- a/rack-test.html +++ b/rack-test.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -511,7 +511,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/ractive.html b/ractive.html index d654654a8..0fa64f872 100644 --- a/ractive.html +++ b/ractive.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -751,7 +751,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/rails-controllers.html b/rails-controllers.html index aec28fe42..31be0fc98 100644 --- a/rails-controllers.html +++ b/rails-controllers.html @@ -1,7 +1,7 @@ - - - + + + @@ -26,23 +26,23 @@ - Controllers cheatsheet - - + Rails controllers cheatsheet + + - - + + - - - + + + @@ -85,25 +85,26 @@ gtag('config','UA-106902774-1'); - + - - - - - - -
- + + + + + + + -
-
-
-

-

Controllers

+ -
+ + + + +
+
+ -
-

Common stuff

+ + + + + + +
+

Common stuff

redirect_to root_url
 redirect_to root_url, notice: "Good."
@@ -325,48 +372,295 @@ send_file Rails.root.join('public','filename.txt') [filename: '..', type: '..']
   
  • HttpAuthentication::Token
  • +
    +
    + + + + + +
    +
    +
    + + + 0 Comments + + for this cheatsheet. + Write yours! + +
    +
    +
    +
    +
    +
    + +
    - -
    + -
    - + - + + - - - - - - diff --git a/rails-forms.html b/rails-forms.html index fd32c7913..f2559dd2f 100644 --- a/rails-forms.html +++ b/rails-forms.html @@ -1,7 +1,7 @@ - - - + + + @@ -26,23 +26,23 @@ - Form helpers cheatsheet - - + Rails form helpers cheatsheet + + - - + + - - - + + + @@ -85,25 +85,26 @@ gtag('config','UA-106902774-1'); - + - - - - - - -
    - + + + + + + + -
    -
    -
    -

    -

    Form helpers

    + -
    + + + + +
    +
    + -
    -

    Form builder

    + + + + + + +
    +

    Form builder

    + +

    Form builder

    - form_for @post do |f|
     
    @@ -289,50 +338,295 @@ submit(value=nil, options={}) +
    +
    + + + + + +
    +
    +
    + + + 0 Comments + + for this cheatsheet. + Write yours! + +
    +
    +
    +
    +
    +
    + +
    - -
    + -
    - + - + + - - - - - - - - diff --git a/rails-helpers.html b/rails-helpers.html index 01094eece..870b8c1f1 100644 --- a/rails-helpers.html +++ b/rails-helpers.html @@ -1,7 +1,7 @@ - - - + + + @@ -26,23 +26,23 @@ - Helpers cheatsheet - - + Rails helpers cheatsheet + + - - + + - - - + + + @@ -85,25 +85,26 @@ gtag('config','UA-106902774-1'); - + - - - - - - -
    - + + + + + + + -
    -
    -
    -

    -

    Helpers

    + -
    + + + + +
    +
    + -
    -

    Date

    + + + + + + +
    +

    Date

    distance_of_time_in_words(Time.now, project.end_date) #=> 3 hours
     distance_of_time_in_words_to_now(project.end_date)    #=> 3 hours
    @@ -264,48 +311,295 @@ t('x_files', count: files.count)
     
    * http://api.rubyonrails.org/classes/ActionView/Helpers.html
     
    +
    +
    + + + + + +
    +
    +
    + + + 0 Comments + + for this cheatsheet. + Write yours! + +
    +
    +
    +
    +
    +
    + +
    - -
    + -
    - + - + + - - - - - - diff --git a/rails-i18n.html b/rails-i18n.html index 35c325d43..787e29cdc 100644 --- a/rails-i18n.html +++ b/rails-i18n.html @@ -1,7 +1,7 @@ - - - + + + @@ -26,23 +26,23 @@ - i18n cheatsheet - - + Rails i18n cheatsheet + + - - + + - - - + + + @@ -85,25 +85,26 @@ gtag('config','UA-106902774-1'); - + - - - - - - -
    - + + + + + + + -
    -
    -
    -

    -

    i18n

    + -
    + + + + +
    +
    + -
    -
    t('my.messages.hello')
    +  
    +
    +  
    +
    +  
    +
    +  
    +

    References

    + + + +

    Example

    + +
    t('my.messages.hello')
     
     # same as 'my.messages.hello'
     t(:hello, scope: 'my.messages')
    @@ -169,6 +227,8 @@ t(:hello, scope: [:my, :messages])
     t('my.messages.hello', default: "Hello")
     
    +

    YAML

    +
    en:
       my:
         messages:
    @@ -177,18 +237,22 @@ t('my.messages.hello', default: "Hello")
     
     

    Interpolation

    -
    t('hello', name: "John")
    +
    t('hello', name: "John")
     
    +

    YAML

    +
    hello: "Hello %{name}"
     

    Lazy lookup

    -
    # from the 'books/index' view
    +
    # from the 'books/index' view
     t('.title')
     
    +

    YAML

    +
    en:
       books:
         index:
    @@ -197,10 +261,12 @@ t('.title')
     
     

    Plural

    -
    t(:inbox, count: 1)  #=> 'one message'
    +
    t(:inbox, count: 1)  #=> 'one message'
     t(:inbox, count: 2)  #=> '2 messages'
     
    +

    YAML

    +
    inbox:
       one: 'one message',
       other: '%{count} messages'
    @@ -210,10 +276,12 @@ t(:inbox, count: 2)  #=> '2 messages'
     
     

    Time

    -
    l(Time.now)
    +
    l(Time.now)
     l(Time.now, format: :short)
     
    +

    YAML

    +
    en:
       time:
         formats:
    @@ -224,9 +292,11 @@ l(Time.now, format: :short)
     
     

    Date

    -
    l(Date.today)
    +
    l(Date.today)
     
    +

    YAML

    +
    en:
       date:
         formats:
    @@ -239,10 +309,12 @@ l(Time.now, format: :short)
     
     

    Model names

    -
    User.model_name.human            #=> "User"
    +
    User.model_name.human            #=> "User"
     Child.model_name.human(count: 2) #=> "Children"
     
    +

    YAML

    +
    en:
       activerecord:
         models:
    @@ -254,9 +326,11 @@ Child.model_name.human(count: 2) #=> "Children"
     
     

    Attributes

    -
    User.human_attribute_for :name   #=> "Name"
    +
    User.human_attribute_for :name   #=> "Name"
     
    +

    YAML

    +
    en:
       activerecord:
         attributes:
    @@ -268,9 +342,11 @@ Child.model_name.human(count: 2) #=> "Children"
     
     

    Error messages

    -
    error_messages_for(...)
    +
    error_messages_for(...)
     
    +

    YAML

    +
    activerecord:
       errors:
         models:
    @@ -280,6 +356,8 @@ Child.model_name.human(count: 2) #=> "Children"
                 blank: "Please enter a name."
     
    +

    Scopes

    +

    Possible scopes (in order):

    activerecord.errors.models.[model_name].attributes.[attribute_name].[error]
    @@ -305,10 +383,12 @@ errors.messages.[error]
     
     

    Form labels

    -
    form_for @post do
    +
    form_for @post do
       f.label :body
     
    +

    YAML

    +
    helpers:
       # helpers.label.<model>.<field>
       label:
    @@ -318,10 +398,12 @@ errors.messages.[error]
     
     

    Submit buttons

    -
    form_for @post do
    +
    form_for @post do
       f.submit
     
    +

    YAML

    +
    helpers:
       submit:
         # helpers.submit.<action>
    @@ -336,7 +418,7 @@ errors.messages.[error]
     
     

    Numbers

    -
    number_to_delimited(2000)             #=> "2,000"
    +
    number_to_delimited(2000)             #=> "2,000"
     number_to_currency(12.3)              #=> "$12.30"
     number_to_percentage(0.3)             #=> "30%"
     number_to_rounded(3.14, precision: 0) #=> "3"
    @@ -346,9 +428,11 @@ number_to_human_size(12345)           #=> "12.3 kb"
     
     

    Delimited

    -
    number_to_delimited(n)
    +
    number_to_delimited(n)
     
    +

    YAML

    +
    number:
       format:
         separator: '.'
    @@ -376,9 +460,11 @@ number_to_human_size(12345)           #=> "12.3 kb"
     
     

    Percentage

    -
    number_to_percentage(n)
    +
    number_to_percentage(n)
     
    +

    YAML

    +
    number:
       percentage:
         format:
    @@ -388,7 +474,9 @@ number_to_human_size(12345)           #=> "12.3 kb"
     
     

    Programmatic access

    -
    I18n.backend.store_translations :en, ok: "Ok"
    +

    Programmatic access

    + +
    I18n.backend.store_translations :en, ok: "Ok"
     I18n.locale = :en
     I18n.default_locale = :en
     
    @@ -398,57 +486,295 @@ I18n.translate :ok   # aka, I18n.t
     I18n.localize date   # aka, I18n.l
     
    -

    Reference

    +
    +
    -
      -
    • http://guides.rubyonrails.org/i18n.html
    • -
    • http://rails-i18n.org/wiki
    • -
    • https://github.com/svenfuchs/i18n
    • -
    • https://github.com/svenfuchs/rails-i18n/blob/master/rails/locale/en.yml
    • -
    + + + +
    +
    +
    + + + 0 Comments + + for this cheatsheet. + Write yours! + +
    +
    +
    +
    +
    +
    + +
    - -
    + -
    - + - + + - - - - - - diff --git a/rails-migrations.html b/rails-migrations.html index 869a237cf..4a89b6b8f 100644 --- a/rails-migrations.html +++ b/rails-migrations.html @@ -1,7 +1,7 @@ - - - + + + @@ -26,23 +26,23 @@ - Migrations cheatsheet - - + Rails migrations cheatsheet + + - - + + - - - + + + @@ -85,25 +85,26 @@ gtag('config','UA-106902774-1'); - + - - - - - - -
    - + + + + + + + -
    -
    -
    -

    -

    Migrations

    + -
    + + + + +
    +
    + -
    -

    Automatically make migrations

    + + + + + + +
    +

    Automatically make migrations

    $ rails generate migration RemovePartNumberFromProducts part_number:string
     $ rails generate migration remove_part_number_from_products part_number # rails assumes string if not type given - and you can use snake_case
    @@ -289,48 +336,295 @@ add_index :accounts, [:branch_id, :party_id, :surname],
       
  • https://apidock.com/rails/ActiveRecord/ConnectionAdapters/SchemaStatements/add_index
  • +
    +
    + + + + + +
    +
    +
    + + + 0 Comments + + for this cheatsheet. + Write yours! + +
    +
    +
    +
    +
    +
    + +
    - -
    + -
    - + - + + - - - - - - diff --git a/rails-models.html b/rails-models.html index b47369b8f..6f12dba46 100644 --- a/rails-models.html +++ b/rails-models.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -809,6 +809,8 @@ end cheatsheet + + @@ -816,11 +818,13 @@ end
  • - Controllers + Rails controllers cheatsheet + +
  • @@ -828,11 +832,13 @@ end
  • - Form helpers + Rails form helpers cheatsheet + +
  • @@ -840,11 +846,13 @@ end
  • - Helpers + Rails helpers cheatsheet + +
  • @@ -852,11 +860,13 @@ end
  • - i18n + Rails i18n cheatsheet + +
  • @@ -864,11 +874,13 @@ end
  • - Migrations + Rails migrations cheatsheet + +
  • @@ -990,7 +1002,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/rails-plugins.html b/rails-plugins.html index d5a110792..8eec0adc4 100644 --- a/rails-plugins.html +++ b/rails-plugins.html @@ -1,7 +1,7 @@ - - - + + + @@ -33,8 +33,8 @@ - - + + @@ -85,25 +85,26 @@ gtag('config','UA-106902774-1'); - + - - - - - - -
    - + + + + + + + @@ -141,13 +142,52 @@ gtag('config','UA-106902774-1'); -
    -
    -
    -

    -

    Rails plugins

    + -
    + + + + +
    +
    + -
    -

    Generate a plugin

    + + + + + + +
    +

    Generate a plugin

    Generate a Rails Engine plugin:

    @@ -169,12 +216,16 @@ gtag('config','UA-106902774-1');

    Initializers

    +

    Initializers

    + +

    Initializer method

    +

    Subclass Railtie and provide an initializer method.

    module NewPlugin
    @@ -194,10 +245,14 @@ end
     
     

    Custom routes

    +

    Custom routes

    + +

    Creating routes

    +

    To create custom routes.rb keywords:

    # # routes.rb:
    @@ -226,6 +281,8 @@ end
     
     

    Custom generators

    +

    Custom generators

    +
    • Guide: generators
    • ActiveRecord::Generators::Base
    • @@ -288,6 +345,8 @@ end

      ActiveModel ‘acts as’

      +

      acts as

      +
      # yaffle/lib/yaffle/acts_as_yaffle.rb
       module Yaffle
         module ActsAsYaffle
      @@ -308,48 +367,295 @@ ActiveRecord::Base.send :include, Yaffle::ActsAsYaffle
       
      +
    +
    + + + + + +
    +
    +
    + + + 0 Comments + + for this cheatsheet. + Write yours! + +
    +
    +
    +
    +
    +
    + +
    - -
    + -
    - + - + + - - - - - - diff --git a/rails-routes.html b/rails-routes.html index eb9db08bf..bdf274271 100644 --- a/rails-routes.html +++ b/rails-routes.html @@ -1,7 +1,7 @@ - - - + + + @@ -33,8 +33,8 @@ - - + + @@ -85,25 +85,26 @@ gtag('config','UA-106902774-1'); - + - - - - - - -
    - + + + + + + + @@ -141,13 +142,52 @@ gtag('config','UA-106902774-1'); -
    -
    -
    -

    -

    Routes

    + -
    + + + + +
    +
    + -
    -

    Multiple resources (resources)

    + + + + + + +
    +

    Resources

    + +

    Multiple resources (resources)

    resources :photos
     
    @@ -378,48 +427,295 @@ match ':controller(/:action(/:id(.:format)))'
     
     
     
    +  
    +
    + + + + + +
    +
    +
    + + + 0 Comments + + for this cheatsheet. + Write yours! + +
    +
    +
    +
    +
    +
    + +
    - -
    + -
    - + - + + - - - - - - diff --git a/rails-tricks.html b/rails-tricks.html index 0e54ba88c..23d7e012e 100644 --- a/rails-tricks.html +++ b/rails-tricks.html @@ -1,7 +1,7 @@ - - - + + + @@ -33,8 +33,8 @@ - - + + @@ -67,6 +67,10 @@ + + + + - + - - - - - - -
    - + + + + + + + @@ -141,13 +146,52 @@ gtag('config','UA-106902774-1'); -
    -
    -
    -

    -

    Rails tricks

    + -
    + + + + +
    +
    + -
    -

    in config/environments/development.rb:

    + + + + + + +
    +

    Sass source maps

    + +

    in config/environments/development.rb:

    # Source maps for Sass
     config.sass.debug_info = true
    @@ -170,7 +223,7 @@ config.sass.line_comments = false
     config.assets.debug = false
     
    -

    Partial locals

    +

    Partial locals

    <%= render 'article', full: true %>
     <%= render 'article' %>
    @@ -180,13 +233,13 @@ config.assets.debug = false
     <% end %>
     
    -

    HTML in i18n

    +

    HTML in i18n

    en:
       read_more_html: "read <b>more</b>..."
     
    -

    Exception handling:

    +

    Exception handling

    # config/application.rb
     config.exceptions_app = self.routes
    @@ -201,76 +254,323 @@ class ErrorsController
      end
     
    -

    Rails updating:

    +

    Rails updating

    rake rails:update
     
    -

    Distinct pluck:

    +

    Distinct pluck

    Article.distinct.pluck('author')
     
    -

    Relation#merge

    +

    Relation#merge

    scope :with_drafts, -> {
       uniq.joins(:articles).merge(Article.draft)
     }
     
    -

    Order

    +

    Order

    scope :recent, -> { order created_at: :desc }
     
    -

    Group by month

    +

    Group by month

    .group("to_char(created_at, 'YYYY-MM')")
     .group("to_char(created_at, 'YYYY-MM')").count
     
    +
    +
    + + + + + +
    +
    +
    + + + 0 Comments + + for this cheatsheet. + Write yours! + +
    +
    +
    +
    +
    +
    + +
    - -
    + -
    - + - + + - - - - - - diff --git a/rails.html b/rails.html index e154f37a2..7e311fc17 100644 --- a/rails.html +++ b/rails.html @@ -33,8 +33,8 @@ - - + + @@ -90,9 +90,9 @@ gtag('config','UA-106902774-1'); - - - + + +
    @@ -114,7 +114,7 @@ gtag('config','UA-106902774-1'); "@id": "https://google.com/article" }, "headline": "Rails cheatsheet", - "image": [ "https://assets.devhints.io/previews/rails.jpg?t=20230314041559" ], + "image": [ "https://assets.devhints.io/previews/rails.jpg?t=20230314044132" ], "description": "The one-page guide to Rails: usage, examples, links, snippets, and more." } diff --git a/rake.html b/rake.html index 30fe847df..deb3feac9 100644 --- a/rake.html +++ b/rake.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -521,7 +521,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/rbenv.html b/rbenv.html index ef254c950..fff31785f 100644 --- a/rbenv.html +++ b/rbenv.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -646,7 +646,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/rdoc.html b/rdoc.html index e78590282..142d577b3 100644 --- a/rdoc.html +++ b/rdoc.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -623,7 +623,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/react-router.html b/react-router.html index a9040d8f3..dab1cd354 100644 --- a/react-router.html +++ b/react-router.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -479,6 +479,8 @@ this cheatsheet + + @@ -600,7 +602,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/react.html b/react.html index 5f6615c1d..70c05e4ef 100644 --- a/react.html +++ b/react.html @@ -33,8 +33,8 @@ - - + + @@ -103,11 +103,11 @@ gtag('config','UA-106902774-1'); @@ -1291,6 +1291,8 @@ ReactDOM.hydrate(<App />, el) cheatsheet + + @@ -1426,7 +1428,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/react@0.14.html b/react@0.14.html index 1a16fea2a..65fab05c5 100644 --- a/react@0.14.html +++ b/react@0.14.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -817,6 +817,8 @@ return <div style={style}></div>; cheatsheet + + @@ -938,7 +940,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/redux.html b/redux.html index e9088e168..a41604f50 100644 --- a/redux.html +++ b/redux.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -521,6 +521,8 @@ actions.

    cheatsheet + + @@ -656,7 +658,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/regexp.html b/regexp.html index 81e469057..d6fecb41b 100644 --- a/regexp.html +++ b/regexp.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -739,7 +739,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/rename.html b/rename.html index 6c92a79fa..9509875b0 100644 --- a/rename.html +++ b/rename.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -545,7 +545,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/resolutions.html b/resolutions.html index 265b96e52..755a6929e 100644 --- a/resolutions.html +++ b/resolutions.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -774,7 +774,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/rest-api.html b/rest-api.html index 5e6ad5332..43a53547a 100644 --- a/rest-api.html +++ b/rest-api.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -559,7 +559,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/riot.html b/riot.html index 8a024d149..cd90c6438 100644 --- a/riot.html +++ b/riot.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -638,7 +638,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/rollup.html b/rollup.html index a27e153fc..3a300344f 100644 --- a/rollup.html +++ b/rollup.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -680,7 +680,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/ronn.html b/ronn.html index 1f5c0f5c7..021c74f1e 100644 --- a/ronn.html +++ b/ronn.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -715,7 +715,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/rspec-rails.html b/rspec-rails.html index 80741ab1e..d254d77d0 100644 --- a/rspec-rails.html +++ b/rspec-rails.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -637,7 +637,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/rspec.html b/rspec.html index 2db419aad..87c9b46c2 100644 --- a/rspec.html +++ b/rspec.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -688,7 +688,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/rst.html b/rst.html index 5610d54d2..3c3cfef8f 100644 --- a/rst.html +++ b/rst.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -555,7 +555,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/rsync.html b/rsync.html index 268b19bc7..cd006bde8 100644 --- a/rsync.html +++ b/rsync.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -570,7 +570,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/rtorrent.html b/rtorrent.html index da999a053..f4076da4f 100644 --- a/rtorrent.html +++ b/rtorrent.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -629,7 +629,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/ruby.html b/ruby.html index 112a788f7..36a6cc5a7 100644 --- a/ruby.html +++ b/ruby.html @@ -33,8 +33,8 @@ - - + + @@ -103,11 +103,11 @@ gtag('config','UA-106902774-1'); @@ -583,7 +583,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/ruby21.html b/ruby21.html index 8a395f9a7..30d6ba4ba 100644 --- a/ruby21.html +++ b/ruby21.html @@ -33,8 +33,8 @@ - - + + @@ -103,11 +103,11 @@ gtag('config','UA-106902774-1'); @@ -530,7 +530,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/rubygems.html b/rubygems.html index 26a61dda0..0e29ffa3f 100644 --- a/rubygems.html +++ b/rubygems.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -527,7 +527,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/sass.html b/sass.html index b76d8ac0b..b8f939708 100644 --- a/sass.html +++ b/sass.html @@ -33,8 +33,8 @@ - - + + @@ -103,11 +103,11 @@ gtag('config','UA-106902774-1'); @@ -854,7 +854,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/saucelabs.html b/saucelabs.html index c3e13e189..f33a5294e 100644 --- a/saucelabs.html +++ b/saucelabs.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -532,7 +532,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/scp.html b/scp.html index df3a80cf2..2821a1e50 100644 --- a/scp.html +++ b/scp.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -519,7 +519,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/screen.html b/screen.html index 8bd1ac8ae..59bd09e4d 100644 --- a/screen.html +++ b/screen.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -629,7 +629,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/sed.html b/sed.html index f41e0cecb..759857992 100644 --- a/sed.html +++ b/sed.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -540,7 +540,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/semver.html b/semver.html index b3cc243f9..585f4a35b 100644 --- a/semver.html +++ b/semver.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -725,7 +725,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/sequel.html b/sequel.html index d1e272e41..b04ba68ae 100644 --- a/sequel.html +++ b/sequel.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -922,7 +922,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/sequelize.html b/sequelize.html index da4dd38ff..45713d514 100644 --- a/sequelize.html +++ b/sequelize.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -562,7 +562,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/sh-pipes.html b/sh-pipes.html index 3ec994e88..29fb0b30e 100644 --- a/sh-pipes.html +++ b/sh-pipes.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -506,7 +506,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/shelljs.html b/shelljs.html index e9905dfde..f147d72cb 100644 --- a/shelljs.html +++ b/shelljs.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -618,7 +618,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/siege.html b/siege.html index f4830c30b..f706cea48 100644 --- a/siege.html +++ b/siege.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -535,7 +535,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/simple_form.html b/simple_form.html index d0bd7b345..77fdcd46b 100644 --- a/simple_form.html +++ b/simple_form.html @@ -33,8 +33,8 @@ - - + + @@ -103,11 +103,11 @@ gtag('config','UA-106902774-1'); @@ -514,7 +514,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/sinon-chai.html b/sinon-chai.html index 3e039b948..461aff408 100644 --- a/sinon-chai.html +++ b/sinon-chai.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -553,7 +553,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/sinon.html b/sinon.html index 5a8f3a689..54455cd34 100644 --- a/sinon.html +++ b/sinon.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -597,7 +597,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/sketch.html b/sketch.html index c9e288004..9e0111a1f 100644 --- a/sketch.html +++ b/sketch.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -727,7 +727,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/slim.html b/slim.html index a8fe76498..75195ce30 100644 --- a/slim.html +++ b/slim.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -613,7 +613,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/social-images.html b/social-images.html index 7ded20fd6..e811e2f23 100644 --- a/social-images.html +++ b/social-images.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -557,7 +557,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/spacemacs.html b/spacemacs.html index 95ea5d3f8..390d55421 100644 --- a/spacemacs.html +++ b/spacemacs.html @@ -33,8 +33,8 @@ - - + + @@ -103,11 +103,11 @@ gtag('config','UA-106902774-1'); @@ -995,7 +995,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/spine.html b/spine.html index 6cc1724f3..4cfb1b70e 100644 --- a/spine.html +++ b/spine.html @@ -33,8 +33,8 @@ - - + + @@ -103,11 +103,11 @@ gtag('config','UA-106902774-1'); @@ -690,7 +690,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/spreadsheet.html b/spreadsheet.html index 04e88f946..7cfcc7d5b 100644 --- a/spreadsheet.html +++ b/spreadsheet.html @@ -33,8 +33,8 @@ - - + + @@ -103,11 +103,11 @@ gtag('config','UA-106902774-1'); @@ -543,7 +543,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/sql-join.html b/sql-join.html index 748f9fca3..9c6d28330 100644 --- a/sql-join.html +++ b/sql-join.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -390,6 +390,8 @@ gtag('config','UA-106902774-1'); cheatsheet + + @@ -511,7 +513,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/stencil.html b/stencil.html index 44b1b7ad8..88464a0fa 100644 --- a/stencil.html +++ b/stencil.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -693,7 +693,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/stimulus-reflex.html b/stimulus-reflex.html index 595650dff..82e8da475 100644 --- a/stimulus-reflex.html +++ b/stimulus-reflex.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -730,7 +730,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/strftime.html b/strftime.html index 8540b619b..48bc5f7f4 100644 --- a/strftime.html +++ b/strftime.html @@ -33,8 +33,8 @@ - - + + @@ -103,11 +103,11 @@ gtag('config','UA-106902774-1'); @@ -688,7 +688,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/stylus.html b/stylus.html index bd0a65cfa..8ae697c6e 100644 --- a/stylus.html +++ b/stylus.html @@ -33,8 +33,8 @@ - - + + @@ -103,11 +103,11 @@ gtag('config','UA-106902774-1'); @@ -881,7 +881,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/sublime-text.html b/sublime-text.html index 089e81e88..bd1d3668e 100644 --- a/sublime-text.html +++ b/sublime-text.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -623,7 +623,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/superagent.html b/superagent.html index aed7e0a9b..1b7eec587 100644 --- a/superagent.html +++ b/superagent.html @@ -33,8 +33,8 @@ - - + + @@ -103,11 +103,11 @@ gtag('config','UA-106902774-1'); @@ -553,7 +553,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/tabular.html b/tabular.html index 5ce20065e..75fb7c242 100644 --- a/tabular.html +++ b/tabular.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -479,6 +479,8 @@ src: img.jpg cheatsheet + + @@ -628,7 +630,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/tape.html b/tape.html index 6cc590550..a756d0b95 100644 --- a/tape.html +++ b/tape.html @@ -1,7 +1,7 @@ - - - + + + @@ -33,8 +33,8 @@ - - + + @@ -85,25 +85,26 @@ gtag('config','UA-106902774-1'); - + - - - - - - -
    - + + + + + + + @@ -141,13 +142,52 @@ gtag('config','UA-106902774-1'); -
    -
    -
    -

    -

    Tape

    + -
    + + + + +
    +
    + -
    -
    test('things', (t) => {
    +  
    +
    +  
    +
    +  
    +
    +  
    +

    Example

    + +
    test('things', (t) => {
       t.plan(1)
     
       t.equal('actual', 'expected')
    @@ -196,48 +245,295 @@ gtag('config','UA-106902774-1');
     
    test.only((t) => { ... })
     
    +
    +
    + + + + + +
    +
    +
    + + + 0 Comments + + for this cheatsheet. + Write yours! + +
    +
    +
    +
    +
    +
    + +
    - -
    + -
    - + - + + - - - - - - diff --git a/tar.html b/tar.html index f7e0e26d7..c79bc4667 100644 --- a/tar.html +++ b/tar.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -558,7 +558,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/textile.html b/textile.html index 54145e141..c468ba55d 100644 --- a/textile.html +++ b/textile.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -657,7 +657,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/tig.html b/tig.html index 2a875b5b2..3f33b9201 100644 --- a/tig.html +++ b/tig.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -738,6 +738,8 @@ $ sudo apt install tig cheatsheet + + @@ -859,7 +861,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/tmux.html b/tmux.html index 99249cc5e..989047ec1 100644 --- a/tmux.html +++ b/tmux.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -706,7 +706,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/tomdoc.html b/tomdoc.html index 3c4719e81..361594b70 100644 --- a/tomdoc.html +++ b/tomdoc.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -555,7 +555,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/top.html b/top.html index c250f2b30..1a0cd5d1d 100644 --- a/top.html +++ b/top.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -567,7 +567,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/travis.html b/travis.html index 70a3ea0b2..88f61cefe 100644 --- a/travis.html +++ b/travis.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -474,6 +474,8 @@ before_script: cheatsheet + + @@ -623,7 +625,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/typescript.html b/typescript.html index 0fb472ad8..4863b3e5e 100644 --- a/typescript.html +++ b/typescript.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -749,7 +749,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/ubuntu.html b/ubuntu.html index 465c30103..58d78e2e1 100644 --- a/ubuntu.html +++ b/ubuntu.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -514,7 +514,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/umdjs.html b/umdjs.html index d83ec2c3c..3d0190f6b 100644 --- a/umdjs.html +++ b/umdjs.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -550,7 +550,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/underscore-string.html b/underscore-string.html index d15a81085..f6df1b5d6 100644 --- a/underscore-string.html +++ b/underscore-string.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -588,7 +588,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/unicode.html b/unicode.html index c28e34eba..7c85d1c4b 100644 --- a/unicode.html +++ b/unicode.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -599,7 +599,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/vagrant.html b/vagrant.html index 79133cdbb..16ffff3f5 100644 --- a/vagrant.html +++ b/vagrant.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -381,6 +381,8 @@ vagrant destroy # !! cheatsheet + + @@ -530,7 +532,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/vagrantfile.html b/vagrantfile.html index dd1dd15f9..7bd5c706d 100644 --- a/vagrantfile.html +++ b/vagrantfile.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -464,6 +464,8 @@ end cheatsheet + + @@ -613,7 +615,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/vainglory.html b/vainglory.html index f824d351c..0853ebd61 100644 --- a/vainglory.html +++ b/vainglory.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -931,7 +931,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/vim-diff.html b/vim-diff.html index 0c665747f..97927a6e9 100644 --- a/vim-diff.html +++ b/vim-diff.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -466,6 +466,8 @@ gtag('config','UA-106902774-1'); cheatsheet + + @@ -615,7 +617,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/vim-digraphs.html b/vim-digraphs.html index 13f06292f..dfcc85da7 100644 --- a/vim-digraphs.html +++ b/vim-digraphs.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -822,6 +822,8 @@ gtag('config','UA-106902774-1'); cheatsheet + + @@ -957,7 +959,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/vim-easyalign.html b/vim-easyalign.html index 0654ca7a3..47d7010ae 100644 --- a/vim-easyalign.html +++ b/vim-easyalign.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -472,6 +472,8 @@ database: test cheatsheet + + @@ -607,7 +609,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/vim-help.html b/vim-help.html index 28b80693b..bad87c963 100644 --- a/vim-help.html +++ b/vim-help.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -544,6 +544,8 @@ License: Same terms as Vim itself (see |license|) cheatsheet + + @@ -679,7 +681,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/vim-rails.html b/vim-rails.html index 78c65f351..360c55ea1 100644 --- a/vim-rails.html +++ b/vim-rails.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -611,6 +611,8 @@ gtag('config','UA-106902774-1'); cheatsheet + + @@ -746,7 +748,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/vim-unite.html b/vim-unite.html index ba93db516..4a94bb6e7 100644 --- a/vim-unite.html +++ b/vim-unite.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -436,6 +436,8 @@ gtag('config','UA-106902774-1'); cheatsheet + + @@ -571,7 +573,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/vim.html b/vim.html index a16c3dee6..ae0b26ced 100644 --- a/vim.html +++ b/vim.html @@ -33,8 +33,8 @@ - - + + @@ -103,11 +103,11 @@ gtag('config','UA-106902774-1'); @@ -1561,6 +1561,8 @@ For shortcut notation, see :help key-notation.

    cheatsheet + + @@ -1710,7 +1712,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/vimscript-functions.html b/vimscript-functions.html index 9729e2a2d..5b40ca5a0 100644 --- a/vimscript-functions.html +++ b/vimscript-functions.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -574,6 +574,8 @@ wincmd J cheatsheet + + @@ -709,7 +711,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/vimscript-snippets.html b/vimscript-snippets.html index 85799ba34..382275c0e 100644 --- a/vimscript-snippets.html +++ b/vimscript-snippets.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -397,6 +397,8 @@ endif cheatsheet + + @@ -532,7 +534,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/vimscript.html b/vimscript.html index 9214182d9..fc1262408 100644 --- a/vimscript.html +++ b/vimscript.html @@ -33,8 +33,8 @@ - - + + @@ -103,11 +103,11 @@ gtag('config','UA-106902774-1'); @@ -1000,6 +1000,8 @@ let g:loaded_myplugin = 1 cheatsheet + + @@ -1149,7 +1151,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/virtual-dom.html b/virtual-dom.html index c8301970d..67085541c 100644 --- a/virtual-dom.html +++ b/virtual-dom.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -519,7 +519,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/vows.html b/vows.html index 45181c008..715c83c46 100644 --- a/vows.html +++ b/vows.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -547,7 +547,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/vscode.html b/vscode.html index 95dc741a8..e4fbdb114 100644 --- a/vscode.html +++ b/vscode.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -722,7 +722,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/vue.html b/vue.html index d52c69cae..25bd7126e 100644 --- a/vue.html +++ b/vue.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -868,7 +868,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/vue@1.0.28.html b/vue@1.0.28.html index cce045610..a26755f22 100644 --- a/vue@1.0.28.html +++ b/vue@1.0.28.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -597,7 +597,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/watchexec.html b/watchexec.html index 036df70a4..94f1e08e6 100644 --- a/watchexec.html +++ b/watchexec.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -574,7 +574,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/watchman.html b/watchman.html index ccc1359a9..b8fbcd23e 100644 --- a/watchman.html +++ b/watchman.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -516,7 +516,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/web-workers.html b/web-workers.html index 3f576b1b6..9ae7f5d27 100644 --- a/web-workers.html +++ b/web-workers.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -542,7 +542,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/webpack.html b/webpack.html index cba6e144d..28a264f91 100644 --- a/webpack.html +++ b/webpack.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -685,7 +685,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/weechat.html b/weechat.html index 752f6dfc4..440a7fd37 100644 --- a/weechat.html +++ b/weechat.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -592,7 +592,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/weinre.html b/weinre.html index 7af16db73..5135b58cf 100644 --- a/weinre.html +++ b/weinre.html @@ -33,8 +33,8 @@ - - + + @@ -103,11 +103,11 @@ gtag('config','UA-106902774-1'); @@ -528,7 +528,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/wip/intl-datetime.html b/wip/intl-datetime.html index e58364f73..282e1f8aa 100644 --- a/wip/intl-datetime.html +++ b/wip/intl-datetime.html @@ -33,8 +33,8 @@ - - + + @@ -103,11 +103,11 @@ gtag('config','UA-106902774-1'); @@ -531,7 +531,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/wip/php.html b/wip/php.html index 4edc3e92d..a4e72e5a6 100644 --- a/wip/php.html +++ b/wip/php.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -506,7 +506,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/xpath.html b/xpath.html index 174f2196c..f44009e37 100644 --- a/xpath.html +++ b/xpath.html @@ -33,8 +33,8 @@ - - + + @@ -103,11 +103,11 @@ gtag('config','UA-106902774-1'); @@ -1207,7 +1207,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/yaml.html b/yaml.html index cba2af5cd..bb25e17c6 100644 --- a/yaml.html +++ b/yaml.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -551,7 +551,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/yargs.html b/yargs.html index 8457b9684..3520ebb02 100644 --- a/yargs.html +++ b/yargs.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -562,7 +562,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/yarn.html b/yarn.html index 2a564d915..249fb0c93 100644 --- a/yarn.html +++ b/yarn.html @@ -33,8 +33,8 @@ - - + + @@ -103,11 +103,11 @@ gtag('config','UA-106902774-1'); @@ -605,7 +605,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/znc.html b/znc.html index 15c874ece..f3bedbc0d 100644 --- a/znc.html +++ b/znc.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -529,7 +529,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/zombie.html b/zombie.html index 1107b44a8..332ab68bc 100644 --- a/zombie.html +++ b/zombie.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -525,7 +525,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - + diff --git a/zsh.html b/zsh.html index 894df07d4..cbd0a59e2 100644 --- a/zsh.html +++ b/zsh.html @@ -33,8 +33,8 @@ - - + + @@ -99,11 +99,11 @@ gtag('config','UA-106902774-1'); @@ -590,7 +590,7 @@ function n(n,t,e){n.addEventListener?n.addEventListener(t,e):n.attachEvent("on"+ },{}],"eoMl":[function(require,module,exports) { "use strict";var e=u(require("./wrapify")),d=u(require("dom101/add-class")),t=u(require("dom101/on"));function u(e){return e&&e.__esModule?e:{default:e}}var a,o=document.querySelector("[data-js-main-body]");function r(){a||((0,d.default)(document.documentElement,"LoadDone"),a=!0)}o&&((0,e.default)(o),(0,d.default)(o,"-wrapified")),(0,t.default)(window,"load",r),setTimeout(r,5e3); },{"./wrapify":"hE9p","dom101/add-class":"G20n","dom101/on":"DJ2P"}]},{},["eoMl"], null) - +