Skip to content

Instantly share code, notes, and snippets.

@janodev
janodev / gist:69fd3d2b2d3c50ca685c
Created February 29, 2016 16:15
How to get, install, and configure a free SSL certificate for your website:
~ $ git clone https://github.com/letsencrypt/letsencrypt
~ $ cd letsencrypt
~ $ letsencrypt-auto --renew-by-default --webroot -w /var/www/ --email jano@website.com --text --agree-tos -d website.com -d www.website.com auth
~ $ letsencrypt --apache
@andrewluetgers
andrewluetgers / gulptfile.js
Created January 29, 2015 06:38
Gulp build for riot.js with sourcemaps
var es = require('event-stream'),
gulp = require('gulp'),
riot = require('gulp-riot'),
rimraf = require('gulp-rimraf'),
jshint = require('gulp-jshint'),
stylus = require('gulp-stylus'),
concat = require('gulp-concat'),
uglify = require('gulp-uglify'),
notify = require("gulp-notify"),
plumber = require('gulp-plumber'),
@hamaluik
hamaluik / AABB.hx
Created October 6, 2014 05:38
Continuous collision detection between two moving AABBs using Minkowski differences.
package ;
import openfl.display.Sprite;
/**
* ...
* @author Kenton Hamaluik
*/
class AABB
{
public var center:Vector = new Vector();
@halcarleton
halcarleton / SublimeText-Project-Line-Count
Last active August 6, 2023 16:09 — forked from Hexodus/count_total_project_code_lines_in_sublime
Count total lines of code in a Sublime Text Project or Directory
Go to menu:
Find -> Find in Files... (windows: ctrl+shift+f)
Switch on reg_ex button (windows: alt+r)
Find:
^.*\S+.*$
Where:
c:\your_folder\,*.php,*.js,*.inc,*.html,*.htm,*.scss, -*/folder_to_exclude/*, -*.min.js