- Homebrew/terminal/bash
- OSX Productivity - Window Management/Quick Launcher/Hyperswitch
- OSX Settings - Dock/Finder
- Web Browser - Extensions - AdBlock, Privacy Badger, OneTab, JSONViewer, Stylus, Vue Devtools, React Devtools
- Node.js - nvm
- Code Editor - vs code
- Code Editor Extensions
- Break timer and Flux
| /* | |
| * Async.gs | |
| * | |
| * Manages asyncronous execution via time-based triggers. | |
| * | |
| * Note that execution normally takes 30-60s due to scheduling of the trigger. | |
| * | |
| * @see https://developers.google.com/apps-script/reference/script/clock-trigger-builder.html | |
| */ |
| // Index of some column that is not used. | |
| var SENT_COLUMN = 15; | |
| // Place your Grid API Key here. | |
| var MAILGUN_KEY = "YOUR_MAILGUN_KEY" | |
| // The emails will be send from here. | |
| var EMAIL_FROM = "Company Name <info@mycompany.com>"; | |
| // Errors will be send here | |
| var SUPPORT_EMAIL = "error@mycompany.com"; | |
| // Subject of the email | |
| var SUBJECT = "EMAIL SUBJECT"; |
| xcode-select --install | |
| /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
| brew update | |
| brew cask install iterm2 | |
| # update iterm2 settings -> colors, keep directory open new shell, keyboard shortcuts | |
| brew install bash # latest version of bash | |
| # set brew bash as default shell | |
| brew install fortune | |
| brew install cowsay | |
| brew install git |
| <html> | |
| <body> | |
| <script> | |
| function getParameterByName(name) { | |
| url = window.location.href; | |
| name = name.replace(/[\[\]]/g, "\\$&"); | |
| var regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)"), | |
| results = regex.exec(url); | |
| if (!results) return null; | |
| if (!results[2]) return ''; |
| <?php | |
| /** | |
| * Sets up theme defaults and registers support for various WordPress features. | |
| * | |
| * Note that this function is hooked into the after_setup_theme hook, which | |
| * runs before the init hook. The init hook is too late for some features, such | |
| * as indicating support for post thumbnails. | |
| */ | |
| function aperture_setup() { |
| jQuery(document).ready(function() { | |
| function bs_fix_vc_full_width_row(){ | |
| var $elements = jQuery('[data-vc-full-width="true"]'); | |
| jQuery.each($elements, function () { | |
| var $el = jQuery(this); | |
| $el.css('right', $el.css('left')).css('left', ''); | |
| }); | |
| } |
It's time to replace CoffeeScript with Babel and CoffeeLint with eslint.
CoffeeScript was useful a few years ago. It provided many features that
JavaScript was lacking. It gave us the fat arrow (lexical this functions),
default parameters, destructuring assignments, splats (spread operator), a
class keyword, block strings, and more. Everything in the list above is now
part of the JavaScript standard. JavaScript is moving forward and gaining
| // Index of some column that is not used. | |
| var SENT_COLUMN = 15; | |
| // Place your Grid API Key here. | |
| var MAILGUN_KEY = "YOUR_MAILGUN_KEY" | |
| // The emails will be send from here. | |
| var EMAIL_FROM = "Company Name <info@mycompany.com>"; | |
| // Errors will be send here | |
| var SUPPORT_EMAIL = "error@mycompany.com"; | |
| // Subject of the email | |
| var SUBJECT = "EMAIL SUBJECT"; |
Here are the simple steps needed to create a deployment from your local GIT repository to a server based on this in-depth tutorial.
You are developing in a working-copy on your local machine, lets say on the master branch. Most of the time, people would push code to a remote server like github.com or gitlab.com and pull or export it to a production server. Or you use a service like deepl.io to act upon a Web-Hook that's triggered that service.