Skip to content

Instantly share code, notes, and snippets.

@ctkqiang
ctkqiang / controllable_Webcams.csv
Created June 24, 2022 06:32 — forked from JT5D/controllable_Webcams.csv
controllable Webcams list
We can make this file beautiful and searchable if this error is corrected: It looks like row 4 should actually have 22 columns, instead of 8 in line 3.
created_utc,score,domain,id,title,author,ups,downs,num_comments,permalink,selftext,link_flair_text,over_18,thumbnail,subreddit_id,edited,link_flair_css_class,author_flair_css_class,is_self,name,url,distinguished
1315403643.0,462,cracked.com,k7kzm,Writer of Cracked.com mentions this subreddit in their article,penguinsmut,493,31,47,http://www.reddit.com/r/controllablewebcams/comments/k7kzm/writer_of_crackedcom_mentions_this_subreddit_in/,,,False,http://thumbs.reddit.com/t3_k7kzm.png,t5_2qt74,False,,,False,t3_k7kzm,http://www.cracked.com/article_19412_8-things-you-wont-believe-can-be-hacked.html,
1339618071.0,159,209.121.28.211,v0dh3,Now we just wait for kinky elevator sex.,Brudus,173,14,97,http://www.reddit.com/r/controllablewebcams/comments/v0dh3/now_we_just_wait_for_kinky_elevator_sex/,,,False,default,t5_2qt74,False,,,False,t3_v0dh3,http://209.121.28.211/anony/mjpg.cgi,
1349006496.0,148,cryptogasm.com,10phl7,"I created a basic web viewer for a load of webcams I discovered (1,392 and counting).",Rsaesha,163,1
@Darkyenus
Darkyenus / TextIn3D.java
Last active March 7, 2025 11:42
libGDX Billboarded text at world-space coordinates
import com.badlogic.gdx.ApplicationListener;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application;
import com.badlogic.gdx.backends.lwjgl3.Lwjgl3ApplicationConfiguration;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.PerspectiveCamera;
import com.badlogic.gdx.graphics.VertexAttributes.Usage;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import com.badlogic.gdx.graphics.g2d.BitmapFontCache;
@gokart23
gokart23 / run-arm-chroot-on-x86.md
Last active January 20, 2025 04:47
Run ARM chroot on x86 machine (both ArchLinux)

Steps

  1. Install qemu-user-static (yay -S qemu-user-static).
    • This might need you to install pcre-static and update PGP keys (follow the tips in the comments here).
  2. If not already present, install systemd-binfmt, the revamped version of binfmt-support tools
    • Your system has to support transparent Qemu user emulation, but fortunately, that is mostly enabled once the steps here have been followed.
  3. Check the status of the systemd-binfmt unit (systemctl status systemd-binfmt) and (re)start if needed (sudo systemctl restart systemd-binfmt)
    • This unit has ARM support by default, but check the current documentation to make install it if needed
  4. Mount the root partition of the ARM system into a folder (for e.g., sudo mount /dev/sdb2 arm_mountpoint)
  5. Copy the QEMU ARM static binary (/usr/bin/qemu-arm-static on my distro) to the mounted root directory's usr/bin
@neilsarkar
neilsarkar / gist:550daff7abe3c1ef00cb332f0f5864d6
Last active September 27, 2020 03:21
King of the Hat Score Recalculation
BRAVERY
1. TatsuoNamake 206,743 (+1)
2. ElecDashi 201,591 (+55)
3. admir146 198,573 (+59)
4. MirFälltKeinNameEin 198,456 (+1)
5. Herman The Cherman 197,155 (-2)
6. SoliMoli 193,130 (+6)
7. HonorHallow 191,806 (+56)
8. Zardlin 189,208 (+3)
9. Olgaro 188,062 (+68)
@fbaierl
fbaierl / ForkMITLicensedProject.md
Created November 6, 2018 14:17
HOWTO fork a MIT licensed project

No, you are not allowed to change the copyright notice. Indeed, the license text states pretty clearly:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

But you are allowed to add a copyright notice.

If you want to keep the MIT license, which is what I would advise you to do, you only need to add a single line to the license file, before or after Copyright (c) 2012 Some Name with your own copyright notice. The final LICENSE file will look like this:

The MIT License (MIT)

@berkant
berkant / bot.js
Created July 24, 2018 11:06
Spys.One Socks Proxy Scraper
var casper = require('casper').create();
// meaning 30 proxies in default
var ProxiesPerPage = 0;
switch(casper.cli.get('count')) {
case 30:
ProxiesPerPage = 0;
break;
case 50:
#!/usr/bin/env python
# coding: utf-8
############ Description: ##########
# The vulnerability was discovered during a vulnerability research lecture.
# This is meant to be a PoC.
####################################
# Exploit Title: Core FTP LE v2.2 Build 1921 (Client) - Buffer Overflow PoC
# Date: 12 Jun 2018
@EnigmaCurry
EnigmaCurry / vpn_namespace.md
Created April 7, 2016 02:28
OpenVPN and browser specific network routing with ip netns

OpenVPN and browser specific network routing with ip netns

Create network bridge

A network bridge allows us to have a virtual router that we can plug multiple network interfaces into. The IP address is assigned to the bridge rather than the individual network interface.

Create the bridge device, br0 :

@hugoledoux
hugoledoux / simplearticle.tex
Last active July 14, 2022 12:42
Skeleton for a simple LaTeX article
\documentclass[a4paper,11pt]{scrartcl}
\usepackage{graphicx}
\usepackage[utf8]{inputenc} %-- pour utiliser des accents en français
\usepackage{amsmath,amssymb,amsthm}
\usepackage[round]{natbib}
\usepackage{url}
\usepackage{xspace}
\usepackage[left=20mm,top=20mm]{geometry}
\usepackage{algorithmic}