Skip to content

Instantly share code, notes, and snippets.

View NoCtrlZ1110's full-sized avatar
🥴
life has no ctrl+z !

Nguyễn Văn Huy NoCtrlZ1110

🥴
life has no ctrl+z !
View GitHub Profile
@inchoate
inchoate / readme.md
Last active November 21, 2025 01:58
Open clicked URLs into a particular Google Chrome profile

Problem

When I click on links from Slack or Outlook on MacOS they open in seemingly random browser windows/profiles. This is annoying.

Solution

Open links in a particular google chrome profile window. Be less annoyed.

  1. In Chrome, visit chrome://version and find the desired profile name. Mine was Default. Copy that profile's directory name, like Profile 2 or Default, not the profile's vanity name you see when you click on your profile icon in the browser.
  2. Install Finicky: brew install finicky. After install it should be running and you should see the icon in the upper toolbar.
  3. From the Finicky Toolbar Item, click > Config > Create New
  4. Edit the new file ~/.finicky and make it look something like this, filling in your profile name:
@n1snt
n1snt / Oh my ZSH with zsh-autosuggestions zsh-syntax-highlighting zsh-fast-syntax-highlighting and zsh-autocomplete.md
Last active November 20, 2025 09:42
Oh my ZSH with zsh-autosuggestions zsh-syntax-highlighting zsh-fast-syntax-highlighting and zsh-autocomplete.md

Oh my zsh.

Oh My Zsh

Install ZSH.

sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh

Install Oh my ZSH.

@jayremnt
jayremnt / unfollow-strangers.js
Created April 12, 2021 13:06
Unfollow all strangers on Facebook (include both users and pages)
/*
Script by JayremntB, 2021
Unfollow all strangers
Please copy all the code to make sure that you will not get any errors
*/
// You can change time delay below or not (in milliseconds, 1 s = 1000 ms)
let delayTime = 0;
// process, please don't modify
@Sauerstoffdioxid
Sauerstoffdioxid / googleurlparams.md
Last active October 31, 2025 04:40
Google/Blogger Image URL Parameters

Google/Blogger Image URL Parameters

This is an effort to document what is known about Google's (Blogger's/Blogspot's) image URL parameters. Some of these options were taken from existing first or third party documentation (see the links at the end of this document), but the majority is based off my own investigations.

Where to use them?

  • On Blogger's image URL's: 2.bp.blogspot.com/-OF7u67HQE1M/VHc8S8qJTDI/AAAAAAAACxI/UD-11c63diQ/s1600/005.png
  • On just about any googleusercontent image URL: https://lh3.googleusercontent.com/Jvmz11cLrvNIHG_LWjVO9B-UV2IN4Cfk1pycbhWZl6IriMgCAGCOFuBRtoHaiZ6xeVGqCugZcCql=w176-h176-n-o

Replace the bolded parts with the parameters.

const express = require('express');
const bodyParser = require('body-parser');
const jwt = require('jsonwebtoken');
const router = express.Router();
const config = require('./config');
const utils = require('./utils');
const tokenList = {};
const app = express();
router.get('/', (req, res) => {
*. Full Toolkit 4.7:
https://veryfiles.com/apcik7jdp3wz
https://uploading.vn/vtyktzy6ukao
*. Tools Download 4:
https://veryfiles.com/j7ixfpx6disy
https://uploading.vn/f2t2lheqjben
*. 6.40 b.11 P@cth:
https://veryfiles.com/8pp1pwdly2kp
@bxcodec
bxcodec / _struct_to_map.go
Last active July 31, 2024 21:43
Golang Struct To Map Example By JSON tag
/*
This function will help you to convert your object from struct to map[string]interface{} based on your JSON tag in your structs.
Example how to use posted in sample_test.go file.
*/
func structToMap(item interface{}) map[string]interface{} {
res := map[string]interface{}{}
if item == nil {
return res
}
<Name>IDM Full ToolKit</Name>
<Version>4.7</Version>
<Download>https://onedrive.live.com/download?cid=860C6C270D0296DF&resid=860C6C270D0296DF%21175&authkey=APaTYii-uJSRpD0</Download>
link khác:
https://uploading.vn/vtyktzy6ukao
https://veryfiles.com/apcik7jdp3wz
[IDM Toolbar]
<URL>https://drive.google.com/uc?export=download&id=0B3sqdC3gTItxWDNubEFCZEI0RkE</URL>