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
<?php | |
if (!isset($_GET['url'])) { | |
?> | |
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<title>Youtube RSS creator</title> | |
<form> | |
<p>Create an RSS feed for the videos on the following page: | |
<p><input name="url" placeholder="E.g. https://www.youtube.com/user/scishow/videos" style="width: 30em"> |
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
/* This program is free software. It comes without any warranty, to | |
* the extent permitted by applicable law. */ | |
// ==UserScript== | |
// @name Switch to mobile to desktop version of Facebook linkes | |
// @namespace https://gist.github.com/chriskyfung/abad63aa24af3d8226ca4f5741b6a768 | |
// @description When you open a moblile version of facebook, you're redirected to desktop version so that it can view in high-resolution. | |
// @match https://m.facebook.com/* | |
// @run-at document-start | |
// @version 0.0.1 |
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
#myBtn { | |
height: 100%; | |
} | |
.modal { | |
display: none; | |
position: fixed; | |
top: 0px; | |
left: 0; | |
width:100%; | |
height: 100%; |
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
// ==UserScript== | |
// @name Filter WordPress Outdated Plugins | |
// @namespace wordpress | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author Chris K. Fung | |
// @match https://wordpress.org/plugins/* | |
// @grant none | |
// ==/UserScript== |
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
Set objFSO = CreateObject("Scripting.FileSystemObject") | |
Set colDrives = objFSO.Drives | |
Dim FlagO, FlagP , WS | |
FlagO = true | |
FlagP = true | |
For Each objDrive in colDrives | |
if strcomp(objDrive.DriveLetter, "<Drive Letter #1>") = 0 then | |
FlagO = false | |
Wscript.Echo "Drive <Drive Letter #1> has already been used!" | |
elseif strcomp(objDrive.DriveLetter, "<Drive Letter #2>") = 0 then |
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
/************************************************************************************** | |
* Gmail to Google Drive Template v1.0.0 | |
* Short Desc.: | |
* - Google App Script for Copying Attachments from a Gmail Message to Your Google Drive | |
* Description: | |
* - Search first email thread that matches the subject and has attachement(s), then make a copy of all the attachments to a specific Google Drive folder. | |
* Services: | |
* - Gmail | |
* - Drive | |
* Author: Chris KY Fung |
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
// ==UserScript== | |
// @name binary plan calculator extension | |
// @namespace https://chriskyfung.github.io | |
// @version 0.1 | |
// @description Userscript for f5sys.com Binary plan calculator extension | |
// @author Chris KY Fung (https://chriskyfung.github.io) | |
// @match http://www.f5sys.com/calculation/binary+plan+calculator | |
// @grant none | |
// ==/UserScript== |
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
resources: | |
- type: compute.v1.instance | |
name: vm-test | |
properties: | |
zone: {{ properties["zone"] }} | |
machineType: https://www.googleapis.com/compute/v1/projects/{{ env["project"] }}/zones/{{ properties["zone"] }}/machineTypes/f1-micro | |
disks: | |
- deviceName: boot | |
type: PERSISTENT | |
boot: true |
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
// ==UserScript== | |
// @name Hide Watched YouTube Videos | |
// @namespace https://chriskyfung.github.io/ | |
// @version 0.5.1 | |
// @description Hide 100% watched videos in suggested video grid or list on YouTube | |
// @author Chris KY Fung (https://chriskyfung.github.io) | |
// @updateURL https://gist.github.com/chriskyfung/95fe7fe24ae06930f25ce19c4a73c5e8/raw/ | |
// @match https://www.youtube.com/* | |
// @grant none | |
// ==/UserScript== |
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
// ==UserScript== | |
// @name Facebook photos bulk downloader | |
// @namespace https://chriskyfung.github.io | |
// @version 1.0.0 | |
// @description Bulk download Facebook photos from facebook with the post link and captions | |
// @author Chris KY Fung | |
// @match https://www.facebook.com/*/photos/* | |
// @match https://www.facebook.com/photo.php?* | |
// @match https://www.facebook.com/photo?* | |
// @match https://www.facebook.com/photo/* |
OlderNewer