Howdy folks! If you're not me (reccanti), then welcome to my speedrunning notes! For the most part, I've been following along with this guide InsertLogic (give it a watch!). Most things will be related to what he said, though I'll bring up places where I deviate from that or replace his strategy with something a little easier:
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
"This setup requires both 'Neovim' and 'vim-plug' to be | |
"installed for it to work. Read the docs to figure out how | |
"to do that! I'm not going to include links in case they | |
"get stale. Once you've done that, source this file and run | |
":PlugInstall to get everything working! | |
" | |
"~reccanti 4/27/2021 | |
call plug#begin('~/.vim/plugged') | |
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } |
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
.foo { | |
&#{&}#{&}:focus { | |
color: black; | |
} | |
} |
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
diff jsonBin.json scraper.json > result.diff |
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
Process: obs [4998] | |
Path: /Applications/OBS.app/Contents/MacOS/obs | |
Identifier: com.obsproject.obs-studio | |
Version: 26.0.2 (26.0.2) | |
Code Type: X86-64 (Native) | |
Parent Process: ??? [1] | |
Responsible: obs [4998] | |
User ID: 501 | |
Date/Time: 2020-11-28 15:35:34.570 -0500 |
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
ffmpeg -i BackToTopDemo.mov -filter_complex "[0:v] fps=30,scale=720:-1,split [a][b];[a] palettegen [p];[b][p] paletteuse" BackToTopDemo.gif |
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
// Lightweight testing framework | |
// Runs through a nested JS Object until it | |
// finds an entry with a function value. | |
// Otherwise, recursively cycle through the list, adding | |
// descriptive tags along the way | |
function run(tests) { | |
const greenText = text => `\x1b[32m${text}`; | |
const redText = text => `\x1b[31m${text}`; | |
const resetText = text => `\x1b[0m${text}`; |
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
import SpriteKit | |
import PlaygroundSupport | |
// Variables to manipulate the demo | |
let COLORS: [UIColor] = [.white, .cyan, .white, .magenta] | |
let NUM_SHAPES = 6 // The number of shapes that will appear onscreen | |
let SPEED = 0.5 // the speed at whic the demo will move | |
/* |
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
import SpriteKit | |
import PlaygroundSupport | |
// Variables to manipulate the demo | |
let NUM_SHAPES = 8 // The number of shapes that will appear onscreen | |
let SPEED = 1 // the speed at whic the demo will move | |
func getScaleFactor(numShapes: Int, index: Int) -> Double { | |
return 100.0 / Double(numShapes) * Double(index) |
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
import SpriteKit | |
import PlaygroundSupport | |
let view = SKView() | |
let scene = SKScene(size: CGSize(width: 100, height: 100)) | |
scene.backgroundColor = #colorLiteral(red: 1.0, green: 1.0, blue: 1.0, alpha: 1.0) | |
scene.scaleMode = .aspectFit | |
for i in 1 ... 7 { | |
let rect = SKShapeNode(rect: CGRect(x: -25, y: -25, width: 50, height: 50)) |
NewerOlder