Skip to content

Instantly share code, notes, and snippets.

@tuxfight3r
tuxfight3r / 01.bash_shortcuts_v2.md
Last active April 16, 2024 04:32
Bash keyboard shortcuts

Bash Shortcuts

visual cheetsheet

Moving

command description
ctrl + a Goto BEGINNING of command line
@TheWover
TheWover / process_list_without_handles.cpp
Created June 2, 2021 21:03 — forked from lpBunny/process_list_without_handles.cpp
List process information including process architecture and username without opening any handles
/*
*
* List process information on windows without opening any handles, including process architecture and username
*
*/
#include <Windows.h>
#include <stdio.h>
#include <math.h>
@peterhurford
peterhurford / install_xelatex_on_mac.txt
Last active April 16, 2024 04:20
How to install latex and xelatex on Mac so that Jupyter "Download as PDF" will work
brew install pandoc
brew tap homebrew/cask
brew install --cask basictex
eval "$(/usr/libexec/path_helper)"
# Update $PATH to include `/usr/local/texlive/2022basic/bin/universal-darwin`
sudo tlmgr update --self
sudo tlmgr install texliveonfly
sudo tlmgr install xelatex
sudo tlmgr install adjustbox
sudo tlmgr install tcolorbox
NetLimiter 3
Registration name: Peter Raheli
Registration code: C99A2-QSSUD-2CSBG-TSRPN-A2BEB
NetLimiter 4
Registration Name: Vladimir Putin #2
Registration Code: XLEVD-PNASB-6A3BD-Z72GJ-SPAH7
https://www.netlimiter.com/download
# Netlimiter Full Netlimiter Activated Netlimiter cracked Netlimiter Full Version Netlimiter Serial Netlimiter keygen Netlimiter crack Netlimiter 4 serial Netlimiter 4 Crack Netlimiter 4 register Netlimiter 4 patch Netlimiter full Full version Netlimiter 4 Activated Netlimiter 4 Cracked Netlimiter Pro
@nimone
nimone / App.jsx
Created November 13, 2023 09:13
A Modal Component with ReactJS and TailwindCSS
import { useState } from "react"
import Modal from "./components/Modal"
import Trash from "./icons/Trash"
export default function App() {
const [open, setOpen] = useState(false)
return (
<main className="App">
<button className="btn btn-danger" onClick={() => setOpen(true)}>
<Trash /> Delete
@maliubiao
maliubiao / quest2.md
Last active April 16, 2024 04:17
oculus quest 2 / quest 3电脑热点激活教程

原理

  1. quest 2 或者quest 3 连接wifi后连接受限是因为无法发送UDP到国外服务器
  2. 由于墙的干扰, 很多梯子, 都加了混淆 , 不支持udp转发
  3. ss原版, v2ray最新版本支持udp转发

准备工具

  1. 能连无线wifi的电脑
  2. outline client
  3. connectify 热点创建工具, 如果不想用connectify, 请参考知乎教程, 也没问题. windows 10自带热点共享, 不需要connectify.
  4. outline用的ss连接 到justmysocks3.net购买
@zudsniper
zudsniper / OBS_VIRTUAL_WEBCAM_RTSP.md
Created April 15, 2024 07:13
📽️ A chatGPT prompt & response explaining how to use OBS software to read in an RTSP stream as a virtual camera device.

You:

I want to use OBS (Open Broadcaster Software) to create a virtual webcam device that receives realtime video from an RTSP stream on port 554. How do I go about doing this? Give a guide that includes information about both Mac & Windows steps -- that is, to add (mac only) and (windows only) sections in the guide, not provide separate guides for each OS.


ChatGPT:

To use OBS (Open Broadcaster Software) to create a virtual webcam device that receives real-time video from an RTSP stream on port 554, follow these steps. I have included specific steps for both macOS and Windows.

@BuffaloWill
BuffaloWill / cloud_metadata.txt
Last active April 16, 2024 04:15
Cloud Metadata Dictionary useful for SSRF Testing
## IPv6 Tests
http://[::ffff:169.254.169.254]
http://[0:0:0:0:0:ffff:169.254.169.254]
## AWS
# Amazon Web Services (No Header Required)
# from http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html#instancedata-data-categories
http://169.254.169.254/latest/meta-data/iam/security-credentials/dummy
http://169.254.169.254/latest/user-data
http://169.254.169.254/latest/user-data/iam/security-credentials/[ROLE NAME]
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active April 16, 2024 04:14
Semantic Commit Messages

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

Example

@jordienr
jordienr / Gradient.js
Created September 12, 2021 00:23
Stripe Mesh Gradient WebGL
/*
* Stripe WebGl Gradient Animation
* All Credits to Stripe.com
* ScrollObserver functionality to disable animation when not scrolled into view has been disabled and
* commented out for now.
* https://kevinhufnagl.com
*/