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
*~ | |
.DS_Store | |
.vscode/ | |
.idea/ |
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
noremap <Up> <Nop> | |
noremap <Down> <Nop> | |
noremap <Left> <Nop> | |
noremap <Right> <Nop> | |
set hls | |
set ic | |
set is | |
set nu | |
set noswf |
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
{ | |
"$schema": "https://biomejs.dev/schemas/1.4.0/schema.json", | |
"files": { | |
"ignore": ["**/__generated__/*"] | |
}, | |
"linter": { | |
"rules": { | |
"style": { | |
"useBlockStatements": "error", | |
"useShorthandArrayType": "error", |
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
#!/bin/bash | |
SOURCE_BUCKET="some-bucket-x" | |
PROFILE="my-profile" | |
content=$(aws s3api list-objects-v2 --profile=$PROFILE --bucket $SOURCE_BUCKET --query 'Contents[?(LastModified > `2021-09-01`)]' --prefix some/path | jq -r ".[].Key") | |
for file in $content; | |
do | |
XE=$(echo $file | sed -e "s/.png.png/.png/g") |
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
openssl rand -base64 10 |
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
public class Something | |
{ | |
SaveData saveData; | |
void Save() | |
{ | |
BinaryFormatter bf = new BinaryFormatter(); | |
FileStream file = File.Create(FileLocation()); | |
bf.Serialize(file, saveData); | |
file.Close(); |
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
#!/usr/bin/env bash | |
# export with https://github.com/jtholloran/shots | |
rm -r ~/Desktop/App/shots/iPhone_4 | |
rm -r ~/Desktop/App/shots/iPhone_SE | |
rm -r ~/Desktop/App/shots/iPhone_678 | |
rm -r ~/Desktop/App/shots/iPhone_XS | |
rm -r ~/Desktop/App/shots/iPhone_XR |
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
/.gradle/ | |
/.vscode/ | |
/[Ll]ibrary/ | |
/[Tt]emp/ | |
/[Oo]bj/ | |
/[Ll]ogs/ | |
/[Bb]uild/ | |
/[Bb]uilds/ | |
/Assets/AssetStoreTools* | |
/Assets/tmp/_ignored/ |
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
defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO | |
defaults write com.microsoft.VSCodeInsiders CGFontRenderingFontSmoothingDisabled 0 | |
defaults write com.microsoft.VSCodeInsiders.helper CGFontRenderingFontSmoothingDisabled 0 | |
defaults write com.microsoft.VSCodeInsiders.helper.EH CGFontRenderingFontSmoothingDisabled 0 | |
defaults write com.microsoft.VSCodeInsiders.helper.NP CGFontRenderingFontSmoothingDisabled 0 |
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
// https://laendercode.net/de/2-letter-list.html | |
var table = document.querySelectorAll('.table')[0] | |
var codes = [].slice.call(table.querySelectorAll("h4")).map(function(elem) { return elem.innerText; }) | |
var names = [].slice.call(table.querySelectorAll("td:last-child a")).map(function(elem) { return elem.innerText; }) | |
var object = codes.map(function(code, i) { return {code, name: names[i]}; }) | |
var elem = document.createElement("textarea"); | |
elem.cols = "100"; |
NewerOlder