Skip to content

Instantly share code, notes, and snippets.

@crsayen
crsayen / .zshrc
Created August 24, 2020 22:19
.zshrc for hyper
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
alias python=python3
alias pip=pip3
alias sshrestart='sudo launchctl unload /System/Library/LaunchDaemons/ssh.plist'
export ZSH="/Users/chrissayen/.oh-my-zsh"
export PATH="/Library/Frameworks/Python.framework/Versions/3.8/bin:/Users/chrissayen/.cargo/bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:~/.dotnet/tools:~/sonar-scanner-4.4.0.2170-macosx/bin/:/usr/local/go/bin"
ZSH_THEME="spaceship"
@crsayen
crsayen / settings.json
Created August 24, 2020 22:18
vscode settings.json
{
"editor.fontFamily": "Operator Mono",
"editor.fontLigatures": true,
"editor.fontSize": 20,
"editor.fontWeight": "normal",
"editor.insertSpaces": true,
"editor.formatOnType": true,
"editor.tabSize": 2,
"editor.detectIndentation": true,
"workbench.colorTheme": "Dracula Pro (Van Helsing)",
using HHKBKeymapTool.Models.Definitions;
using HHKBKeymapTool.Properties;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace HHKBKeymapTool.Models
{
public class KeyboardLibrary
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
namespace HHKBKeymapTool.Models
{
public class USBDriver : IUSBDriver
{
using HHKBKeymapTool.Events;
using HHKBKeymapTool.Models.Definitions;
using Prism.Events;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HHKBKeymapTool.Models
{
"PD-KB401W": {
"typeNumber": "PD-KB401W",
"layoutType": 1,
"colorType": 0,
"series": 0,
"layoutTypeName": 1,
"postfix": "",
"isKeymapChangeable": true,
"firmTypeNumber": "AHHX01",