Skip to content

Instantly share code, notes, and snippets.

@JadenH
JadenH / karabiner.json
Last active July 19, 2021 21:34
Windows -> Mac Keys
{
"title": "Windows -> Mac Keys",
"rules": [
{
"description": "Move cursor to end of line [End -> CMD + Right Arrow]",
"manipulators": [
{
"from": {
"key_code": "end",
"modifiers": {
@JadenH
JadenH / .hyper.js
Last active December 15, 2019 18:54
My Hyper Config
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',
@JadenH
JadenH / kebabToPascal.sh
Created December 14, 2019 20:32
Recursively rename filenames from kebab case to pascal case
#!/bin/bash
files=$(find src -name '*.ts' -or -name '*.tsx')
for file in $files; do
path=$(dirname "$file")
filename=$(basename "$file" | sed -r 's/(-)([a-z])/\U\2/g')
mv "$file" "$path/$filename"
done
@JadenH
JadenH / ConEmu.xml
Last active September 5, 2019 01:23
CMDER Settings
<?xml version="1.0" encoding="utf-8"?>
<key name="Software">
<key name="ConEmu">
<key name=".Vanilla" modified="2018-12-11 15:25:12" build="180206">
<value name="StartType" type="hex" data="02"/>
<value name="CmdLine" type="string" data=""/>
<value name="StartTasksFile" type="string" data=""/>
<value name="StartTasksName" type="string" data="{Powershell::PowerShell as Admin}"/>
<value name="StartFarFolders" type="hex" data="00"/>
<value name="StartFarEditors" type="hex" data="00"/>
@JadenH
JadenH / apps.config
Last active December 14, 2019 22:56
<?xml version="1.0" encoding="utf-8"?>
<packages>
<!-- Applications -->
<package id="github" />
<package id="googlechrome" />
<package id="firefox" />
<package id="slack" />
<package id="discord.install" />
<package id="dropbox" />
<package id="googledrive" />
"*":
"atom-beautify":
cpp:
configPath: "C:\\Users\\Holla\\Dropbox\\School\\CS 3505\\uncrustify.cfg"
general:
_analyticsUserId: "b4f27c7f-5394-4b7a-a68e-d13c9e9b56ba"
js:
brace_style: "collapse-preserve-inline"
jsx:
beautify_on_save: true
@JadenH
JadenH / setup.bat
Last active August 29, 2018 01:40
My Windows Setup Script
:: RUN: setup.bat ./PATH_TO_CONFIG.config
@echo off
:: BatchGotAdmin
:-------------------------------------
REM --> Check for permissions
IF "%PROCESSOR_ARCHITECTURE%" EQU "amd64" (
>nul 2>&1 "%SYSTEMROOT%\SysWOW64\cacls.exe" "%SYSTEMROOT%\SysWOW64\config\system"
) ELSE (
@JadenH
JadenH / AutoHotkey_SwitchAlt&Ctrl.ahk
Created August 12, 2016 00:47
AutoHotkey Switch Ctrl & Alt Keys
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
LAlt::LCtrl
LCtrl::LAlt