Skip to content

Instantly share code, notes, and snippets.

View hkmix's full-sized avatar

Jack Zhou hkmix

  • Toronto, ON, Canada
View GitHub Profile
@hkmix
hkmix / title.html
Created March 21, 2018 22:21
Divider site for Tree Style Tabs
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Category</title>
<style>
body {
width: 50%;
margin-left: auto;
margin-right: auto;
@hkmix
hkmix / pi_approx.cc
Last active April 29, 2017 01:19
Pi Day Challenge entry
#include <iostream>
#include <iomanip>
#include <random>
#include <string>
#include <thread>
#include <vector>
using std::size_t;
class Point {
@hkmix
hkmix / keybase.md
Created January 17, 2017 19:54
keybase.md

Keybase proof

I hereby claim:

  • I am hkmix on github.
  • I am zhou (https://keybase.io/zhou) on keybase.
  • I have a public key whose fingerprint is 3A52 1AEA 9139 5556 0217 FBB6 4D80 F774 E1E7 5165

To claim this, I am signing this object:

@hkmix
hkmix / compton.conf
Created July 16, 2015 02:51
Compton configuration
# Shadow
shadow = false; # Enabled client-side shadows on windows.
no-dock-shadow = true; # Avoid drawing shadows on dock/panel windows.
no-dnd-shadow = true; # Don't draw shadows on DND windows.
clear-shadow = true; # Zero the part of the shadow's mask behind the
# window. Fix some weirdness with ARGB windows.
shadow-radius = 6; # The blur radius for shadows. (default 12)
shadow-offset-x = -5; # The left offset for shadows. (default -15)
shadow-offset-y = -5; # The top offset for shadows. (default -15)
shadow-opacity = 0.6; # The translucency for shadows. (default .75)
@hkmix
hkmix / comments.vim
Created June 30, 2015 01:25
Vim theme for only colours, adapted from industry.vim
set background=dark
highlight clear
if exists("syntax_on")
syntax reset
endif
let colors_name = "comments"
" First set Normal to regular white on black text colors:
hi Normal ctermfg=LightGray ctermbg=Black guifg=#dddddd guibg=Black