Skip to content

Instantly share code, notes, and snippets.

View mnemonic47's full-sized avatar
:octocat:

mnemonic47

:octocat:
  • Sweden
  • 20:12 (UTC +02:00)
View GitHub Profile
#!/usr/bin/env python3
from __future__ import print_function
from datetime import datetime
import os
import sys
import time
import tempfile
import shutil
@mnemonic47
mnemonic47 / iframes.html
Created April 15, 2020 09:08
iframe example
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
* {
box-sizing: border-box;
}
.column {
@mnemonic47
mnemonic47 / pcat-install.sh
Created April 7, 2020 19:27 — forked from BretFisher/pcat-install.sh
On macOS: Install pygmentize and alias pcat for shell code syntax highlighting
# first install pygmentize to the mac OS X or macOS system with the built-in python
sudo easy_install Pygments
# then add alias to your ~/.bash_profile or ~/.bashrc or ~/.zshrc etc.
alias pcat='pygmentize -f terminal256 -O style=native -g'