Skip to content

Instantly share code, notes, and snippets.

View 143mailliw's full-sized avatar

william341 143mailliw

  • bruh
  • Arizona
View GitHub Profile

Caveats are italicized. Stand-out features are bolded.

Note that expensive does not mean overpriced (which is explicitly listed when necessary) - rather that it's just that, expensive (but makes up for it with stand-out features).

LAPTOPS

FAVORITE:

  • Framework 13/16 Laptop: Excellent Linux support, best-in-class repairability, quality screen and keyboard. The 16 inch comes with a removable & upgradable 7700XT Mobile GPU as an option. Both are available with AMD Phoenix (7x40U) APUs, and the 13 inch is available with Intel APUs as well. We recommend the AMD option, for the best battery life and performance. Concerning defect rate (though handling for this is fairly good), painful ordering experience.

RUNNER-UPS:

  • Thinkpad T14 (non-slim variant): Decent Linux support and a great keyboard. Can often be found used for extremely cheap, with the previous generation often going for 500-700 dollars, depending on configuration. *Recent models have seen a sharp decli
call plug#begin(stdpath('data') . '/plugged')
" Load the plugins
" Syntax and Autocompletion
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
Plug 'gioele/vim-autoswap'
Plug 'mattn/emmet-vim'
Plug 'sheerun/vim-polyglot'
Plug 'editorconfig/editorconfig-vim'
Plug 'tpope/vim-surround'
@143mailliw
143mailliw / win11.md
Last active May 3, 2022 17:07
Windows 11 Issues List

Issues

Installation

  • The page to download Windows 11 cannot be found from Bing, only Google, and doesn't seem to show up anywhere on the website
  • The Media Creation Tool still uses icons from Windows 8
  • The Media Creation Tool still has an edition selector even though it doesn't do anything
  • The Media Creation Tool still flickers
  • All of the Media Creation Tool languages are in lower case
  • Upgrade prompt in the Windows Update preference pane is buggy
  • Installer still uses Windows 7 themes and Windows 98 buttons
  • Installer still uses the Windows 8 color palette
@143mailliw
143mailliw / make.sh
Created November 28, 2020 04:00
overlay the discord logo animation over an image
echo Creating GIF...
if [ -f "$1" ]; then
mkdir out
echo Cropping + resize to 400x400
convert $1 -trim t1.png
convert t1.png -resize 400x400 t2.png
echo Extracting video frames
ffmpeg -hide_banner -loglevel panic -i connecting.webm out/a%03d.png
echo Chroma keying frames
find out/. -name "*.png" -exec convert "{}" -fuzz 20% -transparent "#000000" "{}" \;
let x = %X% //replace this with X
let y = %Y% //replace this with Y
let index = %INDEX% //replace this with the index
let count = 400
let fraction = index/count
let pi = Math.PI
let tau = Math.PI * 2
let time = Date.now()
let projectionTime = Date.now() - 1583088932597
let projectionStartTime = 1583088932597
<body onload="start()">
<canvas id="canvas" width="800" height="800"></canvas>
<script id="jsbin-javascript">
//stupid
let codeString = `
x' = (if(index == 0,-9.5,if(index == 1,-6.5,if(index == 2,-8.5,if(index == 3,-6.5,if(index == 4,-7.5,if(index == 5,-6.5,if(index == 6,-9.5,if(index == 7,-8.5,if(index == 8,-7.5,if(index == 9,-6.5,if(index == 10,6.5,if(index == 11,7.5,if(index == 12,8.5,if(index == 13,9.5,if(index == 14,6.5,if(index == 15,7.5,if(index == 16,6.5,if(index == 17,8.5,if(index == 18,6.5,if(index == 19,9.5,0)))))))))))))))))))));
y' = (-if(index == 0,-9.5,if(index == 1,-9.5,if(index == 2,-8.5,if(index == 3,-8.5,if(index == 4,-7.5,if(index == 5,-7.5,if(index == 6,-6.5,if(index == 7,-6.5,if(index == 8,-6.5,if(index == 9,-6.5,if(index == 10,6.5,if(index == 11,6.5,if(index == 12,6.5,if(index == 13,6.5,if(index == 14,7.5,if(index == 15,7.5,if(index == 16,8.5,if(index == 17,8.5,if(index == 18,9.5,if(index == 19,9.5,0)))))))))))))))))))));
h = 0;
call plug#begin(stdpath('data') . '/plugged')
" Load the plugins
" Syntax and Autocompletion
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
Plug 'mattn/emmet-vim'
Plug 'sheerun/vim-polyglot'
Plug 'editorconfig/editorconfig-vim'
Plug 'tpope/vim-surround'
Plug 'wokalski/autocomplete-flow'
@143mailliw
143mailliw / SaveSystem.cs
Created August 26, 2017 16:09 — forked from DeclanHoare/SaveSystem.cs
Holey Moley Code Dupe
// Define BINARY_SAVE before release so the player has
// to put some effort into cheating ;)
// During development, leave it undefined to use the
// easily modifiable JSON serialised format
//#define BINARY_SAVE
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
@143mailliw
143mailliw / ScratchJSBlocks.js
Last active August 29, 2015 14:22
Adds blocks
(function(ext) {
ext._shutdown = function() {
};
ext._getStatus = function() {
return {status: 2, msg: 'Installed and Ready'};
};
var descriptor = {
blocks: [