Skip to content

Instantly share code, notes, and snippets.

import requests
import re
import sys
tags = ['', 'python', 'javascript', 'django', 'web', 'google', 'java', 'ajax',
'rails', 'plugin', 'android', 'cplusplus', 'mysql', 'dotnet', 'game',
'appengine', 'php', 'flash', 'jquery', 'database', 'gwt']
seen_tags = set(tags)
@AKJUS
AKJUS / keeper_auto_task.js
Created April 15, 2025 15:34 — forked from CryptYlliON/keeper_auto_task.js
This gist shows an autotask that can be used with OpenZeppelin Defender on the free tier without relayer
// Settings edited by user
const YOUR_KEEP3R_ADDRESSS = "";
const YOUR_KEEP3R_PRIVATE_KEY = "";
// Code starts here
const { ethers } = require("ethers");
const privateKey = Buffer.from(YOUR_KEEP3R_PRIVATE_KEY, 'hex');
const UniswapOracleV2 = "UniswapOracleV2";
const HegicPoolKeep3r = "HegicPoolKeep3r";
How to Draw: Drawing and Sketchin... ░░░░░░░░░░░░░ 0%
Database Internals: A deep-dive i... ░░░░░░░░░░░░░ 0%
Designing Data-Intensive Applicat... ██████▌░░░░░░ 50%
@AKJUS
AKJUS / server-settings.json
Created April 7, 2025 12:11 — forked from Mamonaminyar/server-settings.json
Stremio default settings
{
"serverVersion": "4.15.0",
"appPath": "Path to the stremio-server",
"cacheRoot": "Path to the cache-folder",
"cacheSize": 2147483648,
"btMaxConnections": 55,
"btHandshakeTimeout": 20000,
"btRequestTimeout": 4000,
"btDownloadSpeedSoftLimit": 2621440,
"btDownloadSpeedHardLimit": 3670016,
{
"printWidth": 100,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"trailingComma": "es5",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"arrowParens": "avoid",
@AKJUS
AKJUS / visually-hidden.css
Created April 6, 2025 12:22 — forked from luxplanjay/visually-hidden.css
Visually hidden CSS pattern
.visually-hidden {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
border: 0;
padding: 0;
white-space: nowrap;
clip-path: inset(100%);
@AKJUS
AKJUS / gentoo-crossdev.md
Created April 5, 2025 03:12 — forked from thesamesam/gentoo-crossdev.md
Gentoo cross compilation instructions (crossdev -> stage3)

aki Cross instructions

These instructions cover:

  1. building a cross toolchain
  2. populating the new ROOT
  3. making it chrootable using qemu-user to easily run "native" builds or tests (this is like a stage3 at the end)

You do not need to follow through to the end if you don't need a stage3-like root.

Set up the toolchain

@AKJUS
AKJUS / keybase.md
Created April 5, 2025 03:09 — forked from grimmy/keybase.md

Keybase proof

I hereby claim:

  • I am grimmy on github.
  • I am grim (https://keybase.io/grim) on keybase.
  • I have a public key whose fingerprint is 51F6 2161 2B0D C897 E15C D20B 97DF 4484 2B86 AADD

To claim this, I am signing this object:

@AKJUS
AKJUS / githoard.py
Created March 31, 2025 05:54 — forked from Stankye/githoard.py
Makes a list of a Github users stars or public repositories as clonable git url's
#!/usr/bin/env python3
# Usage:
# python githoard.py -u <githubUser> -m <method> -t <githubToken> -o <output>
#
# Example:
# python githoard.py -u stankye -m stars -t <githubToken> -o ./stars.txt
#
import argparse
import os
from github import Github # pip install PyGithub
TERMS OF SERVICE AGREEMENT
This Terms of Service Agreement (the "Agreement") is entered into between [Anshul Chauhan] ("Bot Owner") and the user ("User") of the [Bot Name] Discord bot (the "Bot").
By using the Bot, the User agrees to be bound by the terms of this Agreement. If the User does not agree to the terms of this Agreement, they should immediately discontinue use of the Bot.
1. Use of the Bot: The Bot Owner grants the User a non-exclusive, non-transferable, limited license to use the Bot for personal or non-commercial purposes.
2. Prohibited Use: The User may not use the Bot in any way that violates applicable laws, rules, or regulations or infringes upon the rights of any third party. The User may not use the Bot for any commercial purposes without the express written consent of the Bot Owner.
3. Limitation of Liability: The Bot Owner shall not be liable for any damages arising out of the use or inability to use the Bot, including but not limited to, damages for loss of profits, loss of data, or o