Configured for a Mac-like experience
Apple Magic Keyboard 2: Model A1644 (same as MLA22LL/A ?)
Mapping for Linux Mint 18 Cinnamon 64-bit
Configured for a Mac-like experience
Apple Magic Keyboard 2: Model A1644 (same as MLA22LL/A ?)
Mapping for Linux Mint 18 Cinnamon 64-bit
Edit: This list is now maintained in the rust-anthology repo.
A collection of links to the excellent "Composing Software" series of medium stories by Eric Elliott.
Edit: I see that each post in the series now has index, previous and next links. However, they don't follow a linear flow through all the articles with some pointing back to previous posts effectively locking you in a loop.
package main | |
import ( | |
"log" | |
"os" | |
"os/signal" | |
"strconv" | |
"syscall" | |
"github.com/hashicorp/serf/serf" |
http://www.oreilly.com/programming/free/files/microservices-for-java-developers.pdf
http://www.oreilly.com/programming/free/files/microservices-for-java-developers.epub
http://www.oreilly.com/programming/free/files/microservices-for-java-developers.mobi
http://www.oreilly.com/programming/free/files/modern-java-ee-design-patterns.pdf
http://www.oreilly.com/programming/free/files/modern-java-ee-design-patterns.epub
http://www.oreilly.com/programming/free/files/modern-java-ee-design-patterns.mobi
//! Demo of static "inheritance" | |
//! | |
//! Use trait objects to get dynamic inheritance, | |
//! but casting to a subtype is not explored here | |
//////////////////////////////////////////////////////// | |
// Define Base type, interface, and what is overloadable | |
//////////////////////////////////////////////////////// | |
/// The main type that will be extended |
import React from 'react' | |
import Markdown from './Markdown' | |
const components = { | |
h1: props => <h1 style={{ color: 'tomato' }} {...props} /> | |
} | |
const scope = { | |
name: 'world!', | |
Box: props => <div style={{border: 'thin solid tomato'}} {...props} /> |
import json | |
import gzip | |
def compress_data(data): | |
# Convert to JSON | |
json_data = json.dumps(data, indent=2) | |
# Convert to bytes | |
encoded = json_data.encode('utf-8') | |
# Compress | |
compressed = gzip.compress(encoded) |