Skip to content

Instantly share code, notes, and snippets.

@millermedeiros
millermedeiros / osx_setup.md
Last active May 1, 2024 20:46
Mac OS X setup

Setup Mac OS X

I've done the same process every couple years since 2013 (Mountain Lion, Mavericks, High Sierra, Catalina) and I updated the Gist each time I've done it.

I kinda regret for not using something like Boxen (or anything similar) to automate the process, but TBH I only actually needed to these steps once every couple years...

@fanfare
fanfare / gist:96da458bc902292542b836a682a4586a
Created May 20, 2023 01:27
uBlock filters to hide Twitter's "Discover More" feature
twitter.com##div[data-testid="cellInnerDiv"]:has(h2):has-text(Discover more) ~ *
twitter.com##div[data-testid="cellInnerDiv"]:has(h2):has-text(Discover more)
@mfehrenbach
mfehrenbach / chrome-device-dimensions.md
Last active May 1, 2024 20:45
Modern device dimensions for Chrome DevTools.

Modern Device Dimensions for Chrome DevTools

These are modern “Emulated Devices” (a.k.a. responsive dimensions) for Chrome DevTools’ Mobile Device Viewport Mode.

They are specifically Apple devices, subtracting for recent Safari UI (as in window.innerWidth/Height), and cleverly sorted with some dark-arts unicode shenanigans. (This glitchy, unloved portion of the tools sorts lexicographically, because of course it would.) Ergonomics!

before-after

Nest Hub Max? Come on. I dropped a bunch of devices that were older and/or close to these dimensions. It obviously doesn’t cover everything (sorry Android/Chrome), but offers a decent spread/increments for common 2023/2024 viewports.

@werm
werm / dabblet.css
Created December 20, 2011 16:27
Web UI Kit in CSS
/* Web UI Kit in CSS */
body {
background: url('http://f.cl.ly/items/2y0S3r1h3B2h2c3K351y/Tile.png');
}
#container {
width: 300px;
position: relative;
margin: 0 auto;
}
// Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
* States that the extension can be in.
*/
var StateEnum = {
@insung
insung / CrxMouse_Gesture.json
Created May 18, 2018 00:13
chrome crx mouse gesture setting
{
"cfgver": 2.3,
"others": {
"tuilink": false
},
"normal": {
"gesture": true,
"drag": true,
"scroll": false,
"autocancel": false,
@FerraBraiZ
FerraBraiZ / Desabilitar o CORS
Last active May 1, 2024 20:42
Desabilitar o CORS ( --disable-web-security ) no Linux e Windows no Google Chrome ou Chromium para fins de teste.
no Linux abra um terminal ( shell ):
google-chrome --disable-web-security --user-data-dir="/tmp/"
chromium-browser --disable-web-security --user-data-dir="/tmp/"
no Windows abra um terminal ( shell )
C:\Program Files (x86)\Google\Chrome\Application\chrome.exe --disable-web-security --user-data-dir="c:/tmp"
@beccasaurus
beccasaurus / . 🔥💋 OkCupid "Who Likes You" Extension .md
Last active May 1, 2024 20:40
🔥💋 OkCupid "Who Likes You" Extension

💘 OkCupid "Who Likes You" Extension


Yes, I did.

The Who Likes You page SUCKS to manage.

@netjoon
netjoon / Browser.pjson
Last active May 1, 2024 20:39
Browser
{"name":"mainLoop","projectname":"Browser","objectlist":[{"class":"ImageButton","resource-id":"softkey%253A%252Fcalltest","codegen":"","varname":"callTest_1","objecttable-uuid":"1633f19c-b6c2-4c3b-c1e0-40644a7155c4","action":"codegen","uititle":"ImageButton%250Asoftkey%253A%252Fcalltest","uinameinfo":"%253Csoftkey%253A%252Fcalltest%253E","actiontype":"script","calltestloop":"1","calltest":"startTest","loadfromsavedobject":true}],"objectindex":0}
@mtbfuiengine2
mtbfuiengine2 / Browser_05_01_04_01.json
Last active May 1, 2024 20:39
Hplus_ATT_Call_Browser_Test
{"name":"Browser_05_01_04_01","objectlist":[{"class":"ImageButton","resource-id":"softkey%3A%2Fscriptaction","codegen":"logStartTest(%22Browser_05_01_04_01%22)","varname":"scriptAction_2","objecttable-uuid":"cacb6879-6171-492d-d041-99bbf64e28c2","action":"click","uititle":"ImageButton%0Asoftkey%3A%2Fscriptaction","uinameinfo":"%3Csoftkey%3A%2Fscriptaction%3E","actiontype":"script","randomexec":"100","waittime":"0s","loadfromsavedobject":true},{"class":"ImageButton","resource-id":"softkey%3A%2Fgotoapp","codegen":"","varname":"gotoApp_2","objecttable-uuid":"ec8c2cb5-005c-4189-c656-6b608778077e","action":"codegen","uititle":"ImageButton%0Asoftkey%3A%2Fgotoapp","uinameinfo":"%3Csoftkey%3A%2Fgotoapp%3E","actiontype":"script","randomexec":"100","waittime":"0s","inputtext":"Chrome","loadfromsavedobject":true},{"parentid":9223372032559809000,"sourcenodeid":9223372032559809000,"windowid":320,"index":2,"classname":"Button","class":"Button","text":"Accept%20%20continue","parentpathid":-119906854,"objectid":-731197748,"s