http://railstutorial.org/, http://railstutorial.org/book
Based on Rails 4.0, missing:
- Turbolinks
- Russian doll caching
- New RSpec abilities such as feature specs
/****************************************************** | |
* @author Nootan Ghimire <nootan.ghimire@gmail.com> | |
* @file postfix-eval.cpp | |
* @desc Evaluation of Multi-Digit Postfix Expression | |
*****************************************************/ | |
// C++ Includes | |
#include <iostream> | |
#include <cctype> | |
#include <cstdlib> |
http://railstutorial.org/, http://railstutorial.org/book
Based on Rails 4.0, missing:
[assumes everything is installed] | |
cd ruby_rails [ie, wherever you want to keep all your rails projects] | |
rails new_project [create the project] | |
ruby new_project/script/server [wow - your new app is up!] | |
[ctrl-c to kill it] | |
[in new_project dir, do] | |
git init | |
git add . | |
git status |
declare module '@vx/axis' { | |
import React from 'react'; | |
import { ScaleTime } from 'd3-scale'; | |
interface Point { | |
x: number; | |
y: number; | |
} | |
interface AxisProps { |
'''This script goes along the blog post | |
"Building powerful image classification models using very little data" | |
from blog.keras.io. | |
It uses data that can be downloaded at: | |
https://www.kaggle.com/c/dogs-vs-cats/data | |
In our setup, we: | |
- created a data/ folder | |
- created train/ and validation/ subfolders inside data/ | |
- created cats/ and dogs/ subfolders inside train/ and validation/ | |
- put the cat pictures index 0-999 in data/train/cats |
import { createConnection, getConnection, Entity, getRepository } from "typeorm"; | |
import { PrimaryGeneratedColumn, Column } from "typeorm"; | |
@Entity() | |
export class MyEntity { | |
@PrimaryGeneratedColumn() | |
id?: number; | |
@Column() | |
name?: string; |
#include <iostream> | |
using namespace std; | |
struct node{ | |
int value; | |
node *left; | |
node *right; | |
}; |
##VGG16 model for Keras
This is the Keras model of the 16-layer network used by the VGG team in the ILSVRC-2014 competition.
It has been obtained by directly converting the Caffe model provived by the authors.
Details about the network architecture can be found in the following arXiv paper:
Very Deep Convolutional Networks for Large-Scale Image Recognition
K. Simonyan, A. Zisserman