Skip to content

Instantly share code, notes, and snippets.

View bunnywong's full-sized avatar
🙃
code for food

BunnY bunnywong

🙃
code for food
View GitHub Profile
https://chrome.google.com/webstore/detail/wappalyzer/gppongmhjkpfnbhagpmjfkannfbllamg
https://chrome.google.com/webstore/detail/pesticide-for-chrome/bblbgcheenepgnnajgfpiicnbbdmmooh
https://chrome.google.com/webstore/detail/jsonview/chklaanhfefbnpoihckbnefhakgolnmc
https://chrome.google.com/webstore/detail/adblock-%E2%80%94-best-ad-blocker/gighmmpiobklfepjocnamgkkbiglidom
A $283(+?) - Tresor Apt with 1BR – Only 2 mins to Dist 1
https://goo.gl/yJQkCH
B $387 / $1551 - Cozy Home with nice view - 2Br - Free Pool & Gym
https://goo.gl/EJ5zAw
C $305 / $1227 - Modern Studio in Central HCM city,*Free POOL & GYM
https://goo.gl/aLq92z
D $261 / $1046 - Christina's 60s Homey Balcony Suite in D1 Center
$56.75/month
https://console.cloud.google.com/launcher/details/windows-cloud/windows-server-2012-r2?filter=solution-type:vm&q=windows&project=skiwing-hk
https://console.cloud.google.com/launcher/details/windows-cloud/windows-server-2016?filter=solution-type:vm&q=windows&project=skiwing-hk
--------------------------------------------------------------------------------
1 vCPU + 3.75 GB memory
$70.07/month
https://console.cloud.google.com/launcher/details/cis-public/cis-windows-server-2008-r2-v3-0-1-level-1?filter=solution-type:vm&q=windows&project=skiwing-hk
<!DOCTYPE html>
<html lang="en" data-vue-meta-server-rendered data-vue-meta="">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui">
<meta data-vue-meta="true" itemprop="articleSection" content="Inkstone, China" data-vmid="itemprop_articleSection"/><meta data-vue-meta="true" itemprop="author" content="Viola Zhou" data-vmid="itemprop_author"/><meta data-vue-meta="true" itemprop="dateCreated" content="2018-01-24T12:25:20+08:00" data-vmid="itemprop_dateCreated"/><meta data-vue-meta="true" itemprop="dateModified" content="2018-03-01T17:01:55+08:00" data-vmid="itemprop_dateModified"/><meta data-vue-meta="true" itemprop="datePublished" content="2018-01-24T12:30:15+08:00" data-vmid="itemprop_datePublished"/><meta data-vue-meta="true" itemprop="description" content="State censors ban hip hop from TV but artists say it will only drive the genre underground" data-vmid="itemprop_description"/
@bunnywong
bunnywong / .htaccess
Created December 6, 2015 07:07
Example of sub folder as root URL at Wordpress - lowb.me
# 1. This .htaccess located in root level
# 2. Wordpress source in '{root}/lowb.me/public'
# 3. Add below in wp-config.php
# define('WP_HOME','http://lowb.me/lowb.me/public');
# define('WP_SITEURL','http://lowb.me');
# Ref:
# http://marktyrrell.com/2012/09/installing-wordpress-in-a-subdirectory-running-it-from-the-root-directory/
# Turn on rewrites.
@bunnywong
bunnywong / Vagrant
Last active October 20, 2015 11:41
Vagrant example
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "scotch/box"
config.vm.network "private_network", ip: "192.168.33.10"
config.vm.hostname = "My Vagrant"
# config.vm.synced_folder ".", "/var/www", :mount_options => ["dmode=777", "fmode=666"]
wget -r --user='user@example.com' --password='mypwd' ftp.example.com
@bunnywong
bunnywong / gist:fcc3906327f19708af49
Created September 12, 2015 10:31
Alert when iPhone available
var alt = $('.image-content img').attr('alt');
if (alt =="We'll be back soon") {
var rand = (Math.floor(Math.random() * 200) + 1 ) / 100; // 0.01 to 2 sec
console.log("We'll be back soon :D ");
console.log('random refresh in ' + rand + 'sec');
setTimeout(redirect(), rand);
} else {
alert('PAGE AVAILABLE !!!');
}
@bunnywong
bunnywong / gist:e977e7091f5e6ab54dcf
Created September 8, 2015 07:53
composer issue - ref
Some settings on your machine make Composer unable to work properly.
Make sure that you fix the issues listed below and run this script again:
The suhosin.executor.include.whitelist setting is incorrect.
Add the following to the end of your `php.ini` or suhosin.ini (Example path [for Debian]: /etc/php5/cli/conf.d/suhosin.ini):
suhosin.executor.include.whitelist = phar
The php.ini used by your command-line PHP is: /etc/php5/cli/php.ini
If you can not modify the ini file, you can also run `php -d option=value` to modify ini values on the fly. You can use -d multiple times.
@bunnywong
bunnywong / gist:15cf311329eee201be56
Last active September 3, 2015 04:40
Android wear remark
ad uninstall com.example.android.wearablemessageapiexample