Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
Verifying I am +rouzbeh on my passcard. https://onename.com/rouzbeh |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="p:domain_verify" content="82b4f1b25659642d13dbbc1dfa4d65a6" /> | |
<title>Rouzbeh Sarrafieh Portfolio | Los Angeles Based Web Designer and Developer</title> | |
<meta name="description" content="Portfolio of Los Angeles Web Designer and Developer Rouzbeh. Specializing in HTML and CSS front end development with usage of jQuery and JavaScript."> | |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> | |
<link rel="stylesheet" href="css/main.min.css"> |
function filter(collection, callback) { | |
//set empty array as it asks for array of items for output | |
var output = []; | |
// check if array and if so loop through collection with for loop | |
if(Array.isArray(collection)) { | |
for(var i = 0; i < collection.length; i++) { | |
//if callback functions returns 'truthy' statement | |
if(callback(collection[i], i, collection)) { | |
//push to output array | |
output.push(collection[i]); |
Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.
###Array ####Definition:
Custom recipe to get OS X 10.11 El Capitan running from scratch, setup applications and developer environment. This is very similar (and currently mostly the same) as my 10.10 Yosemite setup recipe (as found on this gist https://gist.github.com/kevinelliott/0726211d17020a6abc1f). Note that I expect this to change significantly as I install El Capitan several times.
I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. On average, I reinstall each computer from scratch every 6 months, and I do not perform upgrades between distros.
This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.
You are encouraged to fork this and modify it to your heart's content to match your own needs.
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>wpt-ui</title> | |
<style> | |
.wpt { | |
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFIAAAIBCAYAAADaqejrAAAgAElEQVR4Xu2dC3RU1bnHv5nMKzN5El6SAPIKKEIIFosKWgOKXkBFpa3L1djWtnBRW1ntapXq7epV0Xa1C1qrC1qt1/R6bcVXBa5YMVpfRbkKQVAJKvII8jDkOZPJzGTmrm9P9nhy5jz2ObMnOWdmn7VYtZl9vnP27/z369uPzwHi4kLAwcWKMAICJCcRCJACJCcCnMwoKjKRSCQ42R8yMw6HY1BLW9ZB9rUeg2jTyxBrfgcSPZ0QPfBmCq57yoXgKCwBV/V54K5ZAAUVY7iBzxmQvTueg97GxyB29H0Cx1FYCq6qc8BZUUn+xVtbyL/Y0b2Q6OkgaVxVM8BbdyN4516dMVDbg+w7+hEEG+4gABGeb+5y8Jx/NRRUTVOFg/dE/vUchHdsIlARaKD+Ps179EjbGiSqMNjwkyTAuu9C4eKb9fKb9nvP1gch3PhnAjRQ/xvT6rQtyGDDGujd8WRSTSsezKi+w3o1uPFmomrv3K9DoH6t4Q9iS5Coop6t60im/cvvAEdhseGMy29I9HRBaNN95OMULl5tWN22AxltaoSujT8AbIGLVz+WMUC5gc61y4gyi1f8Edw1dcz2bQUSVdN+59dInVj6879zUaKSMjvuvYrUmWX3vMr8DFuBpEW65LYnwFU9h0ktXetuTKVjVXCseSd0rr/eUBG3DUiqRuwbsgJBgqdXTU6BHPbQx0zwMRF+AOxzsqrSNiDDjX+B0FO/BCNqzAQkVaX/ul+Ar+5buh/ANiBRIX2tR6DsnkbdTEkTmFUk2mi/sw4KKsYylQDbgEQgZvp4mYC |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<title>glossary</title> | |
<style> | |
.markdown-preview:not([data-use-github-style]) { | |
padding: 2em; | |
font-size: 1.2em; |
var gulp = require('gulp'); | |
var sass = require('gulp-sass'); | |
var autoprefixer = require('gulp-autoprefixer'); | |
var sourcemaps = require('gulp-sourcemaps'); | |
var browserSync = require('browser-sync'); | |
var useref = require('gulp-useref'); | |
var uglify = require('gulp-uglify'); | |
var gulpIf = require('gulp-if'); | |
var cssnano = require('gulp-cssnano'); | |
var imagemin = require('gulp-imagemin'); |
#!/bin/bash | |
##################################################### | |
# Name: Bash CheatSheet for Mac OSX | |
# | |
# A little overlook of the Bash basics | |
# | |
# Usage: | |
# | |
# Author: J. Le Coupanec | |
# Date: 2014/11/04 |