Skip to content

Instantly share code, notes, and snippets.

View howar31's full-sized avatar

Howar31 howar31

View GitHub Profile
@epegzz
epegzz / Monaco_Linux-Powerline.ttf
Created January 18, 2012 17:19
Monaco for vim-powerline
@BrockA
BrockA / waitForKeyElements.js
Created May 7, 2012 04:21
A utility function, for Greasemonkey scripts, that detects and handles AJAXed content.
/*--- waitForKeyElements(): A utility function, for Greasemonkey scripts,
that detects and handles AJAXed content.
Usage example:
waitForKeyElements (
"div.comments"
, commentCallbackFunction
);
@agnoster
agnoster / README.md
Last active April 6, 2024 22:35
My ZSH Theme

agnoster.zsh-theme

A ZSH theme optimized for people who use:

  • Solarized
  • Git
  • Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)

For Mac users, I highly recommend iTerm 2 + Solarized Dark

@Grassboy
Grassboy / Error451.Profile.txt
Created June 3, 2013 21:49
Plurk Error 451 Profile Setting
--------
如果您想加入 Plurk Error 451 訊息的顯示,
請將下面三行文字貼到 http://www.plurk.com/Settings/show?page=profile 中的「關於您自己」文字方塊中
**並且**把最後一行的YOUR_ID換成您的噗浪id, 例如, http://www.plurk.com/grassboy#dash-profile (Close)
----------
https://www.google.com/takeaction/ (Google)
http://tinyurl.com/lpdheoe (#freeandopen)
http://www.plurk.com/YOUR_ID#dash-profile (Close)
/*--------
如果您想加入 Plurk Error 451 訊息的顯示,
請將下面的 CSS 設定貼到您 http://www.plurk.com/Settings/show?page=theme 頁面的自訂佈景文字方塊尾端
並且完成 https://gist.github.com/Grassboy/5701743 的個人檔案設定即可~
----------*/
body:not(oldIE) #dash-additional-info {
display : inline-block;
width: 805px;
height: 445px;
position: fixed;
@howar31
howar31 / Markdown_Cheatsheet.md
Last active July 24, 2023 07:43
Markdown Cheatsheet
@edokeh
edokeh / index.js
Last active June 27, 2024 04:27
佛祖保佑,永无 BUG
//
// _oo0oo_
// o8888888o
// 88" . "88
// (| -_- |)
// 0\ = /0
// ___/`---'\___
// .' \\| |// '.
// / \\||| : |||// \
// / _||||| -:- |||||- \
@jonathantneal
jonathantneal / README.md
Last active March 19, 2024 23:31
Local SSL websites on macOS Sierra

Local SSL websites on macOS Sierra

These instructions will guide you through the process of setting up local, trusted websites on your own computer.

These instructions are intended to be used on macOS Sierra, but they have been known to work in El Capitan, Yosemite, Mavericks, and Mountain Lion.

NOTE: You may substitute the edit command for nano, vim, or whatever the editor of your choice is. Personally, I forward the edit command to Sublime Text:

alias edit="/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl"
@andersevenrud
andersevenrud / bbhooah.user.js
Last active April 11, 2016 06:02
Bring Battlelog Hooahs back!
// ==UserScript==
// @name Bring Battlelog Hooahs back!
// @namespace http://andersevenrud.github.io/
// @version 0.7
// @description You get the old "Hooah" back instead of "Like" (In the Battle Feed!)
// @match http://battlelog.battlefield.com/*
// @updateURL https://gist.github.com/andersevenrud/c4cf8ec40ed25c2ef2cf/raw/bbhooah.user.js
// @downloadURL https://gist.github.com/andersevenrud/c4cf8ec40ed25c2ef2cf/raw/bbhooah.user.js
// @author andersevenrud
// ==/UserScript==
@nrollr
nrollr / MySQL_macOS_Sierra.md
Last active June 7, 2024 20:53
Install MySQL on Sierra using Homebrew

Install MySQL on macOS Sierra

This procedure explains how to install MySQL using Homebrew on macOS Sierra 10.12

Install Homebrew

  • Installing Homebrew is effortless, open Terminal and enter :
    $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • Note: Homebrew will download and install Command Line Tools for Xcode 8.0 as part of the installation process.

Install MySQL

At this time of writing, Homebrew has MySQL version 5.7.15 as default formulae in its main repository :