Skip to content

Instantly share code, notes, and snippets.

{
"PD-KB401W": {
"typeNumber": "PD-KB401W",
"layoutType": 1,
"colorType": 0,
"series": 0,
"layoutTypeName": 1,
"postfix": "",
"isKeymapChangeable": true,
"firmTypeNumber": "AHHX01",
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
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.Models.Definitions;
using HHKBKeymapTool.Properties;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace HHKBKeymapTool.Models
{
public class KeyboardLibrary
{
@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)",
@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 / .prettierrc
Created August 24, 2020 22:21
basic prettier config
{
"tabWidth": 2,
"useTabs": false,
"semi": false,
"singleQuote": true
}
@crsayen
crsayen / .hyper.js
Created August 24, 2020 22:27
hyper congfig
module.exports = {
config: {
updateChannel: "stable",
webGLRenderer: false,
fontSize: 16,
fontFamily: "OperatorMono Nerd Font",
fontWeight: "bold",
fontWeightBold: "bold",
lineHeight: 1,
letterSpacing: 0,
@crsayen
crsayen / .p10k.zsh
Last active November 3, 2020 21:18
powerlevel 10k config
# Generated by Powerlevel10k configuration wizard on 2020-07-23 at 21:26 EDT.
# Based on romkatv/powerlevel10k/config/p10k-rainbow.zsh, checksum 38309.
# Wizard options: awesome-fontconfig + powerline, large icons, rainbow, unicode,
# 12h time, angled separators, sharp heads, flat tails, 2 lines, dotted, no frame,
# lightest-ornaments, sparse, many icons, concise, instant_prompt=off.
# Type `p10k configure` to generate another config.
#
# Config for Powerlevel10k with powerline prompt style with colorful background.
# Type `p10k configure` to generate your own config based on it.
#
@crsayen
crsayen / .zshrc_iterm
Last active November 3, 2020 21:18
.zshrc for iterm2
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
alias ls='lsd'
alias python=python3
alias pip=pip3
alias sshrestart='sudo launchctl unload /System/Library/LaunchDaemons/ssh.plist'
# Path to your oh-my-zsh installation.
export ZSH="/Users/chris/.oh-my-zsh"
export PATH="/Library/Frameworks/Python.framework/Versions/3.8/bin:/Users/chris/.cargo/bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:~/bin/:/Users/chris/Library/Android/sdk/tools:/Users/chris/Library/Android/sdk/platform-tools"