Skip to content

Instantly share code, notes, and snippets.

Gino onigetoc

Block or report user

Report or block onigetoc

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
onigetoc / index.html
Created Feb 24, 2019
Videojs 7 Player all videos format
View index.html
<div id="instructions">
<!-- <video id="vid1" class="video-js vjs-default-skin vjs-fluid" controls autoplay width="640" height="360"></video> -->
<video id="vid1" class="video-js vjs-default-skin vjs-fluid" poster="" width="640" height="360" controls autoplay preload="none" data-setup='{ "techOrder": ["html5", "youtube"], "sources": [{ "type": "application/x-mpegURL", "src": ""}]}'></video>
<!-- <video id="vid1" class="video-js vjs-default-skin vjs-fluid" controls width="640" height="264" data-setup='{ "techOrder": ["youtube"], "sources": [{ "type": "video/youtube", "src": ""}] }'>
</video> -->
<h2>Load Video:</h2>
<form id="vsg-loadvideo">
View gist:5efd5f10a17a2c4504a0a8c75f57a76b
onigetoc / itunes-podcast-categories.json
Created Nov 29, 2018 — forked from dpellenwood/itunes-podcast-categories.json
A list of the current iTunes podcast categories in different formats
View itunes-podcast-categories.json
"Arts": [
"Fashion & Beauty",
"Performing Arts",
"Visual Arts"
View index.html
<!DOCTYPE html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
body {
background: #f5f5f5;
onigetoc / m3u-2-JSON.R
Created Oct 28, 2018 — forked from christopherlovell/m3u-2-JSON.R
m3u to JSON converter
View m3u-2-JSON.R
trim <- function (x) gsub("^\\s+|\\s+$", "", x)
data_dir = 'Documents/playlists/'
play_list = list()
for(i in list.files(data_dir,"^.*\\.(m3u)$")){
year = substr(i,1,4) # record file specific information, in this case year from playlist group
View gist:e33a9fc3d2deb2e2b9580b9779e08c6c
#EXTINF:0, group-title="Bangladesh",Aakaash|User-Agent=ExoPlayerDemo/4.4
#EXTINF:0, group-title="Bangladesh",ABP Ananda|User-Agent=ExoPlayerDemo/4.4
#EXTINF:0, group-title="Bangladesh",Aldwah TV
#EXTINF:0, group-title="Bangladesh",Ananda TV
#EXTINF:0, group-title="Bangladesh",Asian HD
onigetoc / remove_duplicates_array_multi.js
Created Oct 17, 2018 — forked from juliovedovatto/remove_duplicates_array_multi.js
Javascript: Remove duplicates of multidimensional array
View remove_duplicates_array_multi.js
// for browser using, this code requires javascript 1.7+
var arr = [
{ foo: 'bar', lorem: 'ipsum' },
{ foo: 'bar', lorem: 'ipsum' },
{ foo: 'bar', lorem: 'ipsum dolor sit amet' }
arr = // convert to JSON string the array content, then reverse it (to check from end to begining)
.filter(function(item, index, arr){ return arr.indexOf(item, index + 1) === -1; }) // check if there is any occurence of the item in whole array
onigetoc / index.html
Last active Jul 11, 2018
Music Player - jPlayer Dynamic multi player Advanced - CUSTOM SKIN
View index.html
<div class="jplayer" id="myid" data-jptitle="Charlie Puth - Attention" data-jpsrc="" poster=""></div>
<audio controls poster="">
<!--<source src="" type="audio/mp3"> -->
<source src="" type="audio/mp3">
<audio controls id="audioID">
onigetoc / jsonfeed2rss.php
Created Sep 11, 2017 — forked from daveajones/jsonfeed2rss.php
Convert JSONFeed to RSS
View jsonfeed2rss.php
//Convert JSONfeed to RSS in a single function as a drop-in to make adding JSONfeed
//support to an aggregator easier
function convert_jsonfeed_to_rss($content = NULL, $max = NULL)
//Test if the content is actual JSON
if( json_last_error() !== JSON_ERROR_NONE) return FALSE;
onigetoc /
Created Sep 7, 2017 — forked from benwong/
YouTube iFrame API wrapper for event videos
var EventYouTubeVideo = (function(){
var module = {};
module.init = function(){
var tag = document.createElement('script');
tag.src = "";
var firstScriptTag = document.getElementsByTagName('script')[0];
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
You can’t perform that action at this time.