Skip to content

Instantly share code, notes, and snippets.

View erbanku's full-sized avatar

Cactus erbanku

View GitHub Profile
View Microsoft.PowerShell_profile.ps1
Function search-google {
$query = ''
$args | ForEach-Object { $query = $query + "$_+" }
$url = $query.Substring(0, $query.Length - 1)
Start-Process "$url"
Set-Alias google search-google
Set-Alias Google search-google
Set-Alias 谷歌 search-google
View Unblock all blocked Twitter accounts at once - Luca

Unblock all blocked Twitter accounts at once

by Luca Hammer (Blog)

  • Update 21.04.2020: The code still works, but only if you set the account language to English.
  • Update 23.11.2019: There are reports that Twitter started to prevent the automated unblocking of accounts. After some 50 to 100 unblocks, the page with blocked accounts get blocked. As a result the script may currently not work.
  • Update 17.11.2019: The old code only worked in Firefox. I updated it to work in Chrome as well.
  • Update 12.07.2019: NewTwitter also known as Twitter Web has a completely new interface. I updated the code accordingly.

If you have blocked hundreds of accounts, unblocking them one by one takes a lot of time. But there is a quick and easy way to unblock them all at once. You don’t need to give any app write permissions to your account for it to work.

erbanku / Fix Windows No Internet Access Issue.reg
Created August 4, 2023 09:51
Fix Windows No Internet Access Issue - (By the Way, Fuck GFW)
View Fix Windows No Internet Access Issue.reg
Windows Registry Editor Version 5.00
"ActiveWebProbeContent"="Microsoft NCSI"
"ActiveWebProbeContentV6"="Microsoft NCSI"

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional


erbanku / gist:448059c9443a526646ecc7c583fb8264
Created June 3, 2023 03:39 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup
View gist:448059c9443a526646ecc7c583fb8264


:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
erbanku / worker.js
Created May 26, 2023 02:06
OpenAI API Proxy on Cloudflare Workers
View worker.js
const TELEGRAPH_URL = '';
addEventListener('fetch', event => {
async function handleRequest(request) {
const url = new URL(request.url);
const headers_Origin = request.headers.get("Access-Control-Allow-Origin") || "*" = TELEGRAPH_URL.replace(/^https?:\/\//, '');
erbanku / chatpdf-zh.ipynb
Created March 25, 2023 12:06 — forked from ninehills/chatpdf-zh.ipynb
View chatpdf-zh.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
erbanku / Bing Daily Wallpapers (4K).md
Last active November 20, 2022 06:46
View Bing Daily Wallpapers (4K).md

Bing Wallpapers

Since 2021-02-01

2022-11-20 | Virgin River in Zion National Park, Utah (© Jonathan Ross/Getty Images)

2022-11-19 | The gates of the Royal Palace (Dar al-Makhzen) in Fez, Morocco (© Adam Smigielski/Getty Images)