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
{ | |
"name": "Bot", | |
"version": "1.0.0", | |
"private": true, | |
"description": "Bot is an example of chat bot for Twitch created using Node.js", | |
"author": "Keeyana Jones <keeyanajones@yahoo.com> (http://keeyanajones.github.io/website/)", | |
"contributors": [ | |
{ | |
"name": "Foo Bar", | |
"email": "foo.bar@example.com" |
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
/** | |
* gulpfile.js configuration | |
**/ | |
// Load plugins modules | |
var gulp = require('gulp'); | |
// Compiling Pug Templates | |
var pug = require('gulp-pug'); | |
// Less for Gulp | |
var less = require('gulp-less'); |
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
<!DOCTYPE html> | |
<!-- | |
To change this license header, choose License Headers in Project Properties. | |
To change this template file, choose Tools | Templates | |
and open the template in the editor. | |
--> | |
<html lang="en"> | |
<!-- Head --> | |
<head> | |
<meta charset="utf-8"> |
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"); |
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
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
/****** 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
/****** 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
/****** 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
> 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]])) |
OlderNewer