Skip to content

Instantly share code, notes, and snippets.

@ednisley
ednisley / GRBL - as-shipped config.txt
Created August 20, 2019 19:20
CNC 3018-Pro GRBL configuration files
$0=10
$1=25
$2=0
$3=5
$4=0
$5=0
$6=0
$10=1
$11=0.010
$12=0.002
@c0psrul3
c0psrul3 / Corne.crkbd_c0psrul3.default.json
Last active February 3, 2025 05:46
Corne keyboard layout
[
{
"name": "Corne, default layer",
"author": "https://github.com/c0psrul3",
"plate": false,
"keyboard-layout-editor": "http://www.keyboard-layout-editor.com/#/gists/adfa7c3cd8f0c6d3a7b9155c6eab1748#file-corne-crkbd_c0psrul3-default-json",
"qmk-config": "https://config.qmk.fm/#/crkbd/rev1/LAYOUT"
},
[
{
@simonpo
simonpo / README.md
Last active July 22, 2022 11:54
Windows 10 dev box setup with winget

Winget is a command line tool that allows discovery and installation of applications, which will eventually make its way to mainline Windows 10. As I set up a new machine every couple of weeks, it's handy to have a batch file to run from the command line and install a bunch of tools, utilities and languages I use all the time.

You can install the winget preview appx here, and there are more options described here if you want to go the Windows Insider route.

@michaelmcshinsky
michaelmcshinsky / api-core.js
Last active December 8, 2023 13:51
A comprehensive starter solution to making API calls structured and manageable in code architecture and development teams.
import apiProvider from './provider';
export class ApiCore {
constructor(options) {
if (options.getAll) {
this.getAll = () => {
return apiProvider.getAll(options.url);
};
}
@chamindac
chamindac / win10dockerinstallwsl2.ps1
Last active April 27, 2025 11:28
This script automates installation of Docker Desktop on Windows 10 and uses WSL2
set-executionpolicy -scope CurrentUser -executionPolicy Bypass -Force
If (-NOT ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator))
{
# Relaunch as an elevated process:
Start-Process powershell.exe "-File",('"{0}"' -f $MyInvocation.MyCommand.Path) -Verb RunAs
exit
}
$ProgressPreference = 'SilentlyContinue'
@kylo252
kylo252 / bootstrap_msys2.ps1
Created November 9, 2021 17:13
MSYS2 Bootstrap
<#
.SYNOPSIS
Setup an MSYS2 environment including the minimum tools needed for building neovim on Windows.
.DESCRIPTION
The script will download the latest nightly release of the MSYS2 installer
and install all the packges required for building neovim on Windows.
Requies administrative privilages because the MSYS2 installation must go into `C:\msys64`.
{
"files.autoSave": "onFocusChange",
"vim.easymotion": true,
"vim.incsearch": true,
"vim.useSystemClipboard": true,
"vim.useCtrlKeys": true,
"vim.hlsearch": true,
"vim.sneak": true,
"vim.easymotionMarkerooundColor": "#020202",
"vim.normalModeKeyBindings": [
[
{
"key": "ctrl+tab",
"command": "workbench.action.nextEditor"
},
{
"key": "ctrl+shift+tab",
"command": "workbench.action.previousEditor"
},
{
@mengwangk
mengwangk / config.toml
Last active May 2, 2023 23:56
A Walkthrough on Helix — A Post-Modern Modal Text Editor
theme = "tokyonight"
[editor]
line-number = "relative"
true-color = true
cursorline = true
gutters = ["diagnostics", "spacer", "line-numbers", "spacer", "diff"]
[keys.insert]
j = { k = "normal_mode" }
@mengwangk
mengwangk / languages.toml
Last active May 2, 2023 23:56
A Walkthrough on Helix — A Post-Modern Modal Text Editor
[[language]]
name = "python"
roots = ["pyproject.toml"]
formatter = { command = "black", args = ["--quiet", "-"] }
language-server = { command = "pyright-langserver", args = ["--stdio"] }
config = {}
auto-format = true
[[language]]
name = "rust"