Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE NETSCAPE-Bookmark-file-1>
<!-- This is an automatically generated file.
It will be read and overwritten.
DO NOT EDIT! -->
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<TITLE>Bookmarks</TITLE>
<H1>Bookmarks</H1>
<DL><p>
<DT><H3 ADD_DATE="1499854826" LAST_MODIFIED="1538031617" PERSONAL_TOOLBAR_FOLDER="true">Bookmarks bar</H3>
<DL><p>
; Version: 3
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#Warn ; Enable warnings to assist with detecting common errors.
password = *****
#v::
^+z::
Run "C:\Program Files (x86)\Cisco\Cisco AnyConnect Secure Mobility Client\vpnui.exe"
WinWait Cisco AnyConnect Secure Mobility Client
Option Explicit
Public LastMovedItems As Collection
Public LastSourceFolder As Folder
Public LastTargetFolderId As String
Public LastTargetFolderName As String
Public Sub FormatAsCode()
Dim sel
Set sel = ActiveInspector.WordEditor.Application.Selection
@splintor
splintor / puzzle.js
Created September 25, 2018 04:04
My adventofcode solutions
function machine(s) {
const steps = s.split(/[\r\n]+/).map(l => Number(l));
let counter = 0, index = 0;
while (index < steps.length) {
const step = steps[index];
++steps[index];
index += step;
++counter;
}
@splintor
splintor / codemonster.user.js
Last active December 20, 2018 21:25
User script for translating Code Monster and Code Maven to Hebrew [Work in progress]
// ==UserScript==
// @name Translate Code Monster and Code Maven to Hebrew - Work in progress
// @namespace splintor.userscript.org
// @description Translate Crunchzilla\'s Code Monster and Code Maven to Hebrew, using a feminine form. Still need to finish translating...
// @include http://www.crunchzilla.com/*
// @author: Shmulik Flint (splintor@gmail.com)
// @updateUrl https://gist.github.com/splintor/375765738b6db548bb4f355e7fa35cd6/raw
// @version 0.8.6
// ==/UserScript==
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Users\\myname\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'i',
1 verbose cli '\\\\path\\to\\my\\package\\dir' ]
2 info using npm@5.0.0
3 info using node@v7.0.0
4 silly install loadCurrentTree
5 silly install readLocalPackageData
6 silly pacote directory manifest for undefined@file://path/to/my/package/dir fetched in 24ms