Skip to content

Instantly share code, notes, and snippets.

View seb3point0's full-sized avatar

Sebastien Couture seb3point0

View GitHub Profile

Keybase proof

I hereby claim:

  • I am seb3point0 on github.
  • I am seb3point0 (https://keybase.io/seb3point0) on keybase.
  • I have a public key whose fingerprint is 377D 9315 09DB 653C D6F5 3DC8 3C96 0B6C AE14 4576

To claim this, I am signing this object:

@seb3point0
seb3point0 / streamyard.js
Created November 17, 2022 15:54
Custom Streamyard automations
(function (d) {
const music_button = '#broadcast-aside-content-brand [aria-label="Interoperate music"]',
video_button = '#broadcast-aside-content-brand [aria-label="Intro overlay"]',
wait_screen_button = '#broadcast-aside-content-brand [aria-label="Wait Screen overlay"]',
ticker_banner = '#broadcast-aside-content-banners ul li:nth-child(1) button',
twitter_banner = '#broadcast-aside-content-banners ul li:nth-child(2) button',
subscribe_banner = '#broadcast-aside-content-banners ul li:nth-child(3) button',
go_live = 'div[class*="Header__Right"] div[class*="Status__Wrap"] div:last-child button',
@seb3point0
seb3point0 / crypto-pr-filter.txt
Created January 28, 2022 09:12
Filter blockchain PR and marketing agencies in Gmail
(from:(*@affect.com OR *@belkinmarketing.com OR *@bitcoinprbuzz.com OR *@blazonagency.com OR *@blockchainpr.io OR *@blockchainpr.online OR *@bzntm.com OR *@ccgrouppr.com OR *@chatsworthcommunications.com OR *@cmlteam.com OR *@coinbound.io OR *@coinpoint.net OR *@crowdcreate.us OR *@crynet.io OR *@crypto-pr.io OR *@cryptoken.media OR *@cryptolandpr.com OR *@cryptolandpr.com OR *@cryptoprlabs.com OR *@ctrl-pr.com OR *@df.agency OR *@dittopr.co OR *@eakdigital.com OR *@flexe.io OR *@foxtailmarketing.com OR *@fusionpr.com OR *@guerrillabuzz.com OR *@icoda.io OR *@inboundjunction.com OR *@kcdpr.com OR *@keydifferencemedia.com OR *@lunapr.io OR *@markchain.io OR *@marketacross.com OR *@mediax.agency OR *@melrosepr.com OR *@moncco-pr.com OR *@narwal-pr.com OR *@pmbcgroup.com OR *@pr-blockchain.com OR *@preciouscomms.com OR *@prowly.com OR *@publicize.co OR *@reblonde.com OR *@rlyl.com OR *@searched.io OR *@sherlockcomms.com OR *@smithandcompany.com OR *@staturepr.com OR *@tokensuite.io OR *@topagency.com OR *@transf
@seb3point0
seb3point0 / audit.sh
Created December 9, 2020 12:15 — forked from colebrooke/audit.sh
Setting up auditd on Ubuntu 14.04 to monitor both tty and root commands
#!/bin/bash
# Justin Miller 08/04/16
# Setup auditd
# command example:
# aureport --tty
#
# to view root commands:
# ausearch -ue 0
# to view user commands:
# ausearch -ua <userid>
#!/usr/bin/php -d open_basedir=/usr/syno/bin/ddns
<?php
$account = (string)$argv[1];
$pwd = (string)$argv[2];
$hostnames = (string)$argv[3];
$ip = (string)$argv[4];
// settings
$proxied = true; // set to false to disable cloudflare proxy
@seb3point0
seb3point0 / index.js
Last active February 16, 2020 08:00
Import photos from Instagram Data Download to Ghost blog
/*
Instagram users may export their data in an archive https://help.instagram.com/181231772500920. This script imports the data and photos from an Instagram export and import it to a Ghost blog using the Ghost private API.
*/
const path = require('path');
const fs = require('fs');
const request = require('request');
const queryString = require('query-string');
const auth = {

Keybase proof

I hereby claim:

  • I am seb2point0 on github.
  • I am seb2point0 (https://keybase.io/seb2point0) on keybase.
  • I have a public key whose fingerprint is 0A42 F544 5F5E 2D6A CF21 050D 888C 9464 F4C5 034D

To claim this, I am signing this object:

@seb3point0
seb3point0 / onename.md
Created March 31, 2015 10:21
onename.md
(function() {
void(d = document);
void(el = d.getElementsByTagName('link'));
void(g = false);
void(count = 0);
for (i = 0; i < el.length; i++) {
if (el[i].getAttribute('rel').indexOf('alternate') != -1) {
if(count == 0) {
ty = el[i].getAttribute('type');
if(ty.indexOf('application/rss+xml') != -1 || ty.indexOf('text/xml') != -1) {
# Import dependancies
import itertools
# Create array with known parts of the password
parts = ['foo', 'FOO', 'Foo', 'bar', 'BAR', 'Bar', '1', '2', '3', '4', '5', '6', '7', '8', '9', '0', '!', '@', '#', '$', '%', '^', '&', '*']
# Number of parts per password
number = 4
# Build a list of combinations of knows parts with number of parts