create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
function radius_to_balls(r_ball, r) = 180 / asin(r_ball / r); | |
function ball_to_radius(n, r) = r * sin(180 / n); | |
module Bearing(outer, inner, attempt, gap, hole, height) { | |
n = round(radius_to_balls(attempt, inner)); | |
r = ball_to_radius(n, inner); | |
theta = 360 / n; | |
pinRadius = 0.5 * r; | |
// The pins: | |
for(i = [0 : n]) |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
#import <dlfcn.h> | |
#import <mach-o/loader.h> | |
/* The encryption info struct and constants are missing from the iPhoneSimulator SDK, but not from the iPhoneOS or | |
* Mac OS X SDKs. Since one doesn't ever ship a Simulator binary, we'll just provide the definitions here. */ | |
#if TARGET_IPHONE_SIMULATOR && !defined(LC_ENCRYPTION_INFO) | |
#define LC_ENCRYPTION_INFO 0x21 | |
struct encryption_info_command { |
libnfc supports UUID writable cards and even has some dedicated tools for them.
However it doesn't work with some of the cards found on eBay that are even simpler to use. Sector 0 is unlocked and can be written without any additional commands. libnfc requires a small patch to get it working.
Following has been tested under ArchLinux with modified libnfc 1.5.1, mfoc 0.10.2 and a SCL3711 dongle.
The patch is fairly simple, open libnfc-1.5.1/utils/nfc-mfclassic.c and comment 2 lines (it was lines 384 and 385 for me):
// Try to write the trailer
UI- and App Frameworks Evangelist - Jake Behrens, behrens@apple.com, twitter: @Behrens | |
- What's new in Cocoa | |
- Accessibility in iOS | |
- Building User Interfaces for iOS 7 | |
- Getting Started with UIKit Dynamics | |
- What's new in Cocoa Touch | |
- What's New With Multitasking | |
- Best Practices for Cocoa Animation | |
- Improving Power Efficiency with App Nap | |
- Introducing Text Kit |
/* | |
* Accept control commands via USB. | |
* | |
* Commands start with '!' and end with '.' | |
* Commands have three parts: action, pin, value: !AAPPVV. | |
* | |
* E.g. '!01p101.' is DigitalWrite, Pin1, value = 1 | |
* | |
* Note: This is currently *very* crude. Much improvement could be made. | |
* I think the use of strncpy is eating a lot of memory. Refactor? |
// ------------------------------------------------------ | |
// User configurable parameters | |
// ------------------------------------------------------ | |
spacer_height = 15; // Height in mm | |
m_standard_size = 4; // M-standard (M1.6 -- M16) is currently supported, 4 = M4, 1.6 = M1.6 | |
undersize_for_threading = true; // True use the appropriate undersize for postprocessing with a tap, | |
// false makes a pure spacer | |
hex_shape = true; // True forms a hexagonal spacer(nut), false makes a round outer perimiter | |
wall_thickness = 3; // Indicates the maximum wall thickness in case of an |
# In this example we're sending some test bitcoins from an address we control to a brand new test | |
# address. We'll be sending the coins using the following address, public and private keys (please | |
# don't abuse). | |
# address : mtWg6ccLiZWw2Et7E5UqmHsYgrAi5wqiov | |
# public : 03bb318b00de944086fad67ab78a832eb1bf26916053ecd3b14a3f48f9fbe0821f | |
# private : 1af97b1f428ac89b7d35323ea7a68aba8cad178a04eddbbf591f65671bae48a2 | |
# 1. generate a one-shot dummy address we're going to send money to | |
$ curl -X POST http://api.blockcypher.com/v1/btc/test3/addrs | |
{ |
I assume you already have Docker up and running on your Raspberry Pi 2. If not, see this article.
The next natural step is to install Docker Compose (formerly Fig), but there's no ARM support out of the box. This recipe will help you install Docker Compose on your Raspberry Pi 2!
The following six steps will do the trick:
// | |
// RSASHA1.swift | |
// | |
// Copyright (c) 2015 Neil Cowburn. All rights reserved. | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights | |
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
// copies of the Software, and to permit persons to whom the Software is |