Skip to content

Instantly share code, notes, and snippets.

Michael Galero mikong

  • Quezon City, Philippines
Block or report user

Report or block mikong

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
mikong / video-test.html
Last active Apr 24, 2017
YouTube videos on your page
View video-test.html
<!DOCTYPE html>
<html lang="en">
<title>Video Testing</title>
<link rel="stylesheet" type="text/css" href="" />
.media {
margin-top: 30px;
text-align: center;
mikong /
Last active Feb 17, 2017
The erb template for /engineyard/bin/app_chat_node
# Author: Mikong Galero
/data/<%= @app_name %>/shared/bin/build_node_app_environment
source /data/<%= @app_name %>/shared/config/env
source /data/<%= @app_name %>/shared/config/env.custom
case "$1" in
mikong / solr-8983-console.log
Created Aug 15, 2016
Partial Search not working on the app, working in Solr Dashboard
View solr-8983-console.log
Query: 'John'
Expected: Match 1 record of user with name 'John Doe'
Web app (FAILING):
2698495 INFO (qtp110456297-16) [ x:default] o.a.s.c.S.Request [default] webapp=/solr path=/select params={q=John&defType=edismax&qf=name_text+phone_number_text&fl=*+score&start=0&fq=type:User&rows=30&wt=ruby} hits=0 status=0 QTime=1
Solr Dashboard (WORKING)
2763320 INFO (qtp110456297-17) [ x:default] o.a.s.c.S.Request [default] webapp=/solr path=/select params={q=John&indent=on&wt=json&_=1471250534642} hits=1 status=0 QTime=1
View changetip_monikers.txt
chocnut: $0.05
pandesal: $0.05
monay: $0.1
isaw: $0.15
taho: $0.25
balut: $0.3
pancit canton: $0.35
chicharon: $0.50
halo-halo: $2
mikong /
Last active Dec 22, 2015
This lists all the chores and duties people must do according to some or all people. This is one sure way to overwhelm yourself with all the responsibilities.

Infinite List of Duties, Chores, Responsibilities

Note: Not for the faint of heart.

According to your dentist:

  • Brush your teeth 3 times a day.
  • Mouthwash (optional?)
  • Clean your tongue every day.
  • Floss!
mikong / gist:3743568
Created Sep 18, 2012
fontawesome icons to use
View gist:3743568
View gist:2292645
View gist:1947753
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<script type="text/javascript" src=""></script>
<div id="chart"></div>
<script type="text/javascript">
var width = 400,
height = 300;
View index.html
<script src=""></script>
<script src=""></script>
<script src=""></script>
#area { background: #ddd; }
circle { stroke-width: 2px; stroke: #fff; }
mikong / Importing posts from Wordpress into Jekyll.rb
Created Sep 5, 2011 — forked from vitobotta/Importing posts from Wordpress into Jekyll.rb
The script I used to import posts from my Wordpress blog into a new Jekyll one.
View Importing posts from Wordpress into Jekyll.rb
%w(rubygems sequel fileutils yaml active_support/inflector).each{|g| require g}
require File.join(File.dirname(__FILE__), "downmark_it")
module WordPress
def self.import(database, user, password, table_prefix = "wp_2", host = 'localhost')
db = Sequel.mysql(database, :user => user, :password => password, :host => host, :encoding => 'utf8')
FileUtils.mkdir_p "_posts"
You can’t perform that action at this time.