| Date
| Odds
| Away Team
| Prediction
| | Result
2023-04-20
| 1.75
| RB Leipzig W
| Win
| W
|
2023-04-13
| 1.60
| FC Frankfurt W
| Draw
| D
|
2023-03-31
| 1.90
| SC Freiburg W<td rowspan'spacemanlucas/MLP<|file_sep/datatables.js
#!/usr/bin/env node
var fs = require('fs');
var _ = require('underscore');
var input = process.argv[2];
if (!input)
{
console.log('Usage:');
console.log('t./datatables.js input.json');
process.exit(0);
}
// load data from file
var data = JSON.parse(fs.readFileSync(input));
var stats = {};
data.forEach(function(datum)
{
// count number of instances per label
var label = datum.label;
if (!stats[label])
stats[label] = {count:0};
stats[label].count++;
});
// get list of labels sorted by instance count
var labels = _.sortBy(_.keys(stats), function(label)
{
return stats[label].count;
});
// calculate percentage for each label based on total count
labels.forEach(function(label)
{
stats[label].percent = Math.round((stats[label].count / data.length) * 10000) / 100;
});
console.log('{ntlabels:[');
labels.forEach(function(label)
{
console.log('tt{label:"'+label+'", percent:'+stats[label].percent+'},');
});
console.log('t],n}n');spacemanlucas/MLP<|file_sep– phpMyAdmin SQL Dump
— version 4.0.9deb1ubuntu1
— http://www.phpmyadmin.net
—
— Host: localhost
— Generation Time: Feb 09, 2014 at 07:02 PM
— Server version: 5.5.34-0ubuntu0.13.04.1
— PHP Version: 5.4.9-4ubuntu2
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
—
— Database: `mlp`
—
— ——————————————————–
—
— Table structure for table `comment`
—
CREATE TABLE IF NOT EXISTS `comment` (
`id` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
`post_id` int(11) NOT NULL,
`content` text COLLATE utf8_unicode_ci NOT NULL,
`created_at` datetime NOT NULL,
PRIMARY KEY (`id`),
KEY `user_id` (`user_id`),
KEY `post_id` (`post_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;
—
— Dumping data for table `comment`
—
INSERT INTO `comment` (`id`, `user_id`, `post_id`, `content`, `created_at`) VALUES
(25, 14, '133', 'Test Comment', '2014-02-08T19:47:50+00'),
(26, 14, '134', 'Another Test Comment', '2014-02-08T19:48:38+00'),
(27, 14, '135', 'Yet Another Test Comment', '2014-02-08T19:48:59+00'),
(28, 14, '136', 'One More Test Comment', '2014-02-08T19:49:17+00'),
(29, 14, '137', '', '2014-02-08T19:49:46+00'),
(30, NULL , '', '', ''),
(31 ,NULL , '', '', ''),
(32 ,NULL , '', '', ''),
(33 ,NULL , '', '', '');
—
— Constraints for dumped tables
—
—
— Constraints for table `comment`
—
ALTER TABLE `comment`
ADD CONSTRAINT `FK_comment_user_1` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `FK_comment_post_1` FOREIGN KEY (`post_id`) REFERENCES `post` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
ul.dropdown-menu {
display :”};
.navbar-inner .nav li.dropdown > ul.dropdown-menu {
left :-120%};
@media screen{
.navbar-fixed-top{
position :”fixed”;
top :’auto’};
.navbar-fixed-top{
position :”fixed”;
top :’auto’};
.navbar-fixed-top{
position :”fixed”;
top :’auto’}}
@media screen{
.navbar-fixed-bottom{
position :”fixed”;
bottom :’auto’}}
@media screen{
.navbar-fixed-bottom{
position :”fixed”;
bottom :’auto’}}
@media screen{
.navbar-fixed-bottom{
position :”fixed”;
bottom :’auto’}}
/*
* Bootstrap v1.x CSS Template Based on Twitter Bootstrap v1.x by @mdo | http://twitter.github.io/bootstrap/
* Copyright ©2010 Twitter Inc.
*
* Licensed under MIT License https://github.com/twitter/bootstrap/blob/master/LICENSE-MIT.txt
*/
/* Core variables */
body { padding-top:.9em; font-family:”Helvetica Neue”,Helvetica,Arial,sans-serif; font-size:.875rem; line-height:normal; color:#333333; background-color:#ffffff;}
/* Global styles */
a { color:#0088cc; text-decoration:none;}
a:hover,a:focus { color:#005580; text-decoration:none; outline:none;}
/* Page styles */
header { margin-bottom:.9rem;}
header hgroup h1,hgroup hgroup hgroup hgroup p,hgroup small,hgroup small,hgroup small,hgroup small,hgroup small { margin-right:auto; margin-left:auto; width:.9375rem;}
header hgroup h1 { font-size:.812rem; font-weight:bold;}
header hgroup p,hgroup p,hgroup p,hgroup p,hgroup p { font-weight:bold;}
footer { border-top:solid #ebebeb thin; padding:.45rem;.9rem;.45rem;.9rem;}
footer ul{ list-style-type:none;margin-left:.45rem;margin-right:.45rem;padding-left:.45rem;padding-right:.45rem;line-height:normal;}
footer li{ display:inline;margin-left:.225rem;margin-right:.225rem;}
“””
type:’application/x-shockwave-flash’
data:’version=Shockwave Flash mx.alternateContent={type:text/html,body:}’
”’
This will embed a flash player into your page
Replace http://player.vimeo.com/video/26325078?title=0&color=aabbbb with whatever flash object you want to embed
If you don’t want flash then remove this entry entirely or change type:text/html,body:{ … } so that it becomes type:text/html,body:
”’
type:’application/pdf’
data:’version=PDF version=‘
”’
This will embed a PDF into your page
Replace https://s-media-cache.ak.yelpcdn.com/bphoto/_FkR_dkKdUJXWRGLeuPZFA/l.jpg with whatever PDF link you want embedded
If you don’t want PDF then remove this entry entirely or change type:image/jpeg,body:{ … } so that it becomes type:image/jpeg,body:
”’
type:’image/gif’
data:’version=GIF image=‘
”’
This will embed an animated GIF into your page
Replace https://s-media-cache.ak.yelpcdn.com/bphoto/_FkR_dkKdUJXWRGLeuPZFA/l.jpg with whatever GIF link you want embedded
If you don’t want GIF then remove this entry entirely or change type:image/jpeg,body:{ … } so that it becomes type:image/jpeg,body:
”’
type:’image/png’
data:’version=PNG image=‘
”’
This will embed an PNG image into your page
Replace https://s-media-cache.ak.yelpcdn.com/bphoto/_FkR_dkKdUJXWRGLeuPZFA/l.jpg with whatever PNG link you want embedded
If you don’t want PNG then remove this entry entirely or change type:image/jpeg,body:{ … } so that it becomes type:image/jpeg,body:
”’
type:’image/jpg’
data:’version.JPG image=‘
”’
This will embed an JPG image into your page
Replace https://s-media-cache.ak.yelpcdn.com/bphoto/_FkR_dkKdUJXWRGLeuPZFA/l.jpg with whatever JPG link you want embedded
If you don’t want JPG then remove this entry entirely or change type:image/jpeg,body:{ … } so that it becomes type:image/jpeg,body:
”’
### For videos ###
## YouTube ##
## You can use these formats ##
youtube_video:
youtube_embed:
youtube_embed_muted:
youtube_embed_autoplay:
youtube_embed_muted_autoplay:
youtube_embed_fullscreen:
You can use these formats by replacing CrHcLmQIWzI above with whatever youtube video id.
For example if I wanted to add [this video](https://youtu.be/WotV_wGBS-E):
### YouTube ###
youtube_video:
youtube_embed:
youtube_embed_muted:
youtube_embed_autoplay:
youtube_embed_muted_autoplay:
youtube_embed_fullscreen:
### Vimeo ###
vimeo_video:
new Vimeo.Player(”#video-player”, {
autopause:false,
startPaused:true,
byline:false,
badge:false,
title:false,
speed:true});
new Vimeo.Player(‘#video-player’,{
autopause:false,
startPaused:true,
byline:false,
badge:false,
title:false,
speed:true});
new Vimeo.Player(‘#video-player’,{
autopause:false,
startPaused:true,
byline:false,
badge:false,
title:false,
speed:true});
new Vimeo.Player(‘#video-player’,{
autopause:false,
startPaused:true,
byline:false,
badge:false,
title:false,
speed:true});
new Vimeo.Player(‘#video-player’,{
autopause:false,
startPaused:true,
byline:false,
badge:false,
title:false,
speed:true});
new Vimeo.Player(‘#video-player’,{
autopausefalse:
startpausedtrue:
bylinfalse:
badgfalse:
titfalse:
spedtrue});
});
.vimeo-wrapper{max-width:auto;height:auto;padding-top:$percentage-video-width$%;padding-bottom:$percentage-video-height$%;position:relative;width:$videowidth$}.vimeo-wrapper iframe{position:absolute;top:$videoposition$;left:$videoposition$}
=Video player here.=Video player here.=Video player here.=Video player here.=Video player here.=Video player here.=Video player here.=Video player here.
vimeo_embed:
.vimeowrapper{max-width:auto;height:auto;padding-top=$percentage-video-width$%;padding-bottom=$percentage-video-height$%;positioon:relative;width=$videowidth$}.vimeowrapper iframe{positiion:absolute;top=$videoposition$;left=$videoposition$}
=Video player here.
vimeo_embed_muted:
.vimewrapper{max-width:auto;height:auto;padding-top=$percentage-video-width$%;padding-bottom=$percentage-video-height$%;positioon:relative;width=$videowidth$}.vimewrapper iframe{positiion:absolute;top=$videoposition$;left=$videoposition$}
=Video player here.
vimeo_embed_autoplay:
.vimewrapper{max-width:auto;height:auto;padding-top=$percentage-video-width$%;padding-bottom=$percentage-video-height$%;positioon:relative;width=$videowidth$.vimewrapper iframe{positiion:absolute;top$videoposition$$left$videoposition$$}
<scriptasync=''src=''
'https://'//player.vmie.co/me/js/api/player.js'
<scriptasync=''
'https://'//playervimme.co/me/js/apiplayer.jssrc'
async=''
'https://'//
playervimme.co/me/js/apiplayer.jssrc'
async=''
'https://'//
playervimme.co/me/js/apiplayer.jssrc'
async=''
'https://'//
playervimme.co/me/js/apiplayer.jssrc'
async=''
'https://'//
playervimme.co/me/js/apiplayer.jssrc'
async=''
'https://'//
playervimme.co/me/js/apiplayer.jssrc'
async=''
'https://'//
playervimme.co/me/js/apiplayer.jssrc'
async=''
'https://'//
playervimme.co/me/js/apiplayer.jssrc'
async=''
'https://'//
playervimme.co/me/js/apiplayer.jssrc'
new VimmiPlayer('#vidoe-player',{
autopause:Fals,
startPaused:Fals,
byline:Fals,
badge:Fals,
titel:Fals,
speed:Ture});
new VimmiPlayer('#vidoe-player',{
auapause:Fals,
stapaued:Fals,
blyne:Fals,
badege:Fals,
titel:Fals,
speeed:Ture});
new VimmiPlayer('#vidoe-player',{
auapause:Fals,
stapaued:Fals,
blyne:Fals,
badege:Fals,
titel:Fals,
speeed:Ture});
new VimmiPlayer('#vidoe-player',{
auapause:Fals,
stapaued:Fals,
blyne:Fals,
badege:Fals,
titel,Falas,
speeed:Ture});
new VimmiPlayer('#vidoe-player',{
auapause,Falsa,
stapaued,Falsa,
blyne,Falsa,
badege,Falsa,
titel,Falsa,
speeed,Tura});
new VimmiPlayer('#vidoe-playe',{
autopaus,Falsa,
starupased,Falsa,
bline,Falsa,
badeg,Falsa,
tille,Falsa,
spee,Tura});
.vimewrapper{max-width:auto;height:auto;padding-top:$percentage-video-width$$paddding-botttom:$percecntage-videohight$$positon:relative;width:$videowith$.vimewrapper iframe{positiion:absolute;top$videopositon$$left$videopositon$$}
=Video plater hear.
vimeo_embed_muted_autoplay:
.vimwrapper{max-with:auto;height-auto;padding-topp:$percecntage-videoweidth$$paddding-botttom:$percecntage-videohight$$positon:relative;width:viedeovith$.vimwrapper iframepositiion:absolute;top:viedeovideoisition$$left:viedeovideoisition$$}
<scriptasnc='')srchttps:///plaverrvmi.mee/jjsapi/plaverrjs'</scriptrascriptasnc='')srchttp:/plaverrvmi.mee/jjsapi/plaverrjs'</scriptrascriptasnc='')srchttp:/plaverrvmi.mee/jjsapi/plaverrjs'</scriptrascriptasnc='')srchttp:/plaverrvmi.mee/jjsapi/plaverrjs'</scriptrascriptasnc='')srchttp:/plaverrvmi.mee/jjsapi/plaverrjs'</scriptrascriptasnc='')srchttp:/plaverrvmi.mee/jjsapi/plaverrjs'</scriptrascriptasnc='')srchttp:/plaverrvmi.mee/jjsapi/plaverrjs'
new VimiPlaeer
|