Skip to content

Instantly share code, notes, and snippets.

I am back!

Dixing (Dex) Xu dexhunter

I am back!
Block or report user

Report or block dexhunter

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View alacritty.yml
# Configuration for Alacritty, the GPU enhanced terminal emulator.
# Any items in the `env` entry below will be added as
# environment variables. Some entries may override variables
# set by alacritty itself.
# TERM variable
# This value is used to set the `$TERM` environment variable for
# each instance of Alacritty. If it is not present, alacritty will
dexhunter /
Created Nov 12, 2018 — forked from ryanj/
Gist-powered Revealjs slideshow presentations
<section data-background-transition='zoom' data-transition='concave' data-background='' data-state='blackout'>
<h2>Slideshow Presentations</h2>
<h1 class='fragment grow'><a style='color:deepskyblue;' href=''></a></h1>
<section data-background-transition='zoom' data-transition='linear' id='try-it'>
<h2>Try it out!</h2>
<p>Create your own deck by forking a copy of <a href=''>this github gist</a>: <br /><a href=''></a></p>
dexhunter /
Last active Sep 4, 2018
fabric python sdk tutorial

Tutorial of using Fabric SDK

Notice: The tutorial is still in-progress, feel free to ask question in the rktchat channel. Code can be found at


Install Fabric SDK

dexhunter /
Created Jun 17, 2018 — forked from staltz/
The introduction to Reactive Programming you've been missing
dexhunter /
Created Mar 16, 2018 — forked from todgru/
how to use git revert --strategy resolve

Oh yes, this is nice:

git revert --strategy resolve <sha-ish>

Given a git log of A--B--C--D--E you can remove commit C using:

git revert --strategy resolve <sha-of-C> 

Which will produce:

dexhunter / px-rem-cheat-sheet.css
Created Feb 15, 2018 — forked from glueckpress/px-rem-cheat-sheet.css
Cheat sheet for rem-calculations based upon 14px and 16px.
View px-rem-cheat-sheet.css
/*! = $rembase: 14px
* hmtl { font-size: 87.5%; }
* body { font-size: 14px; font-size: 1rem; line-height: 1; }
* 4px 0.28571429rem
* 8px 0.571428571rem
* 12px 0.857142857rem
* 13px 0.928571429rem
* 14px 1rem
* 16px 1.142857143rem
dexhunter /
Created Jan 30, 2018 — forked from lukovkin/
Compute optimal trading strategy for the algorithm described in
import numpy as np
import pandas as pd
def compute_market_prices(prices):
"""Compute market prices according to the trading competition recipe.
prices : DataFrame
dexhunter / breachcompilation.txt
Created Dec 31, 2017 — forked from scottlinux/breachcompilation.txt
1.4 billion password breach compilation wordlist
View breachcompilation.txt
wordlist created from original 41G stash via:
grep -rohP '(?<=:).*$' | uniq > breachcompilation.txt
Then, compressed with:
7z a breachcompilation.txt.7z breachcompilation.txt
dexhunter / Top 50 Universities
Created Dec 23, 2017 — forked from Tims101/Top 50 Universities
Top 50 Computer Science Universities
View Top 50 Universities


Massachusetts Institute of Technology (MIT)


  • MIT Graduate Admissions link
  • PhD Program - MIT Sloan School of Management link
  • MIT - Massachusetts Institute of Technology link
  • to view contact information for all departments. - MIT link
# Go to home directory
cd ~
# You can change what anaconda version you want at
bash -b -p ~/anaconda
echo 'export PATH="~/anaconda/bin:$PATH"' >> ~/.bashrc
You can’t perform that action at this time.