Skip to content

Instantly share code, notes, and snippets.

View trentwiles's full-sized avatar
🏁
riverside.rocks

Trent Wiles trentwiles

🏁
riverside.rocks
View GitHub Profile
@kepop1
kepop1 / so_you_want_to_be_a_dev.md
Last active August 25, 2023 09:27
So you want to be a developer?

Ello 👋

First it's absolutely fantastic that you're even considering getting into the world of development!

Secondly this is also not a path that can be taken lightly either and there's a lot of people who end up dropping out of the flow - but there's many many many more that succeed and change their careers 😁

In general the majority of developers will advise some form of the following for your journey.

Get a taster

@dnburgess
dnburgess / gist:9b95c72292ec8b2badb92a667702c70f
Last active January 30, 2024 01:00
DB Tech / WaitWhat Seedbox Stack
---
version: '2.4'
services:
gluetun:
image: qmcgaw/gluetun
container_name: gluetun
environment:
- PUID=998
- PGID=100
- VPNSP=private internet access
@trentwiles
trentwiles / ignore.txt
Created January 5, 2021 17:42
Masscan Ignore List
0.0.0.0/8
6.0.0.0/8
7.0.0.0/8
10.0.0.0/8
11.0.0.0/8
21.0.0.0/8
22.0.0.0/8
26.0.0.0/8
28.0.0.0/8
29.0.0.0/8
@andry5ury4
andry5ury4 / index.js
Created October 21, 2020 10:30
Simple, complete example of a bot in Discord.js
// Load up the discord.js library
const Discord = require("discord.js");
// This is your client. Some people call it `bot`, some people call it `self`,
// some might call it `cootchie`. Either way, when you see `client.something`, or `bot.something`,
// this is what we're refering to. Your client.
const client = new Discord.Client();
// Here we load the config.json file that contains our token and our prefix values.
const config = require("./config.json");
@carusogabriel
carusogabriel / php-8.0.0beta3.manifest
Created September 1, 2020 17:27
PHP 8.0.0 Beta 3 Manifest
php-8.0.0beta3.tar.gz
SHA256 hash: e7fa12065221d654d423e46d95155d2a0f20727e3a30d3355dc2a59793cf7906
PGP signature:
-----BEGIN PGP SIGNATURE-----
iQJKBAABCAA0FiEEv93ShkKCT4EY73eQm2elwSIpEY8FAl9Og2AWHGNhcnVzb2dh
YnJpZWxAcGhwLm5ldAAKCRCbZ6XBIikRj9H+EADadPDzVHvgHguR02VA1ySG12m5
e8XkMDLpv4cfQEOwXqLi1JzcM5Qb6MktKNljXaLbZsmPtAVIhew3L7kdO7rZIjFi
CHNGyFoqndIZ3p0c731hl76azDikEC9PurJCHRbm30pyVquU61TqKt9SeBuesUXD
kaVHS+cLZDq97YxVo32mCBjB68rE6L4XwTDPouq5TgluxseckbYWIOJn9efr+Lwy
@antonydevanchi
antonydevanchi / 00-all.txt
Last active March 23, 2023 12:34
List of values HTTP Header "User-Agent" which you may meet in the real world. Crafted by hands from nginx's access.log entire many high-loaded projects
"Mozilla/5.0
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36"
'Cloud mapping experiment. Contact research@pdrlabs.net'
'Mozilla/5.0 (compatible; Seekport Crawler; http://seekport.com/'
() { :; }; echo ; echo ; /bin/cat /etc/passwd
(CASE WHEN (1933=6210) THEN 'Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/531.4 (KHTML, like Gecko) Chrome/3.0.194.0 Safari/531.4' ELSE 1933*(SELECT 1933 FROM DUAL UNION SELECT 6210 FROM DUAL) END)
(CASE WHEN (3405=3405) THEN 3405 ELSE 3405*(SELECT 3405 FROM DUAL UNION SELECT 8193 FROM DUAL) END)
(CASE WHEN (5046=4939) THEN 5046 ELSE 5046*(SELECT 5046 FROM DUAL UNION SELECT 4939 FROM DUAL) END)
(CASE WHEN (7404=7404) THEN 'Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/531.4 (KHTML, like Gecko) Chrome/3.0.194.0 Safari/531.4' ELSE 7404*(SELECT 7404 FROM DUAL UNION SELECT 6679 FROM DUAL) END)
@trentwiles
trentwiles / img.php
Created July 8, 2020 12:33
Image Proxy
<?php
/*
Image proxy in the works.
*/
$image = $_GET['url'];
@medvednikov
medvednikov / gitlab.md
Created July 4, 2020 20:31
GitLab disk usage

GitLab is pretty hard to install, that's why prebuilt packages and Docker modules are widely used.

I couldn't install the Ubuntu package, so I went for the official Docker image:

https://hub.docker.com/r/gitlab/gitlab-ce

docker pull gitlab/gitlab-ce
@sgolemon
sgolemon / php-8.0.0alpha1.manifest
Created June 23, 2020 17:30
PHP 8.0.0 Alpha1 Manifest
php-8.0.0alpha1.tar.gz
SHA256 hash: dbc1df78f4b4bf758d796c0265b05500ab5e8d501543c5d7f42aeb67c9bbaa13
PGP signature:
-----BEGIN PGP SIGNATURE-----
iQJEBAABCgAuFiEEFyn4OTjaROJ7oPTT29s5dHDRIXIFAl7yOLMQHHBvbGxpdGFA
cGhwLm5ldAAKCRDb2zl0cNEhcgXhEACHhj72vnMzXA5hHHCqP9OHO68kIpsf7M3Z
T+FnAH0YcsCBwo3F7DYE46+gp6bbY8+L0glJYGqJ/ff+WpMX6bE8OzWwOZsfhn7j
pn4LC7FElO75He2CtJR03Mgta3ZTrK3eRyDqr8PFbCF4Gcywlbk/BNuGmERLYwqE
jgR/oEd5ExiF/R/5aWEviThZv5WkNGzVwd4m5pd7PKw0b5C5ujTlYbOB8JboSuOC