Skip to content

Instantly share code, notes, and snippets.

@possan
possan / polarmovieconverter.py
Created Jan 27, 2021
polar movie converter
View polarmovieconverter.py
# Converts polar image to small led filmstrip
# Convert movie to images: ffmpeg -i a1-2.mov frames/outb-%4d.jpg
INPUTFORMAT = 'frames/oute-{:04d}.jpg'
FRAMES = 2000
OUTPUT = 'a5-filmstrip.png'
OUTPUT2 = '.hitarea.png'
SAMPLES = 30
import math
View gist:fdaae45f307ffd4d2c219465e3991675
#
# Wordpress injected malware/worm - go objdump of binary
#
# Authors computers' username still left in binary.
#
# Injects redirect code, linking to sites like:
# transandfiestas
# chatwithgreenbar
# lovegreenpencils
#
View zybo eth test mii.c
/******************************************************************************
*
* Copyright (C) 2010 - 2019 Xilinx, Inc. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
View lan8720 phy test arduino.ino
uint8_t txpin1 = 4;
uint8_t txpin2 = 5;
uint8_t txpen = 6;
uint8_t powerpin = A3;
uint32_t counter = 0;
uint8_t phy_address = 1; // apparently hardcoded on board
uint8_t smi_clock = 8;
uint8_t smi_data = 9;
@possan
possan / DomeTester.pde
Created Mar 24, 2020
Dome projection animation tester
View DomeTester.pde
// Install and run processing 3 from processing.org
// Open Sketch menu > Click Import library > Add library...
// Install SelectFile plugin (v0.0.2)
// Install Video plugin (v1.0.1)
// Paste this code and hit Run
import select.files.*;
import processing.video.*;
static int IMAGE_DURATION = 3000;
View bösrom.vhdl
x"C9", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"C3", x"63", x"00", x"00", x"00", x"00", x"00", x"00", x"C3", x"6F", x"00", x"00", x"00", x"00", x"00", x"00", x"C3", x"7B", x"00", x"00", x"00", x"00", x"00", x"00", x"C3", x"87", x"00", x"00", x"00", x"00", x"00", x"00", x"C3", x"93", x"00", x"F5", x"C5", x"D5", x"E5", x"CD", x"80", x"FF", x"E1", x"D1", x"C1", x"F1", x"D9", x"F5", x"C5", x"D5", x"E5", x"CD", x"00", x"00", x"E1", x"D1", x"C1", x"F1", x"D9", x"F5", x"C5", x"D5", x"E5", x"CD", x"00", x"00", x"E1", x"D1", x"C1", x"F1", x"D9", x"F5", x"C5", x"D5", x"E5", x"CD", x"2F", x"02", x"E1", x"D1", x"C1", x"F1", x"
View bösfirerom.c
unsigned char romsubset_bin[] = {
x"ff", x"ff", x"ff", x"ff", x"ff", x"ff", x"ff", x"ff", x"ff", x"ff", x"ff", x"ff",
x"ff", x"ff", x"ff", x"ff", x"ff", x"ff", x"ff", x"ff", x"ff", x"ff", x"ff", x"ff",
x"ff", x"ff", x"ff", x"ff", x"ff", x"ff", x"ff", x"ff", x"ff", x"ff", x"ff", x"ff",
x"ff", x"ff", x"ff", x"ff", x"ff", x"ff", x"ff", x"ff", x"ff", x"ff", x"ff", x"ff",
x"ff", x"ff", x"ff", x"ff", x"ff", x"ff", x"ff", x"ff", x"ff", x"ff", x"ff", x"ff",
x"ff", x"ff", x"ff", x"ff", x"f5", x"e5", x"af", x"e0", x"4f", x"21", x"51", x"ff",
x"3e", x"c4", x"22", x"af", x"22", x"3e", x"18", x"22", x"af", x"22", x"3e", x"23",
x"22", x"3e", x"01", x"e0", x"4f", x"21", x"51", x"ff", x"3e", x"c8", x"22", x"af",
x"22", x"3e", x"18", x"22", x"af", x"22", x"3e", x"23", x"22", x"e1", x"f1", x"d9",
View bös.ino
void setup() {
// put your setup code here, to run once:
pinMode(7, OUTPUT);
// pinMode(5, INPUT);
}
static uint8_t b = 0;
static volatile unsigned char memory[1000] = { 123, };
View reparera-developymredflag.md

Hitta trasiga filer

cd /var/www

find . \( -type f -name '*.php' -o -type f -name '*.js*' -o -type f -name '*.html' \) \
    -exec grep -q 'developmyredflag' {} \; \
    -print

find . \( -type f -name '*.php' -o -type f -name '*.js*' -o -type f -name '*.html' \) \
View keybase.md

Keybase proof

I hereby claim:

  • I am possan on github.
  • I am possan (https://keybase.io/possan) on keybase.
  • I have a public key ASChUAreReKY1PUQXQnbT3ulxXwyuBbld7hYNYT-8YTqeAo

To claim this, I am signing this object: