Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Alex Scotton Illizian

🏠
Working from home
View GitHub Profile
@Illizian
Illizian / DateTimeComponent.php
Last active Sep 28, 2021
Laravel localised DateTimes with UTC Database storage
View DateTimeComponent.php
<?php
namespace App\View\Components;
use Illuminate\Contracts\View\View;
use Illuminate\Support\Carbon;
use Illuminate\View\Component;
class DateTime extends Component
{
@Illizian
Illizian / Display.py
Created Mar 21, 2020
A very simple VirtualLCD implementation (based on the VirtualDOM) for LCD Displays
View Display.py
from RPi import GPIO
from RPLCD.gpio import CharLCD
# Configure GPIO
GPIO.setwarnings(False)
GPIO.setmode(GPIO.BOARD)
class Display:
def __init__(
self,
@Illizian
Illizian / log.md
Created May 12, 2019
BSIDES London 2019 Pre-conference Capture the Flag (CTF) challenge
View log.md

Notes

We've designed this CTF to be accessable to all levels of experiance and skill. There are 3 stages to the CTF. Each stage has a unique FLAG which is formattted as follows: FLAG{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx}

1: http://ctf.bsides.london.2019.pwndefend.com/

.... - - .--. ---... -..-. -..-. ... - .- --. . .---- .-.-.- -... ... .. -.. . ... .-.-.- .-.. --- -. -.. --- -. .-.-.- ..--- ----- .---- ----. .-.-.- .--. .-- -. -.. . ..-. . -. -.. .-.-.- -.-. --- -- -..-.

@Illizian
Illizian / .zshrc
Last active May 26, 2017
A QoL ZSH/Bash script for Trezor related git activities
View .zshrc
git() {
if command git rev-parse --git-dir > /dev/null 2>&1; then
# We're in a Git Repo
identity=$(command git config remote.origin.url | egrep -o '[a-z]+@[a-z]+.[a-z]+')
case "$1" in
commit)
command trezor-gpg unlock
command git $@
;;
@Illizian
Illizian / DOC.md
Last active May 21, 2017
Neopixel Control Server
View DOC.md

Neopixel Control Server

Connection

The control server hosts an RFC-6455 WebSocket on Port 8765. You can use any compliant library or (where supported) the in-built Web Sockets API to connect.

Commands

The control server accepts commands as a string with the following structure:

@Illizian
Illizian / gh-dl-release
Last active Sep 30, 2016 — forked from maxim/gh-dl-release
Download assets from private Github releases
View gh-dl-release
#!/usr/bin/env bash
#
# gh-dl-release! It works!
#
# This script downloads an asset from latest or specific Github release of a
# private repo. Feel free to extract more of the variables into command line
# parameters.
#
# PREREQUISITES
#
@Illizian
Illizian / README.md
Last active Jan 21, 2016
A script for generating the requisite directory structure for VSCode's "Local History" plugin
View README.md

Having installed VSCode's Local History plugin I found that I was getting ENOENT errors. This command will generate the required directory structure within your projects .history folder.

Please Note: This will remove any existing .history folder from your project.

Installation

  1. Open your .bash_profile or .zshrc file
  2. Add script.sh to the bottom of the file
  3. Either restart your terminal, or run source .bash_profile or source .zshrc

Usage

@Illizian
Illizian / glyphicons.jsx
Created Jan 13, 2016
React Glyphicon Constants
View glyphicons.jsx
var GlyphiconConstants = {
Glass: <span className='glyphicon glyphicon-glass' />,
Music: <span className='glyphicon glyphicon-music' />,
Search: <span className='glyphicon glyphicon-search' />,
Envelope: <span className='glyphicon glyphicon-envelope' />,
Heart: <span className='glyphicon glyphicon-heart' />,
Star: <span className='glyphicon glyphicon-star' />,
StarEmpty: <span className='glyphicon glyphicon-star-empty' />,
User: <span className='glyphicon glyphicon-user' />,
Film: <span className='glyphicon glyphicon-film' />,
View keybase.md

Keybase proof

I hereby claim:

  • I am illizian on github.
  • I am illizian (https://keybase.io/illizian) on keybase.
  • I have a public key whose fingerprint is 98D5 0546 AA08 EA46 3591 8792 8234 D83E 3A8A DBB1

To claim this, I am signing this object:

@Illizian
Illizian / README.md
Last active Aug 29, 2015
An Android MonkeyRunner script for keeping Clash of Clan sessions awake
View README.md