Skip to content

Instantly share code, notes, and snippets.

Avatar
😀
Building

Michael Thanh mvxt

😀
Building
View GitHub Profile
@mvxt
mvxt / example.html
Created Apr 7, 2021
Custom Fields in Auth0
View example.html
<!-- Other HTML above -->
<script src="https://cdn.auth0.com/js/lock/11.27/lock.min.js"></script>
<script>
var lock = new Auth0Lock(config.clientID, config.auth0Domain, {
auth: {
redirectUrl: config.callbackURL,
responseType: (config.internalOptions || {}).response_type ||
(config.callbackOnLocationHash ? 'token' : 'code'),
params: config.internalOptions
},
@mvxt
mvxt / inode_increase.sh
Last active Dec 15, 2020
Increasing number of inodes on DLC volume for machine executor, CircleCI
View inode_increase.sh
# Steps to reformat DLC drive and add more inodes. Should increase number from ~3m to ~52m
# Copy the contents of this file to a bash script and execute the script in a run step
# Alternatively, copy the commands into a multi-line command in the CircleCI config
function reformat() {
# (2) Stop Docker daemon
# If using Docker 18+, then use `sudo systemctl stop docker` instead
sudo service docker stop
# (3) Unmount the device
View artifacts.py
import base64
from datetime import datetime, timedelta
import http.client
import json
import os
import requests
import sys
###################
# MODIFY AS NEEDED
View keybase.md

Keybase proof

I hereby claim:

  • I am mvxt on github.
  • I am mikeyvxt (https://keybase.io/mikeyvxt) on keybase.
  • I have a public key whose fingerprint is F542 16C2 8FF5 1D24 6449 67D6 6ECA 4B8E 5584 B66D

To claim this, I am signing this object:

@mvxt
mvxt / init.vim
Created May 29, 2018
neovim config file
View init.vim
" Plug (vim-plug) - plugin manager
" https://github.com/junegunn/vim-plug
" Basically: after adding a plug, just remember to run 'PlugInstall'
" This is best with neovim!
" https://neovim.io/
" http://nerditya.com/code/guide-to-neovim/
" Other helpful links:
" http://learnvimscriptthehardway.stevelosh.com/
" http://andrewradev.com/2011/08/06/making-vim-pretty-with-custom-colors/
" =====================================