Skip to content

Instantly share code, notes, and snippets.

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
@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==
@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;
}
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
; 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
<!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>
@splintor
splintor / OzVeshalomChanges.css
Created September 27, 2018 09:54
OzVeshalom - Alchem modifications
.widget-box { text-align: center }
.widget-box h2::after { display: none }
.site-nav > ul > li.current-menu-item > a { color: #fdd200 }
form.search-form {
background-color: white;
margin-top: 7px;
}
@splintor
splintor / GitHubAddPathSearch.user.js
Last active June 1, 2020 12:12
GitHub - Add Path Search
// ==UserScript==
// @name GitHub - Add Path Search
// @namespace http://splintor.wordpress.com/
// @version 0.2
// @description Enable easy searching in a specific path
// @author splintor@gmail.com
// @updateUrl https://gist.github.com/splintor/8d3f12b86962efe5dcacb28ca15aa87d/raw
// @match https://github.com/*
// ==/UserScript==
@splintor
splintor / giphyAddMarkdownTag.user.js
Last active October 7, 2021 17:33
Giphy - add Markdown format
// ==UserScript==
// @name Giphy - add Markdown format
// @namespace http://splintor.wordpress.com/
// @version 0.3
// @description Enable to paste the GIF directly in a GitHub comment or anywhere else that requires a Markdown syntax
// @author splintor@gmail.com
// @updateUrl https://gist.github.com/splintor/d17771cf706a5d874222651577be7e8a/raw
// @match https://giphy.com/*
// ==/UserScript==
@splintor
splintor / cibusDefaultSort.user.js
Last active February 6, 2020 19:43
Cibus - Set initial sorting
// ==UserScript==Cibus - Set initial sorting
// @name
// @namespace http://shmulik.flint.org/
// @version 0.1
// @description Make Cibus sort by minimum orders number
// @author Shmulik Flint
// @match https://www.mysodexo.co.il/*
// @updateUrl https://gist.github.com/splintor/368fd331dfe7ce55ffd69e4bc94e53e3/raw
// @grant none
// ==/UserScript==