I already have an env init script, located in https://github.com/pulimento/EnvInit
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/zsh | |
# ============================================================================== | |
# Script Name: github-email-history.zsh | |
# | |
# Description: Script to rewrite your Git history to change the author email for commits with the old email. | |
# Please note that your remotes will be removed, and you will need to add them back manually. | |
# First of all, it's recommended to configure your Git user.email to the new email, at least on the working repo. | |
# | |
# Usage: script-name.zsh <folder-path> [--force] | |
# |
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
{ | |
"Right Option Key Sends" : 0, | |
"Tags" : [ | |
], | |
"Ansi 12 Color" : { | |
"Red Component" : 0.011764706112444401, | |
"Color Space" : "sRGB", | |
"Blue Component" : 0.72156864404678345, | |
"Alpha Component" : 1, |
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
;MEDIA CONTROL SHORTCUTS, TO BE USED WITH AUTOHOTKEY | |
;"CTRL + ALT + PageUp" for previous | |
^!PgUp::Media_Prev | |
;"CTRL + ALT + PageDown" for next | |
^!PgDn::Media_Next | |
;"CTRL + ALT + HOME" for play/pause | |
^!Home::Media_Play_Pause |
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
Dism.exe /Online /Cleanup-Image /AnalyzeComponentStore | |
Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase |
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
@echo off | |
REM | |
REM First parameter: Working input (can be a file or a directory) | |
REM Second parameter: Extra action. Possible values: [ ROTATECCW ] | |
REM | |
SET INPUT=%1 | |
SET CURRENTDIR=%cd% | |
SET EXTRA_ACTION=%2 |
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
iex "& { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI" |
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/sh | |
# make sure you have imagemagick installed: brew install imagemagick | |
# your app_icons.sh file should have the correct permissions: run `chmod 775 app_icons.sh` in your terminal from where you put this file | |
# put your `my_icon.png` next to this file and run ./app_icons.sh to export your app icons | |
x=my_icon.png | |
y=${x%.*} | |
# delete the export directory so we start clean |
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
#include <FastLED.h> | |
#define LED_PIN 5 | |
#define NUM_LEDS 21 | |
#define BRIGHTNESS 64 | |
#define LED_TYPE WS2812 | |
#define COLOR_ORDER GRB | |
CRGB leds[NUM_LEDS]; | |
#define UPDATES_PER_SECOND 80 // was 100 |
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
# Define files and directories to delete | |
$include = @("*.suo","*.user","*.cache","*.docstates","bin","obj","*.GhostDoc.xml") | |
# Define files and directories to exclude | |
$exclude = @() | |
$items = Get-ChildItem . -recurse -force -include $include -exclude $exclude | |
if ($items) { | |
foreach ($item in $items) { |
NewerOlder