Skip to content

Instantly share code, notes, and snippets.

View paradite's full-sized avatar
👀
Looking for interesting projects

Zhu Liang paradite

👀
Looking for interesting projects
View GitHub Profile
@paradite
paradite / content-page.php
Last active December 1, 2016 10:56
WP suits theme updated field
<?php
/**
* The template used for displaying page content in page.php
*
* @package Suits
* @since Suits 1.0
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
@paradite
paradite / issues closed.txt
Last active February 12, 2016 07:15
Issues that can be closed
https://github.com/socketio/socket.io/issues/2044
@paradite
paradite / LICENSE
Last active April 20, 2024 08:12
d3.js range selection using drag
MIT License
Copyright (c) 2020 Zhu Liang
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@paradite
paradite / gist:4015e4dfbce64a286dc4
Last active August 29, 2015 14:28 — forked from hzlzh/gist:3128038
console.log() snippet for Sublime Text 2
<snippet>
<!-- put this file in /packages/User/<Folder Name>/console_log.sublime-snippet then restart your Sublime Text 2 -->
<content><![CDATA[console.log($1);$0]]></content>
<tabTrigger>conl</tabTrigger>
<scope>text.html,source.js</scope>
<description>console.log()</description>
</snippet>
<snippet>
<!-- put this in another file /packages/User/<Folder Name>/console_dir.sublime-snippet then restart your Sublime Text 2 -->
@paradite
paradite / git commands
Last active January 31, 2016 16:55
set up gh-pages branch and remove master branch
git checkout -b gh-pages
git push --set-upstream origin gh-pages
git branch -d master
(change default branch on GitHub to gh-pages)
git push origin :master