Skip to content

Instantly share code, notes, and snippets.

/**
* Be sure to include library scripts in this order. Can be placed either
* in the header or footer.
*/
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery-infinitescroll/2.0b2.120519/jquery.infinitescroll.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/masonry/3.1.2/masonry.pkgd.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery.imagesloaded/3.0.4/jquery.imagesloaded.min.js"></script>
@bewho
bewho / 1140px-grid.css
Created January 2, 2019 10:44 — forked from gregrickaby/1140px-grid.css
Responsive Grid with Gutters - Example Markup
/* Grid
12 column - http://responsive.gs
--------------------------------------------- */
.row {
padding-bottom: 0;
}
.col {
float: left;
width: 100%;
@bewho
bewho / gist:370f2e1bf2fb84e8bddfd49899b77fd1
Created January 21, 2019 13:13 — forked from johnnyicarus/gist:9643945
Remove WPML Generator Tag
/**
* Remove <meta name="generator"> tag created by the WPML PLugin.
* Wrapped in an if-statement that checks for an instance of the
* sitepress-class (made global by WPML)
*
* @url http://wordpress.stackexchange.com/questions/117469/how-to-remove-wpml-generator-meta-tag-by-themes-functions-php-override-plugin
*
* @uses add_action
* @uses remove_action
* @uses current_filter
@bewho
bewho / TangPoetry.json
Created August 23, 2025 05:49 — forked from soyaine/TangPoetry.json
TangPoetry.json 74 首唐诗的 JSON 数据(五言、七言律诗,含翻译)
[
{
"detail_text": "寥落古行宫,宫花寂寞红。白头宫女在,闲坐说玄宗。",
"title": "行宫",
"detail_translate_text": [
"译文",
"空旷冷落的古旧行宫,只有宫花寂寞地艳红。",
"几个满头白发的宫女,闲坐无事谈论唐玄宗。",
"注释",
"(1)寥(liáo)落:寂寞冷落。",