Here is how I prefer to organize projects:
┌─ _dist/
├─ assets/
├─ content/
├─ data/
/** | |
Build HISTORY.md from your GitHub Tags and Milestones. | |
Note: Tag and Milestone name/title MUST MATCH! | |
**/ | |
var | |
GitHubApi = require('github'), | |
async = require('async'), | |
fs = require('fs'), |
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
m=Math.random,v=255;Array.from(document.querySelectorAll("*")).forEach(e=>{e.style.background=`rgb(${m()*v|0},${m()*v|0},${m()*v|0})`}) |
@mixin heydon_rules { | |
// Adapted from http://coding.smashingmagazine.com/2013/08/20/semantic-css-with-intelligent-selectors/ | |
// I removed the Comic Sans font declaration because, well, I really can't stand it, even in this context | |
%uglystyle { | |
display: block !important; | |
background: pink !important; | |
padding: 0.5em !important; | |
color: #000 !important; |
by Dale Sande
CSS has had a long and sordid past. A developer never sets out with the goal of making a complete and total mess of things. Their intention is not to build something that is practically illegible, impractical to maintain and is limited in scale. But somehow, this is where many inevitably end up. Luckily, all is not lost. With some simple strategies, organizational methods and out-of-the box tools, we can really help get that junk-drawer inline.
For many of us getting started with Sass, at one time or another have created a junk-drawer of files. For most, this was a rookie mistake, but for others, this is a continuing issue with our architecture and file management techniques. Sass doesn't come with any real rules for file management so developers are pretty much left to their own devices.
CSS started out with very simple intentions, but as [tableless web design][1.1] began to really take a foothold, o
There's no shortage of good resources for learning laravel. So instead of the usual introductory tutorial were just gonna learn Laravel by building a project from scratch and that's gonna be a User Management System.
I don't know if my definition of a User Management System is correct but here's my idea of what's it's capable of doing:
<?php | |
namespace Custom; | |
/** | |
* | |
* Simple way to add a photo-gallery with pagination to a PHP website. | |
* [ready to be spruced up with JS] | |
* | |
* Usage: |
# to execute this gist, run the line bellow in terminal | |
\curl -L https://raw.github.com/gist/3875946/install_source_code_pro.sh | sh |