This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Create a file named user userconf (or userconf.txt) containing the following: | |
pi:$6$c70VpvPsVNCG0YR5$l5vWWLsLko9Kj65gcQ8qvMkuOoRkEagI90qi3F/Y7rm8eNYZHW8CY6BOIKwMH7a3YYzZYL90zf304cAHLFaZE0 | |
Place userconf (or userconf.txt) plus an empty file named ssh (or ssh.txt) in the BOOT (FAT32) partition of the SD card. | |
Insert the SD card in the Raspberry Pi and it should boot with access to user 'pi' (password : raspberry) via SSH. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import argparse | |
parser = argparse.ArgumentParser(description="Byteswap and split an Amiga 1200 ROM file") | |
parser.add_argument("infile", type=str, help="the ROM file to convert") | |
parser.add_argument("lo", type=str, help="filename for LO rom") | |
parser.add_argument("hi", type=str, help="filename for HI rom") | |
args = parser.parse_args() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//************************************************************************************************************************** | |
//************************************************************************************************************************** | |
// ALEX-PASTA-DATA-COLLECTION V6 | |
//************************************************************************************************************************** | |
//************************************************************************************************************************** | |
// Wifi libraries | |
#include <SPI.h> | |
#include <WiFiNINA.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bottle | |
from beaker.middleware import SessionMiddleware | |
session_opts = { | |
'session.type': 'memory', | |
'session.cookie_expires': 300, | |
'session.auto': True | |
} | |
app = SessionMiddleware(bottle.app(), session_opts) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$fn=50; | |
altura = 5; | |
encoder=6.25; | |
midi=16; | |
lcdw=78; | |
lcdh=50; | |
bumperw=5; | |
//mixes it up | |
leftlcd=20; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# I got all in /home/pi - change directories if put somewhere else | |
import time | |
import os | |
path = '/home/pi/mac.txt' | |
mac_file = open(path, 'r') | |
attackmac = mac_file.read() | |
path = '/home/pi/attacktime.txt' | |
atk_file = open(path, 'r') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
# Frontend | |
web: | |
image: jitsi/web | |
labels: | |
- "traefik.enable=false" | |
ports: | |
- '${HTTP_PORT}:80' | |
- '${HTTPS_PORT}:443' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function f(a,c,d){return d=d.split("").filter(c=>a.includes(c)),i=0,l=a.length,c?d.map(d=>(b=c[i++%c.length],a[(a.indexOf(b)-a.indexOf(d)+l)%l])).join(""):d.join("")} | |
f=(a,c,d)=>{return d=d.split("").filter(c=>a.includes(c)),i=0,l=a.length,c?d.map(d=>(b=c[i++%c.length],a[(a.indexOf(b)-a.indexOf(d)+l)%l])).join(""):d.join("")} | |
f=(e,a,c)=>(c=c.split("").filter(a=>e.includes(a)),i=0,l=e.length,a?c.map(c=>(b=a[i++%a.length],e[(e.indexOf(b)-e.indexOf(c)+l)%l])).join(""):c.join("")) | |
f=(a,k,t)=>(t=[...t].filter(k=>a.includes(k)),i=0,l=a.length,k?t.map(t=>(b=k[i++%k.length],a[(a.indexOf(b)-a.indexOf(t)+l)%l])).join(""):t.join("")) | |
f=(a,k,t)=>(o=0,t.replace(/./g,m=>(l=a.length,a.includes(m)?k?a[(a.indexOf(b=k[o++%k.length])-a.indexOf(m)+l)%l]:m:''))) | |
f=(a,k,t)=>(o=0,t.replace(/./g,m=>(l=a.length,(z=a.indexOf(m))>-1?k?a[(a.indexOf(b=k[o++%k.length])-z+l)%l]:m:''))) | |
f=(a,k,t)=>(o=0,t.replace(/./g,m=>(l=a.length,(z=a.indexOf(m))>-1?k?a[(a.indexOf(k[o++%k.length])-z+l)%l]:m:''))) | |
f=(a,k,t,o=0,l=a.length)=>t.replace(/./g,m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server=/.iptvpoc.alu/.discovery.iptv.microsoft.com/.iptv.vodafone.pt/.iptvdiscovery/.ims.vodafone.pt/192.168.1.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Arduino Synth from | |
https://janostman.wordpress.com/2016/01/15/how-to-build-your-very-own-string-synth/ | |
*/ | |
#include <avr/interrupt.h> | |
#include <avr/io.h> | |
#include <avr/pgmspace.h> | |
#ifndef cbi | |
#define cbi(sfr, bit) (_SFR_BYTE(sfr) &= ~_BV(bit)) | |
#endif | |
#ifndef sbi |
NewerOlder