Skip to content

Instantly share code, notes, and snippets.

View fionera's full-sized avatar
🐴
Still installing PonyOS

Fionera fionera

🐴
Still installing PonyOS
View GitHub Profile
@fionera
fionera / app.js
Created June 8, 2016 22:20
Twitterbot which tweets when you commit
/**
* Created by fionera on 08.06.16.
*/
request = require("request");
var fs = require("fs");
var Twitter = require('twitter');
var config = require('./config');
var userdata = config.userdata;
import random, socket
import subprocess
import sys
import time
from PIL import Image
import threading
#HOST = '185.55.125.62'

Keybase proof

I hereby claim:

  • I am fionera on github.
  • I am fionera (https://keybase.io/fionera) on keybase.
  • I have a public key ASDdBVrBXAWQqKmqo6STiK4TvIsLpIHRHRhCey7cKuz_SAo

To claim this, I am signing this object:

@fionera
fionera / matelight.js
Last active December 4, 2016 11:51
Shows live Wikipedia Changes on a Matelight. And is a small API
var WebSocket = require('ws');
/*[{"starts": 0, "ends": 20}], //Row 1
[{"starts": 64, "ends": 84}] // Row 2
];
*/
//kiste 1 = 0-20
//kiste 2 = 64
@fionera
fionera / mv.sh
Last active November 2, 2017 08:14
Move Images from Shopware4 to the Shopware5 Structure
#!bin/sh
OLDFOLDER=/var/www/old/media/image
NEWFOLDER=/var/www/new/media/image
FILES=$(find $OLDFOLDER -maxdepth 1 -type f | sed 's!.*/!!')
for FILE in $FILES; do
MD5=$(echo -n $OLDFOLDER/$FILE | md5sum | awk '{ print $1 }');
FOLDER1=$(echo -n $MD5 | cut -c1,2);
@fionera
fionera / PKGBUILD
Created December 4, 2017 23:00
Wolfenstache
# Maintainer: fionera <fionera@fionera.de>
# Contributor: fionera <fionera@fionera.de>
# Submitter: fionera <fionera@fionera.de>
pkgname=wolfenstache
pkgver=0.1
pkgrel=1
pkgdesc='A parody of Wolfenstein 2: The New Colossus. '
arch=('i686' 'x86_64')
url='https://dancingengie.itch.io/wolfenstache'
@fionera
fionera / app.php
Created November 10, 2018 16:57
YivesMirrorCrawler
<?php
include_once 'vendor/autoload.php';
$loop = React\EventLoop\Factory::create();
$client = new React\HttpClient\Client($loop);
function crawlSoftwareTypes()
{
global $client;
@fionera
fionera / main.go
Created August 18, 2020 00:38
Intercept a HTTP Call
package main
import (
"bytes"
"context"
"io"
"net"
"net/http"
"os"
"time"
@fionera
fionera / DemoApplication.java
Created September 6, 2020 13:41
Spring Boot Example for Bukkit Plugins
package de.fionera.springboottest;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.context.SmartLifecycle;
public class DemoApplication implements ApplicationRunner, SmartLifecycle {
private boolean isRunning;
@Override
@fionera
fionera / Programm.cs
Created October 12, 2020 17:53
Decode this stuff
using System;
using System.IO;
using System.Security.Cryptography;
using System.Text;
namespace ConsoleApp1
{
class Program
{
private byte[] bDebug = new byte[16]