- https://github.com/twbs/bootstrap (91835)
- https://github.com/FreeCodeCamp/FreeCodeCamp (63559)
- https://github.com/vhf/free-programming-books (50049)
- https://github.com/angular/angular.js (46378)
- https://github.com/mbostock/d3 (45832)
- https://github.com/FortAwesome/Font-Awesome (39140)
- https://github.com/jquery/jquery (37748)
- https://github.com/nodejs/node-v0.x-archive (37526)
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
function countCSSRules() { | |
var results = '', | |
log = ''; | |
if (!document.styleSheets) { | |
return; | |
} | |
for (var i = 0; i < document.styleSheets.length; i++) { | |
countSheet(document.styleSheets[i]); | |
} | |
function countSheet(sheet) { |
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
#EXTM3U | |
#EXTINF:-1,VTV1 HD | |
http://live.cdn.mobifonetv.vn/motv3/vtv1hd_hls.smil/chunklist_b1200000.m3u8 | |
#EXTINF:-1,VTV2 HD | |
http://live.cdn.mobifonetv.vn/motv3/vtv2hd_hls.smil/chunklist_b1200000.m3u8 | |
#EXTINF:-1,VTV3 HD | |
http://118.107.85.14:1935/tvnet/smil:vtv3.smil/chunklist_w246683264_b1000000.m3u8 | |
#EXTINF:-1,VTV4 HD | |
http://live.cdn.mobifonetv.vn/motv/vtv4_hls.smil/chunklist_b1200000.m3u8 |
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
// === Arrays | |
var [a, b] = [1, 2]; | |
console.log(a, b); | |
//=> 1 2 | |
// Use from functions, only select from pattern | |
var foo = () => [1, 2, 3]; |
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
<?xml version="1.0"?> | |
<tv updated="Fri Oct 30 2020 12:10:53 GMT+0700 (+07)" author="nthung2112"> | |
<channel id="beinsports1"> | |
<display-name>beIN Sports 1</display-name> | |
<display-name>beIN Sports 1 HD</display-name> | |
<display-name>beIN Sports 1 4K</display-name> | |
</channel> | |
<channel id="beinsports10"> | |
<display-name>beIN Sports 10</display-name> | |
<display-name>beIN Sports 10 HD</display-name> |
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
// ES6 w/ Promises | |
// Note: From a React starter template - see https://t.co/wkStq8y3I5 | |
function fetchData(routes, params) { | |
let data = {}; | |
return Promise.all(routes | |
.filter(route => route.handler.fetchData) | |
.map(route => { | |
return route.handler.fetchData(params).then(resp => { | |
data[route.name] = resp; |
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
// Show logs branchs with info | |
git for-each-ref --sort=-authordate:iso8601 --format=%(authordate:relative)%09%(refname:short) refs/heads | |
git for-each-ref --sort=-committerdate --format=%(refname)%09%(committerdate) refs/remotes | |
git for-each-ref --format=%(committerdate)%09%(authorname)%09%(refname) refs/heads |
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
const SUPPORT_TYPE = ['http', 'udp', 'rtp']; | |
function getStringBetween(str, start, end) { | |
const startIndex = str.indexOf(start); | |
if (startIndex === -1) | |
return ''; | |
const res = str.slice(startIndex + start.length); | |
if (typeof end === 'undefined') { |
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
var axios = require('axios'); | |
var fs = require('fs'); | |
var parser = require('./parser.js'); | |
var list = fs.readFileSync('./list.m3u'); | |
var result = list.toString(); | |
var links = []; | |
function uploadImage({ logo, name }) { | |
return new Promise(async (resolve, reject) => { | |
try { |
OlderNewer