When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:
main {
max-width: 38rem;
padding: 2rem;
margin: auto;
}
#!/bin/sh | |
if [ "$#" -eq 1 ]; then stdinmsg=$(cat); fi | |
exec <"$0" || exit; read v; read v; read v; exec /usr/bin/osascript - "$@" "$stdinmsg"; exit | |
on run | |
set pathCSVFile to (choose file with prompt "Select the CSV file" of type "csv") | |
set strCSV to read pathCSVFile | |
set pathTemplateFile to (choose file with prompt "Select the message template" of type "txt") | |
set messageTemplate to read pathTemplateFile |
T H E | |
€€€ª €€€ª €€€€€ª €€€€€€ª | |
€€€€ª €€€€∫ €€…ÕÕ€€ª €€…ÕÕ€€ª | |
€€…€€€€…€€∫ €€€€€€€∫ €€∫ €€∫ | |
€€∫»€€…º€€∫ €€…ÕÕ€€∫ €€∫ €€∫ | |
€€∫ »Õº €€∫ €€∫ €€∫ €€€€€€…º | |
»Õº »Õº »Õº »Õº »ÕÕÕÕÕº | |
€€€€€€ª €€ª €€ª €€€€€ª €€€€€€€€ª €€€€€€€€ª €€€€€€€ª €€€€€€ª |
Prepare a server for a Rails app with MySQL (percona) + NGINX (passenger)
Deploy rails app in new server with Capistrano v3
#/bin/bash | |
#(c) Copyright 2014 Temasys Communication, Pte Ltd. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software |
Looked at the host serving my Netflix streams today and noticed something new.
No clue if money is changing hands or not, and the return path is what actually matters, but it appears that Comcast and Netflix have reached some sort of agreement regarding direct interconnection.
$ traceroute -a 198.45.63.164
traceroute to 198.45.63.164 (198.45.63.164), 64 hops max, 52 byte packets
(hops 1-2 redacted)
#!/bin/sh | |
if [ "$#" -eq 1 ]; then stdinmsg=$(cat); fi | |
exec <"$0" || exit; read v; read v; read v; exec /usr/bin/osascript - "$@" "$stdinmsg"; exit | |
-- another way of waiting until an app is running | |
on waitUntilRunning(appname, delaytime) | |
repeat until my appIsRunning(appname) | |
tell application "Messages" to close window 1 | |
delay delaytime | |
end repeat |
Requires creative mode or operator power on a multiplayer server. On a single player game (survival or hardcore), you will need "cheats" enabled to move into creative mode. Don't forget to leave creative mode when done.
These items might be stupid. Be prepared to repair the country-side.