Skip to content

Instantly share code, notes, and snippets.

View RobinBoers's full-sized avatar
curious

Robin RobinBoers

curious
View GitHub Profile
@RobinBoers
RobinBoers / spaceinvaders.py
Last active June 16, 2021 19:07
Space invaders style game on the micro:bit
# Simple spaceinvaders style python game for the micro:bit
from microbit import *
import random, music
timer = 0
moveTimer = 0
playerMoveTimer = 0
moveSpeedEnemie = 3 #higher is slower
playerMoveSpeed = 2 #higher is slower
levelTimer = 0
@RobinBoers
RobinBoers / set_random_passwd.sh
Created April 18, 2021 08:43
Set the passwor for a user to a line from a big password file (in my case rockyou.txt)
(pwd=$(openssl passwd -1 "$(shuf -n 1 rockyou.txt)"); echo $pwd; echo $pwd) | passwd bob
@RobinBoers
RobinBoers / tablegenerator.html
Last active March 9, 2021 13:14
Simple javascript script to generate tables: https://code.geheimesite.nl/demo/tablegenerator
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="script.js"></script>
<link rel="stylesheet" href="style.css">
._1CyMivLdH2a8dA, ._32kNZW8b-DAcUd, ._3Z6i0FBUukKNYK, ._27QKbGhxDkdNHq, ._2x-vl1QLZ6Q3-O {
display: none;
}
.home-left-sidebar-container {
display: none;
}
.boards-page-board-section-header-options {
display: none;
}
@RobinBoers
RobinBoers / not-a-virus-at-all-sir.vbs
Created January 9, 2021 16:12
Third version of my fake virus
Option Explicit
Dim wsh : Set wsh = CreateObject("Wscript.Shell")
Dim Sapi : Set Sapi = Wscript.CreateObject("SAPI.SpVoice")
Dim fso : Set fso = CreateObject("Scripting.FileSystemObject")
Dim passwd
Dim windowsDir
Dim Wallpaper
Dim x
x=0
Option Explicit
Dim wsh : Set wsh = CreateObject("Wscript.Shell")
Dim Sapi : Set Sapi = Wscript.CreateObject("SAPI.SpVoice")
Dim fso : Set fso = CreateObject("Scripting.FileSystemObject")
Dim passwd
Dim windowsDir
Dim Wallpaper
Dim x
x=0
@RobinBoers
RobinBoers / virus.vbs
Created January 3, 2021 19:54
Simple fake virus
Option Explicit
Dim wsh : Set wsh = CreateObject("Wscript.Shell")
Dim passwd
Dim x
x=0
Do While x=0
passwd=inputbox("This application is locked. Please provide a password to unlock:","Error opening application", "")
@RobinBoers
RobinBoers / elementary OS config.md
Last active January 30, 2025 17:28
My way of configuring and customizing Elementary OS (linux)

Elementary OS config

This is a simple guide for myself about how to replicate my current eOS setup if I ever need to. These are my themes, customazations and tweaks to the OS, categorized and clearly written down for future me if he ever needs it.

Install software

Install updates

Always update when installing an new OS.