Skip to content

Instantly share code, notes, and snippets.

@scriptspry
scriptspry / gist:0e8637de42d9efc96fc9c14fca23824a
Created August 11, 2018 08:31 — forked from pitch-gist/gist:2999707
HTML: Simple Maintenance Page
<!doctype html>
<title>Site Maintenance</title>
<style>
body { text-align: center; padding: 150px; }
h1 { font-size: 50px; }
body { font: 20px Helvetica, sans-serif; color: #333; }
article { display: block; text-align: left; width: 650px; margin: 0 auto; }
a { color: #dc8100; text-decoration: none; }
a:hover { color: #333; text-decoration: none; }
</style>
(function(e, a) { for(var i in a) e[i] = a[i]; }(window, /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
@scriptspry
scriptspry / ginr.py
Created November 10, 2017 19:23
Gunzip (Recursively) If Needed
#!/usr/local/bin/python
import os
from os import path
import gzip as _gzip
import zipfile
import sys
def gunzip(gzp):
if not path.exists(gzp):
return 'No such file'