Skip to content

Instantly share code, notes, and snippets.

View SkyzohKey's full-sized avatar

SkyzohKey SkyzohKey

View GitHub Profile
@SkyzohKey
SkyzohKey / screen-spoofer.user.js
Last active November 18, 2023 04:33
~ Spoof the reported window.screen as the most common one so that it can't be used to fingerprint browser.
// ==UserScript==
// @name Spoof screen resolution & color depth
// @namespace https://skyzohlabs.be
// @version 1.0.5
// @description Spoof the reported window.screen as the most common one so that it can't be used to fingerprint browser.
// @author SkyzohKey
// @include http://*
// @include https://*
// @run-at document-end
// @grant none
@SkyzohKey
SkyzohKey / SettingsListBox.vala
Last active February 4, 2023 04:12
A simple ListBox to display Settings in a proper way.
public class SettingsListBox: Gtk.Box {
public Gtk.Box scrolled_box;
public Gtk.ListBox listbox;
public SettingsListBox () {
this.set_orientation (Gtk.Orientation.HORIZONTAL);
Gtk.ScrolledWindow scroll = new Gtk.ScrolledWindow (null, null);
scroll.set_size_request (400, 1);

Keybase proof

I hereby claim:

  • I am SkyzohKey on github.
  • I am skyzohkey (https://keybase.io/skyzohkey) on keybase.
  • I have a public key whose fingerprint is 5B17 10BF 953A 0E74 C941 3823 9BFE 57D1 BD03 D1F4

To claim this, I am signing this object:

/**
* valac -o bandcamp-downloader --pkg libsoup-2.4 --pkg json-glib-1.0 --pkg posix main.vala
* ./bandcamp-downloader --band=bash38 --album=summer-time -o ~/Music/bash-summer-time
**/
private static string band_name = null;
private static string album_name = null;
private static string save_path = null;
private const GLib.OptionEntry[] options = {
/**
* COPYRIGHT (c) 2016 SkyzohKey & Benwaffle
*
* MIT License
*
* 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

Keybase proof

I hereby claim:

  • I am skyzohkey on github.
  • I am skyzohkeyz (https://keybase.io/skyzohkeyz) on keybase.
  • I have a public key ASARpR5XI4NRXKO_v7Sv_fJNtmJWxsOc-Rpsmv0hNFTPQAo

To claim this, I am signing this object:

@SkyzohKey
SkyzohKey / form-validation.js
Created February 3, 2018 11:42
A simple excersice of validating a form with vanilla JS.
/**
<form>
<input type="radio" id="type_person" name="type" value="person" checked/>
<input type="radio" id="type_company" name="type" value="company"/>
<input type="text" id="first_name" name="first_name" value="John"/>
<input type="text" id="last_name" name="last_name" value="Doe"/>
<input type="text" id="email" name="email" value="john@example.com"/>
<input type="text" id="company_name" name="company_name" value=""/>
<input type="text" id="phone" name="phone" value="234-567-890"/>
</form>
@SkyzohKey
SkyzohKey / EventSocket.js
Last active April 17, 2017 21:28
EventSocket.js - A JSON event based client-side websocket wrapper.
/**
* @class EventSocket - A JSON event based client-side websocket wrapper.
* @param {String} scheme - The websocket server address scheme, can be `ws`, `wss`, `http`, `https`, whatever...
* @param {String} host - The websocket server ip address.
* @param {String} port - The websocket server port.
**/
function EventSocket (scheme, host, port) {
this.uri = [ scheme, '://', host, ':', port ].join('');
this.callbacks = {};
this.socket = null;
@SkyzohKey
SkyzohKey / konv-ux-whitepaper.md
Last active April 17, 2017 21:01
Konv UX Whitepaper

Konv UX whitepaper

1. Summary

Konv aims to be a modern, easy-to-use and secure Instant Messaging Skype replacement. It should provides a cool UI/UX to end-users, with a « Power user » mode to allow more skilled guys to enjoy it too.

Konv should be finely designed and simple to understand with the first time, even a grandma should be able to use it without troubles.

Konv should provides at least features others IM apps (Skype, Whatsapp, Messenger, etc) has plus extra features that'll make it unique.

2. Targeted users

@SkyzohKey
SkyzohKey / openpgp.txt
Created December 19, 2016 12:21
Identité reliée à OpenKeychain
Ce gist confirme l'identité reliée se trouvant dans ma clef OpenPGP et le relie à ce compte GitHub.
Jeton pour preuve :
[Verifying my OpenPGP key: openpgp4fpr:5b1710bf953a0e74c94138239bfe57d1bd03d1f4]