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
// package.json | |
{ | |
"name": "Package", | |
"version": "1.1.1", | |
"private": true, | |
"description": "Package Example is an typical example of | |
package.json file using Node.js", | |
"author": "Keeyana Jones | |
(http://keeyanajones.github.io/website/)", | |
"contributors": [ |
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
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<!-- The above 3 meta tags *must* come first in the head; any other head | |
content must come *after* these tags --> | |
<meta name="description" content=""> | |
<meta name="author" content=""> | |
<link rel="icon" href="../../favicon.ico"> |
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
Basic Graphics | |
------------------------------------------------------------------ | |
Create plots with code | |
Replication and modification easy | |
Reproducibility | |
Graphics package | |
ggplot2, ggvis, lattice | |
Graphics package |
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
> df <- data.frame( | |
a = rnorm(10), | |
b = rnorm(10), | |
c = rnorm(10), | |
d = rnorm(10) | |
) | |
> for (i in 1:ncol(df)) { | |
print(median(df[[i]])) |
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
/****** Customers dump data sample for quick data conversion from Sql Server 2005 Database to MySQL by Keeyana Jones ******/ | |
INSERT INTO `Customers` VALUES | |
('ALFKI','Alfreds Futterkiste','Maria Anders','Sales Representative','Obere Str. 57','Berlin',NULL,'12209','Germany','030-0074321','030-0076545'), | |
('ANATR','Ana Trujillo Emparedados y helados','Ana Trujillo','Owner','Avda. de la Constitución 2222','México D.F.',NULL,'05021','Mexico','(5) 555-4729','(5) 555-3745'), | |
('ANTON','Antonio Moreno Taquería','Antonio Moreno','Owner','Mataderos 2312','México D.F.',NULL,'05023','Mexico','(5) 555-3932',NULL), | |
('AROUT','Around the Horn','Thomas Hardy','Sales Representative','120 Hanover Sq.','London',NULL,'WA1 1DP','UK','(171) 555-7788','(171) 555-6750'), | |
('BERGS','Berglunds snabbköp','Christina Berglund','Order Administrator','Berguvsvägen 8','Luleå',NULL,'S-958 22','Sweden','0921-12 34 65','0921-12 34 67'), | |
('BLAUS','Blauer See Delikatessen','Hanna Moos','Sales Representative','Forsterstr. 57','Mannheim',NUL |
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
/****** Stored Procedures of quick data conversion from Sql Server 2005 Database to MySQL by Keeyana Jones ******/ | |
/****** 1 Object: Stored Procedures "CustOrderHist" ******/ | |
DELIMITER $$ | |
CREATE PROCEDURE `CustOrderHist`(IN AtCustomerID VARCHAR(5)) | |
BEGIN | |
SELECT | |
ProductName, | |
SUM(Quantity) as TOTAL |
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
/****** Quick Data conversion from Sql Server 2005 Database to MySQL by Keeyana Jones ******/ | |
/****** Database ******/ | |
DROP DATABASE IF EXISTS Northwind; | |
CREATE DATABASE IF NOT EXISTS Northwind; | |
USE Northwind; | |
SELECT 'CREATING DATABASE STRUCTURE' as 'INFO'; | |
DROP TABLE IF EXISTS Categories, |
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 javafx.application.Application; | |
import javafx.application.Platform; | |
import javafx.beans.InvalidationListener; | |
import javafx.beans.Observable; | |
import javafx.beans.value.ChangeListener; | |
import javafx.beans.value.ObservableValue; | |
import javafx.event.ActionEvent; | |
import javafx.event.EventHandler; | |
import javafx.geometry.Insets; | |
import javafx.geometry.Pos; |
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
/* | |
* Base structure | |
*/ | |
/* Move down content because we have a fixed navbar that is 50px tall */ | |
body { | |
padding-top: 50px; | |
} | |
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
/** | |
* Chart.js Main Admin Dashboard | |
**/ | |
// Chart.js Stuff | |
Chart.defaults.global.maintainAspectRatio = false; | |
Chart.defaults.global.responsive = false; | |
// Instantiates my line chart | |
var myLineChart = document.getElementById("myLineChart"); |