Skip to content

Instantly share code, notes, and snippets.

@hatelove
hatelove / Update git fork with tags.sh
Created February 27, 2020 04:08 — forked from Saissaken/Update git fork with tags.sh
Update git fork with tags
# Repo: someuser/myframework
# Fork: superteam/myframework
# Track:
git clone https://github.com/superteam/myframework.git
cd myframework
git remote add upstream https://github.com/someuser/myframework.git
# Update:
git fetch upstream
<?php
/**
* Created by PhpStorm.
* User: joeychen
* Date: 2018/10/15
* Time: 上午 11:47
*/
namespace App;
@hatelove
hatelove / actionlist.vim
Created January 21, 2018 11:47 — forked from zchee/actionlist.vim
IdeaVim actionlist
--- Actions ---
$Copy <M-C>
$Cut <M-X> <S-Del>
$Delete <Del> <BS> <M-BS>
$LRU
$Paste <M-V>
$Redo <M-S-Z> <A-S-BS>
$SearchWeb <A-S-G>
$SelectAll <M-A>
$Undo <M-Z>
@hatelove
hatelove / MVP2016.cs
Last active October 20, 2015 09:57 — forked from demofan/MVP2016.cs
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NSubstitute;
namespace MvpRenewTest
{
[TestClass]
public class MvpTests
{
//[TestMethod]
//public void TestMethod_MVP現有類別不在指定類別內並且不是十月份MVP可以自動延長一年()