Skip to content

Instantly share code, notes, and snippets.

Ralf Crisostomo ralphcrisostomo

Block or report user

Report or block ralphcrisostomo

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
ralphcrisostomo / array_dupplicate_counter.js
Created Jul 19, 2012
Javascript: Count duplicates in an array
View array_dupplicate_counter.js
You have a javascript array that likely has some duplicate values and you would like a count of those values.
Try this schnippet out.
View Bash

Bash Commands

Initial Setup

sudo apt-update
sudo apt-upgrade

Source List

ralphcrisostomo / timezone.json
Created Jun 30, 2014
timezone list json key value
View timezone.json
"zone": "Pacific/Midway",
"gmt": "(GMT-11:00)",
"name": "Midway Island"
"zone": "US/Samoa",
"gmt": "(GMT-11:00)",
"name": "Samoa"
ralphcrisostomo /
Last active Feb 3, 2019
Batch convert videos with HandBrake CLI
# Batch convert videos with HandBrake CLI
# By Ralph Crisostomo - 2016.04.17
# Usage :
# 'sudo ./ /source /destination'
# Reference :
View Git.Fixed.Untracked.Files
git rm -r --cached .
git add .
git commit -m "fixed untracked files"
ralphcrisostomo / Wordpress Localhost FTP Connection
Last active Jul 20, 2018
Bypass Wordpress Localhost FTP Connection Information
View Wordpress Localhost FTP Connection

Bypass Wordpress Localhost FTP Connection Information

Do chown / chmod wordpress folder:

    $ sudo chown -R :_www wordpress
    $ sudo chmod -R g+w wordpress

Add the following line into wp-config.php:

View xampp_proxy_server_config
1. Open /Applications/XAMPP/etc/httpd.conf
2. Enable the following Modules by removing the # at the front of the line.
- LoadModule rewrite_module modules/
- LoadModule proxy_module modules/
- LoadModule proxy_http_module modules/
3. Copy and Paste below to the bottom of httpd.conf
# Implements a proxy/gateway for Apache.
ralphcrisostomo / ae-rotation-controll
Created Nov 15, 2016
AE Expression for controlling a rotation
View ae-rotation-controll
// Rotate Controller - By Ralph Crisostomo (16NOV2016)
// AE Expression
Radius = effect("Radius")("Slider");
Speed = effect("Speed")("Slider");
Multiplier = effect("Multiplier")("Slider");
X = effect("X")("Slider");
Y = effect("Y")("Slider");
ralphcrisostomo / timezone.json
Created Jun 30, 2014
timezone gmt list json
View timezone.json
"International Date Line West",
"(GMT-11:00) International Date Line West"
"Midway Island",
"(GMT-11:00) Midway Island"
View singapore_postals.json
"postals" : [
"id" : "01",
"district" : "01",
"sectors" : ["01","02","03","04","05"],
"locations" : ["Raffles Place", "Cecil", "Marina", "People’s Park"]
"id" : "02",
You can’t perform that action at this time.