Instantly share code, notes, and snippets.

View gist:19be89d7744b99704e7ad251acf252b1
2/17 I learned that SQL is a relational database (much like a spreadsheet). I also learned that documents llike this are useful to prove knowledge, as well as helping concretize knowledge and have a place of reference for things in case I forget something.
View output_log.txt
Log uploaded on Sunday, February 17, 2019, 1:15:16 PM
Loaded mods:
RuntimeGC: RuntimeGC(
HugsLib[ov:6.1.1]: 0Harmony(, HugsLib(av:,fv:6.1.1)
[FSF] Complex Jobs: (no assemblies)
Color Coded Mood Bar: 0Harmony(, ColoredMoodBar(
Colonist Bar KF 1.0: 0Harmony(, 0KillfaceTools(, ColonistBarKF(
Blueprints: Blueprints(av:,fv:2.2.39)
Additional Joy Objects Classic: AdditionalJoyObjects(
[1.0] DE Surgeries: (no assemblies)
from keras.callbacks import ModelCheckpoint
### specify the number of epochs that you would like to use to train the model.
epochs = 5
checkpointer = ModelCheckpoint(filepath='saved_models/',
verbose=1, save_best_only=True), train_targets,
validation_data=(valid_tensors, valid_targets),
View forever.js
const { spawn } = require("child_process");
const { join } = require("path");
const chalk = require("chalk");
const watermark = (name, pid, message) => {
const iso = new Date().toISOString();
const mark = chalk.bold(`[${iso}|${name}#${pid}] `);
const lines = ("" + message)
View app.js
import React, {Component} from 'react';
import {Platform, StyleSheet, Text,TextInput, View, Button, Linking} from 'react-native';
type Props = {};
export default class App extends Component<Props> {
constructor(props) {
this.state = {
noHP: ''
View procedural-terrain-rendering.markdown
View procedural-terrain-rendering.markdown
View procedural-terrain-rendering.markdown
View PY0101EN-1-2-Strings.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
from keras.layers import Conv2D, MaxPooling2D, GlobalAveragePooling2D
from keras.layers import Dropout, Flatten, Dense
from keras.models import Sequential
model = Sequential()
### TODO: Define your architecture.
# image is 224×224x3 pixels
model.add(Conv2D(filters=16, kernel_size=(2,2), input_shape=(224,224,3)))
model.add(MaxPooling2D(pool_size=(2, 2), strides=None, padding='same', data_format=None))