Skip to content

Instantly share code, notes, and snippets.

View whizkydee's full-sized avatar
🏠
Working from home

Olaolu Olawuyi whizkydee

🏠
Working from home
View GitHub Profile
@whizkydee
whizkydee / openvideo.js
Last active October 10, 2018 23:37
openvideo.js - Lone Instagram video extractor.
// openvideo.js - Lone Instagram video extractor.
const openVideo = (() => {
location.hostname === 'www.instagram.com'
&& location.pathname.includes('/p/') ? (
Promise.resolve(document.querySelector('._7thjo').click())
.then(() =>
window.location = document.querySelector('video').src
).catch(() => window.alert('We need a refactor, maybe ;)'))
) : window.alert('Oops. You\'re prolly not on the right page.')
})()
@whizkydee
whizkydee / styles.less
Last active January 13, 2021 21:58
Atom Material Palenight Syntax Operator Mono Tweak
atom-text-editor {
-webkit-font-feature-settings: "liga" off, "calt" off; /* very mandatory */
text-rendering: optimizeLegibility; /* cool */
font-weight: normal; /* for specificity */
line-height: 1.7; /* feel free to adjust */
}
.syntax--doctype, .syntax--entity.syntax--other.syntax--attribute-name, .syntax--source.syntax--js.syntax--jsx > .syntax--keyword.syntax--control.syntax--flow.syntax--js,
.syntax--punctuation.syntax--section.syntax--embedded, .syntax--keyword:not(.syntax--logical):not(.syntax--arithmetic):not(.syntax--bitwise):not(.syntax--increment):not(.syntax--ternary):not(.syntax--comparison),
.syntax--meta.syntax--structure.syntax--dictionary.syntax--key.syntax--json,
.syntax--entity.syntax--name.syntax--tag.syntax--yaml,