Skip to content

Instantly share code, notes, and snippets.

View aphex3k's full-sized avatar
🇺🇦
Слава Україні!

Michael Henke aphex3k

🇺🇦
Слава Україні!
  • Dexcom
  • San Diego, CA
  • 05:35 (UTC -07:00)
View GitHub Profile
@aphex3k
aphex3k / raspbian-headless-motd
Last active March 11, 2016 17:36 — forked from piksel/raspi-motd.sh
Script for setting a nice raspberry pi logo as MOTD on debian.
#!/bin/bash
logo="$(tput setaf 2)
.~~. .~~.
'. \ ' ' / .' $(tput sgr0) ------------------------------- $(tput setaf 1)
.~ .~~~..~. $(tput sgr0) _ _ $(tput setaf 1)
: .~.'~'.~. : $(tput sgr0) ___ ___ ___ ___| |_|_|___ ___ $(tput setaf 1)
~ ( ) ( ) ~ $(tput sgr0) | _| .'|_ -| . | . | | .'| | $(tput setaf 1)
( : '~'.~.'~' : ) $(tput sgr0) |_| |__,|___| _|___|_|__,|_|_| $(tput setaf 1)
~ .~ ( ) ~. ~ $(tput sgr0) |_| $(tput setaf 1)
( : '~' : )
<?php
/*
Twitter JSON to Atom proxy for Twitter API 1.1
Original version by yimingliu ( https://gist.github.com/yimingliu/4735445 )
Display user_timeline instead of home_timeline
*/
date_default_timezone_set('America/Los_Angeles');
ini_set('display_errors', 0);