Skip to content

Instantly share code, notes, and snippets.

View afnizarnur's full-sized avatar

Afnizar Nur Ghifari afnizarnur

View GitHub Profile
@afnizarnur
afnizarnur / index.js
Created August 31, 2023 02:51
Instagram Auto Device Theme User Scripts
// ==UserScript==
// @name Instagram Auto Device Theme
// @version 1.0.0
// @grant none
// @author Afnizar Nur Ghifari
// @license GPL-3.0-or-later
// @match https://www.instagram.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=instagram.com
// @grant none
// ==/UserScript==
@afnizarnur
afnizarnur / index.js
Last active August 25, 2023 14:59
Threads Auto Device Theme User Scripts
// ==UserScript==
// @name Threads Auto Device Theme
// @version 1.0.0
// @grant none
// @author Afnizar Nur Ghifari
// @license GPL-3.0-or-later
// @match https://www.threads.net/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=threads.net
// @grant none
// ==/UserScript==
@afnizarnur
afnizarnur / obsidian-web-clipper.js
Last active July 23, 2023 08:28 — forked from kepano/obsidian-web-clipper.js
Obsidian Web Clipper Bookmarklet to save articles and pages from the web (for Safari, Chrome, Firefox, and mobile browsers)
javascript: Promise.all([import('https://unpkg.com/turndown@6.0.0?module'), import('https://unpkg.com/@tehshrike/readability@0.2.0'), ]).then(async ([{
default: Turndown
}, {
default: Readability
}]) => {
/* Optional vault name */
const vault = "";
/* Optional folder name such as "Clippings/" */
float bg = 20;
float s = 255;
float xoff = 0;
float yoff = 1000;
float u(float n) {
return width/100 * n;
}
@afnizarnur
afnizarnur / UserChrome.css
Last active January 24, 2020 04:20
My Firefox UserChrome.css
/* Line on Tabs */
#TabsToolbar .tabbrowser-tab[selected] .tab-line {
display: none !important;
}
/* Back Button */
#back-button:not(:hover),
#back-button:not(:hover) > .toolbarbutton-icon {
background: transparent !important;
border: none !important;
@afnizarnur
afnizarnur / SketchSystems.spec
Created July 9, 2019 08:06
# DANA Binding Modal
# DANA Binding Modal
First State
some event -> Second State
Second State
@afnizarnur
afnizarnur / SketchSystems.spec
Last active May 22, 2019 22:12
# DANA Card Payment
# DANA Card Payment
Checkout
Payment Method
DANA Homepage
Credit Card Form
@afnizarnur
afnizarnur / SketchSystems.spec
Last active December 20, 2019 07:42
# DANA Voucher on Voucherku Project
# DANA Voucher on Voucherku Project
Entry Point
open from notification -> Detail Voucher
open from smartcard item -> Detail Voucher
open from voucherku page -> Detail Voucher
open from smartcard lihat semua -> Voucherku Page
Flow
Voucherku Page*
Egg Timer*
Stopped*
activate -> Ticking
Ticking
time elapsed -> Stopped
@afnizarnur
afnizarnur / gist:55a3eb945a5063c478db05e233039c8e
Created April 28, 2017 06:38
App is damaged and can’t be opened in Sierra
sudo spctl --master-disable