Craig Russell craig552uk

View basics_of_unix_philosophy
1 2 3 4 5 6 7 8 9 10
Basics of the Unix Philosophy
=============================
 
Rule of Modularity: Write simple parts connected by clean interfaces
 
Rule of Clarity: Clarity is better than cleverness
 
Rule of Composition: Design programs to be connected with other programs
 
Rule of Separation: Separate policy from mechanism; separate interfaces from engines
View mit-license.txt
1 2 3 4 5 6 7 8 9 10
The MIT License (MIT)
 
Copyright (c) <year> <copyright holders>
 
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
View .conkyrc
1 2 3 4 5 6 7 8 9 10
# Conky settings #
background no
update_interval 5
double_buffer yes
no_buffers yes
 
# Window specifications #
own_window yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
View .bashrc
1 2 3 4 5 6 7 8 9 10
# Colours
txtgrn='\[\e[0;32m\]' # Green
txtylw='\[\e[0;33m\]' # Yellow
txtblu='\[\e[0;34m\]' # Blue
txtpur='\[\e[0;35m\]' # Purple
txtcyn='\[\e[0;36m\]' # Cyan
txtwht='\[\e[0;37m\]' # White
bldblk='\[\e[1;30m\]' # Black - Bold
bldred='\[\e[1;31m\]' # Red - Bold
bldgrn='\[\e[1;32m\]' # Green - Bold
View h5bp-main.css
1 2 3 4 5 6 7 8 9 10
/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */
 
/*
* What follows is the result of much research on cross-browser styling.
* Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
* Kroc Camen, and the H5BP dev community and team.
*/
 
/* ==========================================================================
Base styles: opinionated defaults
View normalize.css
1 2 3 4 5 6 7 8 9
/*! normalize.css v1.1.3 | MIT License | git.io/normalize */
 
/* ==========================================================================
HTML5 display definitions
========================================================================== */
 
/**
* Correct `block` display not defined in IE 6/7/8/9 and Firefox 3.
*/
View html5-boilerplate.html
1 2 3 4 5 6 7 8 9 10
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<meta name="description" content="">
View ga_tracking.js
1 2 3 4 5 6 7 8 9 10
// Extracts the Visitor ID from a GA cookie
function _goog_id(){
var id, a, c = document.cookie.split('; ');
for(i in c){a = c[i].split('=');if(a[0]=='__utma'){id = a[1].split('.')[1];}}
return id || 'unknown';
}
 
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXX-X']);
_gaq.push(['_trackPageview']);
View Chart.html
1 2 3 4 5 6 7 8 9
<!DOCTYPE html>
<html lang="en">
<head>
<title>My Chart</title>
<meta charset="utf-8">
</head>
<body>
 
<p class="my-chart" style="text-align:center"></p>
Something went wrong with that request. Please try again.