- Carlos Azaustre for his great work on MDX and RSS with Nextjs
- Ekom Enyong for her great components and styles that I used in my subdomains. Original project
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
#!/usr/bin/env python3 | |
# -*- coding: UTF-8 -*- | |
import socket | |
import json | |
server_address = '/tmp/example.sock' | |
sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) | |
sock.connect(server_address) |
Slack doesn't provide an easy way to extract custom emoji from a team. (Especially teams with thousands of custom emoji) This Gist walks you through a relatively simple approach to get your emoji out.
If you're an admin of your own team, you can get the list of emoji directly using this API: https://api.slack.com/methods/emoji.list. Once you have it, skip to Step 3
HOWEVER! This gist is intended for people who don't have admin access, nor access tokens for using that list.
Follow along...
git clone https://github.com/lukechilds/zsh-nvm ~/.oh-my-zsh/custom/plugins/zsh-nvm
- Add the zsh-nvm plugin to your
.zshrc
folder
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
export DEBIAN_FRONTEND=noninteractive | |
sudo apt-get -q -y update | |
sudo apt-get -q -y install build-essential | |
sudo apt-get -q -y install cmake | |
sudo apt-get -q -y install pkg-config | |
sudo apt-get -q -y install libpng12-0 libpng12-dev libpng++-dev libpng3 | |
sudo apt-get -q -y install libpnglite-dev libpngwriter0-dev libpngwriter0c2 | |
sudo apt-get -q -y install zlib1g-dbg zlib1g zlib1g-dev | |
sudo apt-get -q -y install pngtools libtiff4-dev libtiff4 libtiffxx0c2 libtiff-tools | |
sudo apt-get -q -y install libjpeg8 libjpeg8-dev libjpeg8-dbg libjpeg-progs |
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/sh | |
echo "START: Installing dependencies for Node, Docker and Docker Compose in DO" | |
cd /home | |
mkdir WORKSPACE | |
cd WORKSPACE | |
# Nodejs | |
# https://github.com/nodesource/distributions/blob/master/README.md | |
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> | |
<meta name="description" content=""> | |
<meta name="author" content=""> |
pg_dump --data-only --inserts -h <DB_URL> -U <DB_USER> -f <FILE_NAME_TO_CREATE.sql> <DB_NAME>
Notes:
--data-only
will dump only data to be inserted (not tables strcuture and relations)--inserts
will force to useINSERT
statements and notCOPY
to avoid driver issues later on
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
#!/usr/bin/env bash | |
nvm use v0.10 | |
#find . -name "node_modules" -type d -prune -exec rm -rf '{}' + | |
npm install | |
npm config set shrinkwrap false | |
npm rm --silent --save-dev connect-redis | |
npm install --silent --save-dev mocha@3.5.3 | |
npm install --silent --save-dev supertest@2.0.0 | |
npm prune |
NewerOlder