1. Install nginx
2. Install minio
3. Install mc client
$ mc mb myminio/static
Bucket created successfully ‘myminio/static’.
<?php | |
use Illuminate\Auth\UserInterface; | |
use Illuminate\Auth\Reminders\RemindableInterface; | |
use \Eloquent; | |
class User extends Eloquent implements UserInterface, RemindableInterface | |
{ |
<?php | |
Quota::with( | |
array( | |
'codes' => function($query) { | |
$query->where('number', '=', 11); | |
} | |
) | |
) | |
->where('label', '=', 'foo') |
// Usage : less2stylusDir('../src/css/'); | |
var fs = require('fs'); | |
// this less 2 stylus conversion script make a stylus easy to read syntax | |
// - let the braces | |
// - replace the @ for var as $ | |
// - let semicolons | |
function less2stylus(less) |
# A class-based template for jQuery plugins in Coffeescript | |
# | |
# $('.target').myPlugin({ paramA: 'not-foo' }); | |
# $('.target').myPlugin('myMethod', 'Hello, world'); | |
# | |
# Check out Alan Hogan's original jQuery plugin template: | |
# https://github.com/alanhogan/Coffeescript-jQuery-Plugin-Template | |
# | |
(($, window) -> |
/// | |
/// Allows basic access to the windows firewall API. | |
/// This can be used to add an exception to the windows firewall | |
/// exceptions list, so that our programs can continue to run merrily | |
/// even when nasty windows firewall is running. | |
/// | |
/// Please note: It is not enforced here, but it might be a good idea | |
/// to actually prompt the user before messing with their firewall settings, | |
/// just as a matter of politeness. | |
/// |