Skip to content

Instantly share code, notes, and snippets.

View timvisee's full-sized avatar
Consuming coffee

Tim Visée timvisee

Consuming coffee
View GitHub Profile
@ryancdotorg
ryancdotorg / frag32.py
Created August 20, 2015 16:27
A FAT32 fragmenter, because I am a horrible person.
#!/usr/bin/env python
import random
import struct
import sys
# Most of the Fat32 class was cribbed from https://gist.github.com/jonte/4577833
def ppNum(num):
return "%s (%s)" % (hex(num), num)
@timvisee
timvisee / challenge1.3.java
Created September 7, 2015 11:35
Challenge 1.3
package com.timvisee.hhs;
public class Main {
/** The maximum value of the sum. */
public static final int MAX = 10;
/**
* Main method called on start.
*
@timvisee
timvisee / VPSscript-0.1.1.sh
Created September 10, 2015 20:00
VPSscript 0.1.1
#!/bin/bash
# VPS setup script by Tim Visee
APP_NAME="VPS-Builder";
APP_VERSION_NAME="0.1";
APP_VERSION_CODE=1;
LOG_PREFIX="[$APP_NAME] ";
LOG_PREFIX_ERROR="[ERROR] "
# Configuration
@timvisee
timvisee / exchange.php
Last active August 6, 2022 16:59
Live currency exchange script, to retrieve the current exchange rates betwee to currencies, live from the internet.
<?php
/**
* Live currency exchange script.
* This script allows you to retrieve the current currency exchanges, live, from the internet.
*
* This script is developed by Tim Visee, for educational purposes.
* The Yahoo currency exchange API is used to retrieve the live exchange rates.
*
* ---
@joepie91
joepie91 / vpn.md
Last active May 20, 2024 03:37
Don't use VPN services.

Don't use VPN services.

No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.

Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.

  • A Russian translation of this article can be found here, contributed by Timur Demin.
  • A Turkish translation can be found here, contributed by agyild.
  • There's also this article about VPN services, which is honestly better written (and has more cat pictures!) than my article.
@timvisee
timvisee / NumberGuessTimer.ino
Last active December 9, 2015 22:13
Number Guess Timer example, Arduino code.Sample code for a HHS challenge.
/**
* Number Guess Timer example.
* Sample code for a HHS challenge.
*
* @author Tim Visée
* @website http://timvisee.com/
*/
#include <Arduino.h>

Keybase proof

I hereby claim:

  • I am timvisee on github.
  • I am timvisee (https://keybase.io/timvisee) on keybase.
  • I have a public key whose fingerprint is 6762 5BAB 0A20 0421 96C2 386C FECE FDA6 CED0 5802

To claim this, I am signing this object:

@shmup
shmup / torrents.md
Last active May 15, 2024 09:31
transmission blocklist guide

Transmission Blocklist

The Transmission torrent client has an option to set a Blocklist, which helps protect you from getting caught and having the DMCA send a letter/email.

It's as simple as downloading and installing the latest client:

@timvisee
timvisee / firefox-youtube-fix.css
Created March 25, 2016 14:18
Fix YouTube's crappy crashing Firefox browsers
@-moz-document domain("youtube.com") {
#guide-channels{
display:none !important;
}
}
function fish_mode_prompt --description 'Displays the current mode'
# Do nothing if not in vi mode
if test "$fish_key_bindings" = "fish_vi_key_bindings"
switch $fish_bind_mode
case default
set_color --bold red
echo 🅽
case insert
set_color --bold green
echo 🅸