I hereby claim:
- I am esteban-rocha on github.
- I am estebanrocha (https://keybase.io/estebanrocha) on keybase.
- I have a public key ASAScrknvg6iiWGuQ5vthTQHOHl2BwjyIwzt5fAWLNlNIAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| { | |
| "name": "demo", | |
| "version": "0.0.1", | |
| "private": true, | |
| "dependencies": { | |
| "react": "^16.13.1", | |
| "react-dom": "^16.13.1" | |
| }, | |
| "scripts": { | |
| "dev": "NODE_ENV=development node bin/run.js" |
| var allowPaste = function(e){ | |
| e.stopImmediatePropagation(); | |
| return true; | |
| }; | |
| document.addEventListener('paste', allowPaste, true); | |
| // Run the code in the devtools console. |
| # Continuous Integration to a WP Engine install | |
| # PHP CircleCI 2.1 configuration file | |
| # Requirements: | |
| # 1. In CircleCI settings, add environment variables for your site's installs: | |
| # * WPE_PRODUCTION_INSTALL=thenameofyourproductioninstall | |
| # * WPE_STAGING_INSTALL=thenameofyourstaginginstall | |
| # * WPE_DEVELOPMENT_INSTALL=thenameofyourdevelopmentinstall | |
| # 2. In your repo, have two files | |
| # * `./.gitignores/__default` -- Excludes any compiled files |
From currying to closures there are quite a number of special words used in JavaScript. These will not only help you increase your vocabulary but also better understand JavaScript. Special terms are normally found in documentation and technical articles. But some of them like closures are pretty standard things to know about. Knowing what the word itself means can help you know the concept it's named for better.
| ## EXPIRES CACHING ## | |
| # <IfModule mod_expires.c> | |
| # ExpiresActive On | |
| # ExpiresByType image/jpg "access 1 year" | |
| # ExpiresByType image/jpeg "access 1 year" | |
| # ExpiresByType image/gif "access 1 year" | |
| # ExpiresByType image/png "access 1 year" | |
| # ExpiresByType text/css "access 1 month" | |
| # ExpiresByType text/html "access 1 month" | |
| # ExpiresByType application/pdf "access 1 month" |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| [user] | |
| name = Pavan Kumar Sunkara | |
| email = [email protected] | |
| username = pksunkara | |
| [core] | |
| editor = vim | |
| whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
| excludesfile = ~/.gitignore | |
| [sendemail] | |
| smtpencryption = tls |
| "use strict"; | |
| var PageRuler = { | |
| settings: null, | |
| init: function (a) { | |
| var b = chrome.runtime.getManifest(), | |
| c = b.version; | |
| "install" === a ? (PageRuler.Analytics.trackEvent("Run", "Install", c), chrome.storage.sync.set({ | |
| statistics: !0, | |
| hide_update_tab: !1 | |
| })) : "update" === a ? PageRuler.Analytics.trackEvent("Run", "Update", c) : PageRuler.Analytics.trackEvent("Run", "Open", c) |
| <?php | |
| /* | |
| Plugin Name: Disable REST API for anonymous users | |
| */ | |
| /** | |
| * Remove all endpoints except SAML / oEmbed for unauthenticated users | |
| */ | |
| add_filter( 'rest_authentication_errors', function($result) { | |
| if ( ! empty( $result ) ) { |