by alexander white ©
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'anima' | |
require 'transproc' | |
require 'virtus' | |
require 'benchmark/ips' | |
USERS = 1000.times.map { |i| { id: "#{i+1}", name: "User #{i+1}", age: "#{(i+1)*2}" } } | |
module Mappings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-----BEGIN PGP SIGNED MESSAGE----- | |
Hash: SHA256 | |
This is my standard consulting agreement, drafted by Addison Cameron-Huff | |
<[email protected]> Feel free to use/distribute this as you see fit. | |
Consulting Agreement | |
==================== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* { | |
font-size: 12pt; | |
font-family: monospace; | |
font-weight: normal; | |
font-style: normal; | |
text-decoration: none; | |
color: black; | |
cursor: default; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Bar | |
module ClassMethods | |
# `new` is a class method on the `Class` object | |
# It then uses `send` to access `initialize` which would otherwise be a private instance method | |
# So it can be overridden by extending the your class with a new `new` class method | |
def new(*args, &block) | |
super | |
p "new constructor defined" | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"log" | |
"net/http" | |
"net/http/httputil" | |
) | |
func main() { | |
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { |
PLA spools
- FiloAlfa http://www.filoalfa3d.com/en/
- Plastink - www.plastink.com/en/
DOM-ERB is a prototype for an ERB based HTML template system that has the following benefits over regular ERB HTML templates:
- The template file is a standalone renderable HTML file and can be viewed directly in a browser.
- The template file can contain seed data so that directly viewing it in a browser gives a realistic result.
- Because of these benefits, users can work on it without the need to install any sort of processor dependencies, lowering the barrier to contribution. (E.g. setting up a full web-app stack.)
Generate a new Elixir project using mix
and add cowboy
and plug
as dependencies in mix.exs
:
defp deps do
[
{:cowboy, "~> 1.0.0"},
{:plug, "~> 0.8.1"}
]
end
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# *** Documentation Links | |
Documentation list: https://communities.intel.com/community/makers/edison/documentation/content | |
Edison Guide: https://communities.intel.com/docs/DOC-23158 | |
Mini Breakout Guide: https://communities.intel.com/docs/DOC-23252 | |
Mini Breakout Schematic: https://communities.intel.com/docs/DOC-23323 | |
Mini Breakout BoM: https://communities.intel.com/docs/DOC-23322 | |
Arduino Breakout Guide: https://communities.intel.com/docs/DOC-23161 | |
Arduino Breakout Schematic: https://communities.intel.com/docs/DOC-23309 | |
Arduino Breakout BoM: https://communities.intel.com/docs/DOC-23308 | |
BSP Guide (yocto build environment): https://communities.intel.com/docs/DOC-23159 |