Skip to content

Instantly share code, notes, and snippets.

View Halomaple's full-sized avatar

Jeff Halomaple

  • Shenzhen, China
View GitHub Profile
@Halomaple
Halomaple / gwlist.js
Created December 17, 2018 14:15
gwlist
var domains = {
"reddit.com": 1,
"mikelpr.com": 1,
"hostgator.com": 1,
"hijabhouse.com.au": 1,
"developer.mozilla.org": 1,
"rubygems.org": 1,
"sites.google.com": 1,
"npmjs.com": 1,
"hardforum.com": 1,
//删除猎聘人脉信息
$('.btn-oparator .icons16-delete').click(() => {
$(document).ajaxComplete(function() {
setTimeout(() => {
$('.vdialog .vd-btn-ok').click();
}, 500);
});
});
setInterval(() => {
@Halomaple
Halomaple / PowerShell Customization.md
Created April 26, 2018 08:48 — forked from jchandra74/PowerShell Customization.md
PowerShell, Cmder / ConEmu, Posh-Git, Oh-My-Posh, Powerline Customization

Pimping Up Your PowerShell & Cmder with Posh-Git, Oh-My-Posh, & Powerline Fonts

Backstory (TLDR)

I work as a full-stack developer at work. We are a Windows & Azure shop, so we are using Windows as our development platform, hence this customization.

For my console needs, I am using Cmder which is based on ConEmu with PowerShell as my shell of choice.

Yes, yes, I know nowadays you can use the Linux subsystem on Windows 10 which allow you to run Ubuntu on Windows. If you are looking for customization of the Ubuntu bash shell, check out this article by Scott Hanselman.

@Halomaple
Halomaple / pr.md
Created February 28, 2017 02:02 — forked from piscisaureus/pr.md
Checkout github pull requests locally

Locate the section for your github remote in the .git/config file. It looks like this:

[remote "origin"]
	fetch = +refs/heads/*:refs/remotes/origin/*
	url = git@github.com:joyent/node.git

Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this: