mirror of
https://github.com/CoderSherlock/CoderSherlock.github.io.git
synced 2026-06-13 08:08:10 -07:00
Update Aboutme
This commit is contained in:
+18
-67
@@ -2,68 +2,19 @@
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Stop Talking, Start Doing - 停止空想,开始行动</title>
|
||||
<description>My personal blog, with some boring research staff and some tricks I was fancy to. I'll try my best to make this blog fun and useful. Not just a place I complain about all happens in my Lab.
|
||||
<description>My personal blog, with some boring research staff and some tricks I was fancy to. I'll try my best to make this blog fun and useful. Not just a place I complain about all happens in my Lab.
|
||||
</description>
|
||||
<link>https://codersherlock.github.com//</link>
|
||||
<atom:link href="https://codersherlock.github.com//feed.xml" rel="self" type="application/rss+xml"/>
|
||||
<pubDate>Fri, 20 Jan 2017 14:17:35 -0500</pubDate>
|
||||
<lastBuildDate>Fri, 20 Jan 2017 14:17:35 -0500</lastBuildDate>
|
||||
<generator>Jekyll v3.0.1</generator>
|
||||
|
||||
<item>
|
||||
<title>How to design a board game, step by step</title>
|
||||
<description><h1 id="history">History</h1>
|
||||
<p>I always want to design a board game, but unfortunately, I have higher expectation on this design so that I can even finish one during these years. My dreaming work must be suit for both entertainment and competition, which both amateurs or pros can enjoy this game.</p>
|
||||
|
||||
<p>My first designed board game is <em>“SimCity ~ Board version”</em>. It was a great fun when I was in forth grade of elementary. Compare to a board game, it’s more like a paper-version web game. I offer everything include game design, a “database” (notebook) to record all players status. At beginning, it wasn’t that popular, but my classmates love it. With several weeks running, 30 players joined this silly game and students from other classes came for me to join my game. During three month testing, I released more than <strong>120</strong> new buildings, <strong>15</strong> new activities and even made this game payable. It sounds stupid, but lots of them rather pay 50 cents for accelerating their construction. I also faced competitors, but no one wants to play their bad designed game. At least for myself, I won’t spent players’ 20 hours for just a nuclear plant, offer them a lottery that every players whose level is up to 20 can get chance to win their own plants (Trust me, my lottery only have 0.01 chance that you win nothing, and anyone can get free tickets everyday and only pay 10 cents for a spare lottery ticket). Of course, my board game didn’t last for long. Before final weeks, I made a statement that game will closed. At the evening after statement, I wrote wealthy rank for all players to let all of them know who wins or lose.</p>
|
||||
|
||||
<p>This history always encourage me to design a new board game, but this time I am not facing to young boys and girls who don’t have too much to play at school. I admit this is a serious challenge to me but I’ll try my best to make this game fun to play.</p>
|
||||
|
||||
<h1 id="my-dream">My dream</h1>
|
||||
|
||||
<ul>
|
||||
<li>Better for two players</li>
|
||||
<li>Competitive</li>
|
||||
<li>Do have fortune features, but good strategy can guarantee winning</li>
|
||||
<li>Simple, better to be PnP (Print and Play)</li>
|
||||
</ul>
|
||||
|
||||
<h1 id="preparation">Preparation</h1>
|
||||
|
||||
<h2 id="warm-up">Warm-up</h2>
|
||||
<p><a href="https://docs.google.com/document/d/1V_czXDnFuQfNyzLM7R5FUrX0vYD9QR17R3FQQ25pjZY/edit?usp=sharing">Island-Combat</a> is my first idea. I designed it in Chinese, but you may free to guess what these figures mean.</p>
|
||||
|
||||
<h1 id="game-concepts">Game Concepts</h1>
|
||||
|
||||
<h1 id="develop-process">Develop Process</h1>
|
||||
</description>
|
||||
<pubDate>Tue, 27 Dec 2016 13:39:25 -0500</pubDate>
|
||||
<link>https://codersherlock.github.com//archivers/design-a-board-game</link>
|
||||
<guid isPermaLink="true">https://codersherlock.github.com//archivers/design-a-board-game</guid>
|
||||
|
||||
|
||||
<category>Fun</category>
|
||||
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Freshman from china ~ 人生修复者</title>
|
||||
<description><p>在题目上,我就厚着脸皮装了一次嫩。虽然这一年多的时间,每逢与人交谈,我总会以 Graduate Freshmen 自称。但是总感觉自己在一天一天的变得消沉和无趣。不知道成熟是何物的我试图一直保持自己乐观到单纯的性格,但随着保持时间的变长,我已然不知自己究竟是真的傻还是装的蠢了。一直与人无争的我终还是变得扭曲搬的“孤傲”了起来。</p>
|
||||
</description>
|
||||
<pubDate>Wed, 23 Nov 2016 22:58:00 -0500</pubDate>
|
||||
<link>https://codersherlock.github.com//archivers/freshman-from-china</link>
|
||||
<guid isPermaLink="true">https://codersherlock.github.com//archivers/freshman-from-china</guid>
|
||||
|
||||
|
||||
<category>Nonsense</category>
|
||||
|
||||
</item>
|
||||
<pubDate>Wed, 26 Jul 2017 12:22:04 -0400</pubDate>
|
||||
<lastBuildDate>Wed, 26 Jul 2017 12:22:04 -0400</lastBuildDate>
|
||||
<generator>Jekyll v3.5.1</generator>
|
||||
|
||||
<item>
|
||||
<title>Some of my previews experiment works: 2016</title>
|
||||
<description><p>This blog contains only some basic record of my works. For some details, I will write a unique blog just for some specific topics.</p>
|
||||
|
||||
<h1 id="section">2016-10</h1>
|
||||
<h1 id="2016-10">2016-10</h1>
|
||||
|
||||
<h2 id="time-experiment-of-rsync">Time Experiment of rsync</h2>
|
||||
|
||||
@@ -71,7 +22,7 @@
|
||||
|
||||
<h3 id="how-to-collect-data">How to collect data</h3>
|
||||
|
||||
<p>Basically, everything of transmission time and computation time will be output with overall time will be printed on the console.<br />
|
||||
<p>Basically, everything of transmission time and computation time will be output with overall time will be printed on the console.
|
||||
But we also need some bash script to collect data through different size of random size and with different modification through them.</p>
|
||||
|
||||
<ul>
|
||||
@@ -94,10 +45,10 @@ But we also need some bash script to collect data through different size of rand
|
||||
<li>We need to use this simple awk code and vim operation to extract data.</li>
|
||||
</ul>
|
||||
|
||||
<div class="highlighter-rouge"><pre class="highlight"><code><span class="c"># CDC: content defined chucks</span>
|
||||
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="c"># CDC: content defined chucks</span>
|
||||
<span class="c"># HUT: Http upload traffic</span>
|
||||
<span class="c"># ALL: overall time of one commit &amp; upload</span>
|
||||
awk <span class="s1">'/CDC|HUT|ALL/ {print $4,$5}'</span> ~/.ccnet/log/seafile.log &gt; results.stat
|
||||
awk <span class="s1">'/CDC|HUT|ALL/ {print $4,$5}'</span> ~/.ccnet/log/seafile.log &gt; results.stat
|
||||
</code></pre>
|
||||
</div>
|
||||
|
||||
@@ -116,7 +67,7 @@ awk <span class="s1">'/CDC|HUT|ALL/ {print $4,$5}'</s
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="highlighter-rouge"><pre class="highlight"><code><span class="c"># If .img end with xz, use this command to uncompress first</span>
|
||||
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="c"># If .img end with xz, use this command to uncompress first</span>
|
||||
unxz ubuntu-14.04lts-xubuntu-odroid-xu-20140714.img.xz
|
||||
<span class="c"># Burn image into SD-card</span>
|
||||
sudo dd <span class="k">if</span><span class="o">=</span>ubuntu-14.04lts-xubuntu-odroid-xu-20140714.img <span class="nv">of</span><span class="o">=</span>/dev/sdb <span class="nv">bs</span><span class="o">=</span>1M <span class="nv">conv</span><span class="o">=</span>fsync
|
||||
@@ -124,7 +75,7 @@ sync
|
||||
</code></pre>
|
||||
</div>
|
||||
|
||||
<h1 id="section-1">2016-11</h1>
|
||||
<h1 id="2016-11">2016-11</h1>
|
||||
|
||||
<h2 id="android-kernel">Android Kernel</h2>
|
||||
|
||||
@@ -134,8 +85,8 @@ sync
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<p><a href="http://source.android.com/source/building-kernels.html#figuring-out-which-kernel-to-build">Google Official Guide</a><br />
|
||||
– If you don’t have AOSP sources, you have to download prebuilt toolchains which recommended in this guide might not be correct. Use following links to choose your fitting tools.<br />
|
||||
<p><a href="http://source.android.com/source/building-kernels.html#figuring-out-which-kernel-to-build">Google Official Guide</a>
|
||||
– If you don’t have AOSP sources, you have to download prebuilt toolchains which recommended in this guide might not be correct. Use following links to choose your fitting tools.
|
||||
— <a href="https://android.googlesource.com/?format=HTML">ASOP git root</a>, under sub class “/platform/prebuilts/gcc”</p>
|
||||
</li>
|
||||
<li>
|
||||
@@ -143,7 +94,7 @@ sync
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h1 id="section-2">2016-12</h1>
|
||||
<h1 id="2016-12">2016-12</h1>
|
||||
|
||||
<h2 id="android-kernel-1">Android Kernel</h2>
|
||||
|
||||
@@ -151,7 +102,7 @@ sync
|
||||
|
||||
<p>If we want to debug under android, ftrace is a great tool for working. But, ftrace is not available in android if we used default configure file. Android kernel configuration is in <strong>arch/arm64/kernel/configs</strong>. We need to add few lines under that.</p>
|
||||
|
||||
<div class="highlighter-rouge"><pre class="highlight"><code><span class="nv">CONFIG_STRICT_MEMORY_RWX</span><span class="o">=</span>y
|
||||
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="nv">CONFIG_STRICT_MEMORY_RWX</span><span class="o">=</span>y
|
||||
<span class="nv">CONFIG_FUNCTION_TRACER</span><span class="o">=</span>y
|
||||
<span class="nv">CONFIG_FUNCTION_GRAPH_TRACER</span><span class="o">=</span>y
|
||||
<span class="nv">CONFIG_DYNAMIC_FTRACE</span><span class="o">=</span>y
|
||||
@@ -167,7 +118,7 @@ sync
|
||||
|
||||
<p>If we want to hold a rooted status after flashing boot, we need to extract an image from android devices. We can first use following command to find which blocks belongs to. According to some references, <a href="http://forum.xda-developers.com/showthread.php?t=2450045">this article</a> provide three ways to dump an image, I picked one for easy using.</p>
|
||||
|
||||
<div class="highlighter-rouge"><pre class="highlight"><code>adb shell
|
||||
<div class="language-bash highlighter-rouge"><pre class="highlight"><code>adb shell
|
||||
ls -al /dev/block/platform/<span class="nv">$SOME</span><span class="se">\_</span>DEVICE../../by-name <span class="c"># {Partitions} -&gt; {Device Block}</span>
|
||||
|
||||
<span class="c"># dump file</span>
|
||||
@@ -187,7 +138,7 @@ dd <span class="k">if</span><span class="o"&g
|
||||
|
||||
<item>
|
||||
<title>Using charles proxy to monitor mobile SSL traffics</title>
|
||||
<description><p>In this blog, I will generally talk about how to use proper tools to monitor SSL traffics of a mobile devices. Currently, I only can dealing with those SSL traffics which use an obviously certification. Some applications may not using system root cert or they doesn’t provide us a method to modify their own certs. For these situation, I still didn’t find a good solutions for it. But I’ll keep updating this if I get one. <br />
|
||||
<description><p>In this blog, I will generally talk about how to use proper tools to monitor SSL traffics of a mobile devices. Currently, I only can dealing with those SSL traffics which use an obviously certification. Some applications may not using system root cert or they doesn’t provide us a method to modify their own certs. For these situation, I still didn’t find a good solutions for it. But I’ll keep updating this if I get one.<br />
|
||||
My current solution is using AP to forward all SSL traffic to a proxy, <a href="https://www.charlesproxy.com/">charles proxy</a> is my first choice (Prof asked). It’s a non-free software which still update new versions now. So mainly, I’ll talk about how to charles SSL proxy.</p>
|
||||
|
||||
<h3 id="preparations">Preparations</h3>
|
||||
@@ -203,7 +154,7 @@ My current solution is using AP to forward all SSL traffic to a proxy, <a hre
|
||||
<li>You have to install charles first. After downloading the charles proxy, you have to unzip it and configure some basic settings.</li>
|
||||
</ul>
|
||||
|
||||
<div class="highlighter-rouge"><pre class="highlight"><code><span class="c"># open charles first</span>
|
||||
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="c"># open charles first</span>
|
||||
./bin/charles
|
||||
</code></pre>
|
||||
</div>
|
||||
@@ -211,7 +162,7 @@ My current solution is using AP to forward all SSL traffic to a proxy, <a hre
|
||||
<li>Save charles’ private key and public key</li>
|
||||
</ul>
|
||||
|
||||
<p>In Help -&gt; SSL Proxying -&gt; Export Charles Root Certificate and Private Key, enter a password and save the public and private key in *.p12 format. <br />
|
||||
<p>In Help -&gt; SSL Proxying -&gt; Export Charles Root Certificate and Private Key, enter a password and save the public and private key in *.p12 format.<br />
|
||||
You also need to save charles Root Certificate, it also contains in the same menu. For convience, save it as *.pem format.</p>
|
||||
|
||||
<ul>
|
||||
|
||||
Reference in New Issue
Block a user