start new:
tmux
start new with session name:
tmux new -s myname
#Directory | |
setwd('~/wherever') | |
#Load Required Packages | |
library('caret') | |
library('glmnet') | |
library('ipred') | |
library('e1071') | |
library('caTools') |
#Setup | |
rm(list = ls(all = TRUE)) #CLEAR WORKSPACE | |
#Directory | |
setwd("~/Overfitting") | |
#Load Required Packages | |
library('caTools') | |
library('caret') | |
library('glmnet') |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.js"></script> | |
<title>Drag And Drop</title> | |
</head> | |
<body> | |
<div id="viz"></div> |
var http = require('http'); | |
var connect = require('connect'); | |
var socketio = require('socket.io'); | |
var fs = require('fs'); | |
var os = require('os'); | |
var exec = require('child_process').exec; | |
var util = require('util'); | |
var $ = require('underscore'); | |
var load_data_in_mem_count = 3000; |
This script only works for older versions of Spotify for Linux.
An actively developed admute script for Spotify on Linux can be found here: https://github.com/SecUpwN/Spotify-AdKiller
// Using Casperjs to screenshot an entire Facebook Post */ | |
var casper = require('casper').create({ | |
clientScripts: [ | |
'jquery.js' | |
] | |
}); | |
//login to facebook | |
casper.start('https://www.facebook.com/', function() { | |
this.fill('#login_form', { email: 'email', pass: 'password' }, true); |
// This is the core Javascript code for http://windhistory.com/ | |
// I haven't done a full open source release, but I figured I'd put the most important | |
// D3 code out there for people to learn from. --nelson@monkey.org | |
/** Common wind rose code **/ | |
// Function to draw a single arc for the wind rose | |
// Input: Drawing options object containing | |
// width: degrees of width to draw (ie 5 or 15) | |
// from: integer, inner radius |
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="Content-type" content="text/html; charset=utf-8"> | |
<title>Render Multiple Outlets</title> | |
<script src="js/vendor/jquery.js"></script> | |
<script src="js/vendor/handlebars.js"></script> | |
<script src="js/vendor/ember.js"></script> | |
<script src="js/vendor/ember-data.js"></script> | |
</head> |
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
"""Solarized theme for pantheon-terminal | |
see http://ethanschoonover.com/solarized | |
""" | |
import posixpath | |
import sys | |
from gi.repository import Gio |