From EECS370 we can learn alignment and know how to arrange member sequence to minimize the total memory usage. (Just arrange it from smallest to biggest).
union {
struct Foo {| {0: 'tench, Tinca tinca', | |
| 1: 'goldfish, Carassius auratus', | |
| 2: 'great white shark, white shark, man-eater, man-eating shark, Carcharodon carcharias', | |
| 3: 'tiger shark, Galeocerdo cuvieri', | |
| 4: 'hammerhead, hammerhead shark', | |
| 5: 'electric ray, crampfish, numbfish, torpedo', | |
| 6: 'stingray', | |
| 7: 'cock', | |
| 8: 'hen', | |
| 9: 'ostrich, Struthio camelus', |
| """ | |
| Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy) | |
| BSD License | |
| """ | |
| import numpy as np | |
| # data I/O | |
| data = open('input.txt', 'r').read() # should be simple plain text file | |
| chars = list(set(data)) | |
| data_size, vocab_size = len(data), len(chars) |
| #include "keymap_common.h" | |
| #include "led.h" | |
| #include "action_layer.h" | |
| /* | |
| * HHKB Layout | |
| */ | |
| const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |
| /* 0: Default layer | |
| * ,-----------------------------------------------------------. |
| # Clean, simple, compatible and meaningful. | |
| # Tested on Linux, Unix and Windows under ANSI colors. | |
| # It is recommended to use with a dark background. | |
| # Colors: black, red, green, yellow, *blue, magenta, cyan, and white. | |
| # | |
| # Mar 2013 Yad Smood | |
| # VCS | |
| YS_VCS_PROMPT_PREFIX1=" %{$fg[white]%}on%{$reset_color%} " | |
| YS_VCS_PROMPT_PREFIX2=":%{$fg[cyan]%}" |
| [Boto] | |
| # Add this line to your boto config file in the Boto section | |
| https_validate_certificates = False |