Skip to content

Instantly share code, notes, and snippets.

View nledford's full-sized avatar

Nathaniel Ledford nledford

View GitHub Profile
@nledford
nledford / wanikani-hourly.user.js
Last active October 17, 2023 18:46
Custom Wanikani Script
// ==UserScript==
// @name Wanikani Review Average
// @namespace http://tampermonkey.net/
// @version 0.4
// @description Custom logic for hourly reviews from Wanikani
// @author Nathaniel Ledford
// @updateURL https://gist.githubusercontent.com/nledford/27eb20d2775901b3b4a7c4bc8445683e/raw/script.js
// @match https://www.wanikani.com/
// @icon https://www.google.com/s2/favicons?sz=64&domain=wanikani.com
// @grant none
@nledford
nledford / wanikani.md
Last active June 27, 2022 11:58
A list of userscripts I use on Wanikani
@nledford
nledford / update.md
Last active October 27, 2023 23:24
Update NPM packages
bun add -g @angular/cli @vue/cli brunch create-react-app create-yew-app electron eslint firebase-tools http-server nativefier npm-check-updates typescript sass

Keybase proof

I hereby claim:

  • I am nledford on github.
  • I am nateledford (https://keybase.io/nateledford) on keybase.
  • I have a public key ASB6V7dcu5-7E9paGwFAO_U41TtWxOcVlSilD1Rr01yt9go

To claim this, I am signing this object:

@nledford
nledford / clear_log.sql
Created August 15, 2018 17:04
Clear SQL Server Log
ALTER DATABASE TDY_Marine_BIDW
SET RECOVERY SIMPLE;
GO
DBCC SHRINKFILE (TDY_Marine_BIDW, 1);
GO
ALTER DATABASE TDY_Marine_BIDW
SET RECOVERY FULL;
GO
@nledford
nledford / convert.md
Created October 26, 2017 12:49
Convert JSON date to Power BI date

if [- column -] = null then null else #datetime(1970, 1, 1, 0, 0, 0) + #duration(0, 0, 0, Number.FromText(Text.Range([- column -], 6, Text.Length([- column -]) - 8))/1000)