Resources for learning web design & front-end development:
ONLINE
Design
Resources for learning web design & front-end development:
ONLINE
Design
Currently considering https://github.com/webdriverio/webdrivercss
Core Goals:
/** | |
* This code is licensed under the terms of the MIT license | |
* | |
* Deep diff between two object, using lodash | |
* @param {Object} object Object compared | |
* @param {Object} base Object to compare with | |
* @return {Object} Return a new object who represent the diff | |
*/ | |
function difference(object, base) { | |
function changes(object, base) { |
Put to ~/.oh-my-zsh/custom/name.zsh-theme | |
Set ZSH_THEME to "name" in zshrc | |
# vim:ft=zsh ts=2 sw=2 sts=2 | |
# | |
# agnoster's Theme - https://gist.github.com/3712874 | |
# A Powerline-inspired theme for ZSH | |
# | |
# # README | |
# |
/** | |
* Operations to calculate the depths of a nested array | |
* @author Kyle Phillips | |
* @module 'array-depth' | |
*/ | |
const maxDepth = (a)=>{ | |
let maxVal = Number.MIN_VALUE | |
let item |
module namespace fb = "http://wcandillon.io/modules/firebase"; | |
import module namespace http = "http://zorba.io/modules/http-client"; | |
declare namespace an = "http://zorba.io/annotations"; | |
declare variable $admin:firebase-endpoint := "https://myapp.firebaseio.com/"; | |
declare %an:nondeterministic function fb:get($document-uri as string, $token as string) { | |
http:get( | |
$admin:firebase-endpoint || $document-uri || "?auth=" || $token | |
).body.content ! parse-json($$) |
// A prototype-based test wrapper based on generators. | |
// See original Haskell quickcheck paper: http://www.cs.tufts.edu/~nr/cs257/archive/john-hughes/quick.pdf | |
// --------------------------- // | |
// Scroll to bottom for usage! // | |
// --------------------------- // | |
import R from 'ramda'; | |
const RUNS_PER_TEST = 50; |
Note This is a little out of date. Rust has made some progress on some points, however many points still apply.
Swift shares Rust's enthusiasm for zero-cost abstractions, but also emphasizes progressive disclosure. Progressive disclosure requires that language features should be added in a way that doesn't complicate the rest of the language. This means that Swift aims to be simple for simple tasks, and only as complex as needed for complex tasks.
import React, { useState } from "react"; | |
import LoginComponent from "./LoginComponent"; | |
const usersTest = Array(8) | |
.fill({ name: "", cns: "" }) | |
.map((_, index) => ({ | |
name: `User ${index}`, | |
cns: `123.456.${index}`, | |
})); |