Skip to content

Instantly share code, notes, and snippets.

@RebeccaWhit3
RebeccaWhit3 / chrome-javsacript.js
Last active January 17, 2017 03:53 — forked from jlong/uri.js
URI Parsing with Javascript
new URL('https://gist.github.com/jlong/2428561?foo=bar#test');
// =>
//
// {
// hash: "#test",
// search: "?foo=bar",
// pathname: "/jlong/2428561",
// port: "",
// hostname: "gist.github.com",
@RebeccaWhit3
RebeccaWhit3 / portable apps.csv
Created February 18, 2017 06:15
Portable Application Files
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 9.
Filename,Size,Date Modified,Date Created,Attributes
"M:\Dropbox\@Backup\Portable software\focus booster 1.2.exe",2118530,129300934620000000,131293397906139767,0
"M:\Dropbox\@Backup\Portable software\@ Scripts\Windows audio service, restart.bat",156,130926265112155441,130926265112155441,0
"M:\Dropbox\@Backup\Portable software\@ Scripts\midisplit-master\bin\MidiSplitAll.bat",264,130541310480000080,131191415466912763,0
"M:\Dropbox\@Backup\Portable software\@ Scripts\Sysinternals Suite by Mark Russinovich\accesschk.exe",744616,130984549940000000,131012756935432676,0
"M:\Dropbox\@Backup\Portable software\@ Scripts\Sysinternals Suite by Mark Russinovich\AccessEnum.exe",174968,128068815960000000,131012756745485758,0
"M:\Dropbox\@Backup\Portable software\@ Scripts\Sysinternals Suite by Mark Russinovich\ADExplorer.exe",479832,129973837600000000,131012756746046135,0
"M:\Dropbox\@Backup\Portable software\@ Scripts\Sysinternals Suite by Mark Russinovich\ADInsight.exe",2425496,130903641040000000,131012756929918989,0
"M:\D
@RebeccaWhit3
RebeccaWhit3 / useful-symbols-and-emojis.csv
Last active February 26, 2017 09:58
Useful unicode characters and emojis
Symbol Description
() default parenthesis
❨❩ medium parenthesis
❪❫ medium flattened parenthesis
❬❭ medium angle bracket
❮❯ heavy angle quotation mark
❰❱ heavy angle bracket
❲❳ light tortoise shell bracket
❴❵ medium curly bracket
[] default bracket

Software

Types of Software

Applet

Definition:

  • A program designed to be executed from within another application
@RebeccaWhit3
RebeccaWhit3 / Write current page to a new variable.js
Created February 19, 2017 05:00
Write current page to a new variable | JavaScript Snippet
// Write current page to a new variable
var a = document.querySelectorAll('html');
@RebeccaWhit3
RebeccaWhit3 / issue-documentation-templates.md
Last active July 25, 2018 17:22
Issue (bug) documentation templates

Issue documentation templates

Taken from bugs.chromium.org.

Each template includes an "attach a file" option, unless stated otherwise.

Templates

Android Issue

Clipboardic_SLEEPY-PC_40.clp 2/19/2017 9:10:04 AM Explorer File 2,160 SLEEPY-PC
Clipboardic_SLEEPY-PC_41.clp 2/19/2017 9:10:09 AM Unknown 4 SLEEPY-PC
Clipboardic_SLEEPY-PC_71.clp 2/19/2017 9:51:13 AM Text/HTML 1,150 SLEEPY-PC
Clipboardic_SLEEPY-PC_45.clp 2/19/2017 9:20:17 AM Text/HTML 1,423 SLEEPY-PC
Clipboardic_SLEEPY-PC_99.clp 2/19/2017 10:19:33 AM Text/HTML 2,699 SLEEPY-PC
Clipboardic_SLEEPY-PC_43.clp 2/19/2017 9:17:32 AM Text/HTML 2,213 SLEEPY-PC
"M:\Web Fonts\circular-medium.woff2" Clipboardic_SLEEPY-PC_2.clp 2/19/2017 7:20:34 AM Text 512 SLEEPY-PC
@RebeccaWhit3
RebeccaWhit3 / variables.csv
Last active February 19, 2017 16:40
Variable Names
Variable Description Example Value Language Source
allowCrossExtensionHistory n/a true javascript google dictionary for chrome
enableHttps n/a true javascript google dictionary for chrome
language n/a en javascript google dictionary for chrome
popupDblclick n/a true javascript google dictionary for chrome
popupDblclickKey n/a none javascript google dictionary for chrome
popupSelect n/a true javascript google dictionary for chrome
popupSelectKey n/a shift javascript google dictionary for chrome
storeHistory n/a true javascript google dictionary for chrome
@RebeccaWhit3
RebeccaWhit3 / screenshot-captor.md
Last active February 19, 2017 19:05
Screenshot Captor

Screenshot Captor

Custom Fields

Filename

$dt:%DATEFIELD$, replaces one date/time item (see help below) %_num%, 3digit uniqueifying number %autocapcount%

@RebeccaWhit3
RebeccaWhit3 / Find all Javascript console.log() statements.re
Created February 19, 2017 21:20
Find all Javascript console.log() statements
regular