Skip to content

Instantly share code, notes, and snippets.

View jasdumas's full-sized avatar

Jasmine Daly jasdumas

View GitHub Profile
@jasdumas
jasdumas / DIY Data Science.md
Last active April 12, 2018 03:09
Supplementing the remainder of my Master's coursework with self-learning, moocs, reading books, and projects
@akshaynagpal
akshaynagpal / LinkedList.java
Last active November 5, 2022 09:16
Linked List From Scratch in Java
package src.LinkedList;
public class LinkedList {
public Node head;
public int listCount;
public LinkedList(){
head = new Node(0);
listCount = 0;
}
@wch
wch / lmgadget.R
Created January 20, 2016 18:17
Shiny Gadget example: lmGadget
library(shiny)
# Example usage:
# lmGadget(mtcars, "wt", "mpg")
#
# Returns a list with two items:
# $data: Data with excluded rows removed.
# $model: lm (model) object.
lmGadget <- function(data, xvar, yvar) {
library(miniUI)
@dill
dill / rverbr.R
Last active April 15, 2020 22:03
Make JSON for @RverbR
## This is a very silly script to get JSON data for an R twitter bot that produces
## tweets of the form "verb that noun" using verbs from package:base and nouns from
## built in R data.
##
## It uses @v21's http://cheapbotsdonequick.com/
##
## David L. Miller 2015 MIT license
## update from Nick Golding 2018
cat("{\n")
@kidpixo
kidpixo / jupyter_shortcuts.md
Last active July 1, 2024 05:40
Keyboard shortcuts for ipython notebook 3.1.0 / jupyter

Warning This is SEVERELY outdated, the current jupyter version is > 6.X, please refer to your current jupyter notebook installation!

Disclaimer : I just copied those shortcuts from Jupyter Menú > Help > Keyboard Shortcuts, I didn't wrote them myself.

Check your current shortcuts in your Help, shortcuts coule have been modified by extensions or your past self.

Toc

Keyboard shortcuts

@yihui
yihui / README.md
Last active March 15, 2017 18:35
A Shiny app based on annyang that responds to voice input
@saurfang
saurfang / app.R
Last active May 8, 2019 22:53
Selectize Plugins in Shiny
library(htmltools)
addUIDep <- function(x) {
jqueryUIDep <- htmlDependency("jqueryui", "1.10.4", c(href="shared/jqueryui/1.10.4"),
script = "jquery-ui.min.js",
stylesheet = "jquery-ui.min.css")
attachDependencies(x, c(htmlDependencies(x), list(jqueryUIDep)))
}
@andrewmusselman
andrewmusselman / data-sci-eng.md
Last active March 7, 2016 19:23
Data Scientist and Engineer Job Descriptions

Job title – Data Scientist

Basic Qualifications

  1. Bachelor’s Degree in Mathematics, Technical Science, Computer Science (or equivalent) or Engineering
  2. Minimum 1 year programming experience in at least one item from each:
  • R, SAS,Mathematica, MATLAB, Sagemath
  • Python, Ruby, Perl, Java, Scala
  • Linux
  • Bash scripting including sed, awk, cut, uniq, sort, tr
@jasdumas
jasdumas / BubbleShape.js
Created April 9, 2014 14:42
Hour of Code Challenge: Bubble Letters
10 < 3 ;
var red = [0, 100, 63];
var orange = [40, 100, 60];
var green = [75, 100, 40];
var blue = [196, 77, 55];
var purple = [280, 50, 60];
var myName = "Jasmine";
var letterColors = [red, orange, green, blue, purple]
if (10 < 3) {
var userChoice = prompt("Do you choose rock, paper or scissors?");
var computerChoice = Math.random();
if (computerChoice < 0.34) {
computerChoice = "rock";
} else if(computerChoice <= 0.67) {
computerChoice = "paper";
} else {
computerChoice = "scissors";
} console.log("Computer: " + computerChoice);
var compare = function(choice1, choice2) {