This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./matlab -nodesktop -nojvm -nosplash -r "cd '/Users/user/Desktop';" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
x = -0.5:0.001:1; | |
fx = x.^3; | |
p2 = 0; | |
plot(x, fx, 'LineWidth', 2); | |
hold on | |
grid on | |
plot(x, p2, 'g', 'LineWidth', 2); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import dataset | |
class DatasetPipeline(object): | |
def __init__(self, dataset_uri, dataset_table): | |
self.dataset_uri = dataset_uri | |
self.dataset_table = dataset_table | |
@classmethod | |
def from_crawler(cls, crawler): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Wordpress Classes | |
Based: https://github.com/WordPress/WordPress/blob/dfaa89d8531a3e34ec6c19b72f01e95ea3527fa0/wp-includes/post-template.php#L536 | |
rlt: | |
- rlt | |
front page: | |
- home |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ant change-to -Dsuite=biokepler | |
Buildfile: /Users/matiskay/learning/kepler/build-area/build.xml | |
change-to: | |
[change-to] Retrieving modules.... | |
[change-to] | |
[change-to] biokepler: | |
[change-to] Downloading (if necessary) biokepler... | |
[change-to] svn co -r head https://code.kepler-project.org/code/kepler/trunk/modules/biokepler /Users/matiskay/learning/kepler/biokepler | |
[change-to] svn: E175002: Unable to connect to a repository at URL 'https://code.kepler-project.org/code/kepler/trunk/modules/biokepler' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/bin/java -classpath build-area/lib/ant.jar:kepler.jar org.kepler.build.runner.Kepler "$@" | |
The base dir is /Applications/Kepler-2.4/Kepler.app/Contents/Resources/Java | |
Kepler.run going to run.setMain(org.kepler.Kepler) | |
JVM Memory = 256m 1000m | |
setting dock icon to -Xdock:icon=/Applications/Kepler-2.4/Kepler.app/Contents/Resources/Java/common-2.4.0/resources/icons/kepler-dock-icon.png | |
Set environment variable: PATH = /Users/matiskay/torch/install/bin:/Users/matiskay/torch/install/bin:/usr/local/heroku/bin:/usr/local/texlive/2014/bin/x86_64-darwin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/sbin:/usr/local/mysql/bin:/Applications/Postgres.app/Contents/Versions/9.3/bin:/Applications/Kepler-2.4/Kepler.app/Contents/Resources/Java/r-2.4.0/lib:/Applications/Kepler-2.4/Kepler.app/Contents/Resources/Java/common-2.4.0/lib:/Applications/Kepler-2.4/Kepler.app/Contents/Resources/Java/common-2.4.0/lib/ptolemy/matlab:/Applications/Kepler- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{article} | |
\usepackage{pgfplots} | |
\usepackage{tikz} | |
\pgfplotsset{compat=1.5.1} | |
\begin{document} | |
\begin{figure} | |
\begin{tikzpicture} | |
\begin{axis}[ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from dictalchemy import make_class_dictable | |
from flask import Flask, request, jsonify, json | |
from flask_sqlalchemy import SQLAlchemy | |
from jsonpatch import JsonPatch, JsonPatchException | |
app = Flask(__name__) | |
app.debug = True | |
db = SQLAlchemy(app) | |
make_class_dictable(db.Model) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TEX_FILENAME="rbf" | |
latex ${TEX_FILENAME}.tex; | |
dvips ${TEX_FILENAME}.dvi -E -o ${TEX_FILENAME}.eps | |
convert -density 300 ${TEX_FILENAME}.eps ${TEX_FILENAME}.png |