Skip to content

Instantly share code, notes, and snippets.

@darkthread
darkthread / false-sharing-demo.html
Created Oct 14, 2018
False Sharing 發生原因
View false-sharing-demo.html
<html>
<head>
<style>
body {
width: 720px;
height: 480px;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
@darkthread
darkthread / main.cs
Created Jun 21, 2017
FromCsv issue on unmatched { or [
View main.cs
using System.Linq;
using ServiceStack;
using ServiceStack.Text;
using System.Collections.Generic;
using ServiceStack.Text.Common;
public class POCO {
public string Prop1 { get; set; }
public string Prop2 { get; set; }
public string Prop3 { get; set; }
View gist:ae3f31823fc975b1b90f13fbb073b893

1. Clone your fork:

git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream