Skip to content

Instantly share code, notes, and snippets.

Vera Xiaowen Lin VVCepheiA

Block or report user

Report or block VVCepheiA

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@VVCepheiA
VVCepheiA / CS247.md
Last active Aug 29, 2015
CS247 Course Notes
View CS247.md

#CS247

Objective of OOD/OOP

  • abstraction
    • interface
    • data abstraction/ADT
  • reuse
    • inheritance
    • conposition
    • as is (in client code)
@VVCepheiA
VVCepheiA / CS240.md
Created May 5, 2015
CS 240 course notes
@VVCepheiA
VVCepheiA / Math239.md
Last active Aug 29, 2015
Course Note for Math 239
View Math239.md

#Math 239

#####Peter Nelson (MC5134)

#####Tutorial MC2066 3:30-4:20 Tuesday Aaron Chan

##Grading Assignment 11am Wednesday (11 total, 10 used)

View gist:39c94b2135f53e488aec
rekomendi.jdbc.driverClassName=org.hsqldb.jdbcDriver
rekomendi.jdbc.url=jdbc:hsqldb:file:db/test
rekomendi.jdbc.username=sa
rekomendi.jdbc.password=
jpa.database=HSQL
jpa.dialect=org.hibernate.dialect.HSQLDialect
hibernate.hbm2ddl.auto=update
@VVCepheiA
VVCepheiA / nodejs.md
Last active Aug 29, 2015
Node.js installation
View nodejs.md

Evented I/O for V8 javascript.

To build:

Prerequisites (Unix only):

* GCC 4.2 or newer
* G++ 4.2 or newer
* Python 2.6 or 2.7
View snippets.md

#Testing ###Mongo DB show collections

View Docker on Linux.md

Docker Setup on Linux

Note: THIS GUIDE IS NOT TESTED YET! The following steps are meant to create an environment for deploying app with tomcat and mysql with a war file. Assuming you are using Linux. For the Mac local version, please go here.

  1. Install Docker following the guild here.

  2. Go here and follow the step there to get the mysql image/Dockerfile. It's a good idea to create a new empaty folder for the files from the repo. Replace the "XXXXXXXX" with desired username/password.

$ sudo docker run -d --name db -e MYSQL_USER="XXXXXXXX" -e MYSQL_PASSWORD="XXXXXXXX" -e MYSQL_ROOT_PASSWORD="XXXXXXXX"  -e MYSQL_DATABASE="rekomendi" -p 3306:3306 mysql
View Rek Docker on Mac.md

Docker Setup on Mac

Note: The following steps are meant to create an environment for deploying app with tomcat and mysql with a war file. Assuming you are using mac. For the Linux server version, please go here.

  1. Download Docker here. This should give you everything you need to run Docker on Mac. Note: You don't need to install VM or boot2docker if you are on Linux.

If you don't like the convenient way, you can do it manually. Install Docker, VM (for running boot2docker) and boot2docker (for running Docker on Mac)

@VVCepheiA
VVCepheiA / 0_reuse_code.js
Last active Aug 29, 2015
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
You can’t perform that action at this time.