The popular open-source contract for web designers and developers by Stuff & Nonsense
- Originally published: 23/12/2008
- Revised date: 15/12/2013
- Original post
#!/bin/bash | |
# These functions require a CouchDB instance | |
rawurldecode() { | |
# This is perhaps a risky gambit, but since all escape characters must be | |
# encoded, we can replace %NN with \xNN and pass the lot to printf -b, which | |
# will decode hex for us |
cd $HOME | |
ln -s `which php54` ~/bin/php | |
export PATH=$HOME/bin:$PATH | |
curl -sS https://getcomposer.org/installer | php54 | |
echo -e "\n# Composer\nalias composer=\"php54 \$HOME/composer.phar\"" >> $HOME/.bash_profile | |
source $HOME/.bash_profile |
#!/usr/bin/env php | |
<?php | |
// Script to postpone your own email. Parses IMAP folders and moves emails to a folder named "Today" | |
// Run this from a crontab, for example at 6 AM | |
// BSD License | |
// (C) Carlos Fenollosa, 2011-2016 | |
// Read more about this script: http://cfenollosa.com/blog/a-simple-script-to-postpone-your-own-email.html | |
// Please leave comments and feedback for bugs and ideas! |
data:text/html, <style type="text/css">.e{position:absolute;top:0;right:0;bottom:0;left:0;}</style><div class="e" id="editor"></div><script src="http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script><script>var e=ace.edit("editor");e.setTheme("ace/theme/monokai");e.getSession().setMode("ace/mode/ruby");</script> | |
<!-- | |
For other language: Instead of `ace/mode/ruby`, Use | |
Markdown -> `ace/mode/markdown` | |
Python -> `ace/mode/python` | |
C/C++ -> `ace/mode/c_cpp` | |
Javscript -> `ace/mode/javascript` | |
Java -> `ace/mode/java` | |
Scala- -> `ace/mode/scala` |
data:text/html, <style type="text/css">#e{position:absolute;top:0;right:0;bottom:0;left:0;}</style><div id="e"></div><script src="http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script><script>var e=ace.edit("e");e.setTheme("ace/theme/solarized_dark");e.getSession().setMode("ace/mode/html");</script> |
This is a tiny content strategy framework focused on goals, messages, and branding.
This is not a checklist and these are not templates. Use what you need and scrap the rest. Or rewrite what I wrote. Or add to it. These topics should help you get to the bottom of things with clients and people you work with.
/* ------------------------------------------------- | |
MINIMAL TWITTER FOR FLUID / USERSTYLES | |
Special thanks to: | |
Max Fenton (@maxfenton) for kicking this off | |
Based inpart on [https://github.com/connors/twitter-user-style/blob/master/twitter.css] | |
------------------------------------------------- */ | |
@import url(http://fonts.googleapis.com/css?family=Noto+Serif); |