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
# 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 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
{ | |
// See http://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations. | |
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp | |
// List of extensions which should be recommended for users of this workspace. | |
"recommendations": [ | |
"ms-dotnettools.csharp", | |
"leopotam.csharpfixformat", | |
"streetsidesoftware.code-spell-checker", | |
"unity.unity-debug", | |
"editorconfig.editorconfig", |
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
#!/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 |
NewerOlder