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;
}
#!/usr/bin/env zsh | |
# Alias a 'cd' to all your ~/project directories on the command line with @<projectname> | |
# just type: @my_cool_project -- to 'cd' to '~/projects/my_cool_project' | |
# to install just add `source alias_projects.zsh` to your ~/.zshrc | |
PROJECTS_DIR=$HOME/projects | |
for dir in $( | |
ls -lta $PROJECTS_DIR | | |
grep ^d | |
description := "Generic development dependency runner" | |
comma := , | |
ENV ?= dev | |
# You may set credentials for all services with this single session var | |
# Example: | |
# CREDENTIALS=micro-service make postgres | |
# OR under Windows: | |
# wsl CREDENTIALS=micro-service make postgres | |
CREDENTIALS ?= service |
<body onload=z=c.getContext`2d`,setInterval(`c.width=W=150,Y<W&&P<Y&Y<P+E|9<p?z.fillText(S++${Y=`,9,9|z.fillRect(p`}*0,Y-=--M${Y+Y},P+E,9,W),P))):p=M=Y=S=6,p=p-6||(P=S%E,W)`,E=49) onclick=M=9><canvas id=c> |
This is free and unencumbered software released into the public domain. | |
Anyone is free to copy, modify, publish, use, compile, sell, or | |
distribute this software, either in source code form or as a compiled | |
binary, for any purpose, commercial or non-commercial, and by any | |
means. | |
In jurisdictions that recognize copyright laws, the author or authors | |
of this software dedicate any and all copyright interest in the | |
software to the public domain. We make this dedication for the benefit |
package main | |
import ( | |
"fmt" | |
"log" | |
"strconv" | |
"github.com/miekg/dns" | |
) |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
This is a set up for projects which want to check in only their source files, but have their gh-pages branch automatically updated with some compiled output every time they push.
A file below this one contains the steps for doing this with Travis CI. However, these days I recommend GitHub Actions, for the following reasons:
angular.module('app', []) | |
.filter('truncate', function () { | |
return function (text, length, end) { | |
if (isNaN(length)) { | |
length = 10; | |
} | |
if (end === undefined) { | |
end = '...'; |
<?php | |
class config { | |
// For PHPMailer Class for sending email from forms and error reports | |
const defaultEmail = ''; | |
const defaultFrom = ''; | |
const notifyEmail = ''; | |
const notifyName = ''; | |
// For database connection scheme |