server {
server_name _;
listen 443 ssl http2;
listen [::]:443 ssl http2;
root /home/public/www;
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# ============================================================================= | |
# ssl-certs.sh - Self signing SSL certificates | |
# | |
# Author: Steve Shreeve <[email protected]> | |
# Date: Dec 17, 2022 | |
# ============================================================================= | |
# Use https://gist.github.com/shreeve/3358901a26a21d4ddee0e1342be7749d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ============================================================================= | |
# .gitconfig | |
# | |
# Author: Steve Shreeve <[email protected]> | |
# Date: Dec 15, 2022 | |
# ============================================================================= | |
# curl -Lso ~/.gitconfig http://bit.ly/3FANcK7 | |
[user] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ============================================================================= | |
# .tmux.conf | |
# | |
# Author: Steve Shreeve <[email protected]> | |
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" 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 |
- Add the Applications icon:
- Click on the desktop and enter
Command-Shift-A
to open Applications - Drag the Applications folder just left of the Downloads icon on the dock
- Click on the desktop and enter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
NewerOlder