View Javascript ISO country code to flag emoji conversion
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var isoCountries = { | |
'AF' : '🇦🇫', | |
'AX' : '🇦🇽', | |
'AL' : '🇦🇱', | |
'DZ' : '🇩🇿', | |
'AS' : '🇦🇸', | |
'AD' : '🇦🇩', | |
'AO' : '🇦🇴', | |
'AI' : '🇦🇮', | |
'AQ' : '🇦🇶', |
View mnist.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import struct | |
import numpy as np | |
""" | |
Source: https://gist.github.com/akesling/5358964 | |
Loosely inspired by http://abel.ee.ucla.edu/cvxopt/_downloads/mnist.py | |
which is GPL licensed. | |
""" |
View install-janus.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Instruction: https://github.com/meetecho/janus-gateway/blob/master/README.md | |
# Host: Ubuntu 18.04.3 (LTS) x64 | |
# Run: /opt/janus/bin/janus | |
# Prepare: apt full-upgrade -y && sudo reboot now | |
sudo add-apt-repository universe | |
apt install -y libmicrohttpd-dev libjansson-dev \ |