This file contains hidden or 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
# Accept the remote version for all conflicting files with: | |
git rebase --strategy-option theirs | |
# Alternatively, to accept the local version for all conflicting files, use: | |
git rebase --strategy-option ours |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
NewerOlder