├── _sass ├── 2017 │ ├── components │ │ ├── push-button.scss │ │ ├── body-area.scss │ │ ├── codefund-sponsor.scss │ │ ├── announcements-list.scss │ │ ├── related-posts-area.scss │ │ ├── attribute-peg.scss │ │ ├── pre-footer.scss │ │ ├── related-posts-group.scss │ │ ├── notice-box.scss │ │ ├── h2-section.scss │ │ ├── comments-section.scss │ │ ├── intro-content.scss │ │ ├── related-post-list.scss │ │ ├── hint-mark.scss │ │ ├── comments-area.scss │ │ ├── search-footer.scss │ │ ├── home-button.scss │ │ ├── site-header.scss │ │ ├── missing-message.scss │ │ ├── main-heading.scss │ │ ├── side-ad.scss │ │ ├── berry-sponsor.scss │ │ ├── back-button.scss │ │ ├── comments-details.scss │ │ ├── related-posts-callout.scss │ │ ├── headline-ad.scss │ │ ├── announcements-item.scss │ │ ├── pages-list.scss │ │ └── related-posts-section.scss │ ├── utils │ │ ├── _font-size.scss │ │ ├── gutter.scss │ │ ├── section-gutter.scss │ │ ├── section-with-container.scss │ │ ├── heading-style.scss │ │ └── carbon-style.scss │ ├── markdown │ │ ├── a-em.scss │ │ ├── local-anchor.scss │ │ ├── ul.scss │ │ ├── headings.scss │ │ └── p.scss │ ├── placeholders │ │ └── push-button.scss │ └── base │ │ ├── fade.scss │ │ └── base.scss └── .gitignore ├── CNAME ├── _js ├── behaviors │ ├── main-body.js │ ├── searchable-item.js │ ├── no-preview.js │ ├── search-form.js │ ├── dismissable.js │ ├── search-input.js │ ├── dismiss.js │ ├── searchable-header.js │ ├── h3-section-list.js │ ├── disqus.js │ └── anchors.js ├── helpers │ ├── noop.js │ ├── preview.js │ ├── qs.js │ ├── __tests__ │ │ └── qs.test.js │ ├── data.js │ ├── dismiss.js │ ├── store.js │ ├── inject_disqus.js │ ├── search.js │ └── dom.js ├── initializers │ └── onmount.js ├── app.js ├── critical.js └── wrapify │ └── __tests__ │ └── index.test.js ├── .dockerignore ├── _layouts ├── 2017 │ └── not_found.html ├── blank.html ├── redirect.html ├── default.html ├── default-ad.html └── home.html ├── robots.txt ├── _data ├── disqus.yml ├── codefund.yml ├── assets.yml ├── google_analytics.yml ├── carbon.yml ├── berry.yml └── categories.yml ├── .gitignore ├── gpg.md ├── Gemfile ├── assets ├── 2017 │ └── style.scss └── print.css ├── date.md ├── 404.html ├── brew.md ├── es2015.md ├── es2016.md ├── es2017.md ├── es2018.md ├── fetch.md ├── gpgconf.md ├── sh.md ├── css-font.md ├── expect.js.md ├── flexbox.md ├── gutom.md ├── harvey-js.md ├── jade.md ├── flowtype.md ├── package.md ├── commander-js.md ├── immutable-js.md ├── css-animation.md ├── css-selectors.md ├── handlebars-js.md ├── _docs └── images │ └── screenshot.png ├── css-background.md ├── factory_girl.md ├── powerline.txt ├── phoenix-ecto@1.3.md ├── webpack.config.js ├── .babelrc ├── _inactive ├── deprecated │ ├── cinema4d.md │ ├── github.md │ ├── eslint.md │ ├── docker-osx.md │ └── jquery-mobile-events.md ├── git-one-liners.md ├── homebrew-formula.md ├── gpg.md ├── ios.md └── gh.md ├── mongodb.md ├── jquery-cdn.md ├── _includes ├── 2017 │ ├── codefund.html │ ├── foot.html │ ├── search-footer.html │ ├── related-posts-item.html │ ├── announcements-list.html │ ├── berry-sponsor.html │ ├── pages-list-item.html │ ├── search-form.html │ ├── article-schema.html │ ├── comments-area.html │ ├── top-nav.html │ └── head.html ├── site-header.html ├── values │ ├── title.html │ └── description.html ├── head.html ├── foot.html ├── about-the-site.html ├── polyfills.html └── social-list.html ├── index.md ├── .travis.yml ├── index@2016.md ├── crypto.md ├── linux.md ├── .projections.json ├── freenode.md ├── docker-compose.yml ├── passenger.md ├── strftime.md ├── nodejs-assert.md ├── simple_form.md ├── gmail.md ├── premailer.md ├── yaml.md ├── Dockerfile ├── sh-pipes.md ├── perl-pie.md ├── _support ├── cf-prime.sh ├── webpack.critical.js ├── cf-purge.sh └── critical.js ├── google-webfonts.md ├── bookshelf-contrib.md ├── nocode.md ├── rails-features.md ├── browser-sync.md ├── emacs.md ├── man.md ├── appcache.md ├── rack-test.md ├── ansible-examples.md ├── datetime.md ├── rubiks.md ├── rails-gems.md ├── nodejs-path.md ├── nock.md ├── ansible-roles.md ├── mixpanel.md ├── sitemap.xml ├── README.md ├── cidr.md ├── ncftp.md ├── rake.md ├── ubuntu.md ├── html-share.md ├── inkscape.md ├── html-microformats.md ├── postgresql.md ├── weinre.md ├── ruby21.md ├── js-speech.md ├── siege.md ├── spreadsheet.md ├── qunit.md ├── frequency-separation-retouching.md ├── zombie.md ├── animated_gif.md ├── rubygems.md ├── social-images.md ├── analytics.md ├── phoenix@1.2.md ├── virtual-dom.md ├── inline-docs.md ├── handlebars.js.md ├── ledger-query.md ├── sed.md ├── cordova.md ├── harvey.js.md ├── commander.js.md ├── ansi.md ├── superagent.md ├── saucelabs.md ├── applinks.md ├── ruby.md ├── watchman.md ├── ledger-csv.md ├── znc.md ├── imagemagick.md ├── gh-pages.md ├── css-antialias.md ├── data └── search-index.json ├── rename.md ├── vagrant.md ├── elixir-metaprogramming.md ├── immutable.js.md ├── ie_bugs.md ├── flashlight.md ├── sql-join.md ├── less.md ├── c_preprocessor.md ├── analytics.js.md ├── mocha.md ├── bookshelf.md ├── nodejs-process.md ├── vimscript-snippets.md ├── haml.md ├── dom-selection.md ├── jquery.md ├── js-lazy.md ├── tape.md ├── ledger-periods.md ├── blessed.md ├── js-appcache.md ├── applescript.md ├── chunky_png.md ├── mocha-tdd.md ├── ets.md ├── pass.md ├── nopt.md ├── modernizr.md ├── browserify.md ├── macos-mouse-acceleration.md ├── scp.md ├── deprecated └── bower-api.md ├── git-branch.md ├── machinist.md ├── google_analytics.md ├── vows.md ├── mocha-html.md ├── rst.md ├── make-assets.md ├── parsimmon.md ├── bolt.md ├── deis.md ├── promise.md ├── ledger-examples.md ├── css-system-font-stack.md ├── ledger-format.md ├── _config.yml ├── cron.md ├── jscoverage.md ├── web-workers.md ├── dom-range.md ├── Makefile ├── bundler.md ├── find.md ├── nodejs.md ├── rails-tricks.md ├── deku.md ├── kramdown.md ├── meow.md ├── polyfill.io.md └── resolutions.md /_sass/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /CNAME: -------------------------------------------------------------------------------- 1 | devhints.io 2 | -------------------------------------------------------------------------------- /_js/behaviors/main-body.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /_js/helpers/noop.js: -------------------------------------------------------------------------------- 1 | /* blank */ 2 | -------------------------------------------------------------------------------- /_layouts/blank.html: -------------------------------------------------------------------------------- 1 | {{content}} 2 | -------------------------------------------------------------------------------- /robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /_data/disqus.yml: -------------------------------------------------------------------------------- 1 | enabled: true 2 | host: devhints.disqus.com 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | _output 2 | _site 3 | .jekyll-metadata 4 | /node_modules 5 | /vendor 6 | -------------------------------------------------------------------------------- /gpg.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: GPG 3 | category: Hidden 4 | redirect_to: /gnupg 5 | --- 6 | -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | gem 'github-pages', group: :jekyll_plugins 3 | -------------------------------------------------------------------------------- /_data/codefund.yml: -------------------------------------------------------------------------------- 1 | enabled: true 2 | token: "c2c8bc62-c275-4c7a-a304-74335c5a1cd0" 3 | -------------------------------------------------------------------------------- /assets/2017/style.scss: -------------------------------------------------------------------------------- 1 | --- 2 | type: other 3 | --- 4 | @import '2017/style.scss'; 5 | -------------------------------------------------------------------------------- /date.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Date 3 | categoroy: Hidden 4 | redirect_to: /datetime 5 | --- 6 | -------------------------------------------------------------------------------- /404.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: 2017/not_found 3 | type: error 4 | permalink: /404.html 5 | --- 6 | -------------------------------------------------------------------------------- /_sass/2017/components/push-button.scss: -------------------------------------------------------------------------------- 1 | .push-button { 2 | @extend %push-button; 3 | } 4 | -------------------------------------------------------------------------------- /brew.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Homebrew 3 | category: Hidden 4 | redirect_to: /homebrew 5 | --- 6 | -------------------------------------------------------------------------------- /es2015.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: ES2015 3 | category: JavaScript 4 | redirect_to: /es6 5 | --- 6 | -------------------------------------------------------------------------------- /es2016.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: ES2016 3 | category: JavaScript 4 | redirect_to: /es6 5 | --- 6 | -------------------------------------------------------------------------------- /es2017.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: ES2017 3 | category: JavaScript 4 | redirect_to: /es6 5 | --- 6 | -------------------------------------------------------------------------------- /es2018.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: ES2018 3 | category: JavaScript 4 | redirect_to: /es6 5 | --- 6 | -------------------------------------------------------------------------------- /fetch.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: fetch() 3 | category: Hidden 4 | redirect_to: /js-fetch 5 | --- 6 | -------------------------------------------------------------------------------- /gpgconf.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: gpgconf 3 | category: Hidden 4 | redirect_to: /gnupg 5 | --- 6 | -------------------------------------------------------------------------------- /sh.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Shell scripting 3 | category: CLI 4 | redirect_to: /bash 5 | --- 6 | -------------------------------------------------------------------------------- /_data/assets.yml: -------------------------------------------------------------------------------- 1 | # No trailing slash 2 | preview_host: https://assets.devhints.io/previews 3 | -------------------------------------------------------------------------------- /_data/google_analytics.yml: -------------------------------------------------------------------------------- 1 | enabled: true 2 | hostname: devhints.io 3 | id: "UA-106902774-1" 4 | -------------------------------------------------------------------------------- /css-font.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: CSS font 3 | category: Hidden 4 | redirect_to: /css#fonts 5 | --- 6 | -------------------------------------------------------------------------------- /expect.js.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: expect.js 3 | category: Hidden 4 | redirect_to: /expectjs 5 | --- 6 | -------------------------------------------------------------------------------- /flexbox.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Flexbox 3 | category: Hidden 4 | redirect_to: /css-flexbox 5 | --- 6 | -------------------------------------------------------------------------------- /gutom.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Gutom 3 | category: Hidden 4 | redirect_to: /ph-food-delivery 5 | --- 6 | -------------------------------------------------------------------------------- /harvey-js.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Harvey.js 3 | category: Hidden 4 | redirect_to: /harvey.js 5 | --- 6 | -------------------------------------------------------------------------------- /jade.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Jade 3 | category: JavaScript libraries 4 | redirect_to: /pug 5 | --- 6 | -------------------------------------------------------------------------------- /flowtype.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Flow 3 | redirect_to: /flow 4 | category: JavaScript libraries 5 | --- 6 | -------------------------------------------------------------------------------- /package.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: package.json 3 | category: Hidden 4 | redirect_to: /package.json 5 | --- 6 | -------------------------------------------------------------------------------- /_sass/2017/utils/_font-size.scss: -------------------------------------------------------------------------------- 1 | @mixin font-size ($n) { 2 | @include ms-respond(font-size, $n); 3 | } 4 | -------------------------------------------------------------------------------- /commander-js.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Commander.js 3 | category: Hidden 4 | redirect_to: /commander.js 5 | --- 6 | -------------------------------------------------------------------------------- /immutable-js.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Immutable.js 3 | category: Hidden 4 | redirect_to: /immutable.js 5 | --- 6 | -------------------------------------------------------------------------------- /css-animation.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: CSS animations 3 | category: Hidden 4 | redirect_to: /css#animation 5 | --- 6 | -------------------------------------------------------------------------------- /css-selectors.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: CSS selectors 3 | category: Hidden 4 | redirect_to: /css#selectors 5 | --- 6 | -------------------------------------------------------------------------------- /handlebars-js.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Handlebars.js 3 | category: Hidden 4 | redirect_to: /handlebars.js 5 | --- 6 | -------------------------------------------------------------------------------- /_docs/images/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilhan-mstf/cheatsheets/master/_docs/images/screenshot.png -------------------------------------------------------------------------------- /css-background.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: CSS background 3 | category: Hidden 4 | redirect_to: /css#background 5 | --- 6 | 7 | -------------------------------------------------------------------------------- /factory_girl.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Factory Girl 3 | category: Ruby libraries 4 | redirect_to: /factory_bot 5 | --- 6 | -------------------------------------------------------------------------------- /_data/carbon.yml: -------------------------------------------------------------------------------- 1 | enabled: false 2 | src: //cdn.carbonads.com/carbon.js?zoneid=1673&serve=C6AILKT&placement=ricostacruzcom 3 | -------------------------------------------------------------------------------- /powerline.txt: -------------------------------------------------------------------------------- 1 | Powerline: 2 | ⮂ 3 | ⮀ 4 | ⮃ 5 | ⮁ 6 | ⭤ 7 | ⭡ 8 | ⭠ 9 | 10 | 11 | ┌─┐ 12 | └─ 13 | ✈ 14 | ⋅ 15 | -------------------------------------------------------------------------------- /phoenix-ecto@1.3.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Phoenix: Ecto models" 3 | category: Hidden 4 | redirect_to: /phoenix-ecto 5 | deprecated: true 6 | --- 7 | -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- 1 | module.exports = [ 2 | require('./_support/webpack.config.js'), 3 | require('./_support/webpack.critical.js') 4 | ] 5 | -------------------------------------------------------------------------------- /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "env", 5 | { 6 | "forceAllTransforms": true 7 | } 8 | ] 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /_inactive/deprecated/cinema4d.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Cinema4d 3 | category: Apps 4 | --- 5 | 6 | E R T : Move/rotate/scale 7 | P : snapping 8 | -------------------------------------------------------------------------------- /mongodb.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: MongoDB 3 | category: Development 4 | --- 5 | 6 | ## Querying 7 | 8 | ``` 9 | { name: 'john' } 10 | { name: { $eq: 'john' } } 11 | -------------------------------------------------------------------------------- /_data/berry.yml: -------------------------------------------------------------------------------- 1 | enabled: false 2 | token: "653d56e083fec2a9ae1b6c7cde4e5f5f" 3 | title: "Rollbar" 4 | description: "Real-time error monitoring, alerting, and analytics for developers 🚀" 5 | -------------------------------------------------------------------------------- /_inactive/git-one-liners.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Git one-liners 3 | --- 4 | 5 | When did someone work 6 | 7 | git log --all --author='Rico' --pretty="%ai" | awk '{ print $1 }' | sort | uniq 8 | -------------------------------------------------------------------------------- /_js/helpers/preview.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Checks if we're in preview mode (?preview=1). 3 | */ 4 | 5 | export function isPreview () { 6 | return window.location.search.indexOf('preview=1') !== -1 7 | } 8 | -------------------------------------------------------------------------------- /_inactive/deprecated/github.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: GitHub 3 | category: Git 4 | --- 5 | 6 | ### URLs 7 | 8 | github.com/:userrepo/blame/:branch/:path 9 | github.com/:userrepo/commit/:commit 10 | -------------------------------------------------------------------------------- /_sass/2017/components/body-area.scss: -------------------------------------------------------------------------------- 1 | .body-area { 2 | max-width: $area-width; 3 | margin: 0 auto; 4 | @include gutter(padding); 5 | 6 | &.-slim { 7 | max-width: 740px; 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /_sass/2017/markdown/a-em.scss: -------------------------------------------------------------------------------- 1 | /* 2 | * For links with sources, eg, 3 | * [Foo](foo.com) _(foo.com)_ 4 | */ 5 | 6 | .MarkdownBody.MarkdownBody { 7 | a + em { 8 | opacity: 0.5; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /_sass/2017/components/codefund-sponsor.scss: -------------------------------------------------------------------------------- 1 | .codefund-sponsor { 2 | & { 3 | min-height: 114px; 4 | } 5 | 6 | .cf-wrapper { 7 | margin-left: auto; 8 | margin-right: auto; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /_sass/2017/utils/gutter.scss: -------------------------------------------------------------------------------- 1 | @mixin gutter ($property, $multiplier: 1) { 2 | #{$property}: $gut * $multiplier; 3 | 4 | @media (max-width: 480px) { 5 | #{$property}: $gut-small * $multiplier; 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /jquery-cdn.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: jQuery CDN 3 | category: JavaScript libraries 4 | --- 5 | 6 | ### Google jQuery 7 | 8 | 9 | -------------------------------------------------------------------------------- /_includes/site-header.html: -------------------------------------------------------------------------------- 1 |
10 |
11 |
12 | ✨ devhints.io ✨
13 |
7 | 8 | 0 Comments 9 | 10 | {{ site.data.content.comments_area.suffix }} 11 | {{ site.data.content.comments_area.link }} 12 |
13 |