-
-
-
- Catch them all until bored Preface I never imagined that I will truly write something for hacking a game. Though I have to admit that Pokemon Go is a huge heat and different from other games, it still hard to believe that I took movement to make it better(or worse?). I was a big fun of ingress, and thanks to one of my best friends, Kevin, who was also a huge fan to ingress, recommended me this game.
-
-
-
-
-
- Cross Compile Seafile to ARM platform Motivation This project is working for delta sync from mobile to server. Currently, there’s no mobile program/solution has supporting to delta sync(Include Dropbox/ Goggle Drive). But the truth is that almost every pc version sync program can work as delta sync properly or not. So in this article, I’ll provide a workbench for cross compilation and evaluation. And finally come up with a reason of how to port better incremental synchronize solution on mobile platform.
-
-
-
-
-
- Cross Compile Rsync to ARM platform As always, feel free to ask. // Sherlock Motivation I got some issues about compile seafile to android, so instead of doing so, I start to figure out some other synchronize workflow. Rsync is one of the most mature synchronization solution. So I made the decision on planting rsync to android. Pre-work Rsync is a sync program with delta sync feature and based on SSH connection.
-
-
-
-
-
diff --git a/categories/2016-08/index.xml b/categories/2016-08/index.xml
deleted file mode 100644
index 9c9dbce..0000000
--- a/categories/2016-08/index.xml
+++ /dev/null
@@ -1,66 +0,0 @@
-
-
-
- 2016 08 on Mil años de solitario
- https://CoderSherlock.github.io/categories/2016-08/
- Recent content in 2016 08 on Mil años de solitario
- Hugo -- gohugo.io
- en-us
- Mon, 15 Aug 2016 15:44:05 -0400
-
-
-
- Cross Compile RSync ARM
- https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/
- Mon, 15 Aug 2016 15:44:05 -0400
-
- https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/
-
-
-<h1 id="cross-compile-rsync-to-arm-platform">Cross Compile Rsync to ARM platform</h1>
-
-<p>As always, feel free to ask. // Sherlock</p>
-
-<h2 id="motivation">Motivation</h2>
-
-<p>I got some issues about compile seafile to android, so instead of doing so, I start to figure out some other synchronize workflow. <a href="https://rsync.samba.org/">Rsync</a> is one of the most mature synchronization solution. So I made the decision on planting rsync to android.</p>
-
-<h2 id="pre-work">Pre-work</h2>
-
-<p>Rsync is a sync program with delta sync feature and based on SSH connection. So all we need to do is SSH support and cross compile tool-chain. Similar to what I mentioned in <a href="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/">previews blog</a>, Android NDK and environment export need to be done before compilation.
-To enable normally use of compiled program, we need to make android support SSH. My solution is just install <a href="https://play.google.com/store/apps/details?id=berserker.android.apps.sshdroid&hl=en">SSHDroid</a> from Google Play Store.</p>
-
-<h2 id="cross-compile-rsync">Cross-Compile Rsync</h2>
-
-<p>Running following script to build rsync. It will generate a executable file named rsync in the root directory.</p>
-
-<pre><code>$ ./configure --build=${BUILD_SYS} --host=${TOOLCHAIN}
-$ make
-</code></pre>
-
-<h2 id="push-rsync-to-android">Push RSync to Android.</h2>
-
-<p>After installing SSHDroid, we can now push our arm-version-rsync to target machine.</p>
-
-<pre><code>$ adb push rsync /data/local/tmp
-$ adb shell
-
-$ cd /data/data/berserker.android.apps.sshdroid/dropbear
-$ mv ../../../local/tmp/rsync .
-</code></pre>
-
-<h2 id="run-rsync-with-argument">Run Rsync with argument</h2>
-
-<p>Now we can easily use rsync in android shell. Similar to what we use on PC.</p>
-
-<pre><code>$ ./rsync -e "./ssh" {target-data} {target-location}:{target-directory}
-</code></pre>
-
-<h2 id="references">References</h2>
-
-<p><a href="http://stackoverflow.com/questions/8130889/build-rsync-for-android">Build Rsync for Android</a></p>
-
-
-
-
-
\ No newline at end of file
diff --git a/categories/cross-compile/index.html b/categories/cross-compile/index.html
new file mode 100644
index 0000000..cc91254
--- /dev/null
+++ b/categories/cross-compile/index.html
@@ -0,0 +1,191 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Cross Compile - Mil años de solitario
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
As always, feel free to ask. // Sherlock Motivation I got some issues about compile seafile to android, so instead of doing so, I start to figure out some other synchronize workflow. Rsync is one of the most mature synchronization solution. So I made the decision on planting rsync to android. Pre-work Rsync is a sync program with delta sync feature and based on SSH connection. So all we need to do is SSH support and cross compile tool-chain.
Motivation This project is working for delta sync from mobile to server. Currently, there’s no mobile program/solution has supporting to delta sync(Include Dropbox/ Goggle Drive). But the truth is that almost every pc version sync program can work as delta sync properly or not. So in this article, I’ll provide a workbench for cross compilation and evaluation. And finally come up with a reason of how to port better incremental synchronize solution on mobile platform.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/categories/2016-07/index.xml b/categories/cross-compile/index.xml
similarity index 58%
rename from categories/2016-07/index.xml
rename to categories/cross-compile/index.xml
index e42fcf2..b895e08 100644
--- a/categories/2016-07/index.xml
+++ b/categories/cross-compile/index.xml
@@ -1,66 +1,89 @@
- 2016 07 on Mil años de solitario
- https://CoderSherlock.github.io/categories/2016-07/
- Recent content in 2016 07 on Mil años de solitario
+ Cross Compile on Mil años de solitario
+ https://CoderSherlock.github.io/categories/cross-compile/
+ Recent content in Cross Compile on Mil años de solitarioHugo -- gohugo.ioen-us
- Sat, 30 Jul 2016 18:10:20 -0400
-
+ Copyright (c) 2016 - 2016, Pengzhan Hao; all rights reserved.
+ Mon, 15 Aug 2016 15:44:05 -0400
+
- Pokemon Go Hack
- https://codersherlock.github.io/post/Pokemon-Go-Hack/
- Sat, 30 Jul 2016 18:10:20 -0400
+ Cross Compile RSync ARM
+ https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/
+ Mon, 15 Aug 2016 15:44:05 -0400
- https://codersherlock.github.io/post/Pokemon-Go-Hack/
+ https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/
-<h1 id="catch-them-all-until-bored">Catch them all until bored</h1>
+<p>As always, feel free to ask. // Sherlock</p>
-<h2 id="preface">Preface</h2>
+<h1 id="motivation">Motivation</h1>
-<p>I never imagined that I will truly write something for hacking a game. Though I have to admit that Pokemon Go is a huge heat and different from other games, it still hard to believe that I took movement to make it better(or worse?). I was a big fun of ingress, and thanks to one of my best friends, Kevin, who was also a huge fan to ingress, recommended me this game. Due to some well known reasons, Ingress didn’t become popular at my country. But time flies, I break through the wall, and come to a free land which can play Niantic’s game. Unfortunately, this time, the only thing restrict me from playing LBS game is limitation of my spare time. Working in the Lab makes me exhausted <strong>EVERYDAY</strong> and the place where I am now is so barren which even doesn’t have much insects and birds(I mean Weedle and Pidgey).
-<em>afk I have to battle a nearby gym now</em>
-Anyway, after coming back, I think I write too much on useless words, so let me keep it straight forward. My imagination of this hacking project is very simple, which is making an auto bot helping me go through all experiences a Pokemon trainer will face. In first stage, my goal is making the bot smartly picking up a route to walk, catch all Pokemons and supply from PokeStops.</p>
+<p>I got some issues about compile seafile to android, so instead of doing so, I start to figure out some other synchronize workflow. <a href="https://rsync.samba.org/">Rsync</a> is one of the most mature synchronization solution. So I made the decision on planting rsync to android.</p>
-<h2 id="todo-list">TODO List</h2>
+<h1 id="pre-work">Pre-work</h1>
-<p>-[X] Test API
--[ ] Finish Walk Algorithm
--[ ] Finish other movement, etc. catch, hatch
--[ ] Smart Walking route
--[ ] Pokemon Predict (Thanks to Pokevision’s idea)
--[ ] Become a Pokemon Master</p>
+<p>Rsync is a sync program with delta sync feature and based on SSH connection. So all we need to do is SSH support and cross compile tool-chain. Similar to what I mentioned in <a href="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/">previews blog</a>, Android NDK and environment export need to be done before compilation.
+To enable normally use of compiled program, we need to make android support SSH. My solution is just install <a href="https://play.google.com/store/apps/details?id=berserker.android.apps.sshdroid&hl=en">SSHDroid</a> from Google Play Store.</p>
+
+<h1 id="cross-compile-rsync">Cross-Compile Rsync</h1>
+
+<p>Running following script to build rsync. It will generate a executable file named rsync in the root directory.</p>
+
+<pre><code>$ ./configure --build=${BUILD_SYS} --host=${TOOLCHAIN}
+$ make
+</code></pre>
+
+<h1 id="push-rsync-to-android">Push RSync to Android.</h1>
+
+<p>After installing SSHDroid, we can now push our arm-version-rsync to target machine.</p>
+
+<pre><code>$ adb push rsync /data/local/tmp
+$ adb shell
+
+$ cd /data/data/berserker.android.apps.sshdroid/dropbear
+$ mv ../../../local/tmp/rsync .
+</code></pre>
+
+<h1 id="run-rsync-with-argument">Run Rsync with argument</h1>
+
+<p>Now we can easily use rsync in android shell. Similar to what we use on PC.</p>
+
+<pre><code>$ ./rsync -e "./ssh" {target-data} {target-location}:{target-directory}
+</code></pre>
+
+<h1 id="references">References</h1>
+
+<p><a href="http://stackoverflow.com/questions/8130889/build-rsync-for-android">Build Rsync for Android</a></p>
- Cross Compile Seafile 2 ARM
+ Cross Compile Seafile to ARM
https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/
Sat, 30 Jul 2016 14:02:34 -0400https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/
-<h1 id="cross-compile-seafile-to-arm-platform">Cross Compile Seafile to ARM platform</h1>
-
-<h2 id="motivation">Motivation</h2>
+<h1 id="motivation">Motivation</h1>
<p>This project is working for delta sync from mobile to server. Currently, there’s no mobile program/solution has supporting to delta sync(Include Dropbox/ Goggle Drive). But the truth is that almost every pc version sync program can work as delta sync properly or not. So in this article, I’ll provide a workbench for cross compilation and evaluation. And finally come up with a reason of how to port better incremental synchronize solution on mobile platform.</p>
-<h2 id="pre-work">Pre-work</h2>
+<h1 id="pre-work">Pre-work</h1>
<p>Basically, I used the native android compilation tool-chains, <a href="https://developer.android.com/ndk/downloads/index.html">Android NDK</a>, as working tools. Due to my working situation, I use a <a href="https://shield.nvidia.com/tablet/k1">Nvidia Shield Tablet</a> as target device. As <em>Zengwen</em> said in his <a href="http://zwyuan.github.io/2016/07/17/cross-compile-glib-for-android/">blog</a>, newest updated NDK might has some issue which can influence compilation progress. So you can find <a href="http://stackoverflow.com/questions/6849981/where-do-i-find-old-versions-of-android-ndk">other version</a> of NDK once you have some problems. Based on what <em>Zengwen’s</em> blog mentioned, we can write following useful system environment and export in terminal.</p>
-<h3 id="prerequisites">Prerequisites</h3>
+<h2 id="prerequisites">Prerequisites</h2>
<pre><code>$ sudo apt-get install build-essential
$ sudo apt-get install pkg-config automake autoconf libtool
</code></pre>
-<h3 id="link-with-standalone-tool-chains">Link with standalone tool-chains</h3>
+<h2 id="link-with-standalone-tool-chains">Link with standalone tool-chains</h2>
<p>In order to build standalone tool-chains, we need first to export following system environment. After doing that, we can use following command to build a standalone tool-chains from downloaded NDK.</p>
@@ -74,7 +97,7 @@ $ sudo apt-get install pkg-config automake autoconf libtool
--platform=android-22
</code></pre>
-<h3 id="original-system-environment-configuration">Original System Environment Configuration</h3>
+<h2 id="original-system-environment-configuration">Original System Environment Configuration</h2>
<p>[TODO]-> I will fix this part later.</p>
@@ -143,29 +166,29 @@ export LIBS="-lc -lstdc++ -ld"
export LDFLAGS="-Wl,-rpath-link=-I${SYSROOT}/usr/lib -L${SYSROOT}/usr/lib -L${PREFIX}/lib -L${NDK_TOOLCHAIN}/lib"
</code></pre>
-<h2 id="compile-process">Compile Process</h2>
+<h1 id="compile-process">Compile Process</h1>
<p>To compile seafile, we should compile ccnet and libsearpc first. As for these two projects, they all have their own dependencies, so we must follow some order to run the compilation.</p>
-<h3 id="libsearpc">libsearpc</h3>
+<h2 id="libsearpc">libsearpc</h2>
-<h4 id="glib">glib</h4>
+<h3 id="glib">glib</h3>
-<h5 id="libiconv">libiconv</h5>
+<h4 id="libiconv">libiconv</h4>
-<h5 id="libffi">libffi</h5>
+<h4 id="libffi">libffi</h4>
-<h5 id="gettext">gettext</h5>
+<h4 id="gettext">gettext</h4>
-<h4 id="libjasson">libjasson</h4>
+<h3 id="libjasson">libjasson</h3>
-<h3 id="ccnet">ccnet</h3>
+<h2 id="ccnet">ccnet</h2>
-<h4 id="libuuid">libuuid</h4>
+<h3 id="libuuid">libuuid</h3>
-<h3 id="seafile">seafile</h3>
+<h2 id="seafile">seafile</h2>
-<h2 id="preferences">Preferences</h2>
+<h1 id="preferences">Preferences</h1>
<ul>
<li><a href="http://zwyuan.github.io/2016/07/17/cross-compile-glib-for-android/">zwyuan</a></li>
@@ -174,4 +197,4 @@ export LDFLAGS="-Wl,-rpath-link=-I${SYSROOT}/usr/lib -L${SYSROOT}/usr/l
-
\ No newline at end of file
+
diff --git a/categories/cross-compile/page/1/index.html b/categories/cross-compile/page/1/index.html
new file mode 100644
index 0000000..edeac6b
--- /dev/null
+++ b/categories/cross-compile/page/1/index.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/categories/game/index.html b/categories/game/index.html
new file mode 100644
index 0000000..fae4dd2
--- /dev/null
+++ b/categories/game/index.html
@@ -0,0 +1,175 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Game - Mil años de solitario
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Catch them all until bored Preface I never imagined that I will truly write something for hacking a game. Though I have to admit that Pokemon Go is a huge heat and different from other games, it still hard to believe that I took movement to make it better(or worse?). I was a big fun of ingress, and thanks to one of my best friends, Kevin, who was also a huge fan to ingress, recommended me this game.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/categories/game/index.xml b/categories/game/index.xml
new file mode 100644
index 0000000..0ce55cd
--- /dev/null
+++ b/categories/game/index.xml
@@ -0,0 +1,41 @@
+
+
+
+ Game on Mil años de solitario
+ https://CoderSherlock.github.io/categories/game/
+ Recent content in Game on Mil años de solitario
+ Hugo -- gohugo.io
+ en-us
+ Copyright (c) 2016 - 2016, Pengzhan Hao; all rights reserved.
+ Sat, 30 Jul 2016 18:10:20 -0400
+
+
+
+ Pokemon Go Hack
+ https://codersherlock.github.io/post/Pokemon-Go-Hack/
+ Sat, 30 Jul 2016 18:10:20 -0400
+
+ https://codersherlock.github.io/post/Pokemon-Go-Hack/
+
+
+<h1 id="catch-them-all-until-bored">Catch them all until bored</h1>
+
+<h1 id="preface">Preface</h1>
+
+<p>I never imagined that I will truly write something for hacking a game. Though I have to admit that Pokemon Go is a huge heat and different from other games, it still hard to believe that I took movement to make it better(or worse?). I was a big fun of ingress, and thanks to one of my best friends, Kevin, who was also a huge fan to ingress, recommended me this game. Due to some well known reasons, Ingress didn’t become popular at my country. But time flies, I break through the wall, and come to a free land which can play Niantic’s game. Unfortunately, this time, the only thing restrict me from playing LBS game is limitation of my spare time. Working in the Lab makes me exhausted <strong>EVERYDAY</strong> and the place where I am now is so barren which even doesn’t have much insects and birds(I mean Weedle and Pidgey).
+<em>afk I have to battle a nearby gym now</em>
+Anyway, after coming back, I think I write too much on useless words, so let me keep it straight forward. My imagination of this hacking project is very simple, which is making an auto bot helping me go through all experiences a Pokemon trainer will face. In first stage, my goal is making the bot smartly picking up a route to walk, catch all Pokemons and supply from PokeStops.</p>
+
+<h1 id="todo-list">TODO List</h1>
+
+<p>-[X] Test API
+-[ ] Finish Walk Algorithm
+-[ ] Finish other movement, etc. catch, hatch
+-[ ] Smart Walking route
+-[ ] Pokemon Predict (Thanks to Pokevision’s idea)
+-[ ] Become a Pokemon Master</p>
+
+
+
+
+
diff --git a/categories/game/page/1/index.html b/categories/game/page/1/index.html
new file mode 100644
index 0000000..592e82d
--- /dev/null
+++ b/categories/game/page/1/index.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/categories/hack/index.html b/categories/hack/index.html
new file mode 100644
index 0000000..8d62784
--- /dev/null
+++ b/categories/hack/index.html
@@ -0,0 +1,175 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Hack - Mil años de solitario
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Catch them all until bored Preface I never imagined that I will truly write something for hacking a game. Though I have to admit that Pokemon Go is a huge heat and different from other games, it still hard to believe that I took movement to make it better(or worse?). I was a big fun of ingress, and thanks to one of my best friends, Kevin, who was also a huge fan to ingress, recommended me this game.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/categories/hack/index.xml b/categories/hack/index.xml
new file mode 100644
index 0000000..2dfd025
--- /dev/null
+++ b/categories/hack/index.xml
@@ -0,0 +1,41 @@
+
+
+
+ Hack on Mil años de solitario
+ https://CoderSherlock.github.io/categories/hack/
+ Recent content in Hack on Mil años de solitario
+ Hugo -- gohugo.io
+ en-us
+ Copyright (c) 2016 - 2016, Pengzhan Hao; all rights reserved.
+ Sat, 30 Jul 2016 18:10:20 -0400
+
+
+
+ Pokemon Go Hack
+ https://codersherlock.github.io/post/Pokemon-Go-Hack/
+ Sat, 30 Jul 2016 18:10:20 -0400
+
+ https://codersherlock.github.io/post/Pokemon-Go-Hack/
+
+
+<h1 id="catch-them-all-until-bored">Catch them all until bored</h1>
+
+<h1 id="preface">Preface</h1>
+
+<p>I never imagined that I will truly write something for hacking a game. Though I have to admit that Pokemon Go is a huge heat and different from other games, it still hard to believe that I took movement to make it better(or worse?). I was a big fun of ingress, and thanks to one of my best friends, Kevin, who was also a huge fan to ingress, recommended me this game. Due to some well known reasons, Ingress didn’t become popular at my country. But time flies, I break through the wall, and come to a free land which can play Niantic’s game. Unfortunately, this time, the only thing restrict me from playing LBS game is limitation of my spare time. Working in the Lab makes me exhausted <strong>EVERYDAY</strong> and the place where I am now is so barren which even doesn’t have much insects and birds(I mean Weedle and Pidgey).
+<em>afk I have to battle a nearby gym now</em>
+Anyway, after coming back, I think I write too much on useless words, so let me keep it straight forward. My imagination of this hacking project is very simple, which is making an auto bot helping me go through all experiences a Pokemon trainer will face. In first stage, my goal is making the bot smartly picking up a route to walk, catch all Pokemons and supply from PokeStops.</p>
+
+<h1 id="todo-list">TODO List</h1>
+
+<p>-[X] Test API
+-[ ] Finish Walk Algorithm
+-[ ] Finish other movement, etc. catch, hatch
+-[ ] Smart Walking route
+-[ ] Pokemon Predict (Thanks to Pokevision’s idea)
+-[ ] Become a Pokemon Master</p>
+
+
+
+
+
diff --git a/categories/hack/page/1/index.html b/categories/hack/page/1/index.html
new file mode 100644
index 0000000..50be232
--- /dev/null
+++ b/categories/hack/page/1/index.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/categories/index.html b/categories/index.html
new file mode 100644
index 0000000..34b3944
--- /dev/null
+++ b/categories/index.html
@@ -0,0 +1,164 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Categories - Mil años de solitario
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
As always, feel free to ask. // Sherlock Motivation I got some issues about compile seafile to android, so instead of doing so, I start to figure out some other synchronize workflow. Rsync is one of the most mature synchronization solution. So I made the decision on planting rsync to android. Pre-work Rsync is a sync program with delta sync feature and based on SSH connection. So all we need to do is SSH support and cross compile tool-chain.
Catch them all until bored Preface I never imagined that I will truly write something for hacking a game. Though I have to admit that Pokemon Go is a huge heat and different from other games, it still hard to believe that I took movement to make it better(or worse?). I was a big fun of ingress, and thanks to one of my best friends, Kevin, who was also a huge fan to ingress, recommended me this game.
Motivation This project is working for delta sync from mobile to server. Currently, there’s no mobile program/solution has supporting to delta sync(Include Dropbox/ Goggle Drive). But the truth is that almost every pc version sync program can work as delta sync properly or not. So in this article, I’ll provide a workbench for cross compilation and evaluation. And finally come up with a reason of how to port better incremental synchronize solution on mobile platform.
-
-
-
- Cross Compile Rsync to ARM platform As always, feel free to ask. // Sherlock Motivation I got some issues about compile seafile to android, so instead of doing so, I start to figure out some other synchronize workflow. Rsync is one of the most mature synchronization solution. So I made the decision on planting rsync to android. Pre-work Rsync is a sync program with delta sync feature and based on SSH connection.
-
-
-
-
-
- Catch them all until bored Preface I never imagined that I will truly write something for hacking a game. Though I have to admit that Pokemon Go is a huge heat and different from other games, it still hard to believe that I took movement to make it better(or worse?). I was a big fun of ingress, and thanks to one of my best friends, Kevin, who was also a huge fan to ingress, recommended me this game.
-
-
-
-
-
- Cross Compile Seafile to ARM platform Motivation This project is working for delta sync from mobile to server. Currently, there’s no mobile program/solution has supporting to delta sync(Include Dropbox/ Goggle Drive). But the truth is that almost every pc version sync program can work as delta sync properly or not. So in this article, I’ll provide a workbench for cross compilation and evaluation. And finally come up with a reason of how to port better incremental synchronize solution on mobile platform.
-
-
+
+
+
+
+
+
+
+
-
+
+
+
diff --git a/index.xml b/index.xml
index 68ab65b..ee2d18b 100644
--- a/index.xml
+++ b/index.xml
@@ -6,23 +6,10 @@
Recent content on Mil años de solitarioHugo -- gohugo.ioen-us
- Tue, 16 Aug 2016 15:04:24 -0400
+ Copyright (c) 2016 - 2016, Pengzhan Hao; all rights reserved.
+ Mon, 15 Aug 2016 15:44:05 -0400
-
- about me
- https://codersherlock.github.io/about/
- Tue, 16 Aug 2016 15:04:24 -0400
-
- https://codersherlock.github.io/about/
- <p>2012 - Coder Sherlock
-2013 - Sherlock Hao
-2015 - Jon Hao</p>
-
-<p><a href="mailto:haopengzhan@gmail.com">Email me</a></p>
-
-
-
Cross Compile RSync ARM
https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/
@@ -31,20 +18,18 @@
https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/
-<h1 id="cross-compile-rsync-to-arm-platform">Cross Compile Rsync to ARM platform</h1>
-
<p>As always, feel free to ask. // Sherlock</p>
-<h2 id="motivation">Motivation</h2>
+<h1 id="motivation">Motivation</h1>
<p>I got some issues about compile seafile to android, so instead of doing so, I start to figure out some other synchronize workflow. <a href="https://rsync.samba.org/">Rsync</a> is one of the most mature synchronization solution. So I made the decision on planting rsync to android.</p>
-<h2 id="pre-work">Pre-work</h2>
+<h1 id="pre-work">Pre-work</h1>
<p>Rsync is a sync program with delta sync feature and based on SSH connection. So all we need to do is SSH support and cross compile tool-chain. Similar to what I mentioned in <a href="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/">previews blog</a>, Android NDK and environment export need to be done before compilation.
To enable normally use of compiled program, we need to make android support SSH. My solution is just install <a href="https://play.google.com/store/apps/details?id=berserker.android.apps.sshdroid&hl=en">SSHDroid</a> from Google Play Store.</p>
-<h2 id="cross-compile-rsync">Cross-Compile Rsync</h2>
+<h1 id="cross-compile-rsync">Cross-Compile Rsync</h1>
<p>Running following script to build rsync. It will generate a executable file named rsync in the root directory.</p>
@@ -52,7 +37,7 @@ To enable normally use of compiled program, we need to make android support SSH.
$ make
</code></pre>
-<h2 id="push-rsync-to-android">Push RSync to Android.</h2>
+<h1 id="push-rsync-to-android">Push RSync to Android.</h1>
<p>After installing SSHDroid, we can now push our arm-version-rsync to target machine.</p>
@@ -63,14 +48,14 @@ $ cd /data/data/berserker.android.apps.sshdroid/dropbear
$ mv ../../../local/tmp/rsync .
</code></pre>
-<h2 id="run-rsync-with-argument">Run Rsync with argument</h2>
+<h1 id="run-rsync-with-argument">Run Rsync with argument</h1>
<p>Now we can easily use rsync in android shell. Similar to what we use on PC.</p>
<pre><code>$ ./rsync -e "./ssh" {target-data} {target-location}:{target-directory}
</code></pre>
-<h2 id="references">References</h2>
+<h1 id="references">References</h1>
<p><a href="http://stackoverflow.com/questions/8130889/build-rsync-for-android">Build Rsync for Android</a></p>
@@ -86,13 +71,13 @@ $ mv ../../../local/tmp/rsync .
<h1 id="catch-them-all-until-bored">Catch them all until bored</h1>
-<h2 id="preface">Preface</h2>
+<h1 id="preface">Preface</h1>
<p>I never imagined that I will truly write something for hacking a game. Though I have to admit that Pokemon Go is a huge heat and different from other games, it still hard to believe that I took movement to make it better(or worse?). I was a big fun of ingress, and thanks to one of my best friends, Kevin, who was also a huge fan to ingress, recommended me this game. Due to some well known reasons, Ingress didn’t become popular at my country. But time flies, I break through the wall, and come to a free land which can play Niantic’s game. Unfortunately, this time, the only thing restrict me from playing LBS game is limitation of my spare time. Working in the Lab makes me exhausted <strong>EVERYDAY</strong> and the place where I am now is so barren which even doesn’t have much insects and birds(I mean Weedle and Pidgey).
<em>afk I have to battle a nearby gym now</em>
Anyway, after coming back, I think I write too much on useless words, so let me keep it straight forward. My imagination of this hacking project is very simple, which is making an auto bot helping me go through all experiences a Pokemon trainer will face. In first stage, my goal is making the bot smartly picking up a route to walk, catch all Pokemons and supply from PokeStops.</p>
-<h2 id="todo-list">TODO List</h2>
+<h1 id="todo-list">TODO List</h1>
<p>-[X] Test API
-[ ] Finish Walk Algorithm
@@ -104,30 +89,28 @@ Anyway, after coming back, I think I write too much on useless words, so let me
- Cross Compile Seafile 2 ARM
+ Cross Compile Seafile to ARM
https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/
Sat, 30 Jul 2016 14:02:34 -0400https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/
-<h1 id="cross-compile-seafile-to-arm-platform">Cross Compile Seafile to ARM platform</h1>
-
-<h2 id="motivation">Motivation</h2>
+<h1 id="motivation">Motivation</h1>
<p>This project is working for delta sync from mobile to server. Currently, there’s no mobile program/solution has supporting to delta sync(Include Dropbox/ Goggle Drive). But the truth is that almost every pc version sync program can work as delta sync properly or not. So in this article, I’ll provide a workbench for cross compilation and evaluation. And finally come up with a reason of how to port better incremental synchronize solution on mobile platform.</p>
-<h2 id="pre-work">Pre-work</h2>
+<h1 id="pre-work">Pre-work</h1>
<p>Basically, I used the native android compilation tool-chains, <a href="https://developer.android.com/ndk/downloads/index.html">Android NDK</a>, as working tools. Due to my working situation, I use a <a href="https://shield.nvidia.com/tablet/k1">Nvidia Shield Tablet</a> as target device. As <em>Zengwen</em> said in his <a href="http://zwyuan.github.io/2016/07/17/cross-compile-glib-for-android/">blog</a>, newest updated NDK might has some issue which can influence compilation progress. So you can find <a href="http://stackoverflow.com/questions/6849981/where-do-i-find-old-versions-of-android-ndk">other version</a> of NDK once you have some problems. Based on what <em>Zengwen’s</em> blog mentioned, we can write following useful system environment and export in terminal.</p>
-<h3 id="prerequisites">Prerequisites</h3>
+<h2 id="prerequisites">Prerequisites</h2>
<pre><code>$ sudo apt-get install build-essential
$ sudo apt-get install pkg-config automake autoconf libtool
</code></pre>
-<h3 id="link-with-standalone-tool-chains">Link with standalone tool-chains</h3>
+<h2 id="link-with-standalone-tool-chains">Link with standalone tool-chains</h2>
<p>In order to build standalone tool-chains, we need first to export following system environment. After doing that, we can use following command to build a standalone tool-chains from downloaded NDK.</p>
@@ -141,7 +124,7 @@ $ sudo apt-get install pkg-config automake autoconf libtool
--platform=android-22
</code></pre>
-<h3 id="original-system-environment-configuration">Original System Environment Configuration</h3>
+<h2 id="original-system-environment-configuration">Original System Environment Configuration</h2>
<p>[TODO]-> I will fix this part later.</p>
@@ -210,35 +193,49 @@ export LIBS="-lc -lstdc++ -ld"
export LDFLAGS="-Wl,-rpath-link=-I${SYSROOT}/usr/lib -L${SYSROOT}/usr/lib -L${PREFIX}/lib -L${NDK_TOOLCHAIN}/lib"
</code></pre>
-<h2 id="compile-process">Compile Process</h2>
+<h1 id="compile-process">Compile Process</h1>
<p>To compile seafile, we should compile ccnet and libsearpc first. As for these two projects, they all have their own dependencies, so we must follow some order to run the compilation.</p>
-<h3 id="libsearpc">libsearpc</h3>
+<h2 id="libsearpc">libsearpc</h2>
-<h4 id="glib">glib</h4>
+<h3 id="glib">glib</h3>
-<h5 id="libiconv">libiconv</h5>
+<h4 id="libiconv">libiconv</h4>
-<h5 id="libffi">libffi</h5>
+<h4 id="libffi">libffi</h4>
-<h5 id="gettext">gettext</h5>
+<h4 id="gettext">gettext</h4>
-<h4 id="libjasson">libjasson</h4>
+<h3 id="libjasson">libjasson</h3>
-<h3 id="ccnet">ccnet</h3>
+<h2 id="ccnet">ccnet</h2>
-<h4 id="libuuid">libuuid</h4>
+<h3 id="libuuid">libuuid</h3>
-<h3 id="seafile">seafile</h3>
+<h2 id="seafile">seafile</h2>
-<h2 id="preferences">Preferences</h2>
+<h1 id="preferences">Preferences</h1>
<ul>
<li><a href="http://zwyuan.github.io/2016/07/17/cross-compile-glib-for-android/">zwyuan</a></li>
</ul>
+
+
+
+
+ about me
+ https://codersherlock.github.io/about/
+ Thu, 26 Aug 1993 08:10:55 -0400
+
+ https://codersherlock.github.io/about/
+ <p>2012 - Coder Sherlock
+2013 - Sherlock Hao
+2015 - Jon Hao</p>
+
+<p><a href="mailto:haopengzhan@gmail.com">Email me</a></p>
-
\ No newline at end of file
+
diff --git a/js/lightbox.min.js b/js/lightbox.min.js
deleted file mode 100644
index 25cf95e..0000000
--- a/js/lightbox.min.js
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * Lightbox v2.7.1
- * by Lokesh Dhakar - http://lokeshdhakar.com/projects/lightbox2/
- *
- * @license http://creativecommons.org/licenses/by/2.5/
- * - Free for use in both personal and commercial projects
- * - Attribution requires leaving author name, author link, and the license info intact
- */
-(function(){var a=jQuery,b=function(){function a(){this.fadeDuration=500,this.fitImagesInViewport=!0,this.resizeDuration=700,this.positionFromTop=50,this.showImageNumberLabel=!0,this.alwaysShowNavOnTouchDevices=!1,this.wrapAround=!1}return a.prototype.albumLabel=function(a,b){return"Image "+a+" of "+b},a}(),c=function(){function b(a){this.options=a,this.album=[],this.currentImageIndex=void 0,this.init()}return b.prototype.init=function(){this.enable(),this.build()},b.prototype.enable=function(){var b=this;a("body").on("click","a[rel^=lightbox], area[rel^=lightbox], a[data-lightbox], area[data-lightbox]",function(c){return b.start(a(c.currentTarget)),!1})},b.prototype.build=function(){var b=this;a("
+ Cross Compile RSync ARM - Mil años de solitario
+
+
-
-
-
-
-
Mil años de solitario
-
A boy who can't step into academia
-
-
-
+
-
-
-
-
-
-
-
-
-
-
+
-
-
+
-
-
-
+
+
+
-
+
+
-
-
-
Cross Compile Rsync to ARM platform
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Cross Compile RSync ARM
+
+
+
+
As always, feel free to ask. // Sherlock
-
Motivation
+
Motivation
I got some issues about compile seafile to android, so instead of doing so, I start to figure out some other synchronize workflow. Rsync is one of the most mature synchronization solution. So I made the decision on planting rsync to android.
-
Pre-work
+
Pre-work
Rsync is a sync program with delta sync feature and based on SSH connection. So all we need to do is SSH support and cross compile tool-chain. Similar to what I mentioned in previews blog, Android NDK and environment export need to be done before compilation.
To enable normally use of compiled program, we need to make android support SSH. My solution is just install SSHDroid from Google Play Store.
-
Cross-Compile Rsync
+
Cross-Compile Rsync
Running following script to build rsync. It will generate a executable file named rsync in the root directory.
@@ -184,7 +117,7 @@ To enable normally use of compiled program, we need to make android support SSH.
$ make
-
Push RSync to Android.
+
Push RSync to Android.
After installing SSHDroid, we can now push our arm-version-rsync to target machine.
This project is working for delta sync from mobile to server. Currently, there’s no mobile program/solution has supporting to delta sync(Include Dropbox/ Goggle Drive). But the truth is that almost every pc version sync program can work as delta sync properly or not. So in this article, I’ll provide a workbench for cross compilation and evaluation. And finally come up with a reason of how to port better incremental synchronize solution on mobile platform.
-
Pre-work
+
Pre-work
Basically, I used the native android compilation tool-chains, Android NDK, as working tools. Due to my working situation, I use a Nvidia Shield Tablet as target device. As Zengwen said in his blog, newest updated NDK might has some issue which can influence compilation progress. So you can find other version of NDK once you have some problems. Based on what Zengwen’s blog mentioned, we can write following useful system environment and export in terminal.
In order to build standalone tool-chains, we need first to export following system environment. After doing that, we can use following command to build a standalone tool-chains from downloaded NDK.
To compile seafile, we should compile ccnet and libsearpc first. As for these two projects, they all have their own dependencies, so we must follow some order to run the compilation.
I never imagined that I will truly write something for hacking a game. Though I have to admit that Pokemon Go is a huge heat and different from other games, it still hard to believe that I took movement to make it better(or worse?). I was a big fun of ingress, and thanks to one of my best friends, Kevin, who was also a huge fan to ingress, recommended me this game. Due to some well known reasons, Ingress didn’t become popular at my country. But time flies, I break through the wall, and come to a free land which can play Niantic’s game. Unfortunately, this time, the only thing restrict me from playing LBS game is limitation of my spare time. Working in the Lab makes me exhausted EVERYDAY and the place where I am now is so barren which even doesn’t have much insects and birds(I mean Weedle and Pidgey).
afk I have to battle a nearby gym now
Anyway, after coming back, I think I write too much on useless words, so let me keep it straight forward. My imagination of this hacking project is very simple, which is making an auto bot helping me go through all experiences a Pokemon trainer will face. In first stage, my goal is making the bot smartly picking up a route to walk, catch all Pokemons and supply from PokeStops.
-
TODO List
+
TODO List
-[X] Test API
-[ ] Finish Walk Algorithm
@@ -176,73 +115,125 @@ Anyway, after coming back, I think I write too much on useless words, so let me
-[ ] Pokemon Predict (Thanks to Pokevision’s idea)
-[ ] Become a Pokemon Master
As always, feel free to ask. // Sherlock Motivation I got some issues about compile seafile to android, so instead of doing so, I start to figure out some other synchronize workflow. Rsync is one of the most mature synchronization solution. So I made the decision on planting rsync to android. Pre-work Rsync is a sync program with delta sync feature and based on SSH connection. So all we need to do is SSH support and cross compile tool-chain.
Catch them all until bored Preface I never imagined that I will truly write something for hacking a game. Though I have to admit that Pokemon Go is a huge heat and different from other games, it still hard to believe that I took movement to make it better(or worse?). I was a big fun of ingress, and thanks to one of my best friends, Kevin, who was also a huge fan to ingress, recommended me this game.
Motivation This project is working for delta sync from mobile to server. Currently, there’s no mobile program/solution has supporting to delta sync(Include Dropbox/ Goggle Drive). But the truth is that almost every pc version sync program can work as delta sync properly or not. So in this article, I’ll provide a workbench for cross compilation and evaluation. And finally come up with a reason of how to port better incremental synchronize solution on mobile platform.
-
-
-
- Cross Compile Rsync to ARM platform As always, feel free to ask. // Sherlock Motivation I got some issues about compile seafile to android, so instead of doing so, I start to figure out some other synchronize workflow. Rsync is one of the most mature synchronization solution. So I made the decision on planting rsync to android. Pre-work Rsync is a sync program with delta sync feature and based on SSH connection.
-
-
-
-
-
- Catch them all until bored Preface I never imagined that I will truly write something for hacking a game. Though I have to admit that Pokemon Go is a huge heat and different from other games, it still hard to believe that I took movement to make it better(or worse?). I was a big fun of ingress, and thanks to one of my best friends, Kevin, who was also a huge fan to ingress, recommended me this game.
-
-
-
-
-
- Cross Compile Seafile to ARM platform Motivation This project is working for delta sync from mobile to server. Currently, there’s no mobile program/solution has supporting to delta sync(Include Dropbox/ Goggle Drive). But the truth is that almost every pc version sync program can work as delta sync properly or not. So in this article, I’ll provide a workbench for cross compilation and evaluation. And finally come up with a reason of how to port better incremental synchronize solution on mobile platform.
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/post/index.xml b/post/index.xml
index dcc0822..1ab442a 100644
--- a/post/index.xml
+++ b/post/index.xml
@@ -6,6 +6,7 @@
Recent content in Posts on Mil años de solitarioHugo -- gohugo.ioen-us
+ Copyright (c) 2016 - 2016, Pengzhan Hao; all rights reserved.Mon, 15 Aug 2016 15:44:05 -0400
@@ -17,20 +18,18 @@
https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/
-<h1 id="cross-compile-rsync-to-arm-platform">Cross Compile Rsync to ARM platform</h1>
-
<p>As always, feel free to ask. // Sherlock</p>
-<h2 id="motivation">Motivation</h2>
+<h1 id="motivation">Motivation</h1>
<p>I got some issues about compile seafile to android, so instead of doing so, I start to figure out some other synchronize workflow. <a href="https://rsync.samba.org/">Rsync</a> is one of the most mature synchronization solution. So I made the decision on planting rsync to android.</p>
-<h2 id="pre-work">Pre-work</h2>
+<h1 id="pre-work">Pre-work</h1>
<p>Rsync is a sync program with delta sync feature and based on SSH connection. So all we need to do is SSH support and cross compile tool-chain. Similar to what I mentioned in <a href="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/">previews blog</a>, Android NDK and environment export need to be done before compilation.
To enable normally use of compiled program, we need to make android support SSH. My solution is just install <a href="https://play.google.com/store/apps/details?id=berserker.android.apps.sshdroid&hl=en">SSHDroid</a> from Google Play Store.</p>
-<h2 id="cross-compile-rsync">Cross-Compile Rsync</h2>
+<h1 id="cross-compile-rsync">Cross-Compile Rsync</h1>
<p>Running following script to build rsync. It will generate a executable file named rsync in the root directory.</p>
@@ -38,7 +37,7 @@ To enable normally use of compiled program, we need to make android support SSH.
$ make
</code></pre>
-<h2 id="push-rsync-to-android">Push RSync to Android.</h2>
+<h1 id="push-rsync-to-android">Push RSync to Android.</h1>
<p>After installing SSHDroid, we can now push our arm-version-rsync to target machine.</p>
@@ -49,14 +48,14 @@ $ cd /data/data/berserker.android.apps.sshdroid/dropbear
$ mv ../../../local/tmp/rsync .
</code></pre>
-<h2 id="run-rsync-with-argument">Run Rsync with argument</h2>
+<h1 id="run-rsync-with-argument">Run Rsync with argument</h1>
<p>Now we can easily use rsync in android shell. Similar to what we use on PC.</p>
<pre><code>$ ./rsync -e "./ssh" {target-data} {target-location}:{target-directory}
</code></pre>
-<h2 id="references">References</h2>
+<h1 id="references">References</h1>
<p><a href="http://stackoverflow.com/questions/8130889/build-rsync-for-android">Build Rsync for Android</a></p>
@@ -72,13 +71,13 @@ $ mv ../../../local/tmp/rsync .
<h1 id="catch-them-all-until-bored">Catch them all until bored</h1>
-<h2 id="preface">Preface</h2>
+<h1 id="preface">Preface</h1>
<p>I never imagined that I will truly write something for hacking a game. Though I have to admit that Pokemon Go is a huge heat and different from other games, it still hard to believe that I took movement to make it better(or worse?). I was a big fun of ingress, and thanks to one of my best friends, Kevin, who was also a huge fan to ingress, recommended me this game. Due to some well known reasons, Ingress didn’t become popular at my country. But time flies, I break through the wall, and come to a free land which can play Niantic’s game. Unfortunately, this time, the only thing restrict me from playing LBS game is limitation of my spare time. Working in the Lab makes me exhausted <strong>EVERYDAY</strong> and the place where I am now is so barren which even doesn’t have much insects and birds(I mean Weedle and Pidgey).
<em>afk I have to battle a nearby gym now</em>
Anyway, after coming back, I think I write too much on useless words, so let me keep it straight forward. My imagination of this hacking project is very simple, which is making an auto bot helping me go through all experiences a Pokemon trainer will face. In first stage, my goal is making the bot smartly picking up a route to walk, catch all Pokemons and supply from PokeStops.</p>
-<h2 id="todo-list">TODO List</h2>
+<h1 id="todo-list">TODO List</h1>
<p>-[X] Test API
-[ ] Finish Walk Algorithm
@@ -90,30 +89,28 @@ Anyway, after coming back, I think I write too much on useless words, so let me
- Cross Compile Seafile 2 ARM
+ Cross Compile Seafile to ARM
https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/
Sat, 30 Jul 2016 14:02:34 -0400https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/
-<h1 id="cross-compile-seafile-to-arm-platform">Cross Compile Seafile to ARM platform</h1>
-
-<h2 id="motivation">Motivation</h2>
+<h1 id="motivation">Motivation</h1>
<p>This project is working for delta sync from mobile to server. Currently, there’s no mobile program/solution has supporting to delta sync(Include Dropbox/ Goggle Drive). But the truth is that almost every pc version sync program can work as delta sync properly or not. So in this article, I’ll provide a workbench for cross compilation and evaluation. And finally come up with a reason of how to port better incremental synchronize solution on mobile platform.</p>
-<h2 id="pre-work">Pre-work</h2>
+<h1 id="pre-work">Pre-work</h1>
<p>Basically, I used the native android compilation tool-chains, <a href="https://developer.android.com/ndk/downloads/index.html">Android NDK</a>, as working tools. Due to my working situation, I use a <a href="https://shield.nvidia.com/tablet/k1">Nvidia Shield Tablet</a> as target device. As <em>Zengwen</em> said in his <a href="http://zwyuan.github.io/2016/07/17/cross-compile-glib-for-android/">blog</a>, newest updated NDK might has some issue which can influence compilation progress. So you can find <a href="http://stackoverflow.com/questions/6849981/where-do-i-find-old-versions-of-android-ndk">other version</a> of NDK once you have some problems. Based on what <em>Zengwen’s</em> blog mentioned, we can write following useful system environment and export in terminal.</p>
-<h3 id="prerequisites">Prerequisites</h3>
+<h2 id="prerequisites">Prerequisites</h2>
<pre><code>$ sudo apt-get install build-essential
$ sudo apt-get install pkg-config automake autoconf libtool
</code></pre>
-<h3 id="link-with-standalone-tool-chains">Link with standalone tool-chains</h3>
+<h2 id="link-with-standalone-tool-chains">Link with standalone tool-chains</h2>
<p>In order to build standalone tool-chains, we need first to export following system environment. After doing that, we can use following command to build a standalone tool-chains from downloaded NDK.</p>
@@ -127,7 +124,7 @@ $ sudo apt-get install pkg-config automake autoconf libtool
--platform=android-22
</code></pre>
-<h3 id="original-system-environment-configuration">Original System Environment Configuration</h3>
+<h2 id="original-system-environment-configuration">Original System Environment Configuration</h2>
<p>[TODO]-> I will fix this part later.</p>
@@ -196,29 +193,29 @@ export LIBS="-lc -lstdc++ -ld"
export LDFLAGS="-Wl,-rpath-link=-I${SYSROOT}/usr/lib -L${SYSROOT}/usr/lib -L${PREFIX}/lib -L${NDK_TOOLCHAIN}/lib"
</code></pre>
-<h2 id="compile-process">Compile Process</h2>
+<h1 id="compile-process">Compile Process</h1>
<p>To compile seafile, we should compile ccnet and libsearpc first. As for these two projects, they all have their own dependencies, so we must follow some order to run the compilation.</p>
-<h3 id="libsearpc">libsearpc</h3>
+<h2 id="libsearpc">libsearpc</h2>
-<h4 id="glib">glib</h4>
+<h3 id="glib">glib</h3>
-<h5 id="libiconv">libiconv</h5>
+<h4 id="libiconv">libiconv</h4>
-<h5 id="libffi">libffi</h5>
+<h4 id="libffi">libffi</h4>
-<h5 id="gettext">gettext</h5>
+<h4 id="gettext">gettext</h4>
-<h4 id="libjasson">libjasson</h4>
+<h3 id="libjasson">libjasson</h3>
-<h3 id="ccnet">ccnet</h3>
+<h2 id="ccnet">ccnet</h2>
-<h4 id="libuuid">libuuid</h4>
+<h3 id="libuuid">libuuid</h3>
-<h3 id="seafile">seafile</h3>
+<h2 id="seafile">seafile</h2>
-<h2 id="preferences">Preferences</h2>
+<h1 id="preferences">Preferences</h1>
<ul>
<li><a href="http://zwyuan.github.io/2016/07/17/cross-compile-glib-for-android/">zwyuan</a></li>
@@ -227,4 +224,4 @@ export LDFLAGS="-Wl,-rpath-link=-I${SYSROOT}/usr/lib -L${SYSROOT}/usr/l
-
\ No newline at end of file
+
diff --git a/post/page/1/index.html b/post/page/1/index.html
new file mode 100644
index 0000000..e6f2b8c
--- /dev/null
+++ b/post/page/1/index.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/sitemap.xml b/sitemap.xml
index c444eef..2dd128a 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -3,12 +3,7 @@
https://codersherlock.github.io/
- 2016-08-16T15:04:24-04:00
-
-
-
- https://codersherlock.github.io/about/
- 2016-08-16T15:04:24-04:00
+ 2016-08-15T15:44:05-04:00
@@ -26,4 +21,9 @@
2016-07-30T14:02:34-04:00
+
+ https://codersherlock.github.io/about/
+ 1993-08-26T08:10:55-04:00
+
+
\ No newline at end of file
diff --git a/tags/android/index.html b/tags/android/index.html
index ffd6a47..1c9509b 100644
--- a/tags/android/index.html
+++ b/tags/android/index.html
@@ -1,201 +1,191 @@
-
-
-
- Android // Mil años de solitario
-
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
As always, feel free to ask. // Sherlock Motivation I got some issues about compile seafile to android, so instead of doing so, I start to figure out some other synchronize workflow. Rsync is one of the most mature synchronization solution. So I made the decision on planting rsync to android. Pre-work Rsync is a sync program with delta sync feature and based on SSH connection. So all we need to do is SSH support and cross compile tool-chain.
Motivation This project is working for delta sync from mobile to server. Currently, there’s no mobile program/solution has supporting to delta sync(Include Dropbox/ Goggle Drive). But the truth is that almost every pc version sync program can work as delta sync properly or not. So in this article, I’ll provide a workbench for cross compilation and evaluation. And finally come up with a reason of how to port better incremental synchronize solution on mobile platform.
-
-
-
- Cross Compile Rsync to ARM platform As always, feel free to ask. // Sherlock Motivation I got some issues about compile seafile to android, so instead of doing so, I start to figure out some other synchronize workflow. Rsync is one of the most mature synchronization solution. So I made the decision on planting rsync to android. Pre-work Rsync is a sync program with delta sync feature and based on SSH connection.
-
-
-
-
-
- Cross Compile Seafile to ARM platform Motivation This project is working for delta sync from mobile to server. Currently, there’s no mobile program/solution has supporting to delta sync(Include Dropbox/ Goggle Drive). But the truth is that almost every pc version sync program can work as delta sync properly or not. So in this article, I’ll provide a workbench for cross compilation and evaluation. And finally come up with a reason of how to port better incremental synchronize solution on mobile platform.
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tags/android/index.xml b/tags/android/index.xml
index 886bf0a..601650c 100644
--- a/tags/android/index.xml
+++ b/tags/android/index.xml
@@ -6,6 +6,7 @@
Recent content in Android on Mil años de solitarioHugo -- gohugo.ioen-us
+ Copyright (c) 2016 - 2016, Pengzhan Hao; all rights reserved.Mon, 15 Aug 2016 15:44:05 -0400
@@ -17,20 +18,18 @@
https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/
-<h1 id="cross-compile-rsync-to-arm-platform">Cross Compile Rsync to ARM platform</h1>
-
<p>As always, feel free to ask. // Sherlock</p>
-<h2 id="motivation">Motivation</h2>
+<h1 id="motivation">Motivation</h1>
<p>I got some issues about compile seafile to android, so instead of doing so, I start to figure out some other synchronize workflow. <a href="https://rsync.samba.org/">Rsync</a> is one of the most mature synchronization solution. So I made the decision on planting rsync to android.</p>
-<h2 id="pre-work">Pre-work</h2>
+<h1 id="pre-work">Pre-work</h1>
<p>Rsync is a sync program with delta sync feature and based on SSH connection. So all we need to do is SSH support and cross compile tool-chain. Similar to what I mentioned in <a href="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/">previews blog</a>, Android NDK and environment export need to be done before compilation.
To enable normally use of compiled program, we need to make android support SSH. My solution is just install <a href="https://play.google.com/store/apps/details?id=berserker.android.apps.sshdroid&hl=en">SSHDroid</a> from Google Play Store.</p>
-<h2 id="cross-compile-rsync">Cross-Compile Rsync</h2>
+<h1 id="cross-compile-rsync">Cross-Compile Rsync</h1>
<p>Running following script to build rsync. It will generate a executable file named rsync in the root directory.</p>
@@ -38,7 +37,7 @@ To enable normally use of compiled program, we need to make android support SSH.
$ make
</code></pre>
-<h2 id="push-rsync-to-android">Push RSync to Android.</h2>
+<h1 id="push-rsync-to-android">Push RSync to Android.</h1>
<p>After installing SSHDroid, we can now push our arm-version-rsync to target machine.</p>
@@ -49,44 +48,42 @@ $ cd /data/data/berserker.android.apps.sshdroid/dropbear
$ mv ../../../local/tmp/rsync .
</code></pre>
-<h2 id="run-rsync-with-argument">Run Rsync with argument</h2>
+<h1 id="run-rsync-with-argument">Run Rsync with argument</h1>
<p>Now we can easily use rsync in android shell. Similar to what we use on PC.</p>
<pre><code>$ ./rsync -e "./ssh" {target-data} {target-location}:{target-directory}
</code></pre>
-<h2 id="references">References</h2>
+<h1 id="references">References</h1>
<p><a href="http://stackoverflow.com/questions/8130889/build-rsync-for-android">Build Rsync for Android</a></p>
- Cross Compile Seafile 2 ARM
+ Cross Compile Seafile to ARM
https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/
Sat, 30 Jul 2016 14:02:34 -0400https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/
-<h1 id="cross-compile-seafile-to-arm-platform">Cross Compile Seafile to ARM platform</h1>
-
-<h2 id="motivation">Motivation</h2>
+<h1 id="motivation">Motivation</h1>
<p>This project is working for delta sync from mobile to server. Currently, there’s no mobile program/solution has supporting to delta sync(Include Dropbox/ Goggle Drive). But the truth is that almost every pc version sync program can work as delta sync properly or not. So in this article, I’ll provide a workbench for cross compilation and evaluation. And finally come up with a reason of how to port better incremental synchronize solution on mobile platform.</p>
-<h2 id="pre-work">Pre-work</h2>
+<h1 id="pre-work">Pre-work</h1>
<p>Basically, I used the native android compilation tool-chains, <a href="https://developer.android.com/ndk/downloads/index.html">Android NDK</a>, as working tools. Due to my working situation, I use a <a href="https://shield.nvidia.com/tablet/k1">Nvidia Shield Tablet</a> as target device. As <em>Zengwen</em> said in his <a href="http://zwyuan.github.io/2016/07/17/cross-compile-glib-for-android/">blog</a>, newest updated NDK might has some issue which can influence compilation progress. So you can find <a href="http://stackoverflow.com/questions/6849981/where-do-i-find-old-versions-of-android-ndk">other version</a> of NDK once you have some problems. Based on what <em>Zengwen’s</em> blog mentioned, we can write following useful system environment and export in terminal.</p>
-<h3 id="prerequisites">Prerequisites</h3>
+<h2 id="prerequisites">Prerequisites</h2>
<pre><code>$ sudo apt-get install build-essential
$ sudo apt-get install pkg-config automake autoconf libtool
</code></pre>
-<h3 id="link-with-standalone-tool-chains">Link with standalone tool-chains</h3>
+<h2 id="link-with-standalone-tool-chains">Link with standalone tool-chains</h2>
<p>In order to build standalone tool-chains, we need first to export following system environment. After doing that, we can use following command to build a standalone tool-chains from downloaded NDK.</p>
@@ -100,7 +97,7 @@ $ sudo apt-get install pkg-config automake autoconf libtool
--platform=android-22
</code></pre>
-<h3 id="original-system-environment-configuration">Original System Environment Configuration</h3>
+<h2 id="original-system-environment-configuration">Original System Environment Configuration</h2>
<p>[TODO]-> I will fix this part later.</p>
@@ -169,29 +166,29 @@ export LIBS="-lc -lstdc++ -ld"
export LDFLAGS="-Wl,-rpath-link=-I${SYSROOT}/usr/lib -L${SYSROOT}/usr/lib -L${PREFIX}/lib -L${NDK_TOOLCHAIN}/lib"
</code></pre>
-<h2 id="compile-process">Compile Process</h2>
+<h1 id="compile-process">Compile Process</h1>
<p>To compile seafile, we should compile ccnet and libsearpc first. As for these two projects, they all have their own dependencies, so we must follow some order to run the compilation.</p>
-<h3 id="libsearpc">libsearpc</h3>
+<h2 id="libsearpc">libsearpc</h2>
-<h4 id="glib">glib</h4>
+<h3 id="glib">glib</h3>
-<h5 id="libiconv">libiconv</h5>
+<h4 id="libiconv">libiconv</h4>
-<h5 id="libffi">libffi</h5>
+<h4 id="libffi">libffi</h4>
-<h5 id="gettext">gettext</h5>
+<h4 id="gettext">gettext</h4>
-<h4 id="libjasson">libjasson</h4>
+<h3 id="libjasson">libjasson</h3>
-<h3 id="ccnet">ccnet</h3>
+<h2 id="ccnet">ccnet</h2>
-<h4 id="libuuid">libuuid</h4>
+<h3 id="libuuid">libuuid</h3>
-<h3 id="seafile">seafile</h3>
+<h2 id="seafile">seafile</h2>
-<h2 id="preferences">Preferences</h2>
+<h1 id="preferences">Preferences</h1>
<ul>
<li><a href="http://zwyuan.github.io/2016/07/17/cross-compile-glib-for-android/">zwyuan</a></li>
@@ -200,4 +197,4 @@ export LDFLAGS="-Wl,-rpath-link=-I${SYSROOT}/usr/lib -L${SYSROOT}/usr/l
-
\ No newline at end of file
+
diff --git a/tags/android/page/1/index.html b/tags/android/page/1/index.html
new file mode 100644
index 0000000..6d4097e
--- /dev/null
+++ b/tags/android/page/1/index.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/tags/arm/index.html b/tags/arm/index.html
index 5f451d6..40e86d9 100644
--- a/tags/arm/index.html
+++ b/tags/arm/index.html
@@ -1,201 +1,191 @@
-
-
-
- Arm // Mil años de solitario
-
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
As always, feel free to ask. // Sherlock Motivation I got some issues about compile seafile to android, so instead of doing so, I start to figure out some other synchronize workflow. Rsync is one of the most mature synchronization solution. So I made the decision on planting rsync to android. Pre-work Rsync is a sync program with delta sync feature and based on SSH connection. So all we need to do is SSH support and cross compile tool-chain.
Motivation This project is working for delta sync from mobile to server. Currently, there’s no mobile program/solution has supporting to delta sync(Include Dropbox/ Goggle Drive). But the truth is that almost every pc version sync program can work as delta sync properly or not. So in this article, I’ll provide a workbench for cross compilation and evaluation. And finally come up with a reason of how to port better incremental synchronize solution on mobile platform.
-
-
-
- Cross Compile Rsync to ARM platform As always, feel free to ask. // Sherlock Motivation I got some issues about compile seafile to android, so instead of doing so, I start to figure out some other synchronize workflow. Rsync is one of the most mature synchronization solution. So I made the decision on planting rsync to android. Pre-work Rsync is a sync program with delta sync feature and based on SSH connection.
-
-
-
-
-
- Cross Compile Seafile to ARM platform Motivation This project is working for delta sync from mobile to server. Currently, there’s no mobile program/solution has supporting to delta sync(Include Dropbox/ Goggle Drive). But the truth is that almost every pc version sync program can work as delta sync properly or not. So in this article, I’ll provide a workbench for cross compilation and evaluation. And finally come up with a reason of how to port better incremental synchronize solution on mobile platform.
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tags/arm/index.xml b/tags/arm/index.xml
index bf19232..6e018d9 100644
--- a/tags/arm/index.xml
+++ b/tags/arm/index.xml
@@ -6,6 +6,7 @@
Recent content in Arm on Mil años de solitarioHugo -- gohugo.ioen-us
+ Copyright (c) 2016 - 2016, Pengzhan Hao; all rights reserved.Mon, 15 Aug 2016 15:44:05 -0400
@@ -17,20 +18,18 @@
https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/
-<h1 id="cross-compile-rsync-to-arm-platform">Cross Compile Rsync to ARM platform</h1>
-
<p>As always, feel free to ask. // Sherlock</p>
-<h2 id="motivation">Motivation</h2>
+<h1 id="motivation">Motivation</h1>
<p>I got some issues about compile seafile to android, so instead of doing so, I start to figure out some other synchronize workflow. <a href="https://rsync.samba.org/">Rsync</a> is one of the most mature synchronization solution. So I made the decision on planting rsync to android.</p>
-<h2 id="pre-work">Pre-work</h2>
+<h1 id="pre-work">Pre-work</h1>
<p>Rsync is a sync program with delta sync feature and based on SSH connection. So all we need to do is SSH support and cross compile tool-chain. Similar to what I mentioned in <a href="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/">previews blog</a>, Android NDK and environment export need to be done before compilation.
To enable normally use of compiled program, we need to make android support SSH. My solution is just install <a href="https://play.google.com/store/apps/details?id=berserker.android.apps.sshdroid&hl=en">SSHDroid</a> from Google Play Store.</p>
-<h2 id="cross-compile-rsync">Cross-Compile Rsync</h2>
+<h1 id="cross-compile-rsync">Cross-Compile Rsync</h1>
<p>Running following script to build rsync. It will generate a executable file named rsync in the root directory.</p>
@@ -38,7 +37,7 @@ To enable normally use of compiled program, we need to make android support SSH.
$ make
</code></pre>
-<h2 id="push-rsync-to-android">Push RSync to Android.</h2>
+<h1 id="push-rsync-to-android">Push RSync to Android.</h1>
<p>After installing SSHDroid, we can now push our arm-version-rsync to target machine.</p>
@@ -49,44 +48,42 @@ $ cd /data/data/berserker.android.apps.sshdroid/dropbear
$ mv ../../../local/tmp/rsync .
</code></pre>
-<h2 id="run-rsync-with-argument">Run Rsync with argument</h2>
+<h1 id="run-rsync-with-argument">Run Rsync with argument</h1>
<p>Now we can easily use rsync in android shell. Similar to what we use on PC.</p>
<pre><code>$ ./rsync -e "./ssh" {target-data} {target-location}:{target-directory}
</code></pre>
-<h2 id="references">References</h2>
+<h1 id="references">References</h1>
<p><a href="http://stackoverflow.com/questions/8130889/build-rsync-for-android">Build Rsync for Android</a></p>
- Cross Compile Seafile 2 ARM
+ Cross Compile Seafile to ARM
https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/
Sat, 30 Jul 2016 14:02:34 -0400https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/
-<h1 id="cross-compile-seafile-to-arm-platform">Cross Compile Seafile to ARM platform</h1>
-
-<h2 id="motivation">Motivation</h2>
+<h1 id="motivation">Motivation</h1>
<p>This project is working for delta sync from mobile to server. Currently, there’s no mobile program/solution has supporting to delta sync(Include Dropbox/ Goggle Drive). But the truth is that almost every pc version sync program can work as delta sync properly or not. So in this article, I’ll provide a workbench for cross compilation and evaluation. And finally come up with a reason of how to port better incremental synchronize solution on mobile platform.</p>
-<h2 id="pre-work">Pre-work</h2>
+<h1 id="pre-work">Pre-work</h1>
<p>Basically, I used the native android compilation tool-chains, <a href="https://developer.android.com/ndk/downloads/index.html">Android NDK</a>, as working tools. Due to my working situation, I use a <a href="https://shield.nvidia.com/tablet/k1">Nvidia Shield Tablet</a> as target device. As <em>Zengwen</em> said in his <a href="http://zwyuan.github.io/2016/07/17/cross-compile-glib-for-android/">blog</a>, newest updated NDK might has some issue which can influence compilation progress. So you can find <a href="http://stackoverflow.com/questions/6849981/where-do-i-find-old-versions-of-android-ndk">other version</a> of NDK once you have some problems. Based on what <em>Zengwen’s</em> blog mentioned, we can write following useful system environment and export in terminal.</p>
-<h3 id="prerequisites">Prerequisites</h3>
+<h2 id="prerequisites">Prerequisites</h2>
<pre><code>$ sudo apt-get install build-essential
$ sudo apt-get install pkg-config automake autoconf libtool
</code></pre>
-<h3 id="link-with-standalone-tool-chains">Link with standalone tool-chains</h3>
+<h2 id="link-with-standalone-tool-chains">Link with standalone tool-chains</h2>
<p>In order to build standalone tool-chains, we need first to export following system environment. After doing that, we can use following command to build a standalone tool-chains from downloaded NDK.</p>
@@ -100,7 +97,7 @@ $ sudo apt-get install pkg-config automake autoconf libtool
--platform=android-22
</code></pre>
-<h3 id="original-system-environment-configuration">Original System Environment Configuration</h3>
+<h2 id="original-system-environment-configuration">Original System Environment Configuration</h2>
<p>[TODO]-> I will fix this part later.</p>
@@ -169,29 +166,29 @@ export LIBS="-lc -lstdc++ -ld"
export LDFLAGS="-Wl,-rpath-link=-I${SYSROOT}/usr/lib -L${SYSROOT}/usr/lib -L${PREFIX}/lib -L${NDK_TOOLCHAIN}/lib"
</code></pre>
-<h2 id="compile-process">Compile Process</h2>
+<h1 id="compile-process">Compile Process</h1>
<p>To compile seafile, we should compile ccnet and libsearpc first. As for these two projects, they all have their own dependencies, so we must follow some order to run the compilation.</p>
-<h3 id="libsearpc">libsearpc</h3>
+<h2 id="libsearpc">libsearpc</h2>
-<h4 id="glib">glib</h4>
+<h3 id="glib">glib</h3>
-<h5 id="libiconv">libiconv</h5>
+<h4 id="libiconv">libiconv</h4>
-<h5 id="libffi">libffi</h5>
+<h4 id="libffi">libffi</h4>
-<h5 id="gettext">gettext</h5>
+<h4 id="gettext">gettext</h4>
-<h4 id="libjasson">libjasson</h4>
+<h3 id="libjasson">libjasson</h3>
-<h3 id="ccnet">ccnet</h3>
+<h2 id="ccnet">ccnet</h2>
-<h4 id="libuuid">libuuid</h4>
+<h3 id="libuuid">libuuid</h3>
-<h3 id="seafile">seafile</h3>
+<h2 id="seafile">seafile</h2>
-<h2 id="preferences">Preferences</h2>
+<h1 id="preferences">Preferences</h1>
<ul>
<li><a href="http://zwyuan.github.io/2016/07/17/cross-compile-glib-for-android/">zwyuan</a></li>
@@ -200,4 +197,4 @@ export LDFLAGS="-Wl,-rpath-link=-I${SYSROOT}/usr/lib -L${SYSROOT}/usr/l
-
\ No newline at end of file
+
diff --git a/tags/arm/page/1/index.html b/tags/arm/page/1/index.html
new file mode 100644
index 0000000..ccaec3d
--- /dev/null
+++ b/tags/arm/page/1/index.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/tags/game/index.html b/tags/game/index.html
new file mode 100644
index 0000000..39c8752
--- /dev/null
+++ b/tags/game/index.html
@@ -0,0 +1,175 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Game - Mil años de solitario
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Catch them all until bored Preface I never imagined that I will truly write something for hacking a game. Though I have to admit that Pokemon Go is a huge heat and different from other games, it still hard to believe that I took movement to make it better(or worse?). I was a big fun of ingress, and thanks to one of my best friends, Kevin, who was also a huge fan to ingress, recommended me this game.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tags/game/index.xml b/tags/game/index.xml
new file mode 100644
index 0000000..4c09a25
--- /dev/null
+++ b/tags/game/index.xml
@@ -0,0 +1,41 @@
+
+
+
+ Game on Mil años de solitario
+ https://CoderSherlock.github.io/tags/game/
+ Recent content in Game on Mil años de solitario
+ Hugo -- gohugo.io
+ en-us
+ Copyright (c) 2016 - 2016, Pengzhan Hao; all rights reserved.
+ Sat, 30 Jul 2016 18:10:20 -0400
+
+
+
+ Pokemon Go Hack
+ https://codersherlock.github.io/post/Pokemon-Go-Hack/
+ Sat, 30 Jul 2016 18:10:20 -0400
+
+ https://codersherlock.github.io/post/Pokemon-Go-Hack/
+
+
+<h1 id="catch-them-all-until-bored">Catch them all until bored</h1>
+
+<h1 id="preface">Preface</h1>
+
+<p>I never imagined that I will truly write something for hacking a game. Though I have to admit that Pokemon Go is a huge heat and different from other games, it still hard to believe that I took movement to make it better(or worse?). I was a big fun of ingress, and thanks to one of my best friends, Kevin, who was also a huge fan to ingress, recommended me this game. Due to some well known reasons, Ingress didn’t become popular at my country. But time flies, I break through the wall, and come to a free land which can play Niantic’s game. Unfortunately, this time, the only thing restrict me from playing LBS game is limitation of my spare time. Working in the Lab makes me exhausted <strong>EVERYDAY</strong> and the place where I am now is so barren which even doesn’t have much insects and birds(I mean Weedle and Pidgey).
+<em>afk I have to battle a nearby gym now</em>
+Anyway, after coming back, I think I write too much on useless words, so let me keep it straight forward. My imagination of this hacking project is very simple, which is making an auto bot helping me go through all experiences a Pokemon trainer will face. In first stage, my goal is making the bot smartly picking up a route to walk, catch all Pokemons and supply from PokeStops.</p>
+
+<h1 id="todo-list">TODO List</h1>
+
+<p>-[X] Test API
+-[ ] Finish Walk Algorithm
+-[ ] Finish other movement, etc. catch, hatch
+-[ ] Smart Walking route
+-[ ] Pokemon Predict (Thanks to Pokevision’s idea)
+-[ ] Become a Pokemon Master</p>
+
+
+
+
+
diff --git a/tags/game/page/1/index.html b/tags/game/page/1/index.html
new file mode 100644
index 0000000..d11c831
--- /dev/null
+++ b/tags/game/page/1/index.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/tags/github/index.html b/tags/github/index.html
index b50874d..7a59986 100644
--- a/tags/github/index.html
+++ b/tags/github/index.html
@@ -1,165 +1,175 @@
-
-
-
- Github // Mil años de solitario
-
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Catch them all until bored Preface I never imagined that I will truly write something for hacking a game. Though I have to admit that Pokemon Go is a huge heat and different from other games, it still hard to believe that I took movement to make it better(or worse?). I was a big fun of ingress, and thanks to one of my best friends, Kevin, who was also a huge fan to ingress, recommended me this game.
-
-
Catch them all until bored Preface I never imagined that I will truly write something for hacking a game. Though I have to admit that Pokemon Go is a huge heat and different from other games, it still hard to believe that I took movement to make it better(or worse?). I was a big fun of ingress, and thanks to one of my best friends, Kevin, who was also a huge fan to ingress, recommended me this game.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tags/github/index.xml b/tags/github/index.xml
index 9a7c8c5..e11dc54 100644
--- a/tags/github/index.xml
+++ b/tags/github/index.xml
@@ -6,6 +6,7 @@
Recent content in Github on Mil años de solitarioHugo -- gohugo.ioen-us
+ Copyright (c) 2016 - 2016, Pengzhan Hao; all rights reserved.Sat, 30 Jul 2016 18:10:20 -0400
@@ -19,13 +20,13 @@
<h1 id="catch-them-all-until-bored">Catch them all until bored</h1>
-<h2 id="preface">Preface</h2>
+<h1 id="preface">Preface</h1>
<p>I never imagined that I will truly write something for hacking a game. Though I have to admit that Pokemon Go is a huge heat and different from other games, it still hard to believe that I took movement to make it better(or worse?). I was a big fun of ingress, and thanks to one of my best friends, Kevin, who was also a huge fan to ingress, recommended me this game. Due to some well known reasons, Ingress didn’t become popular at my country. But time flies, I break through the wall, and come to a free land which can play Niantic’s game. Unfortunately, this time, the only thing restrict me from playing LBS game is limitation of my spare time. Working in the Lab makes me exhausted <strong>EVERYDAY</strong> and the place where I am now is so barren which even doesn’t have much insects and birds(I mean Weedle and Pidgey).
<em>afk I have to battle a nearby gym now</em>
Anyway, after coming back, I think I write too much on useless words, so let me keep it straight forward. My imagination of this hacking project is very simple, which is making an auto bot helping me go through all experiences a Pokemon trainer will face. In first stage, my goal is making the bot smartly picking up a route to walk, catch all Pokemons and supply from PokeStops.</p>
-<h2 id="todo-list">TODO List</h2>
+<h1 id="todo-list">TODO List</h1>
<p>-[X] Test API
-[ ] Finish Walk Algorithm
@@ -37,4 +38,4 @@ Anyway, after coming back, I think I write too much on useless words, so let me
-
\ No newline at end of file
+
diff --git a/tags/github/page/1/index.html b/tags/github/page/1/index.html
new file mode 100644
index 0000000..aaf507f
--- /dev/null
+++ b/tags/github/page/1/index.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/tags/hack/index.html b/tags/hack/index.html
index e98db24..fcd9b55 100644
--- a/tags/hack/index.html
+++ b/tags/hack/index.html
@@ -1,165 +1,175 @@
-
-
-
- Hack // Mil años de solitario
-
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Catch them all until bored Preface I never imagined that I will truly write something for hacking a game. Though I have to admit that Pokemon Go is a huge heat and different from other games, it still hard to believe that I took movement to make it better(or worse?). I was a big fun of ingress, and thanks to one of my best friends, Kevin, who was also a huge fan to ingress, recommended me this game.
-
-
Catch them all until bored Preface I never imagined that I will truly write something for hacking a game. Though I have to admit that Pokemon Go is a huge heat and different from other games, it still hard to believe that I took movement to make it better(or worse?). I was a big fun of ingress, and thanks to one of my best friends, Kevin, who was also a huge fan to ingress, recommended me this game.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tags/hack/index.xml b/tags/hack/index.xml
index 1a2c111..3d88415 100644
--- a/tags/hack/index.xml
+++ b/tags/hack/index.xml
@@ -6,6 +6,7 @@
Recent content in Hack on Mil años de solitarioHugo -- gohugo.ioen-us
+ Copyright (c) 2016 - 2016, Pengzhan Hao; all rights reserved.Sat, 30 Jul 2016 18:10:20 -0400
@@ -19,13 +20,13 @@
<h1 id="catch-them-all-until-bored">Catch them all until bored</h1>
-<h2 id="preface">Preface</h2>
+<h1 id="preface">Preface</h1>
<p>I never imagined that I will truly write something for hacking a game. Though I have to admit that Pokemon Go is a huge heat and different from other games, it still hard to believe that I took movement to make it better(or worse?). I was a big fun of ingress, and thanks to one of my best friends, Kevin, who was also a huge fan to ingress, recommended me this game. Due to some well known reasons, Ingress didn’t become popular at my country. But time flies, I break through the wall, and come to a free land which can play Niantic’s game. Unfortunately, this time, the only thing restrict me from playing LBS game is limitation of my spare time. Working in the Lab makes me exhausted <strong>EVERYDAY</strong> and the place where I am now is so barren which even doesn’t have much insects and birds(I mean Weedle and Pidgey).
<em>afk I have to battle a nearby gym now</em>
Anyway, after coming back, I think I write too much on useless words, so let me keep it straight forward. My imagination of this hacking project is very simple, which is making an auto bot helping me go through all experiences a Pokemon trainer will face. In first stage, my goal is making the bot smartly picking up a route to walk, catch all Pokemons and supply from PokeStops.</p>
-<h2 id="todo-list">TODO List</h2>
+<h1 id="todo-list">TODO List</h1>
<p>-[X] Test API
-[ ] Finish Walk Algorithm
@@ -37,4 +38,4 @@ Anyway, after coming back, I think I write too much on useless words, so let me
-
\ No newline at end of file
+
diff --git a/tags/hack/page/1/index.html b/tags/hack/page/1/index.html
new file mode 100644
index 0000000..9bd7a4f
--- /dev/null
+++ b/tags/hack/page/1/index.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/tags/index.html b/tags/index.html
new file mode 100644
index 0000000..b6c76d7
--- /dev/null
+++ b/tags/index.html
@@ -0,0 +1,170 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Tags - Mil años de solitario
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
As always, feel free to ask. // Sherlock Motivation I got some issues about compile seafile to android, so instead of doing so, I start to figure out some other synchronize workflow. Rsync is one of the most mature synchronization solution. So I made the decision on planting rsync to android. Pre-work Rsync is a sync program with delta sync feature and based on SSH connection. So all we need to do is SSH support and cross compile tool-chain.
Motivation This project is working for delta sync from mobile to server. Currently, there’s no mobile program/solution has supporting to delta sync(Include Dropbox/ Goggle Drive). But the truth is that almost every pc version sync program can work as delta sync properly or not. So in this article, I’ll provide a workbench for cross compilation and evaluation. And finally come up with a reason of how to port better incremental synchronize solution on mobile platform.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tags/research/index.xml b/tags/research/index.xml
new file mode 100644
index 0000000..a98f657
--- /dev/null
+++ b/tags/research/index.xml
@@ -0,0 +1,200 @@
+
+
+
+ Research on Mil años de solitario
+ https://CoderSherlock.github.io/tags/research/
+ Recent content in Research on Mil años de solitario
+ Hugo -- gohugo.io
+ en-us
+ Copyright (c) 2016 - 2016, Pengzhan Hao; all rights reserved.
+ Mon, 15 Aug 2016 15:44:05 -0400
+
+
+
+ Cross Compile RSync ARM
+ https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/
+ Mon, 15 Aug 2016 15:44:05 -0400
+
+ https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/
+
+
+<p>As always, feel free to ask. // Sherlock</p>
+
+<h1 id="motivation">Motivation</h1>
+
+<p>I got some issues about compile seafile to android, so instead of doing so, I start to figure out some other synchronize workflow. <a href="https://rsync.samba.org/">Rsync</a> is one of the most mature synchronization solution. So I made the decision on planting rsync to android.</p>
+
+<h1 id="pre-work">Pre-work</h1>
+
+<p>Rsync is a sync program with delta sync feature and based on SSH connection. So all we need to do is SSH support and cross compile tool-chain. Similar to what I mentioned in <a href="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/">previews blog</a>, Android NDK and environment export need to be done before compilation.
+To enable normally use of compiled program, we need to make android support SSH. My solution is just install <a href="https://play.google.com/store/apps/details?id=berserker.android.apps.sshdroid&hl=en">SSHDroid</a> from Google Play Store.</p>
+
+<h1 id="cross-compile-rsync">Cross-Compile Rsync</h1>
+
+<p>Running following script to build rsync. It will generate a executable file named rsync in the root directory.</p>
+
+<pre><code>$ ./configure --build=${BUILD_SYS} --host=${TOOLCHAIN}
+$ make
+</code></pre>
+
+<h1 id="push-rsync-to-android">Push RSync to Android.</h1>
+
+<p>After installing SSHDroid, we can now push our arm-version-rsync to target machine.</p>
+
+<pre><code>$ adb push rsync /data/local/tmp
+$ adb shell
+
+$ cd /data/data/berserker.android.apps.sshdroid/dropbear
+$ mv ../../../local/tmp/rsync .
+</code></pre>
+
+<h1 id="run-rsync-with-argument">Run Rsync with argument</h1>
+
+<p>Now we can easily use rsync in android shell. Similar to what we use on PC.</p>
+
+<pre><code>$ ./rsync -e "./ssh" {target-data} {target-location}:{target-directory}
+</code></pre>
+
+<h1 id="references">References</h1>
+
+<p><a href="http://stackoverflow.com/questions/8130889/build-rsync-for-android">Build Rsync for Android</a></p>
+
+
+
+
+ Cross Compile Seafile to ARM
+ https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/
+ Sat, 30 Jul 2016 14:02:34 -0400
+
+ https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/
+
+
+<h1 id="motivation">Motivation</h1>
+
+<p>This project is working for delta sync from mobile to server. Currently, there’s no mobile program/solution has supporting to delta sync(Include Dropbox/ Goggle Drive). But the truth is that almost every pc version sync program can work as delta sync properly or not. So in this article, I’ll provide a workbench for cross compilation and evaluation. And finally come up with a reason of how to port better incremental synchronize solution on mobile platform.</p>
+
+<h1 id="pre-work">Pre-work</h1>
+
+<p>Basically, I used the native android compilation tool-chains, <a href="https://developer.android.com/ndk/downloads/index.html">Android NDK</a>, as working tools. Due to my working situation, I use a <a href="https://shield.nvidia.com/tablet/k1">Nvidia Shield Tablet</a> as target device. As <em>Zengwen</em> said in his <a href="http://zwyuan.github.io/2016/07/17/cross-compile-glib-for-android/">blog</a>, newest updated NDK might has some issue which can influence compilation progress. So you can find <a href="http://stackoverflow.com/questions/6849981/where-do-i-find-old-versions-of-android-ndk">other version</a> of NDK once you have some problems. Based on what <em>Zengwen’s</em> blog mentioned, we can write following useful system environment and export in terminal.</p>
+
+<h2 id="prerequisites">Prerequisites</h2>
+
+<pre><code>$ sudo apt-get install build-essential
+$ sudo apt-get install pkg-config automake autoconf libtool
+</code></pre>
+
+<h2 id="link-with-standalone-tool-chains">Link with standalone tool-chains</h2>
+
+<p>In order to build standalone tool-chains, we need first to export following system environment. After doing that, we can use following command to build a standalone tool-chains from downloaded NDK.</p>
+
+<pre><code>$ ${NDK}/build/tools/make-standalone-toolchain.sh \
+ --toolchain=arm-linux-androideabi-4.9 \
+ --stl=gnustl \
+ --arch=arm \
+ --ndk-dir=/home/moslab/Android/android-ndk-r12b \
+ --package-dir=/home/moslab/Android \
+ --install-dir=/home/moslab/Android/android-ndk-toolchain \
+ --platform=android-22
+</code></pre>
+
+<h2 id="original-system-environment-configuration">Original System Environment Configuration</h2>
+
+<p>[TODO]-> I will fix this part later.</p>
+
+<pre><code># Android NDK sources and standalone toolchain is put here
+export DEV=~/Android/
+
+# All the built binaries, libs and their header will be installed here
+export PREFIX=/opt/android
+
+# Don't mix up .pc files from your host and build target
+export PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig
+
+# GCC for Android version to use
+# 4.9 is the only available version since NDK r11!
+export GCC_VER=4.9
+
+# The building system we are using (Linux x86_64)
+export BUILD_SYS=x86_64-linux-gnu
+
+# Set Android target API level
+export ANDROID_API=22
+
+# Set Android target arch
+export ANDROID_ARCH=arm
+
+# Set Android target name, according to Table 2 in
+# https://developer.android.com/ndk/guides/standalone_toolchain.html
+export ANDROID_TARGET=armv7-none-linux-androideabi
+
+# The cross-compile toolchain we use
+export TOOLCHAIN=arm-linux-androideabi
+
+# This is a symlink pointing to the real Android NDK r12b
+export NDK=${DEV}/android-ndk
+
+# The path of standalone NDK toolchain
+# Refer to https://developer.android.com/ndk/guides/standalone_toolchain.html
+export NDK_TOOLCHAIN=${DEV}/android-ndk-toolchain
+
+# this one is the absolute, prebuilt path
+export SYSROOT=${NDK}/platforms/android-${ANDROID_API}/arch-${ANDROID_ARCH}
+
+# this one is the absolute, prebuilt path
+export CROSS_PREFIX=${NDK}/toolchains/${TOOLCHAIN}-${GCC_VER}/prebuilt/linux-x86_64/bin/${TOOLCHAIN}
+
+# Non-exhaustive lists of compiler + binutils
+export AR=${CROSS_PREFIX}-ar
+export AS=${CROSS_PREFIX}-as
+export LD=${CROSS_PREFIX}-ld
+export NM=${CROSS_PREFIX}-nm
+export CC=${CROSS_PREFIX}-gcc
+export CXX=${CROSS_PREFIX}-g++
+export CPP=${CROSS_PREFIX}-cpp
+export CXXCPP=${CROSS_PREFIX}-cpp
+export STRIP=${CROSS_PREFIX}-strip
+export RANLIB=${CROSS_PREFIX}-ranlib
+export STRINGS=${CROSS_PREFIX}-strings
+
+# Set build flags
+# Refer to https://developer.android.com/ndk/guides/standalone_toolchain.html
+export PATH=$PATH:${PREFIX}/bin:${PREFIX}/lib
+export CFLAGS="--sysroot=${SYSROOT} -I${SYSROOT}/usr/include -I${PREFIX}/include -fPIE -DANDROID -Wno-multichar"
+export CXXFLAGS=${CFLAGS}
+export CPPFLAGS="--sysroot=${SYSROOT} -I${SYSROOT}/usr/include -I${NDK_TOOLCHAIN}/include/c++/ -DANDROID -DNO_XMALLOC -mandroid"
+export LIBS="-lc -lstdc++ -ld"
+export LDFLAGS="-Wl,-rpath-link=-I${SYSROOT}/usr/lib -L${SYSROOT}/usr/lib -L${PREFIX}/lib -L${NDK_TOOLCHAIN}/lib"
+</code></pre>
+
+<h1 id="compile-process">Compile Process</h1>
+
+<p>To compile seafile, we should compile ccnet and libsearpc first. As for these two projects, they all have their own dependencies, so we must follow some order to run the compilation.</p>
+
+<h2 id="libsearpc">libsearpc</h2>
+
+<h3 id="glib">glib</h3>
+
+<h4 id="libiconv">libiconv</h4>
+
+<h4 id="libffi">libffi</h4>
+
+<h4 id="gettext">gettext</h4>
+
+<h3 id="libjasson">libjasson</h3>
+
+<h2 id="ccnet">ccnet</h2>
+
+<h3 id="libuuid">libuuid</h3>
+
+<h2 id="seafile">seafile</h2>
+
+<h1 id="preferences">Preferences</h1>
+
+<ul>
+<li><a href="http://zwyuan.github.io/2016/07/17/cross-compile-glib-for-android/">zwyuan</a></li>
+</ul>
+
+
+
+
+
diff --git a/tags/research/page/1/index.html b/tags/research/page/1/index.html
new file mode 100644
index 0000000..b72945c
--- /dev/null
+++ b/tags/research/page/1/index.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/touch-icon-144-precomposed.png b/touch-icon-144-precomposed.png
deleted file mode 100644
index 19323de..0000000
Binary files a/touch-icon-144-precomposed.png and /dev/null differ