Skip to content

Instantly share code, notes, and snippets.

@christophermanning
christophermanning / octocat.svg
Last active May 11, 2024 08:31 — forked from johan/octocat.svg
octocat.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@andreasbotsikas
andreasbotsikas / Configure_proxy.bat
Created September 20, 2020 15:57
Set proxy for cmd.exe
Rem Based on https://stackoverflow.com/questions/26992886/set-proxy-through-windows-command-line-including-login-parameters
set HTTP_PROXY=http://proxy_userid:proxy_password@proxy_ip:proxy_port
set FTP_PROXY=%HTTP_PROXY%
set HTTPS_PROXY=%HTTP_PROXY%
@liuran001
liuran001 / config.yaml
Last active May 11, 2024 08:24
mihomo (Clash Meta) 懒人配置
# mihomo (Clash Meta) 懒人配置
# 版本 V1.5-240507
# https://gist.github.com/liuran001/5ca84f7def53c70b554d3f765ff86a33
# https://obdo.cc/meta
# 作者: 笨蛋ovo (bdovo.cc)
# Telegram: https://t.me/baka_not_baka
# 关注我的 Telegram 频道谢谢喵 https://t.me/s/BDovo_Channel
# 修改自官方示例规则 https://wiki.metacubex.one/example/#meta
# 转载请保留此注释
# 尽量添加了较为详尽的注释,不理解的地方建议对照 虚空终端 (Clash Meta) Docs 进行理解
@jloow
jloow / papercolor.json
Created January 25, 2020 19:01
PaperColor theme for Windows Terminal
// Theme based on https://github.com/NLKNguyen/papercolor-theme
// Add the following under "schemes" in "profiles.json"
{
"name": "PaperColor",
"foreground": "#444444",
"background": "#eeeeee",
"black": "#1c1c1c",
"red": "#af0000",
"green": "#008700",
"yellow":"#d75f00",
@Zeinok
Zeinok / wine-breeze-dark-theme.md
Last active May 11, 2024 08:23
Breeze Dark theme for Wine

Made possible with this reddit post.

Install

wine regedit wine-breeze-dark.reg

Uninstall (Reset Wine color scheme)

wine regedit wine-reset-theme.reg

@davidlares
davidlares / dos.md
Created June 17, 2021 03:01
DoS attack with hping3

DoS Attack with Hping3

Run the command: hping3 --flood -S -V --rand-source http://stv.com

Where:

  1. --flood send packets as fast as possible
  2. -S (Syn packet): legit TCP packet connection
  3. -V verbose mode
  4. --rand-source randomize the IP source address, like it's requested from different systems (sort of DDoS)
@Rihcus
Rihcus / ngrok-plex.py
Last active May 11, 2024 08:17 — forked from nagleaidan/ngrok-plex.py
Run plex through ngrok with SSL via duckdns
#!/usr/bin/python3
from plexapi.myplex import MyPlexAccount
import sys
import json
import requests
import time
import socket
# please make sure to install PlexAPI via pip, "pip install PlexAPI"
@paulbatum
paulbatum / costcalculator.cs
Last active May 11, 2024 08:14
Azure Functions pricing calculation
const decimal executionCountCost = 0.20m / 1000000m;
const decimal gbSecCost = 0.000016m;
const decimal executionUnitsToGbSecConversion = 1m / (1024 * 1000);
long executionCountPerHour = 6500012;
long executionUnitsPerHour = 90305037184;
int runDurationDays = 9;
Console.WriteLine("All prices in USD");
@yamaya
yamaya / xcode-clang-vers
Last active May 11, 2024 08:14
Xcode clang version record
# Xcode 4.3.3
Apple clang version 3.1 (tags/Apple/clang-318.0.61) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin11.4.0
Thread model: posix
# Xcode 4.3.2
Apple clang version 3.1 (tags/Apple/clang-318.0.58) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin11.4.0
Thread model: posix
@FreddieOliveira
FreddieOliveira / docker.md
Last active May 11, 2024 08:12
This tutorial shows how to run docker natively on Android, without VMs and chroot.

Docker on Android 🐋📱

Edit 🎉

All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.


Summary