Skip to content

Instantly share code, notes, and snippets.

View zgulde's full-sized avatar

Zach Gulde zgulde

View GitHub Profile
@zgulde
zgulde / keybindings.json
Created July 10, 2023 17:51
vscode settings
// Place your key bindings in this file to override the defaults
[
{
"key": "alt+f",
"command": "cursorWordEndRight",
"when": "textInputFocus"
},
{
"key": "alt+right",
"command": "-cursorWordEndRight",

Random Utilities

/* Custom Styles */
/* goes in ~/.jupyter/custom/custom.css */
/* import fonts -- see https://fonts.google.com/ */
@import url('//fonts.googleapis.com/css?family=Crimson+Text');
@import url('//fonts.googleapis.com/css?family=Gloria+Hallelujah');
@import url('//fonts.googleapis.com/css?family=Indie+Flower');
@import url('//fonts.googleapis.com/css?family=Lora');
@import url('//fonts.googleapis.com/css?family=Open+Sans');
@import url('//fonts.googleapis.com/css?family=Montserrat');

Updating a PDF title

First install the pdfrw library.

pip install pdfrw

Then use the code block below to udpate the title. You'll need to edit the code to use the correct filepath for your resume and your desired title.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@zgulde
zgulde / DefaultKeyBinding.dict
Created May 17, 2022 00:19
MacOS Custom Keybindings located in ~/Library/KeyBindings/DefaultKeyBinding.dict
{
"~f" = "moveWordForward:";
"~b" = "moveWordBackward:";
"~d" = "deleteWordForward:";
"~c" = "capitalizeWord:";
"~l" = "lowercaseWord:";
"~u" = "uppercaseWord:";
"^w" = "deleteWordBackward:";
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@zgulde
zgulde / readme.md
Last active February 12, 2021 15:29

Animations From Google Slides

  1. Have imagemagick and ffmpeg installed

  2. Download the slideshow as a pdf

  3. pdf -> pngs

convert -density 300 slides.pdf slide%03d.png