Skip to content

Instantly share code, notes, and snippets.

@antimatter15
antimatter15 / Add
Created November 28, 2017 07:54 — forked from DoctorKittens/Add
import java.util.Scanner;
public class Add implements Comparable<Add>{
private String name;
private String lastName;
private int number;
public Add(String name, String lastName, int number) {
this.name = name;
test
what
merp
@antimatter15
antimatter15 / cell0.js
Created November 21, 2017 10:52
untitled
2 + 2

Keybase proof

I hereby claim:

  • I am antimatter15 on github.
  • I am kkwok (https://keybase.io/kkwok) on keybase.
  • I have a public key whose fingerprint is 1E98 6A49 07AC 5035 F965 9291 E1AC 1506 8D60 9685

To claim this, I am signing this object:

# Larger LSTM Network to Generate Text for Alice in Wonderland
# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/include/
import numpy
from keras.models import Sequential
from keras.layers import Dense
from keras.layers import Dropout
from keras.layers import LSTM, Activation
from keras.callbacks import ModelCheckpoint, LambdaCallback, TensorBoard
from keras.utils import np_utils
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset=utf-8 />
<title>WebP Demo</title>
<script src="weppy.js"></script>
</head>
<body>
<h1>WebP Demo</h1>
<img src="mandelbrot.webp" width="500">
//eLite
(function(){
var core = function(e){ //this is the constructor behind the library
var _this = this, i = _this[_length] = e[_length];
//*
if(i===_undefined){
//if no length value, set it to be that thingy
_this[0] = e;
_this[_length] = 1;
}
@antimatter15
antimatter15 / react-d3-graph.js
Created August 30, 2016 04:07
React D3 Graph
import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import { forceSimulation, forceLink, forceCenter, forceManyBody } from 'd3-force';
class GraphNode extends React.Component {
render(){
var node = this.props.node;