[sudo] apt-get install stunnel
cd path/to/django/project
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
class A | |
class B extends Serializable | |
val baos = new java.io.ByteArrayOutputStream(1024) | |
val oos = new java.io.ObjectOutputStream(baos) | |
val streamSurprise: Seq[A] = Stream.fill(3)(new A) // say you don't know it's a Stream under the covers | |
val transformation = streamSurprise map (a => new B) | |
oos.writeObject(transformation) // fails due to NotSerializableException: A |
#!/bin/bash | |
# | |
# CloudyGamerLauncher by Larry Gadea | |
# Easily start/stop Paperspace and Parsec instances | |
# | |
# Make sure to fill out the variables below. For the machine id, use the | |
# 8-letter identifier for the machine on Paperspace (ex. PS8RGDUY) | |
# | |
# Note: Requires Paperspace API key (generate one in account settings) |