create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
<!DOCTYPE html> | |
<html> | |
<head> | |
<!-- Apple nicely commented all of these transitions on their source file: | |
http://images.apple.com/global/styles/productbrowser.css --> | |
<style type="text/css" media="screen"> | |
/* Just some basic presentational CSS for the example */ | |
a { | |
background: #000; display: block; color: #fff; | |
font: 1.5em "Lucida Grande", "Trebuchet MS", Verdana, sans-serif; |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script> | |
function invite() { | |
var url = '/people/~/mailbox', | |
body = { | |
recipients: { | |
values: [{ | |
person: { |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
Last updated: 2017-03-18
exiftool -filename -filemodifydate -createdate -r -if '(not $datetimeoriginal) and $filetype eq "JPEG"' .
###Output photos that don't have datetimeoriginal to a CSV### Note this can take a long time if you have a lot of jpgs
CSS class names quickly get out of hand. Repos end up with unorganized CSS files all over the place making it difficult to name things and find them in the code.
The scoped components pattern addresses this by grouping classes into "component" scopes.
<div data-component="news-menu">
<h1 class="title">...</h1>
<ul class="items">
...
/** | |
* Run a callback over all children of a given element using depth-first | |
* traversal. | |
* | |
* @param {HTMLElement} element | |
* @param {Function} callback | |
*/ | |
function iterateDOM(element, callback) { | |
const nodes = []; |
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
// generic use of SDK | |
var account = new CloudStorageAccount(credentials, true); | |
var client = new CloudBlobClient(account.BlobEndpoint.AbsoluteUri, account.Credentials); | |
var container = client.GetContainerReference("test"); | |
var blob = container.GetBlobReference("CloudBlob.txt"); | |
using (var stream = blob.OpenRead()) | |
{ | |
using (var reader = new StreamReader(stream)) | |
{ |
/* ---- | |
css custom properties to manipulate color | |
MIT - 2017 - Soft Punch | |
https://gist.github.com/softpunch/ | |
set initial "main" color via HSL values. | |
automatically calculate harmonies and variations of that color with pure css. | |
harmonies are determined solely by hue. |