This script is used to patch and subset the Source Code Pro font for use on my blog.
More details are available at velvetcache.org/2024/02/12/box-drawing-on-the-web
This script is used to patch and subset the Source Code Pro font for use on my blog.
More details are available at velvetcache.org/2024/02/12/box-drawing-on-the-web
<html> | |
<head> | |
</head> | |
<body> | |
<canvas id="base" width="500" height="500" style="border: 1px solid #444; background: #000;"></canvas> | |
<script> | |
var elem = document.getElementById( 'base' ); | |
var context = elem.getContext( '2d' ); | |
var Sprite = function () { |
<?php | |
ob_start(); | |
header('HTTP/1.1 503 Service Temporarily Unavailable'); | |
header('Status: 503 Service Temporarily Unavailable'); | |
header('Retry-After: 3600'); | |
header('X-Powered-By:'); | |
?><!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> | |
<html><head> | |
<title>503 Service Temporarily Unavailable</title> | |
</head><body> |
# -*- coding: utf-8 -*- | |
import socket | |
import os | |
print("Connecting...") | |
if os.path.exists("/tmp/python_unix_sockets_example"): | |
client = socket.socket(socket.AF_UNIX, socket.SOCK_DGRAM) | |
client.connect("/tmp/python_unix_sockets_example") | |
print("Ready.") | |
print("Ctrl-C to quit.") |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import time | |
from datetime import datetime | |
from pymongo.connection import Connection | |
import pymongo | |
class ToDoApplication: |
FROM ubuntu:xenial | |
RUN apt-get update && \ | |
apt-get install -yq software-properties-common python-software-properties && \ | |
add-apt-repository ppa:mc3man/ffmpeg-test && \ | |
apt-get update && \ | |
apt-get install -yq ffmpeg-static | |
ADD stabilize.sh /opt/ |
# -*- coding: utf-8 -*- | |
# This script is used to combine PHP source files together into one big glob. | |
# I wrote this so I could distribute a single file web application, but develop | |
# it in a sane fashion. | |
# Copyright (c) 2010, John M. Hobbs | |
# All rights reserved. | |
# | |
# Redistribution and use in source and binary forms, with or without modification, |
FROM busybox | |
ARG THE_SECRET | |
RUN echo "::${THE_SECRET}::" |
import unittest | |
suite "description for this stuff": | |
test "essential truths": | |
require(true) |