Skip to content

Instantly share code, notes, and snippets.

Avatar

william341 143mailliw

  • bruh
  • Arizona
View GitHub Profile
View verybadinit.vim
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
Windows 11 Issues List
View win11.md

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 Nov 28, 2020
overlay the discord logo animation over an image
View make.sh
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" "{}" \;
View exportedToJs.js
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
View index.html
<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;
View init.vim
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 Aug 26, 2017 — forked from DeclanHoare/SaveSystem.cs
Holey Moley Code Dupe
View SaveSystem.cs
// 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;
View ScratchJSBlocks.js
(function(ext) {
ext._shutdown = function() {
};
ext._getStatus = function() {
return {status: 2, msg: 'Installed and Ready'};
};
var descriptor = {
blocks: [