Skip to content

Instantly share code, notes, and snippets.

View IBMPlex.css
@font-face {
font-family: "IBM Plex Mono PR";
font-style: normal;
font-weight: normal;
src: url(data:font/truetype;charset=utf-8;base64,AAEAAAASAQAABAAgRFNJRwAAAAEAAbnoAAAACEdERUYbZhtJAAGqhAAAAIJHUE9TGyxdRAABqwgAAAUkR1NVQjFugWoAAbAsAAAJuk9TLzKLlmgVAAABqAAAAGBjbWFwo5cS6QAAD1gAAApmY3Z0IAIsDb8AABy4AAAAPmZwZ20GWZw3AAAZwAAAAXNnYXNwABgAIQABqnQAAAAQZ2x5ZmcvnUgAACOkAAFhNGhlYWQNXRFqAAABLAAAADZoaGVhBX0DogAAAWQAAAAkaG10eF7p6RsAAAIIAAANUGxvY2Fc/wIGAAAc+AAABqptYXhwBYoDTgAAAYgAAAAgbmFtZdvUWBMAAYTYAAAJiXBvc3QD6EspAAGOZAAAHA9wcmVw6RlJewAAGzQAAAGCAAEAAAACAAChToylXw889QAJA+gAAAAA1mLtmQAAAADWYt+S/wj/BQJxBFQAAAAJAAIAAAAAAAAAAQAABAH+7QAAAlj/CP8IAnEAAQAAAAAAAAAAAAAAAAAAA1QAAQAAA1QAywAiAGgABgABAAAAAAAKAAACAAIZAAMAAQADAlgBLAAFAAACigJYAAAASwKKAlgAAAFeACsBNQAAAgsECQUCAwACA6AAAm9QACB7AAAAAAAAAABJQk0gAAAAAPsCAwz/JAEsBAEBEyAAAZcAAAAAAgQCugAAACAAAwJYACAAAAAAAlgAAAJYAAACWABHAlgARAJYAGsCWABeAlgARAJYAE0CWABNAlgATAJYAEQCWABMAlgAbQJYAG4CWABeAlgAdgJYAFQCWAA+AlgAbQJYAEsCWABrAlgARAJYAE4CWABMAlgAJgJYAGYCWABLAlgAIQJYAEgCWABBAlgAXAJYAC
@premist
premist / vpnup.sh
Created Apr 15, 2018
$0.01/hour self-destructing VPN server on Google Cloud Platform
View vpnup.sh
#!/bin/bash
GCP_PROJECT=my-gce-project
GCP_ZONE=asia-northeast1-b # Tokyo
GCP_MACHINE_TYPE=g1-small # f1-micro is also fine
VPN_NAME=my-vpn
VPN_PSK=somesufficientlylongpsk
VPN_USERS=myself:mysomesortofsecurepassword
View reviewable-custom-style.css
.ui.input input, html, .markdown-body {
font-family: "Ringside Narrow SSm", BlinkMacSystemFont, "Apple Color Emoji";
}
.monospace, .markdown-body pre {
font-family: "Meslo LG M";
}
.ui.top.inverted.labeled.menu .title.glow {
background: #333;
@premist
premist / styles.less
Created May 23, 2017
atom-seti-stylesheet.less
View styles.less
/*
* Your Stylesheet
*
* This stylesheet is loaded when Atom starts up and is reloaded automatically
* when it is changed and saved.
*
* Add your own CSS or Less to fully customize Atom.
* If you are unfamiliar with Less, you can read more about it here:
* http://lesscss.org
*/
@premist
premist / ffmpeg2.rb
Created Jun 17, 2016 — forked from victusfate/ffmpeg2.rb
homebrew formula for ffmpeg2
View ffmpeg2.rb
require 'formula'
class Ffmpeg2 < Formula
homepage 'http://ffmpeg.org/'
url 'http://ffmpeg.org/releases/ffmpeg-2.0.tar.bz2'
sha1 '7583c25cd41b6b4741819b977672627abb772f7e'
head 'git://git.videolan.org/ffmpeg.git'
option "without-xvid", "Disable Xvid MPEG-4 video encoder"
View keybase.md

Keybase proof

I hereby claim:

  • I am premist on github.
  • I am premist (https://keybase.io/premist) on keybase.
  • I have a public key whose fingerprint is 448C E46C A714 48F8 7788 E57C F530 9452 F2EF 9CEB

To claim this, I am signing this object:

@premist
premist / 01-mail.md
Last active Apr 20, 2018
CloudFlare has outage on one of their edge (ICN), but not noticing their customers
View 01-mail.md

Minku Lee :

I'm geographically located in Seoul, Korea and traffic to api.fmf.io always get routed via LAX servers. My server is located in Tokyo, Japan so it adds up a lot of delay on the request. Tried with different ISPs and all same result. My friends are also experiencing this with their free plan enabled website, but I'm also experiencing this in pro-enabled paid plans.

This lasted for a quite long time (over several month) and my friend got a response from CloudFlare rep. that it's a temporarily routing problem and will be resolved soon. However seems like this is not the case.. If this is not getting resolved, I'm considering and testing migration of all my company and personal paid plans to Fastly.


Minku Lee :

@premist
premist / gpac.rb
Last active Aug 29, 2015
Head-only GPAC formula for Homebrew
View gpac.rb
require 'formula'
# Borrowed from https://github.com/Homebrew/homebrew/blob/master/Library/Formula/gpac.rb
# License : https://github.com/Homebrew/homebrew/blob/master/LICENSE.txt
# Installs a relatively minimalist version of the GPAC tools. The
# most commonly used tool in this package is the MP4Box metadata
# interleaver, which has relatively few dependencies.
#
# The challenge with building everything is that Gpac depends on
View ipfw.conf
#
# Flush all of our pre-existing rules.
#
flush
#
# Forward port 80 to our Vagrant instance.
#
add 100 fwd 127.0.0.1,8080 tcp from any to me 80
@premist
premist / tomorrow-night-eighties.js
Created Oct 8, 2013
Tomorrow Night Eighties colorset on Chrome Secure Shell
View tomorrow-night-eighties.js
term_.prefs_.set('cursor-blink', true);
term_.prefs_.set('background-color', '#2d2d2d');
term_.prefs_.set('foreground-color', '#cccccc');
term_.prefs_.set('cursor-color', '#515151');
term_.prefs_.set('color-palette-overrides', [
'#515151',
'#f2777a',
'#99cc99',
'#ffcc66',