Skip to content

Instantly share code, notes, and snippets.

Working from home

Jasper John Cinatad fallen90

Working from home
Block or report user

Report or block fallen90

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 config.json
"general": {
"download_dir": "/tmp/downloads",
"db_path": "/tmp/downloads.db",
"log_size": 999
"server": {
"host": "",
"port": 5656
View adsl2.js
const getObj = function(){}
const jslDisable = function(){}
fallen90 / download-books.js
Last active Jun 2, 2019
Download books in, not to be confused with the official Wuxiaworld.
View download-books.js
* Fetches book contents from,
* and prepare it for Calibre import.
* To create great eBooks with Calibre, do the ff:
* - Open Calibre
* - Ctrl-Shift-E or click `Add books` Dropdown and select `Add Empty Book`
* - Set Details to your book, and select AZW3 (for kindle) or ePub, I set it to AZW3 for my Paperwhite
* - Right-click the book you just created and click `Edit book`
* - In the File Browser panel, remove `part0000.html` in the Text node.
fallen90 / styles.css
Last active Apr 23, 2019 — forked from mohammedzamakhan/styles.css
styles.css for VSCODE custom css loader
View styles.css
/** italics **/
[data-mode-id="typescript"] .mtki {
font-family: 'Gochi Hand';
font-weight: 600;
font-size: 21px;
font-style: normal;
[data-mode-id="typescript"] .mtk3.mtki {
color: #b5b5b5 !important;
fallen90 / .zshrc
Created Mar 26, 2019
Sample zshrc with aliases
View .zshrc
## Alias functions
# requires xclip
xclip -sel c < $1
cd "/home/fallen90/Projects/${1}"
View itexmo_sample_usage.php
$itexmo = new iTexMo("API_CODE");
echo $itexmo->sendSMS("Number", "MESSAGE");
echo $itexmo->listOutgoingSMS();
View itexmo_sample.php
class iTextMo {
protected $API_CODE = "";
protected $API_BASE = "";
protected $API_ENDPOINTS = array(
'SEND_SMS' => 'api.php',
'GET_INFO' => 'apicode_info.php',
'LIST_OUTGOING' => 'display_outgoing.php',
'SERVER_STATUS' => 'serverstatus.php',
'CLEAR_OUTGOING' => 'delete_outgoing_all.php'
View slack_build_notification.json
"type": "section",
"text": {
"type": "mrkdwn",
"text": "Build Succeeded"
"type": "section",
View zeit_ncc_build_folder.js
var fs = require('fs');
var path = require('path');
var glob = require('glob');
var mkdirp = require('mkdirp');
var ncc = require('@zeit/ncc');
var dist = path.join(__dirname, 'dist');
var distRoutes = path.join(dist, 'routes');
var src = path.join(__dirname, 'src');
fallen90 / Meteor local mirror
Created Mar 26, 2018 — forked from belisarius222/Meteor local mirror
Added `changed` callback and factored out shared --> local conversion.
View Meteor local mirror
//common to client and server
SharedCollection = new Meteor.Collection('shared');
//client from here on out
LocalMirror = new Meteor.Collection(null);
var convertSharedToLocal = function(sharedDoc) {
var localDoc = LocalCollection._deepcopy(sharedDoc); // undocumented API, might change
You can’t perform that action at this time.