Skip to content

Instantly share code, notes, and snippets.

@tientq64
tientq64 / favicon-url.txt
Created May 24, 2024 09:47
Lấy favicon một trang web nào đó.
https://www.google.com/s2/favicons?sz=64&domain=diep.io
@tientq64
tientq64 / no-fullscreen-dropdown.js
Last active May 24, 2024 09:51
Real fullscreen instead of fullscreen dropdown, very annoying when playing games. Useful for Microsoft Edge. Press Shift+F11 to toggle fullscreen.
// ==UserScript==
// @name No Fullscreen Dropdown
// @namespace http://tampermonkey.net/
// @version 0.1.0
// @description Real fullscreen instead of fullscreen dropdown, very annoying when playing games. Useful for Microsoft Edge. Press Shift+F11 to toggle fullscreen.
// @author https://github.com/tientq64
// @match https://*
// @license MIT
// @grant none
// ==/UserScript==
@tientq64
tientq64 / gist:b4497616b07e5e6298b499aa5f73d6de
Created March 11, 2024 13:29
Disabled HTML input autocomplete.
"aria-autocomplete": "both"
@tientq64
tientq64 / chtb.json
Last active July 14, 2024 22:35
chtb
{"models":[{"name":"ikuyo_"},{"name":"le_chan"},{"name":"akemiito"},{"name":"jelly_w"},{"name":"sonny_killl"},{"name":"ayukimin"},{"name":"asoka_yami"},{"name":"may_tion"},{"name":"lo_vely_su"},{"name":"_lilies_gigi_"},{"name":"chae_youn"},{"name":"my_gumi"},{"name":"icebbyy"},{"name":"asuno_"},{"name":"hina_ren"},{"name":"dontstopfap"},{"name":"mikio_san"},{"name":"xiu_monni"},{"name":"little_yena"},{"name":"lim_kagura"},{"name":"clairebabyy1"},{"name":"akenoleee"},{"name":"abbyroses"},{"name":"nayeonobi"},{"name":"cheaptipmenusexyasian"},{"name":"emyii"},{"name":"skyberry_love"},{"name":"jayleenamaya"},{"name":"miilkywaaay"},{"name":"emmahixlove"},{"name":"elizamaisy"},{"name":"petitegonwild"},{"name":"feli_mely"},{"name":"minaku_yu"},{"name":"mia__swanson"},{"name":"aliiceowen"},{"name":"icecreammsa"},{"name":"devillsandra"},{"name":"hannawason"},{"name":"hanah_cho_cho"},{"name":"yuna_pink"},{"name":"solarglare"},{"name":"milila"},{"name":"candy_ly"},{"name":"hotpink4u04"},{"name":"shyeve2004"},{"name":"ta
Mỹ nhân trong thiên hạ đều tầm thường, chỉ có JavaScript mới làm ta thích thú 😂
(6 * 9) + (6 + 9) == 69

[game] Copycat

Little update, I've updated the visuals during the translation and cleaning of the code :) Made with Diorama

A Pen by Tibo on CodePen.

License.

@tientq64
tientq64 / add.js
Last active October 22, 2023 14:57
Add 2 numbers, fix floating point problem, example: 0.1 + 0.2, not support Node.js :Đ
function add(a, b) {
if (a === 0) return b;
if (b === 0) return a;
let sign = 1;
if (a < 0 && b < 0) {
a = -a;
b = -b;
sign = -1;
}
if (b < 0) {
min + Math.floor(Math.random() * (max - min + 1))
@tientq64
tientq64 / drag-and-drop-succulent-garden-solution.markdown
Created February 22, 2021 14:51
Drag-and-Drop Succulent Garden : Solution

Drag-and-Drop Succulent Garden : Solution

One solution to the Drag and Drop Succulent Garden - Project Outline posted for the Creative Coding Club.

A Pen by Nat Cooper on CodePen.

License.