Skip to content

Instantly share code, notes, and snippets.

View oostopitre's full-sized avatar

Abi Komma oostopitre

View GitHub Profile
{
"python.pythonPath": "/Users/kommaak/miniconda3/envs/ml/bin/python",
// "python.pythonPath": "python3",
"python.linting.enabled": false,
"python.linting.pylintEnabled": true,
"python.linting.pylintPath": "pylint",
"python.linting.pylintArgs": [
"--errors-only",
"--generated-members=numpy.* ,torch.* ,cv2.* , cv.*"
],
@oostopitre
oostopitre / guitar-index.md
Last active November 6, 2019 23:03
guitar-index.md
@oostopitre
oostopitre / pankhon_ko.md
Last active March 13, 2019 21:02
Pankho Ko Lyrics and Chords

Title: Pankhon Kho

  • Movie: Rocket Singh (imdb link: It is a pretty good movie, actually. It is on Netflix!)
  • Song: link
Verse 1:
========
Pankhon Ko Hawa Jara Si Lagane Do
(Let the passing wind touch my wings...)

Generate four colors:

myColors <- c(brewer.pal(3, "Dark2"), "black")

Add 2 smoothing functions:

ggplot(mtcars, aes(x = wt, y = mpg, col = factor(cyl))) +
  geom_point() +
  stat_smooth(method = "lm", se = F) +
@oostopitre
oostopitre / Notebooker.ipynb
Last active August 29, 2015 14:03
Notebook: Colorado
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@oostopitre
oostopitre / voyagerSamples.md
Last active August 29, 2015 14:00
Cube Script Samples

Delete existing gdb file if present

**DEL /f /s /q "{SCENARIO_DIR}\{SCENARIO_SHORTNAME}_Cube.gdb"

Copy empty gdb to scenario directory to store gis network

**XCOPY "{CATALOG_DIR}\Application\EmptyCube.gdb" "{SCENARIO_DIR}\{SCENARIO_SHORTNAME}_Cube.gdb" /Y /E /I

Cut the first 6 fields from a csv:

cut -d, -f1-6

@oostopitre
oostopitre / index.html
Last active December 13, 2015 19:38
Cube Application Manager Visualization #d3
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>Node-Link Tree</title>
<link href="interactive_tree.css" rel="stylesheet" type="text/css" />
<script src="http://d3js.org/d3.v3.min.js"></script>
</head>
<body>
<div id="body">