Skip to content

Instantly share code, notes, and snippets.

View natebass's full-sized avatar
🚂
Working on [opensac.org](https://github.com/code4sac/opensac.org)

Nate natebass

🚂
Working on [opensac.org](https://github.com/code4sac/opensac.org)
View GitHub Profile
@natebass
natebass / CONTRIBUTE.txt
Created December 9, 2019 04:18
Emacs CONTRIBUTE file
* How developers contribute to GNU Emacs
Here is how software developers can contribute to Emacs. (Non-developers: see
https://www.gnu.org/software/emacs/manual/html_node/emacs/Contributing.html
or run the shell command 'info "(emacs)Contributing"'.)
** The Emacs repository
Emacs development uses Git on Savannah for its main repository.
To configure Git for Emacs development, you can run the following:
@natebass
natebass / gist:2d2d080ebb3389868ad99fab156816b9
Last active July 21, 2019 23:05
What kind of files are in folder recursively
find . -type f | sed 's/.*\.//' | sort | uniq -c
https://www.youtube.com/embed/bZNFRIwlQxQ?autoplay=1&mute=1
(menu-bar-mode -1)
(toggle-scroll-bar -1)
(tool-bar-mode -1)
(setq-default mode-line-format nil)
;;(set-frame-parameter (selected-frame) 'alpha '(<active> . <inactive>))
;;(set-frame-parameter (selected-frame) 'alpha <both>)
(set-frame-parameter (selected-frame) 'alpha '(85 . 50))
(add-to-list 'default-frame-alist '(alpha . (85 . 50)))
node --inspect-brk --require ts-node/register index.ts
;;; SPC t m T
(setq-default mode-line-format nil)
(setq-default cursor-type '("chartreuse3" (bar . 2)))
@natebass
natebass / brew_list.sh
Created June 13, 2019 00:01
list brew installed packages
brew leaves
brew deps --tree --installed
@natebass
natebass / launch.json
Last active June 6, 2019 03:21
vscode debug configurations
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
@natebass
natebass / a.sh
Created June 4, 2019 23:56
youtube dl audio only
youtube-dl -f 140
$csvfile = "/Users/nwb/Desktop/data/FY15__FY16__FY17__FY18.csv"
# $csvfile = "/Users/nwb/Desktop/data/FY14-15__FY15-16.csv"
$jsonfile = "/Users/nwb/Desktop/data/sacbudget_v3.json"
$template = [PSCustomObject]@{
name = "Sacramento Budget 2017/18";
}
Import-Csv $csvfile |
Where-Object "account_type" -eq "Expenses" |
ForEach-Object {
"hello" + $_