Skip to content

Instantly share code, notes, and snippets.

@howar31
howar31 / Steam_Summer_2022_Clorthax_Quest.js
Last active June 25, 2022 04:33
Go to https://store.steampowered.com/sale/clorthax_quest and paste the script into devtool (F12/Ctrl Shift I/Cmd Shift I)
let delay = (ms) => new Promise((res) => setTimeout(res, ms));
await jQuery.post("/saleaction/ajaxopendoor", {
sessionid: g_sessionID,
authwgtoken: jQuery("#application_config").data("userinfo").authwgtoken,
door_index: 0,
clan_accountid: 41316928,
});
var i = 1;
for (let link of [
"/category/arcade_rhythm/?snr=1_614_615_clorthaxquest_1601",
@howar31
howar31 / ANSI_Color.sh
Created April 20, 2022 23:32
ANSI Color for Bash Shell
#!/bin/sh
# Reset
NC='\033[0m' # Text Reset
# Regular Colors
Black='\033[0;30m' # Black
Red='\033[0;31m' # Red
Green='\033[0;32m' # Green
Yellow='\033[0;33m' # Yellow
@howar31
howar31 / simple_scrollbar_hover_effect.css
Last active September 26, 2024 08:32
Neat and clean scrollbar with hover transition effect CSS
// Scrollbar with Hover Transition Effect
.container::-webkit-scrollbar {
width: 14px;
}
.container::-webkit-scrollbar-thumb {
background-clip: content-box;
border: 4px solid transparent;
border-radius: 7px;
box-shadow: inset 0 0 0 10px;
}
@howar31
howar31 / simple_scrollbar.css
Last active March 8, 2018 08:30
Neat and clean scrollbar CSS
// Simple Scrollbar
::-webkit-scrollbar {
width: 14px;
}
::-webkit-scrollbar-thumb {
border: 4px solid rgba(0, 0, 0, 0);
background-clip: padding-box;
-webkit-border-radius: 7px;
background-color: #666666;
-webkit-box-shadow: inset -1px -1px 0px rgba(0, 0, 0, 0.05), inset 1px 1px 0px rgba(0, 0, 0, 0.05);
@howar31
howar31 / HeadingNumbering.gs
Created February 6, 2018 08:37
Heading Numbering script for Google Docs
function onOpen() {
// Add a menu with some items, some separators, and a sub-menu.
DocumentApp.getUi().createMenu('章節編號')
.addItem('自動章節編號', 'numberHeadingsAdd')
.addItem('清除章節編號', 'numberHeadingsClear')
.addToUi();
}
function numberHeadingsAdd(){
numberHeadings(true);
@howar31
howar31 / index.html
Created July 9, 2017 08:47
Basic HTML5 Template
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Basic HTML5 Template</title>
<meta name="description" content="Basic HTML5 Template">
<meta name="author" content="Howar31">
@howar31
howar31 / synology_chat_emoji_search.js
Last active June 20, 2018 10:20
Emoji Search for Synology Chat
// ==UserScript==
// @name Emoji Search for Synology Chat
// @namespace https://chat.synology.com/
// @version 0.2
// @description Add search function for emoji list in Synology Chat
// @author Howar31
// @match https://chat.synology.com/*
// @run-at document-idle
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js
https://clyp.it/o4klokhx.mp3
https://clyp.it/y454cw4d.mp3
https://clyp.it/uzgofddb.mp3
https://clyp.it/04vp2aiu.mp3
https://clyp.it/l2zg20hc.mp3
https://clyp.it/5ykwd2to.mp3
https://clyp.it/g14xywd0.mp3
https://clyp.it/hymyjwmt.mp3
https://clyp.it/lsjm5qj0.mp3
https://clyp.it/boh1dknv.mp3
@howar31
howar31 / Markdown_Cheatsheet.md
Last active July 24, 2023 07:43
Markdown Cheatsheet