Following instructions from the excellent https://www.rinkeby.io/
A full node lets you access all state. There is a light node (state-on-demand) and wallet-only (no state) instructions as well,
# WARNING: These steps seem to not work anymore! | |
#!/bin/bash | |
# Purge existign CUDA first | |
sudo apt --purge remove "cublas*" "cuda*" | |
sudo apt --purge remove "nvidia*" | |
# Install CUDA Toolkit 10 | |
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-repo-ubuntu1804_10.0.130-1_amd64.deb |
import numpy as np | |
from skimage import io, transform | |
# Using one image | |
image_filenames = 'image.jpg' | |
# Read the image | |
image = io.imread(images_filenames) | |
# Resize image (256 x 256 x 3) and turn the image matrix of m x n x 3 to lists of rgb |
Following instructions from the excellent https://www.rinkeby.io/
A full node lets you access all state. There is a light node (state-on-demand) and wallet-only (no state) instructions as well,
Disclaimer: This piece is written anonymously. The names of a few particular companies are mentioned, but as common examples only.
This is a short write-up on things that I wish I'd known and considered before joining a private company (aka startup, aka unicorn in some cases). I'm not trying to make the case that you should never join a private company, but the power imbalance between founder and employee is extreme, and that potential candidates would
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init]; | |
NSString *localizedDateFormat = [NSDateFormatter dateFormatFromTemplate:@"MMMM d, y" options:0 locale:[NSLocale currentLocale]]; | |
[dateFormatter setDateFormat:localizedDateFormat]; | |
NSString *dateString = [dateFormatter stringFromDate:date]; | |
[dateFormatter release]; | |
// dateString will be "April 19, 2010" for US and "19. April 2010" for DE locale |