Skip to content

Instantly share code, notes, and snippets.

View zalmanlew's full-sized avatar

Zalman Lew zalmanlew

View GitHub Profile
@zalmanlew
zalmanlew / password-viewer.bookmarklet
Created May 25, 2021 21:14
save this code as a bookmark and you will be able to view all passwords from a page in plain text
javascript:(function()%7Bdocument.querySelector('input%5Btype%3Dpassword%5D').type%20%3D%20'text'%7D)()
Alabama
Alaska
Arizona
Arkansas
California
Colorado
Connecticut
Delaware
Florida
Georgia
Afghanistan
Albania
Algeria
Andorra
Angola
Antigua and Barbuda
Argentina
Armenia
Australia
Austria
@zalmanlew
zalmanlew / presidents.csv
Last active September 23, 2019 01:39
List of United States Presidents
George Washington
John Adams
Thomas Jefferson
James Madison
James Monroe
John Quincy Adams
Andrew Jackson
Martin Van Buren
William Henry Harrison
John Tyler
@zalmanlew
zalmanlew / RandomSelect.jsx
Created September 1, 2019 03:11
RandomSelect.jsx
//
// Random Select
//
// Version: 0.2
//
// Created by André Berg on 2008-12-16
// Copyright © 2008 Berg Media. All rights reserved.
//
// FOR LICENSE DETAILS SEE THE END OF THE SCRIPT
//
@zalmanlew
zalmanlew / SpeedLevels.md
Created June 23, 2019 19:45
YouTube Custom Speed Levels

To set custom speed levels, run this in the console

javascript: document.getElementsByTagName("video")[0].playbackRate = {speedLevel}

You can also paste it into a Chrome bookmarklet, and then just click on that bookmark to activate it.

var piRef = activeDocument.pathItems;
{
var pathRef = piRef.add();
pathRef.setEntirePath( new Array(
new Array(617.943359375,-723.9296875),
new Array(722.1689453125,-640.8310546875),
new Array(558.7890625,-530.9716796875),
new Array(416.53515625,-459.140625),
new Array(233.4365234375,-597.1689453125),

On a computer, go to: https://wa.me/{phone_number}

Replace {phone_number} with the phone number to send to, including the country code and no special characters.

Example: https://wa.me/18001230000

This will open a WhatsApp Web chat to that specific number.

To attach message just append the link with ?text=

@zalmanlew
zalmanlew / Round Any Corner.jsx
Created January 8, 2019 13:35
Round Any Corner Illustrator Script
// Round Any Corner
// rounds selected corners of PathItems.
// Especially for the corners at the intersection point of curves,
// this script may work better than "Round Corners" filter (but slower).
// ## How To Use
// 1. Select the anchor(s) or whole path(s) to round.
// 2. Run this script. Adjust the values in the dialog.

Keybase proof

I hereby claim:

  • I am zalmanlew on github.
  • I am welz (https://keybase.io/welz) on keybase.
  • I have a public key whose fingerprint is 49C7 9A9C F577 A631 D75C 412C 731C AC46 9500 8387

To claim this, I am signing this object: