Skip to content

Instantly share code, notes, and snippets.

View bphamict's full-sized avatar
:octocat:
hi there!

Bao Pham bphamict

:octocat:
hi there!
  • Ho Chi Minh City, Viet Nam
View GitHub Profile
@bphamict
bphamict / quiz.com.js
Created January 23, 2026 18:42 — forked from mrcyclo/quiz.com.js
Press F9 to send correct answer
// ==UserScript==
// @name Quiz Auto Answer
// @namespace http://tampermonkey.net/
// @version 2025-05-15
// @description try to take over the world!
// @author mrcyclo
// @match https://quiz.com/*/
// @icon https://www.google.com/s2/favicons?sz=64&domain=quiz.com
// @grant none
// ==/UserScript==
https://gist.githubusercontent.com/bphamict/0fe4f89569205963804bf4e561d7b370/raw/4a3ff9c26994baefb9b5eefc8b8016567cf8a352/enc.key
enc.key
aa83f12e2fe4a267b26ff1da2dbacbfe
# .gitlab-ci.yml
stages:
- build
variables:
# Define any environment variables needed for your build process
SHOPIFY_STORE: "your-shopify-store.myshopify.com"
SHOPIFY_API_KEY: "$SHOPIFY_API_KEY"
SHOPIFY_PASSWORD: "$SHOPIFY_PASSWORD"
@bphamict
bphamict / snipe-it.docker-compose.yml
Last active December 6, 2023 04:23
Snipe-IT docker compose file running on localhost
version: "3.8"
networks:
backend:
driver: bridge
volumes:
mysql:
driver: local
mariadb:
javascript:var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.createTemplateTagFirstArg=function(a){return a.raw=a};$jscomp.createTemplateTagFirstArgWithRaw=function(a,d){a.raw=d;return a};$jscomp.arrayIteratorImpl=function(a){var d=0;return function(){return d<a.length?{done:!1,value:a[d++]}:{done:!0}}};$jscomp.arrayIterator=function(a){return{next:$jscomp.arrayIteratorImpl(a)}};$jscomp.makeIterator=function(a){var d="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return d?d.call(a):$jscomp.arrayIterator(a)};(function(){function a(b){b.forEach(function(c){c.product_items&&c.product_items.forEach(function(e){f[e.model_name]?f[e.model_name]++:f[e.model_name]=1})})}function d(){var b=Object.fromEntries(Object.entries(f).sort(function(c,e){var g=$jscomp.makeIterator(c);g.next();g=g.next().value;var m=$jscomp.makeIterator(e);m.next();return m.next().value-g}));console.info("\u0110\u00e3 ho\u00e0n t\u1ea5t. K\u1ebft qu\u1ea3:");console.table(b)}function n(){var b="https://shopee.vn/api/v2/item/get_ra
function readGroup(group: string) {
let readDigit = [
' Không',
' Một',
' Hai',
' Ba',
' Bốn',
' Năm',
' Sáu',
' Bảy',
WEBVTT FILE
1
00:00:09.500 --> 00:00:12.000
The ocean floor rises 5 miles to the shores
2
00:00:12.001 --> 00:00:16.500
of what people call, the seven mile miracle
@bphamict
bphamict / random.org.user.js
Last active September 10, 2023 06:03
modify number on random.org with XHR request
// ==UserScript==
// @name random.org
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Modify number on random.org with XHR request
// @author bphamict
// @match https://www.random.org/widgets/integers/iframe*
// @icon https://www.google.com/s2/favicons?domain=random.org
// @grant none
// @homepage https://gist.github.com/bphamict/3bcae947d149e0dca71f5da860080ef6
@bphamict
bphamict / random.org.js
Last active January 3, 2026 19:56
Tampermonkey script to generate preset numbers on random.org page
// ==UserScript==
// @name New Userscript
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://www.random.org/widgets/integers/iframe?title=True+Random+Number+Generator&buttontxt=Generate&width=160&height=230&border=on&bgcolor=%23FFFFFF&txtcolor=%23777777&altbgcolor=%23CCCCFFA&alttxtcolor=%23000000&defaultmin=1&defaultmax=100&fixed=off
// @icon https://www.google.com/s2/favicons?domain=random.org
// @grant none
// ==/UserScript==