Skip to content

Instantly share code, notes, and snippets.


Zhuang Ma mzlogin

Block or report user

Report or block mzlogin

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
szarapka / default.conf
Created Feb 2, 2016
NGiNX Configuration for Vue-Router in HTML5 Mode
View default.conf
server {
listen 80 default_server;
listen [::]:80 default_server;
root /your/root/path;
index index.html;
vincetreur /
Created Dec 30, 2015
A RecyclerView.ItemDecoration that adds 8 dp padding to the top of the first and bottom of the last item in a list (or RecyclerView in this case).
import android.content.Context;
import android.util.DisplayMetrics;
import android.util.TypedValue;
import android.view.View;
* Adds 8dp padding to the top of the first and the bottom of the last item in the list,
View md-menu.html
<link rel="stylesheet" href="">
<script src=""></script>
<script src=""></script>
<script type="text/javascript">
var tag = $(item).get(0).localName;
andyferra / github.css
Created Apr 30, 2012
Github Markdown CSS - for Markdown Editor Preview
View github.css
body {
font-family: Helvetica, arial, sans-serif;
font-size: 14px;
line-height: 1.6;
padding-top: 10px;
padding-bottom: 10px;
background-color: white;
padding: 30px; }
body > *:first-child {
mislav / aprompt.png
Last active Jun 9, 2019
My zsh prompt. No oh-my-zsh needed
imathis / gist_tag.rb
Created Jun 15, 2011 — forked from chrisjacob/gist_tag.rb
A Liquid tag for Jekyll sites that allows embedding Gists and showing code for non-JavaScript enabled browsers and readers.
View gist_tag.rb
require 'cgi'
require 'digest/md5'
require 'net/https'
require 'uri'
module Jekyll
class GistTag < Liquid::Tag
def initialize(tag_name, text, token)
@text = text
guohai /
Created Apr 12, 2011
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
You can’t perform that action at this time.