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
// NOTE: I added the .js extension to this gist so it would have syntax highlighting. This file should have NO file extension | |
{ | |
// Settings | |
"passfail" : false, // Stop on first error. | |
"maxerr" : 100, // Maximum error before stopping. | |
// Predefined globals whom JSHint will ignore. | |
"browser" : true, // Standard browser globals e.g. `window`, `document`. |
add this to any of your server blocks | |
```nginx | |
location ~* \.(eot|ttf|woff)$ { | |
add_header Access-Control-Allow-Origin *; | |
} | |
``` | |
[Source](http://serverfault.com/questions/162429/how-do-i-add-access-control-allow-origin-in-nginx) |
#!/bin/sh | |
### BEGIN INIT INFO | |
# Provides: btsync | |
# Required-Start: $local_fs $remote_fs | |
# Required-Stop: $local_fs $remote_fs | |
# Should-Start: $network | |
# Should-Stop: $network | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Multi-user daemonized version of btsync. |
#!/bin/bash | |
# | |
# The MIT License (MIT) | |
# | |
# Copyright (c) 2014 Mathias Leppich <mleppich@muhqu.de> | |
# | |
# 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 |
.~~. .~~. | |
'. \ ' ' / .' | |
.~ .~~~..~. | |
: .~.'~'.~. : | |
~ ( ) ( ) ~ | |
( : '~'.~.'~' : ) | |
~ .~ ( ) ~. ~ | |
( : '~' : ) Raspberry Pi | |
'~ .~~~. ~' | |
'~' |
# OS generated files # | |
################################ | |
.DS_Store | |
.DS_Store? | |
._* | |
.Spotlight-V100 | |
.Trashes | |
Icon? | |
ehthumbs.db | |
Thumbs.db |
In this document I am using Sass's SCSS syntax. You can choose to use the indented syntax in sass, if you prefer it, it has no functional differences from the SCSS syntax.
For Less, I'm using the JavaScript version because this is what they suggest on the website. The ruby version may be different.
<VirtualHost *:80> | |
ServerName magento.loc | |
DocumentRoot /var/www/html | |
DirectoryIndex index.php | |
<Directory /var/www/html/var/> | |
Order deny,allow | |
Deny from all | |
</Directory> |
||| | |
\|/ | |
| WWW o | |
| /_^_\ O ) | |
B, /|o o\\_ ( | |
|\\ |\ - |\\_/ o ) <*)< | |
| \\\_/= \_/ <^)< ( | |
| `\ \\ | |
| | .][. | ) | |
| \ | /( ) o ( |