nginx
to handle CORS for us, so we don't even see it
Configure server {
server_name _;
listen 443 ssl http2;
listen [::]:443 ssl http2;
root /home/public/www;
nginx
to handle CORS for us, so we don't even see it server {
server_name _;
listen 443 ssl http2;
listen [::]:443 ssl http2;
root /home/public/www;
#!/bin/bash | |
# ============================================================================= | |
# ssl-certs.sh - Self signing SSL certificates | |
# | |
# Author: Steve Shreeve <steve.shreeve@gmail.com> | |
# Date: Dec 17, 2022 | |
# ============================================================================= | |
# Use https://gist.github.com/shreeve/3358901a26a21d4ddee0e1342be7749d |
# ============================================================================= | |
# .gitconfig | |
# | |
# Author: Steve Shreeve <steve.shreeve@gmail.com> | |
# Date: Dec 15, 2022 | |
# ============================================================================= | |
# curl -Lso ~/.gitconfig http://bit.ly/3FANcK7 | |
[user] |
# ============================================================================= | |
# .tmux.conf | |
# | |
# Author: Steve Shreeve <steve.shreeve@gmail.com> | |
# Date: Jan 5, 2023 | |
# ============================================================================= | |
# curl -so ~/.tmux.conf https://gist.githubusercontent.com/shreeve/c751769ea46b34c1c30b97fa2762770b/raw/.tmux.conf | |
# | |
# For iTerm2, make sure to check "use Powerline Glyphs" in order to render special chars |
" vim config | |
set nocompatible " Must come first because it changes other options | |
" Enable pathogen | |
execute pathogen#infect() | |
color benlight " Color theme | |
syntax on " Use syntax highlighting |
Command-Shift-A
to open ApplicationswaitForSelector(want, opts={}) =>
new Promise (resolve, reject) =>
return resolve node if node = document.querySelector want
find = new MutationObserver (changes) =>
N A M Operator(s) Description | |
- - - ----------- ----------- | |
1 R Y ! ~ + boolean NOT, bitwise complement, unary plus | |
(unary plus may be redefined from Ruby 1.9 with +@) | |
2 R Y ** exponentiation | |
1 R Y - unary minus (redefine with -@) | |
2 L Y * / % multiplication, division, modulo (remainder) | |
2 L Y + - addition (or concatenation), subtraction |
import Vue from "vue"
import App from "./App"
Vue.config.productionTip = false
new Vue
el: "#app"
#!/usr/bin/env coffee | |
fs = require 'fs' | |
fp = require 'path' | |
EventEmitter = require 'events' | |
class Watcher extends EventEmitter | |
constructor: (globs, cb) -> | |
super() | |
@watch globs, cb if globs?.length |