Skip to content

Instantly share code, notes, and snippets.

💭
Study (College)

Alvin Faiz alvnfaiz

💭
Study (College)
Block or report user

Report or block alvnfaiz

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
View size.php
function format_filesize( $bytes, $decimals = 2 )
{
$units = array( 'B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB' );
for ( $i = 0; ( $bytes / 1024) > 0.9; $i++, $bytes /= 1024 ) {} // @codingStandardsIgnoreLine
return sprintf( "%1.{$decimals}f %s", round( $bytes, $decimals ), $units[ $i ] );
}
View gist:1ef307f7c66f3b995a784c671b37bde1
curl --user-agent "Googlebot/2.1 (+http://www.google.com/bot.html)" -v $@
View listfile.js
// TODO: Set folder ID
var folderId = 'My folder ID';
// Main function 1: List all folders, & write into the current sheet.
function listFolers(){
getFolderTree(folderId, false);
@alvnfaiz
alvnfaiz / list-files-in-folder.js
Created Aug 12, 2019 — forked from hubgit/list-files-in-folder.js
List all files in a folder (Google Apps Script)
View list-files-in-folder.js
function listFilesInFolder() {
var folder = DocsList.getFolder("Maudesley Debates");
var contents = folder.getFiles();
var file;
var data;
var sheet = SpreadsheetApp.getActiveSheet();
sheet.clear();
View style.css
.jconfirm.jconfirm-modern.jconfirm-open{
display:none;
}
View data.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View IPTV.m3u
This file has been truncated, but you can view the full file.
#EXTM3U
#EXTINF:-1 tvg-id="" tvg-name="OSN Movies Kids HD" tvg-logo="" group-title="Arabic Tv",OSN Movies Kids HD
http://ppp1.dyndns.org:8000/live/iptvrestream/volkan/4636.m3u8
#EXTINF:-1 tvg-id="" tvg-name="OSN Movies Festival HD" tvg-logo="" group-title="Arabic Tv",OSN Movies Festival HD
http://ppp1.dyndns.org:8000/live/iptvrestream/volkan/4637.m3u8
#EXTINF:-1 tvg-id="" tvg-name="OSN Movies Family HD" tvg-logo="" group-title="Arabic Tv",OSN Movies Family HD
http://ppp1.dyndns.org:8000/live/iptvrestream/volkan/4638.m3u8
#EXTINF:-1 tvg-id="" tvg-name="OSN Movies Drama HD" tvg-logo="" group-title="Arabic Tv",OSN Movies Drama HD
http://ppp1.dyndns.org:8000/live/iptvrestream/volkan/4639.m3u8
View alfanime.js
// ==UserScript==
// @name Nanime Grab
// @namespace http://devstudio.web.id
// @copyright 2019+, DevStudio
// @version 1.0
// @description Grab Server Mirror/Player From Nanime
// @author Alvin Faiz
// @include https://nanime.in/episode/*
// @include https://nanime.in/movie/*
// ==/UserScript==
View alfapasser.js
var domain = ["davinsurance.com","tetew.info","coeg.in", "globalinew.com","siherp.com","greget.space","filmweb21.com","linkpoi.in", "idsly.bid", 'safelinkblogger.com', 'seputaranime.net', 'wi.cr', 'seoinlink.com',
'plantaheim.web.id',"updatetribun.org", "hexafile.net", "bolaoke.club", "short.awsubs.co", "menantisenja.com", "linepc.site", "blog.langw.web.id",""];
var yui = document.getElementsByTagName("a");
for(var i = 0, l = yui.length; i < l; i++) {
var yuii = yui[i];
var li = yuii.href;
li = li.replace("https://", "");
li = li.replace("http://", "");
li = li.replace("www.", "");
li = li.split("/")[0];
View alfapasser.js
// ==UserScript==
// @name AlfaPasser
// @namespace AlfaPasser - Cuma mau lewatin safelink
// @description Download di Fansub dan Fanshare besar tanpa melewati Iklan || By DevStudio
// @copyright 2019+, DevStudio
// @version 2.0.1
// @homepageURL https://devstudio.web.id/
// @icon https://cdn.myanimelist.net/images/characters/2/337013.jpg
// @grant GM_deleteValue
// @grant GM_getValue
You can’t perform that action at this time.