Skip to content

Instantly share code, notes, and snippets.

View boticello's full-sized avatar

Boticello boticello

  • Hinterland
View GitHub Profile
@boticello
boticello / easyscript.txt
Created August 31, 2023 08:25
EasyScript prompt
# EASYSCRIPT
I am going to teach you the rules of a shorthand language called EasyScript. EasyScript is a way of creating abbreviations for English words.
There are rules for the five types of words: simple words, prefix words, suffix words, prefix-suffix words and compound words.
## PREFIX WORDS, SUFFIX WORDS & PREFIX-SUFFIX WORDS
Prefix words are words consisting of a prefix and a base (or root). In EasyScript the prefixes of prefix words are abbreviated to prefix codes. Example prefixes and their EasyScript prefix codes:
ac // a
ap // a
as // a
com // c
@boticello
boticello / headless-cms.md
Last active May 15, 2025 18:31
Headless CMS – free tier comparison

Free tiers

CMS API calls Storage (MB) Records Content types Users Logo Next tier
Contentful 5000 24 10 N 40
Squidex 50K 500 Unlimited 2 N 20
GraphCMS 10K 1000 Unlimited 2 Y
GraphCool Unlimited
Prismic Fair Fair Unlimited 1 N 10
Cosmic 10K 1000 Unlimited 1 N 50
@boticello
boticello / hiawatha2.conf
Created August 26, 2015 11:40
Hiawatha configuration
VirtualHost {
Hostname = www.mysite.com, mysite.com
WebsiteRoot = /var/www/mysite
StartFile = index.php
AccessLogfile = /var/log/hiawatha/access.log
ErrorLogfile = /var/log/hiawatha/error.log
TimeForCGI = 1000
UseFastCGI = PHP5
UseToolkit = banshee
# if ownCloud or alike is installed, otherwise, it should be "no"
@boticello
boticello / hiawatha.conf
Created August 26, 2015 11:38
Hiawatha configuration file
# Hiawatha main configuration file
#
# GENERAL SETTINGS
#
ServerId = www-data
ConnectionsTotal = 1000
ConnectionsPerIP = 35
SystemLogfile = /var/log/hiawatha/system.log
@boticello
boticello / hiawatha.md
Last active August 26, 2015 11:39
Secure Ubuntu webserver with Hiawatha

Hiawatha

Goal

Get a secure webserver working on Ubuntu on Digital Ocean.

Install

SSH into the Digital Ocean VPS.

@boticello
boticello / digital-ocean.txt
Created August 26, 2015 09:56
Digital Ocean
== Tips ==
* get a voucher code
* use tugboat
* use SSH
tugboat ssh [server]
@boticello
boticello / test.txt
Created August 26, 2015 09:02
A test gist
This is a gist. This could be used as a code diary.
#!/usr/bin/env ruby -w
require 'YAML'
# EXAMPLE: loading YAML documents; picking random element from array
quotations = YAML::load( File.open( "#{ENV['HOME']}/Textlife/quotations.yaml" ) )
result = quotations.sort_by{ rand }[0].gsub(":-", ":")
`echo "#{result}" | growlnotify -p 0 -s ''`
alias -g CA="2>&1 | cat -A"
alias -g COUNT='| wc -l'
alias -g D="DISPLAY=:0.0"
alias -g DN=/dev/null
alias -g ED="export DISPLAY=:0.0"
alias -g EG='|& egrep'
alias -g EH='|& head'
alias -g EL='|& less'
alias -g ELS='|& less -S'
alias -g ETL='|& tail -20'
# random-based scripts
#!/bin/zsh -f
#? growl a randline: one or two arguments, second is title.
randline "$1" | growlnotify -s -I "$1" "$2"
#!/bin/sh
growlnotify -s Reminder! -p2 -I '$HOME/Library/Application Support/Quicksilver/Actions/reminder.scpt' <<EOF >/dev/null