Waste_Whole_Afternoon_on_Blog

This commit is contained in:
2016-08-16 20:56:09 -04:00
parent f87e2b4148
commit 969ca7d98a
57 changed files with 3828 additions and 3289 deletions
+192 -168
View File
@@ -1,202 +1,226 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
<head>
<title>
about me // Mil años de solitario
</title>
<html>
<head>
<meta charset="utf-8">
<meta name="generator" content="Hugo 0.16" />
<link href="http://gmpg.org/xfn/11" rel="profile">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="author" content="">
<meta name="generator" content="Hugo 0.16" />
<meta property="og:title" content="about me" />
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:locale" content="en_US" />
<meta property="og:url" content="https://codersherlock.github.io/about/" />
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.5.0/base-min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.5.0/pure-min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.5.0/grids-responsive-min.css">
<link rel="stylesheet" href="https://codersherlock.github.io//css/redlounge.css">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" rel="stylesheet">
<link href='//fonts.googleapis.com/css?family=Raleway:400,200,100,700,300,500,600,800' rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Libre+Baskerville:400,700,400italic' rel='stylesheet' type='text/css'>
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/touch-icon-144-precomposed.png">
<link rel="shortcut icon" href="/favicon.png">
<link href="" rel="alternate" type="application/rss+xml" title="Mil años de solitario" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<link rel='stylesheet' href='//fonts.googleapis.com/css?family=Open+Sans|Marcellus+SC'>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/styles/solarized_dark.min.css">
<link rel="stylesheet" href="https://codersherlock.github.io/css/styles.css">
<link rel="stylesheet" href="https://codersherlock.github.io/css/custom.css">
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://codersherlock.github.io//index.xml">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.7/styles/tomorrow-night-bright.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.7/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body>
<div id="layout" class="pure-g">
<div class="sidebar pure-u-1 pure-u-md-1-4">
<div class="header">
<title>about me - Mil años de solitario</title>
<meta property='og:title' content="about me - Mil años de solitario">
<meta property="og:type" content="article">
<img src="/images/photo.png" class="sidebarphoto">
<h1 class="brand-title">Mil años de solitario</h1>
<h2 class="brand-tagline">A boy who can&#39;t step into academia</h2>
<nav class="nav">
<ul class="nav-list">
<li class="nav-item"><span class="nav-item-separator">//</span><a href="https://codersherlock.github.io/">Home</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/about">About</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/bio">Biography</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/post">Blog</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/about/">about me</a></li>
</ul>
</nav>
<meta property="og:url" content="https://codersherlock.github.io/about/">
<div class="social-buttons">
<a href="http://github.com/CoderSherlcok" target="_blank"><i class='fa fa-github'></i></a>
</div>
</div>
</div>
</head>
<body>
<div class="content pure-u-1 pure-u-md-3-4">
<a name="top"></a>
<header class="site">
<nav class="navbar navbar-default">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="https://codersherlock.github.io/">Mil años de solitario</a>
</div>
<section class="post">
<h1 class="post-title">
<a href="/about/">about me</a>
</h1>
<h3 class="post-subtitle">
</h3>
<div id="navbar" class="collapse navbar-collapse">
<span class="post-date">
<span class="post-date-day"><sup>16</sup></span><span class="post-date-separator">/</span><span class="post-date-month">Aug</span> <span class="post-date-year">2016</span>
</span>
<ul class="nav navbar-nav navbar-right">
<li><a href="https://CoderSherlock.github.io/about/">about me</a></li>
</ul>
</div>
</div>
</nav>
</header>
<div class="site">
<div class="container">
<p>2012 - Coder Sherlock
<div class="single">
<div class="row">
<div class="col-md-8">
<article class="single" itemscope="itemscope" itemtype="http://schema.org/Article">
<meta itemprop="mainEntityOfPage" itemType="https://schema.org/WebPage" content="https://codersherlock.github.io/"/>
<meta itemprop="dateModified" content="1993-08-26T08:10:55-04:00">
<meta itemprop="headline" content="about me">
<meta itemprop="description" content="2012 - Coder Sherlock 2013 - Sherlock Hao 2015 - Jon Hao Email me">
<meta itemprop="url" content="https://codersherlock.github.io/about/">
<div itemprop="image" itemscope itemtype="https://schema.org/ImageObject">
<meta itemprop="url" content="https://codersherlock.github.io/images/default.jpg" />
<meta itemprop="width" content="800">
<meta itemprop="height" content="800">
</div>
<div itemprop="publisher" itemscope itemtype="https://schema.org/Organization">
<div itemprop="logo" itemscope itemtype="https://schema.org/ImageObject">
<meta itemprop="url" content="https://codersherlock.github.io/images/logo.jpg">
<meta itemprop="width" content="100">
<meta itemprop="height" content="100">
</div>
<meta itemprop="name" content="Mil años de solitario">
</div>
<div itemprop="author" itemscope itemtype="https://schema.org/Person">
<meta itemprop="name" content="">
</div>
<header class="article-header">
<time itemprop="datePublished" pubdate="pubdate" datetime="1993-08-26T08:10:55-04:00">Thu, Aug 26, 1993</time>
<h1 class="article-title">about me</h1>
</header>
<div class="article-body" itemprop="articleBody">
<p>2012 - Coder Sherlock
2013 - Sherlock Hao
2015 - Jon Hao</p>
<p><a href="mailto:haopengzhan@gmail.com">Email me</a></p>
</div>
<div class="paging">
<span class="paging-label">More Reading</span>
<div class="paging-older">
<span class="dark-red">Older</span><span class="decorative-marker">//</span>
<a class="paging-link" href="/post/Cross-Compile-RSync-ARM/">Cross Compile RSync ARM</a>
</div>
</div>
</section>
<aside>
<div id="disqus_thread"></div>
<script type="text/javascript">
var disqus_shortname = 'codersherlockblog';
var disqus_identifier = 'https:\/\/codersherlock.github.io\/about\/';
var disqus_title = 'about me';
var disqus_url = 'https:\/\/codersherlock.github.io\/about\/';
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
<div class="section share">
<a href="http://www.facebook.com/sharer.php?src=bm&u=https%3a%2f%2fcodersherlock.github.io%2fabout%2f&t=about%20me" onclick="window.open(this.href, 'PCwindow', 'width=550, height=350, menubar=no, toolbar=no, scrollbars=yes'); return false;"><i class="fa fa-facebook"></i></a>
<a href="http://twitter.com/intent/tweet?url=https%3a%2f%2fcodersherlock.github.io%2fabout%2f&text=about%20me&tw_p=tweetbutton" onclick="window.open(this.href, 'PCwindow', 'width=550, height=350, menubar=no, toolbar=no, scrollbars=yes'); return false;"><i class="fa fa-twitter"></i></a>
<a href="https://plus.google.com/share?url=https%3a%2f%2fcodersherlock.github.io%2fabout%2f" onclick="window.open(this.href, 'PCwindow', 'width=550, height=350, menubar=no, toolbar=no, scrollbars=yes'); return false;"><i class="fa fa-google-plus"></i></a>
<a href="http://getpocket.com/edit?url=https%3a%2f%2fcodersherlock.github.io%2fabout%2f&title=about%20me" onclick="window.open(this.href, 'PCwindow', 'width=550, height=350, menubar=no, toolbar=no, scrollbars=yes'); return false;"><i class="fa fa-get-pocket"></i></a>
</div>
<div class="footer">
<hr class="thin" />
<div class="pure-menu pure-menu-horizontal pure-menu-open">
<ul class="footer-menu">
</ul>
</div>
<div class="section">
<div id="disqus_thread"></div>
<script type="text/javascript">
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
var disqus_shortname = 'codersherlockblog';
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<a href="http://disqus.com/" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
</div>
</aside>
<p>&copy; 2016. All rights reserved.</p>
</div>
</article>
</div>
<div class="col-md-4">
<aside class="site">
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">LatestPosts</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/" class="list-group-item">Cross Compile RSync ARM</a>
<a href="https://codersherlock.github.io/post/Pokemon-Go-Hack/" class="list-group-item">Pokemon Go Hack</a>
<a href="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/" class="list-group-item">Cross Compile Seafile to ARM</a>
<a href="https://codersherlock.github.io/about/" class="list-group-item">about me</a>
</div>
</div>
</body>
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">category</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/categories/cross-compile" class="list-group-item">cross-compile</a>
<a href="https://codersherlock.github.io/categories/game" class="list-group-item">game</a>
<a href="https://codersherlock.github.io/categories/hack" class="list-group-item">hack</a>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">tag</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/tags/android" class="list-group-item">android</a>
<a href="https://codersherlock.github.io/tags/arm" class="list-group-item">arm</a>
<a href="https://codersherlock.github.io/tags/research" class="list-group-item">research</a>
<a href="https://codersherlock.github.io/tags/game" class="list-group-item">game</a>
<a href="https://codersherlock.github.io/tags/github" class="list-group-item">github</a>
<a href="https://codersherlock.github.io/tags/hack" class="list-group-item">hack</a>
</div>
</div>
</aside>
</div>
</div>
</div>
</div>
</div>
<footer class="site">
<div class="container">
<p>Copyright (c) 2016 - 2016, Pengzhan Hao; all rights reserved.</p>
<p>Powered by <a href="http://gohugo.io" target="_blank" rel="nofollow">Hugo</a>, Theme <a href="https://github.com/dim0627/hugo_theme_beg" target="_blank" rel="nofollow">beg</a> designed by <a href="http://yet.unresolved.xyz" target="_blank" rel="nofollow">Daisuke Tsuji</a></p>
</div>
</footer>
<script src="//code.jquery.com/jquery-2.2.1.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</body>
</html>
-201
View File
@@ -1,201 +0,0 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
<head>
<title>
2016 07 // Mil años de solitario
</title>
<link href="http://gmpg.org/xfn/11" rel="profile">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="author" content="">
<meta name="generator" content="Hugo 0.16" />
<meta property="og:title" content="2016 07" />
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:locale" content="en_US" />
<meta property="og:url" content="https://CoderSherlock.github.io/categories/2016-07/" />
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.5.0/base-min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.5.0/pure-min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.5.0/grids-responsive-min.css">
<link rel="stylesheet" href="https://codersherlock.github.io//css/redlounge.css">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" rel="stylesheet">
<link href='//fonts.googleapis.com/css?family=Raleway:400,200,100,700,300,500,600,800' rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Libre+Baskerville:400,700,400italic' rel='stylesheet' type='text/css'>
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/touch-icon-144-precomposed.png">
<link rel="shortcut icon" href="/favicon.png">
<link href="https://CoderSherlock.github.io/categories/2016-07/index.xml" rel="alternate" type="application/rss+xml" title="Mil años de solitario" />
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.7/styles/tomorrow-night-bright.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.7/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body>
<div id="layout" class="pure-g">
<div class="sidebar pure-u-1 pure-u-md-1-4">
<div class="header">
<img src="/images/photo.png" class="sidebarphoto">
<h1 class="brand-title">Mil años de solitario</h1>
<h2 class="brand-tagline">A boy who can&#39;t step into academia</h2>
<nav class="nav">
<ul class="nav-list">
<li class="nav-item"><span class="nav-item-separator">//</span><a href="https://codersherlock.github.io/">Home</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/about">About</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/bio">Biography</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/post">Blog</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/about/">about me</a></li>
</ul>
</nav>
<div class="social-buttons">
<a href="http://github.com/CoderSherlcok" target="_blank"><i class='fa fa-github'></i></a>
</div>
</div>
</div>
<div class="content pure-u-1 pure-u-md-3-4">
<a name="top"></a>
<div class="posts">
<section class="post">
<header class="post-header">
<h1 class="post-title">
<a href="/post/Pokemon-Go-Hack/">Pokemon Go Hack</a>
</h1>
</header>
<p class="post-meta">
<span class="post-date">
<span class="post-date-day"><sup>30</sup></span><span class="post-date-separator">/</span><span class="post-date-month">Jul</span> <span class="post-date-year">2016</span>
</span>
<span class="post-reading-time"><i class="fa fa-clock-o"></i> <em>2 min. read</em></span>
<div class="post-categories">
<a class="post-category post-category-2016-07" href="https://codersherlock.github.io//categories/2016-07">2016-07</a>
</div>
</p>
<article class="post-summary">
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.
</article>
<div class="read-more-link">
<a href="/post/Pokemon-Go-Hack/"><span class="read-more-slashes">//</span>Read More...</a>
</div>
</section>
<section class="post">
<header class="post-header">
<h1 class="post-title">
<a href="/post/Cross-Compile-Seafile-2-ARM/">Cross Compile Seafile 2 ARM</a>
</h1>
</header>
<p class="post-meta">
<span class="post-date">
<span class="post-date-day"><sup>30</sup></span><span class="post-date-separator">/</span><span class="post-date-month">Jul</span> <span class="post-date-year">2016</span>
</span>
<span class="post-reading-time"><i class="fa fa-clock-o"></i> <em>3 min. read</em></span>
<div class="post-categories">
<a class="post-category post-category-2016-07" href="https://codersherlock.github.io//categories/2016-07">2016-07</a>
</div>
</p>
<article class="post-summary">
Cross Compile Seafile to ARM platform Motivation This project is working for delta sync from mobile to server. Currently, there&rsquo;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&rsquo;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.
</article>
<div class="read-more-link">
<a href="/post/Cross-Compile-Seafile-2-ARM/"><span class="read-more-slashes">//</span>Read More...</a>
</div>
</section>
</div>
<div class="footer">
<hr class="thin" />
<div class="pure-menu pure-menu-horizontal pure-menu-open">
<ul class="footer-menu">
</ul>
</div>
<p>&copy; 2016. All rights reserved.</p>
</div>
</div>
</div>
</body>
</html>
-165
View File
@@ -1,165 +0,0 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
<head>
<title>
2016 08 // Mil años de solitario
</title>
<link href="http://gmpg.org/xfn/11" rel="profile">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="author" content="">
<meta name="generator" content="Hugo 0.16" />
<meta property="og:title" content="2016 08" />
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:locale" content="en_US" />
<meta property="og:url" content="https://CoderSherlock.github.io/categories/2016-08/" />
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.5.0/base-min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.5.0/pure-min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.5.0/grids-responsive-min.css">
<link rel="stylesheet" href="https://codersherlock.github.io//css/redlounge.css">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" rel="stylesheet">
<link href='//fonts.googleapis.com/css?family=Raleway:400,200,100,700,300,500,600,800' rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Libre+Baskerville:400,700,400italic' rel='stylesheet' type='text/css'>
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/touch-icon-144-precomposed.png">
<link rel="shortcut icon" href="/favicon.png">
<link href="https://CoderSherlock.github.io/categories/2016-08/index.xml" rel="alternate" type="application/rss+xml" title="Mil años de solitario" />
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.7/styles/tomorrow-night-bright.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.7/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body>
<div id="layout" class="pure-g">
<div class="sidebar pure-u-1 pure-u-md-1-4">
<div class="header">
<img src="/images/photo.png" class="sidebarphoto">
<h1 class="brand-title">Mil años de solitario</h1>
<h2 class="brand-tagline">A boy who can&#39;t step into academia</h2>
<nav class="nav">
<ul class="nav-list">
<li class="nav-item"><span class="nav-item-separator">//</span><a href="https://codersherlock.github.io/">Home</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/about">About</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/bio">Biography</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/post">Blog</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/about/">about me</a></li>
</ul>
</nav>
<div class="social-buttons">
<a href="http://github.com/CoderSherlcok" target="_blank"><i class='fa fa-github'></i></a>
</div>
</div>
</div>
<div class="content pure-u-1 pure-u-md-3-4">
<a name="top"></a>
<div class="posts">
<section class="post">
<header class="post-header">
<h1 class="post-title">
<a href="/post/Cross-Compile-RSync-ARM/">Cross Compile RSync ARM</a>
</h1>
</header>
<p class="post-meta">
<span class="post-date">
<span class="post-date-day"><sup>15</sup></span><span class="post-date-separator">/</span><span class="post-date-month">Aug</span> <span class="post-date-year">2016</span>
</span>
<span class="post-reading-time"><i class="fa fa-clock-o"></i> <em>2 min. read</em></span>
<div class="post-categories">
<a class="post-category post-category-2016-08" href="https://codersherlock.github.io//categories/2016-08">2016-08</a>
</div>
</p>
<article class="post-summary">
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.
</article>
<div class="read-more-link">
<a href="/post/Cross-Compile-RSync-ARM/"><span class="read-more-slashes">//</span>Read More...</a>
</div>
</section>
</div>
<div class="footer">
<hr class="thin" />
<div class="pure-menu pure-menu-horizontal pure-menu-open">
<ul class="footer-menu">
</ul>
</div>
<p>&copy; 2016. All rights reserved.</p>
</div>
</div>
</div>
</body>
</html>
-66
View File
@@ -1,66 +0,0 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>2016 08 on Mil años de solitario</title>
<link>https://CoderSherlock.github.io/categories/2016-08/</link>
<description>Recent content in 2016 08 on Mil años de solitario</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Mon, 15 Aug 2016 15:44:05 -0400</lastBuildDate>
<atom:link href="https://CoderSherlock.github.io/categories/2016-08/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Cross Compile RSync ARM</title>
<link>https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/</link>
<pubDate>Mon, 15 Aug 2016 15:44:05 -0400</pubDate>
<guid>https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/</guid>
<description>
&lt;h1 id=&#34;cross-compile-rsync-to-arm-platform&#34;&gt;Cross Compile Rsync to ARM platform&lt;/h1&gt;
&lt;p&gt;As always, feel free to ask. // Sherlock&lt;/p&gt;
&lt;h2 id=&#34;motivation&#34;&gt;Motivation&lt;/h2&gt;
&lt;p&gt;I got some issues about compile seafile to android, so instead of doing so, I start to figure out some other synchronize workflow. &lt;a href=&#34;https://rsync.samba.org/&#34;&gt;Rsync&lt;/a&gt; is one of the most mature synchronization solution. So I made the decision on planting rsync to android.&lt;/p&gt;
&lt;h2 id=&#34;pre-work&#34;&gt;Pre-work&lt;/h2&gt;
&lt;p&gt;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 &lt;a href=&#34;https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/&#34;&gt;previews blog&lt;/a&gt;, 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 &lt;a href=&#34;https://play.google.com/store/apps/details?id=berserker.android.apps.sshdroid&amp;amp;hl=en&#34;&gt;SSHDroid&lt;/a&gt; from Google Play Store.&lt;/p&gt;
&lt;h2 id=&#34;cross-compile-rsync&#34;&gt;Cross-Compile Rsync&lt;/h2&gt;
&lt;p&gt;Running following script to build rsync. It will generate a executable file named rsync in the root directory.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$ ./configure --build=${BUILD_SYS} --host=${TOOLCHAIN}
$ make
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id=&#34;push-rsync-to-android&#34;&gt;Push RSync to Android.&lt;/h2&gt;
&lt;p&gt;After installing SSHDroid, we can now push our arm-version-rsync to target machine.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$ adb push rsync /data/local/tmp
$ adb shell
$ cd /data/data/berserker.android.apps.sshdroid/dropbear
$ mv ../../../local/tmp/rsync .
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id=&#34;run-rsync-with-argument&#34;&gt;Run Rsync with argument&lt;/h2&gt;
&lt;p&gt;Now we can easily use rsync in android shell. Similar to what we use on PC.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$ ./rsync -e &amp;quot;./ssh&amp;quot; {target-data} {target-location}:{target-directory}
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id=&#34;references&#34;&gt;References&lt;/h2&gt;
&lt;p&gt;&lt;a href=&#34;http://stackoverflow.com/questions/8130889/build-rsync-for-android&#34;&gt;Build Rsync for Android&lt;/a&gt;&lt;/p&gt;
</description>
</item>
</channel>
</rss>
+191
View File
@@ -0,0 +1,191 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="generator" content="Hugo 0.16" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<link rel='stylesheet' href='//fonts.googleapis.com/css?family=Open+Sans|Marcellus+SC'>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/styles/solarized_dark.min.css">
<link rel="stylesheet" href="https://codersherlock.github.io/css/styles.css">
<link rel="stylesheet" href="https://codersherlock.github.io/css/custom.css">
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://codersherlock.github.io//index.xml">
<title>Cross Compile - Mil años de solitario</title>
<meta property='og:title' content="Cross Compile - Mil años de solitario">
<meta property="og:type" content="article">
<meta property="og:url" content="https://CoderSherlock.github.io/categories/cross-compile/">
</head>
<body>
<header class="site">
<nav class="navbar navbar-default">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="https://codersherlock.github.io/">Mil años de solitario</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="https://CoderSherlock.github.io/about/">about me</a></li>
</ul>
</div>
</div>
</nav>
</header>
<div class="site">
<div class="container">
<div class="list">
<div class="row">
<div class="col-md-8">
<header class="page-title">Cross Compile</header>
<article class="li">
<header>
<div class="date">Mon, Aug 15, 2016</div>
<div class="title"><a href="https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/">Cross Compile RSync ARM</a></div>
</header>
<div class="body">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.</div>
<footer>
<a href="https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/" class="btn btn-default">Read More…</a>
</footer>
</article>
<hr>
<article class="li">
<header>
<div class="date">Sat, Jul 30, 2016</div>
<div class="title"><a href="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/">Cross Compile Seafile to ARM</a></div>
</header>
<div class="body">Motivation This project is working for delta sync from mobile to server. Currently, there&rsquo;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&rsquo;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.</div>
<footer>
<a href="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/" class="btn btn-default">Read More…</a>
</footer>
</article>
<hr>
</div>
<div class="col-md-4">
<aside class="site">
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">LatestPosts</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/" class="list-group-item">Cross Compile RSync ARM</a>
<a href="https://codersherlock.github.io/post/Pokemon-Go-Hack/" class="list-group-item">Pokemon Go Hack</a>
<a href="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/" class="list-group-item">Cross Compile Seafile to ARM</a>
<a href="https://codersherlock.github.io/about/" class="list-group-item">about me</a>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">category</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/categories/cross-compile" class="list-group-item">cross-compile</a>
<a href="https://codersherlock.github.io/categories/game" class="list-group-item">game</a>
<a href="https://codersherlock.github.io/categories/hack" class="list-group-item">hack</a>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">tag</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/tags/android" class="list-group-item">android</a>
<a href="https://codersherlock.github.io/tags/arm" class="list-group-item">arm</a>
<a href="https://codersherlock.github.io/tags/research" class="list-group-item">research</a>
<a href="https://codersherlock.github.io/tags/game" class="list-group-item">game</a>
<a href="https://codersherlock.github.io/tags/github" class="list-group-item">github</a>
<a href="https://codersherlock.github.io/tags/hack" class="list-group-item">hack</a>
</div>
</div>
</aside>
</div>
</div>
</div>
</div>
</div>
<footer class="site">
<div class="container">
<p>Copyright (c) 2016 - 2016, Pengzhan Hao; all rights reserved.</p>
<p>Powered by <a href="http://gohugo.io" target="_blank" rel="nofollow">Hugo</a>, Theme <a href="https://github.com/dim0627/hugo_theme_beg" target="_blank" rel="nofollow">beg</a> designed by <a href="http://yet.unresolved.xyz" target="_blank" rel="nofollow">Daisuke Tsuji</a></p>
</div>
</footer>
<script src="//code.jquery.com/jquery-2.2.1.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</body>
</html>
@@ -1,66 +1,89 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>2016 07 on Mil años de solitario</title>
<link>https://CoderSherlock.github.io/categories/2016-07/</link>
<description>Recent content in 2016 07 on Mil años de solitario</description>
<title>Cross Compile on Mil años de solitario</title>
<link>https://CoderSherlock.github.io/categories/cross-compile/</link>
<description>Recent content in Cross Compile on Mil años de solitario</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Sat, 30 Jul 2016 18:10:20 -0400</lastBuildDate>
<atom:link href="https://CoderSherlock.github.io/categories/2016-07/index.xml" rel="self" type="application/rss+xml" />
<copyright>Copyright (c) 2016 - 2016, Pengzhan Hao; all rights reserved.</copyright>
<lastBuildDate>Mon, 15 Aug 2016 15:44:05 -0400</lastBuildDate>
<atom:link href="https://CoderSherlock.github.io/categories/cross-compile/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Pokemon Go Hack</title>
<link>https://codersherlock.github.io/post/Pokemon-Go-Hack/</link>
<pubDate>Sat, 30 Jul 2016 18:10:20 -0400</pubDate>
<title>Cross Compile RSync ARM</title>
<link>https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/</link>
<pubDate>Mon, 15 Aug 2016 15:44:05 -0400</pubDate>
<guid>https://codersherlock.github.io/post/Pokemon-Go-Hack/</guid>
<guid>https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/</guid>
<description>
&lt;h1 id=&#34;catch-them-all-until-bored&#34;&gt;Catch them all until bored&lt;/h1&gt;
&lt;p&gt;As always, feel free to ask. // Sherlock&lt;/p&gt;
&lt;h2 id=&#34;preface&#34;&gt;Preface&lt;/h2&gt;
&lt;h1 id=&#34;motivation&#34;&gt;Motivation&lt;/h1&gt;
&lt;p&gt;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&amp;rsquo;t become popular at my country. But time flies, I break through the wall, and come to a free land which can play Niantic&amp;rsquo;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 &lt;strong&gt;EVERYDAY&lt;/strong&gt; and the place where I am now is so barren which even doesn&amp;rsquo;t have much insects and birds(I mean Weedle and Pidgey).
&lt;em&gt;afk I have to battle a nearby gym now&lt;/em&gt;
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.&lt;/p&gt;
&lt;p&gt;I got some issues about compile seafile to android, so instead of doing so, I start to figure out some other synchronize workflow. &lt;a href=&#34;https://rsync.samba.org/&#34;&gt;Rsync&lt;/a&gt; is one of the most mature synchronization solution. So I made the decision on planting rsync to android.&lt;/p&gt;
&lt;h2 id=&#34;todo-list&#34;&gt;TODO List&lt;/h2&gt;
&lt;h1 id=&#34;pre-work&#34;&gt;Pre-work&lt;/h1&gt;
&lt;p&gt;-[X] Test API
-[ ] Finish Walk Algorithm
-[ ] Finish other movement, etc. catch, hatch
-[ ] Smart Walking route
-[ ] Pokemon Predict (Thanks to Pokevision&amp;rsquo;s idea)
-[ ] Become a Pokemon Master&lt;/p&gt;
&lt;p&gt;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 &lt;a href=&#34;https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/&#34;&gt;previews blog&lt;/a&gt;, 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 &lt;a href=&#34;https://play.google.com/store/apps/details?id=berserker.android.apps.sshdroid&amp;amp;hl=en&#34;&gt;SSHDroid&lt;/a&gt; from Google Play Store.&lt;/p&gt;
&lt;h1 id=&#34;cross-compile-rsync&#34;&gt;Cross-Compile Rsync&lt;/h1&gt;
&lt;p&gt;Running following script to build rsync. It will generate a executable file named rsync in the root directory.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$ ./configure --build=${BUILD_SYS} --host=${TOOLCHAIN}
$ make
&lt;/code&gt;&lt;/pre&gt;
&lt;h1 id=&#34;push-rsync-to-android&#34;&gt;Push RSync to Android.&lt;/h1&gt;
&lt;p&gt;After installing SSHDroid, we can now push our arm-version-rsync to target machine.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$ adb push rsync /data/local/tmp
$ adb shell
$ cd /data/data/berserker.android.apps.sshdroid/dropbear
$ mv ../../../local/tmp/rsync .
&lt;/code&gt;&lt;/pre&gt;
&lt;h1 id=&#34;run-rsync-with-argument&#34;&gt;Run Rsync with argument&lt;/h1&gt;
&lt;p&gt;Now we can easily use rsync in android shell. Similar to what we use on PC.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$ ./rsync -e &amp;quot;./ssh&amp;quot; {target-data} {target-location}:{target-directory}
&lt;/code&gt;&lt;/pre&gt;
&lt;h1 id=&#34;references&#34;&gt;References&lt;/h1&gt;
&lt;p&gt;&lt;a href=&#34;http://stackoverflow.com/questions/8130889/build-rsync-for-android&#34;&gt;Build Rsync for Android&lt;/a&gt;&lt;/p&gt;
</description>
</item>
<item>
<title>Cross Compile Seafile 2 ARM</title>
<title>Cross Compile Seafile to ARM</title>
<link>https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/</link>
<pubDate>Sat, 30 Jul 2016 14:02:34 -0400</pubDate>
<guid>https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/</guid>
<description>
&lt;h1 id=&#34;cross-compile-seafile-to-arm-platform&#34;&gt;Cross Compile Seafile to ARM platform&lt;/h1&gt;
&lt;h2 id=&#34;motivation&#34;&gt;Motivation&lt;/h2&gt;
&lt;h1 id=&#34;motivation&#34;&gt;Motivation&lt;/h1&gt;
&lt;p&gt;This project is working for delta sync from mobile to server. Currently, there&amp;rsquo;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&amp;rsquo;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.&lt;/p&gt;
&lt;h2 id=&#34;pre-work&#34;&gt;Pre-work&lt;/h2&gt;
&lt;h1 id=&#34;pre-work&#34;&gt;Pre-work&lt;/h1&gt;
&lt;p&gt;Basically, I used the native android compilation tool-chains, &lt;a href=&#34;https://developer.android.com/ndk/downloads/index.html&#34;&gt;Android NDK&lt;/a&gt;, as working tools. Due to my working situation, I use a &lt;a href=&#34;https://shield.nvidia.com/tablet/k1&#34;&gt;Nvidia Shield Tablet&lt;/a&gt; as target device. As &lt;em&gt;Zengwen&lt;/em&gt; said in his &lt;a href=&#34;http://zwyuan.github.io/2016/07/17/cross-compile-glib-for-android/&#34;&gt;blog&lt;/a&gt;, newest updated NDK might has some issue which can influence compilation progress. So you can find &lt;a href=&#34;http://stackoverflow.com/questions/6849981/where-do-i-find-old-versions-of-android-ndk&#34;&gt;other version&lt;/a&gt; of NDK once you have some problems. Based on what &lt;em&gt;Zengwen&amp;rsquo;s&lt;/em&gt; blog mentioned, we can write following useful system environment and export in terminal.&lt;/p&gt;
&lt;h3 id=&#34;prerequisites&#34;&gt;Prerequisites&lt;/h3&gt;
&lt;h2 id=&#34;prerequisites&#34;&gt;Prerequisites&lt;/h2&gt;
&lt;pre&gt;&lt;code&gt;$ sudo apt-get install build-essential
$ sudo apt-get install pkg-config automake autoconf libtool
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id=&#34;link-with-standalone-tool-chains&#34;&gt;Link with standalone tool-chains&lt;/h3&gt;
&lt;h2 id=&#34;link-with-standalone-tool-chains&#34;&gt;Link with standalone tool-chains&lt;/h2&gt;
&lt;p&gt;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.&lt;/p&gt;
@@ -74,7 +97,7 @@ $ sudo apt-get install pkg-config automake autoconf libtool
--platform=android-22
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id=&#34;original-system-environment-configuration&#34;&gt;Original System Environment Configuration&lt;/h3&gt;
&lt;h2 id=&#34;original-system-environment-configuration&#34;&gt;Original System Environment Configuration&lt;/h2&gt;
&lt;p&gt;[TODO]-&amp;gt; I will fix this part later.&lt;/p&gt;
@@ -143,29 +166,29 @@ export LIBS=&amp;quot;-lc -lstdc++ -ld&amp;quot;
export LDFLAGS=&amp;quot;-Wl,-rpath-link=-I${SYSROOT}/usr/lib -L${SYSROOT}/usr/lib -L${PREFIX}/lib -L${NDK_TOOLCHAIN}/lib&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id=&#34;compile-process&#34;&gt;Compile Process&lt;/h2&gt;
&lt;h1 id=&#34;compile-process&#34;&gt;Compile Process&lt;/h1&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;h3 id=&#34;libsearpc&#34;&gt;libsearpc&lt;/h3&gt;
&lt;h2 id=&#34;libsearpc&#34;&gt;libsearpc&lt;/h2&gt;
&lt;h4 id=&#34;glib&#34;&gt;glib&lt;/h4&gt;
&lt;h3 id=&#34;glib&#34;&gt;glib&lt;/h3&gt;
&lt;h5 id=&#34;libiconv&#34;&gt;libiconv&lt;/h5&gt;
&lt;h4 id=&#34;libiconv&#34;&gt;libiconv&lt;/h4&gt;
&lt;h5 id=&#34;libffi&#34;&gt;libffi&lt;/h5&gt;
&lt;h4 id=&#34;libffi&#34;&gt;libffi&lt;/h4&gt;
&lt;h5 id=&#34;gettext&#34;&gt;gettext&lt;/h5&gt;
&lt;h4 id=&#34;gettext&#34;&gt;gettext&lt;/h4&gt;
&lt;h4 id=&#34;libjasson&#34;&gt;libjasson&lt;/h4&gt;
&lt;h3 id=&#34;libjasson&#34;&gt;libjasson&lt;/h3&gt;
&lt;h3 id=&#34;ccnet&#34;&gt;ccnet&lt;/h3&gt;
&lt;h2 id=&#34;ccnet&#34;&gt;ccnet&lt;/h2&gt;
&lt;h4 id=&#34;libuuid&#34;&gt;libuuid&lt;/h4&gt;
&lt;h3 id=&#34;libuuid&#34;&gt;libuuid&lt;/h3&gt;
&lt;h3 id=&#34;seafile&#34;&gt;seafile&lt;/h3&gt;
&lt;h2 id=&#34;seafile&#34;&gt;seafile&lt;/h2&gt;
&lt;h2 id=&#34;preferences&#34;&gt;Preferences&lt;/h2&gt;
&lt;h1 id=&#34;preferences&#34;&gt;Preferences&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;http://zwyuan.github.io/2016/07/17/cross-compile-glib-for-android/&#34;&gt;zwyuan&lt;/a&gt;&lt;/li&gt;
@@ -174,4 +197,4 @@ export LDFLAGS=&amp;quot;-Wl,-rpath-link=-I${SYSROOT}/usr/lib -L${SYSROOT}/usr/l
</item>
</channel>
</rss>
</rss>
@@ -0,0 +1 @@
<!DOCTYPE html><html><head><link rel="canonical" href="https://CoderSherlock.github.io/categories/cross-compile/"/><meta http-equiv="content-type" content="text/html; charset=utf-8" /><meta http-equiv="refresh" content="0;url=https://CoderSherlock.github.io/categories/cross-compile/" /></head></html>
+175
View File
@@ -0,0 +1,175 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="generator" content="Hugo 0.16" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<link rel='stylesheet' href='//fonts.googleapis.com/css?family=Open+Sans|Marcellus+SC'>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/styles/solarized_dark.min.css">
<link rel="stylesheet" href="https://codersherlock.github.io/css/styles.css">
<link rel="stylesheet" href="https://codersherlock.github.io/css/custom.css">
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://codersherlock.github.io//index.xml">
<title>Game - Mil años de solitario</title>
<meta property='og:title' content="Game - Mil años de solitario">
<meta property="og:type" content="article">
<meta property="og:url" content="https://CoderSherlock.github.io/categories/game/">
</head>
<body>
<header class="site">
<nav class="navbar navbar-default">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="https://codersherlock.github.io/">Mil años de solitario</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="https://CoderSherlock.github.io/about/">about me</a></li>
</ul>
</div>
</div>
</nav>
</header>
<div class="site">
<div class="container">
<div class="list">
<div class="row">
<div class="col-md-8">
<header class="page-title">Game</header>
<article class="li">
<header>
<div class="date">Sat, Jul 30, 2016</div>
<div class="title"><a href="https://codersherlock.github.io/post/Pokemon-Go-Hack/">Pokemon Go Hack</a></div>
</header>
<div class="body">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.</div>
<footer>
<a href="https://codersherlock.github.io/post/Pokemon-Go-Hack/" class="btn btn-default">Read More…</a>
</footer>
</article>
<hr>
</div>
<div class="col-md-4">
<aside class="site">
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">LatestPosts</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/" class="list-group-item">Cross Compile RSync ARM</a>
<a href="https://codersherlock.github.io/post/Pokemon-Go-Hack/" class="list-group-item">Pokemon Go Hack</a>
<a href="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/" class="list-group-item">Cross Compile Seafile to ARM</a>
<a href="https://codersherlock.github.io/about/" class="list-group-item">about me</a>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">category</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/categories/cross-compile" class="list-group-item">cross-compile</a>
<a href="https://codersherlock.github.io/categories/game" class="list-group-item">game</a>
<a href="https://codersherlock.github.io/categories/hack" class="list-group-item">hack</a>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">tag</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/tags/android" class="list-group-item">android</a>
<a href="https://codersherlock.github.io/tags/arm" class="list-group-item">arm</a>
<a href="https://codersherlock.github.io/tags/research" class="list-group-item">research</a>
<a href="https://codersherlock.github.io/tags/game" class="list-group-item">game</a>
<a href="https://codersherlock.github.io/tags/github" class="list-group-item">github</a>
<a href="https://codersherlock.github.io/tags/hack" class="list-group-item">hack</a>
</div>
</div>
</aside>
</div>
</div>
</div>
</div>
</div>
<footer class="site">
<div class="container">
<p>Copyright (c) 2016 - 2016, Pengzhan Hao; all rights reserved.</p>
<p>Powered by <a href="http://gohugo.io" target="_blank" rel="nofollow">Hugo</a>, Theme <a href="https://github.com/dim0627/hugo_theme_beg" target="_blank" rel="nofollow">beg</a> designed by <a href="http://yet.unresolved.xyz" target="_blank" rel="nofollow">Daisuke Tsuji</a></p>
</div>
</footer>
<script src="//code.jquery.com/jquery-2.2.1.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</body>
</html>
+41
View File
@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Game on Mil años de solitario</title>
<link>https://CoderSherlock.github.io/categories/game/</link>
<description>Recent content in Game on Mil años de solitario</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<copyright>Copyright (c) 2016 - 2016, Pengzhan Hao; all rights reserved.</copyright>
<lastBuildDate>Sat, 30 Jul 2016 18:10:20 -0400</lastBuildDate>
<atom:link href="https://CoderSherlock.github.io/categories/game/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Pokemon Go Hack</title>
<link>https://codersherlock.github.io/post/Pokemon-Go-Hack/</link>
<pubDate>Sat, 30 Jul 2016 18:10:20 -0400</pubDate>
<guid>https://codersherlock.github.io/post/Pokemon-Go-Hack/</guid>
<description>
&lt;h1 id=&#34;catch-them-all-until-bored&#34;&gt;Catch them all until bored&lt;/h1&gt;
&lt;h1 id=&#34;preface&#34;&gt;Preface&lt;/h1&gt;
&lt;p&gt;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&amp;rsquo;t become popular at my country. But time flies, I break through the wall, and come to a free land which can play Niantic&amp;rsquo;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 &lt;strong&gt;EVERYDAY&lt;/strong&gt; and the place where I am now is so barren which even doesn&amp;rsquo;t have much insects and birds(I mean Weedle and Pidgey).
&lt;em&gt;afk I have to battle a nearby gym now&lt;/em&gt;
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.&lt;/p&gt;
&lt;h1 id=&#34;todo-list&#34;&gt;TODO List&lt;/h1&gt;
&lt;p&gt;-[X] Test API
-[ ] Finish Walk Algorithm
-[ ] Finish other movement, etc. catch, hatch
-[ ] Smart Walking route
-[ ] Pokemon Predict (Thanks to Pokevision&amp;rsquo;s idea)
-[ ] Become a Pokemon Master&lt;/p&gt;
</description>
</item>
</channel>
</rss>
+1
View File
@@ -0,0 +1 @@
<!DOCTYPE html><html><head><link rel="canonical" href="https://CoderSherlock.github.io/categories/game/"/><meta http-equiv="content-type" content="text/html; charset=utf-8" /><meta http-equiv="refresh" content="0;url=https://CoderSherlock.github.io/categories/game/" /></head></html>
+175
View File
@@ -0,0 +1,175 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="generator" content="Hugo 0.16" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<link rel='stylesheet' href='//fonts.googleapis.com/css?family=Open+Sans|Marcellus+SC'>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/styles/solarized_dark.min.css">
<link rel="stylesheet" href="https://codersherlock.github.io/css/styles.css">
<link rel="stylesheet" href="https://codersherlock.github.io/css/custom.css">
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://codersherlock.github.io//index.xml">
<title>Hack - Mil años de solitario</title>
<meta property='og:title' content="Hack - Mil años de solitario">
<meta property="og:type" content="article">
<meta property="og:url" content="https://CoderSherlock.github.io/categories/hack/">
</head>
<body>
<header class="site">
<nav class="navbar navbar-default">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="https://codersherlock.github.io/">Mil años de solitario</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="https://CoderSherlock.github.io/about/">about me</a></li>
</ul>
</div>
</div>
</nav>
</header>
<div class="site">
<div class="container">
<div class="list">
<div class="row">
<div class="col-md-8">
<header class="page-title">Hack</header>
<article class="li">
<header>
<div class="date">Sat, Jul 30, 2016</div>
<div class="title"><a href="https://codersherlock.github.io/post/Pokemon-Go-Hack/">Pokemon Go Hack</a></div>
</header>
<div class="body">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.</div>
<footer>
<a href="https://codersherlock.github.io/post/Pokemon-Go-Hack/" class="btn btn-default">Read More…</a>
</footer>
</article>
<hr>
</div>
<div class="col-md-4">
<aside class="site">
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">LatestPosts</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/" class="list-group-item">Cross Compile RSync ARM</a>
<a href="https://codersherlock.github.io/post/Pokemon-Go-Hack/" class="list-group-item">Pokemon Go Hack</a>
<a href="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/" class="list-group-item">Cross Compile Seafile to ARM</a>
<a href="https://codersherlock.github.io/about/" class="list-group-item">about me</a>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">category</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/categories/cross-compile" class="list-group-item">cross-compile</a>
<a href="https://codersherlock.github.io/categories/game" class="list-group-item">game</a>
<a href="https://codersherlock.github.io/categories/hack" class="list-group-item">hack</a>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">tag</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/tags/android" class="list-group-item">android</a>
<a href="https://codersherlock.github.io/tags/arm" class="list-group-item">arm</a>
<a href="https://codersherlock.github.io/tags/research" class="list-group-item">research</a>
<a href="https://codersherlock.github.io/tags/game" class="list-group-item">game</a>
<a href="https://codersherlock.github.io/tags/github" class="list-group-item">github</a>
<a href="https://codersherlock.github.io/tags/hack" class="list-group-item">hack</a>
</div>
</div>
</aside>
</div>
</div>
</div>
</div>
</div>
<footer class="site">
<div class="container">
<p>Copyright (c) 2016 - 2016, Pengzhan Hao; all rights reserved.</p>
<p>Powered by <a href="http://gohugo.io" target="_blank" rel="nofollow">Hugo</a>, Theme <a href="https://github.com/dim0627/hugo_theme_beg" target="_blank" rel="nofollow">beg</a> designed by <a href="http://yet.unresolved.xyz" target="_blank" rel="nofollow">Daisuke Tsuji</a></p>
</div>
</footer>
<script src="//code.jquery.com/jquery-2.2.1.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</body>
</html>
+41
View File
@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Hack on Mil años de solitario</title>
<link>https://CoderSherlock.github.io/categories/hack/</link>
<description>Recent content in Hack on Mil años de solitario</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<copyright>Copyright (c) 2016 - 2016, Pengzhan Hao; all rights reserved.</copyright>
<lastBuildDate>Sat, 30 Jul 2016 18:10:20 -0400</lastBuildDate>
<atom:link href="https://CoderSherlock.github.io/categories/hack/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Pokemon Go Hack</title>
<link>https://codersherlock.github.io/post/Pokemon-Go-Hack/</link>
<pubDate>Sat, 30 Jul 2016 18:10:20 -0400</pubDate>
<guid>https://codersherlock.github.io/post/Pokemon-Go-Hack/</guid>
<description>
&lt;h1 id=&#34;catch-them-all-until-bored&#34;&gt;Catch them all until bored&lt;/h1&gt;
&lt;h1 id=&#34;preface&#34;&gt;Preface&lt;/h1&gt;
&lt;p&gt;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&amp;rsquo;t become popular at my country. But time flies, I break through the wall, and come to a free land which can play Niantic&amp;rsquo;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 &lt;strong&gt;EVERYDAY&lt;/strong&gt; and the place where I am now is so barren which even doesn&amp;rsquo;t have much insects and birds(I mean Weedle and Pidgey).
&lt;em&gt;afk I have to battle a nearby gym now&lt;/em&gt;
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.&lt;/p&gt;
&lt;h1 id=&#34;todo-list&#34;&gt;TODO List&lt;/h1&gt;
&lt;p&gt;-[X] Test API
-[ ] Finish Walk Algorithm
-[ ] Finish other movement, etc. catch, hatch
-[ ] Smart Walking route
-[ ] Pokemon Predict (Thanks to Pokevision&amp;rsquo;s idea)
-[ ] Become a Pokemon Master&lt;/p&gt;
</description>
</item>
</channel>
</rss>
+1
View File
@@ -0,0 +1 @@
<!DOCTYPE html><html><head><link rel="canonical" href="https://CoderSherlock.github.io/categories/hack/"/><meta http-equiv="content-type" content="text/html; charset=utf-8" /><meta http-equiv="refresh" content="0;url=https://CoderSherlock.github.io/categories/hack/" /></head></html>
+164
View File
@@ -0,0 +1,164 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="generator" content="Hugo 0.16" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<link rel='stylesheet' href='//fonts.googleapis.com/css?family=Open+Sans|Marcellus+SC'>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/styles/solarized_dark.min.css">
<link rel="stylesheet" href="https://codersherlock.github.io/css/styles.css">
<link rel="stylesheet" href="https://codersherlock.github.io/css/custom.css">
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://codersherlock.github.io//index.xml">
<title>Categories - Mil años de solitario</title>
<meta property='og:title' content="Categories - Mil años de solitario">
<meta property="og:type" content="article">
<meta property="og:url" content="https://CoderSherlock.github.io/categories/">
</head>
<body>
<header class="site">
<nav class="navbar navbar-default">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="https://codersherlock.github.io/">Mil años de solitario</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="https://CoderSherlock.github.io/about/">about me</a></li>
</ul>
</div>
</div>
</nav>
</header>
<div class="site">
<div class="container">
<div class="list terms">
<div class="row">
<div class="col-md-8">
<header class="page-title">Categories</header>
<a href="https://CoderSherlock.github.io/categories/cross-compile/">cross-compile</a>
<a href="https://CoderSherlock.github.io/categories/game/">game</a>
<a href="https://CoderSherlock.github.io/categories/hack/">hack</a>
</div>
<div class="col-md-4">
<aside class="site">
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">LatestPosts</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/" class="list-group-item">Cross Compile RSync ARM</a>
<a href="https://codersherlock.github.io/post/Pokemon-Go-Hack/" class="list-group-item">Pokemon Go Hack</a>
<a href="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/" class="list-group-item">Cross Compile Seafile to ARM</a>
<a href="https://codersherlock.github.io/about/" class="list-group-item">about me</a>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">category</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/categories/cross-compile" class="list-group-item">cross-compile</a>
<a href="https://codersherlock.github.io/categories/game" class="list-group-item">game</a>
<a href="https://codersherlock.github.io/categories/hack" class="list-group-item">hack</a>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">tag</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/tags/android" class="list-group-item">android</a>
<a href="https://codersherlock.github.io/tags/arm" class="list-group-item">arm</a>
<a href="https://codersherlock.github.io/tags/research" class="list-group-item">research</a>
<a href="https://codersherlock.github.io/tags/game" class="list-group-item">game</a>
<a href="https://codersherlock.github.io/tags/github" class="list-group-item">github</a>
<a href="https://codersherlock.github.io/tags/hack" class="list-group-item">hack</a>
</div>
</div>
</aside>
</div>
</div>
</div>
</div>
</div>
<footer class="site">
<div class="container">
<p>Copyright (c) 2016 - 2016, Pengzhan Hao; all rights reserved.</p>
<p>Powered by <a href="http://gohugo.io" target="_blank" rel="nofollow">Hugo</a>, Theme <a href="https://github.com/dim0627/hugo_theme_beg" target="_blank" rel="nofollow">beg</a> designed by <a href="http://yet.unresolved.xyz" target="_blank" rel="nofollow">Daisuke Tsuji</a></p>
</div>
</footer>
<script src="//code.jquery.com/jquery-2.2.1.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</body>
</html>
+1
View File
@@ -0,0 +1 @@
/* Please override here. */
-210
View File
@@ -1,210 +0,0 @@
/* Preload images */
body:after {
content: url(../img/close.png) url(../img/loading.gif) url(../img/prev.png) url(../img/next.png);
display: none;
}
.lightboxOverlay {
position: absolute;
top: 0;
left: 0;
z-index: 9999;
background-color: black;
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
opacity: 0.8;
display: none;
}
.lightbox {
position: absolute;
left: 0;
width: 100%;
z-index: 10000;
text-align: center;
line-height: 0;
font-weight: normal;
}
.lightbox .lb-image {
display: block;
height: auto;
max-width: inherit;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
-ms-border-radius: 3px;
-o-border-radius: 3px;
border-radius: 3px;
}
.lightbox a img {
border: none;
}
.lb-outerContainer {
position: relative;
background-color: white;
*zoom: 1;
width: 250px;
height: 250px;
margin: 0 auto;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
-ms-border-radius: 4px;
-o-border-radius: 4px;
border-radius: 4px;
}
.lb-outerContainer:after {
content: "";
display: table;
clear: both;
}
.lb-container {
padding: 4px;
}
.lb-loader {
position: absolute;
top: 43%;
left: 0;
height: 25%;
width: 100%;
text-align: center;
line-height: 0;
}
.lb-cancel {
display: block;
width: 32px;
height: 32px;
margin: 0 auto;
background: url(../img/loading.gif) no-repeat;
}
.lb-nav {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
z-index: 10;
}
.lb-container > .nav {
left: 0;
}
.lb-nav a {
outline: none;
background-image: url('data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
}
.lb-prev, .lb-next {
height: 100%;
cursor: pointer;
display: block;
}
.lb-nav a.lb-prev {
width: 34%;
left: 0;
float: left;
background: url(../img/prev.png) left 48% no-repeat;
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
opacity: 0;
-webkit-transition: opacity 0.6s;
-moz-transition: opacity 0.6s;
-o-transition: opacity 0.6s;
transition: opacity 0.6s;
}
.lb-nav a.lb-prev:hover {
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
opacity: 1;
}
.lb-nav a.lb-next {
width: 64%;
right: 0;
float: right;
background: url(../img/next.png) right 48% no-repeat;
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
opacity: 0;
-webkit-transition: opacity 0.6s;
-moz-transition: opacity 0.6s;
-o-transition: opacity 0.6s;
transition: opacity 0.6s;
}
.lb-nav a.lb-next:hover {
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
opacity: 1;
}
.lb-dataContainer {
margin: 0 auto;
padding-top: 5px;
*zoom: 1;
width: 100%;
-moz-border-radius-bottomleft: 4px;
-webkit-border-bottom-left-radius: 4px;
border-bottom-left-radius: 4px;
-moz-border-radius-bottomright: 4px;
-webkit-border-bottom-right-radius: 4px;
border-bottom-right-radius: 4px;
}
.lb-dataContainer:after {
content: "";
display: table;
clear: both;
}
.lb-data {
padding: 0 4px;
color: #ccc;
}
.lb-data .lb-details {
width: 85%;
float: left;
text-align: left;
line-height: 1.1em;
}
.lb-data .lb-caption {
font-size: 13px;
font-weight: bold;
line-height: 1em;
}
.lb-data .lb-number {
display: block;
clear: left;
padding-bottom: 1em;
font-size: 12px;
color: #999999;
}
.lb-data .lb-close {
display: block;
float: right;
width: 30px;
height: 30px;
background: url(../img/close.png) top right no-repeat;
text-align: right;
outline: none;
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
opacity: 0.7;
-webkit-transition: opacity 0.2s;
-moz-transition: opacity 0.2s;
-o-transition: opacity 0.2s;
transition: opacity 0.2s;
}
.lb-data .lb-close:hover {
cursor: pointer;
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
opacity: 1;
}
-492
View File
@@ -1,492 +0,0 @@
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
html {
color: #2d303b;
}
html, p, nav, section, article {
font-family: 'Raleway', 'Helvetica', 'Arial', sans-serif;
}
pre {
padding: 0;
}
p {
color: #2d303b;
}
a {
-o-transition:.5s;
-ms-transition:.5s;
-moz-transition:.5s;
-webkit-transition:.5s;
transition:.5s;
color: #616161;
}
a:hover {
color:#E54028;
}
a:hover,
a:focus {
text-decoration: underline;
}
a.pure-button:hover, a.pure-button:focus {
color: inherit;
text-decoration: none;
}
a.pure-button-primary:hover, a.pure-button-primary:focus {
color: #fff;
}
p a {
color:#7F1000;
}
h1 {
font-family: 'Libre Baskerville', serif;
font-weight: 700;
}
.center {
text-align: center;
}
.red {
color: #E54028;
}
.dark-red {
color: #7F1000;
}
.thin-line {
height: 1px;
border: 0px;
background: #eee;
}
/* Layout */
.pure-img-responsive {
max-width: 100%;
height: auto;
}
#layout {
padding: 0;
}
.header {
text-align: center;
top: auto;
margin: 3em auto;
}
.content {
padding: 2em 1em 0;
}
/* Sidebar */
h1.brand-title {
font-family: 'Libre Baskerville', serif;
font-weight: 400;
padding-top: 1rem;
font-size: 3rem;
margin-bottom: 0.25rem;
}
h2.brand-tagline {
font-size: 1.4rem;
margin-top: 0.25rem;
}
.sidebar h1.brand-title {
color: #fff;
}
.brand-tagline {
font-family: 'Raleway', 'Helvetica', 'Arial', sans-serif;
font-weight: 200;
}
.sidebar {
background: #2d303b;
}
.sidebar, .sidebar p {
color: #8b8b8b;
}
.sidebar a {
color: #fff;
}
.sidebar a:hover {
color:#E54028;
}
/* Nav */
.nav-list {
margin: 0;
padding: 0;
list-style: none;
padding-bottom: 1rem;
}
.nav-item {
display: inline-block;
*display: inline;
zoom: 1;
}
.nav-item a {
background: transparent;
color: #fff;
margin-top: 1rem;
letter-spacing: 0.05rem;
text-transform: uppercase;
font-size: 0.85rem;
text-decoration: none;
margin-right: 0.1rem;
line-height: 1.5rem;
}
.nav-item a:hover,
.nav-item a:focus {
text-decoration: none;
}
.nav-item-separator {
font-weight: 100;
font-family: 'Raleway', 'Helvetica', 'Arial', sans-serif;
color: #E54028;
letter-spacing: -0.35rem;
margin-right: 0.4rem;
}
/* Nav To Top */
#nav-to-top {
display: none;
position: fixed;
right: 0;
top: 10px;
padding: 0.5rem 1.5rem 0.5rem 0.5rem;
font-size: 0.85rem;
background: #fff;
}
/* Posts */
h1.post-title a {
text-decoration: none;
color: #111111;
}
.post-date {
color: #E54028;
font-family: 'Libre Baskerville', serif;
font-weight: 400;
font-size: 1.0rem;
}
.post-date-day {
font-size: 1.5rem;
margin-right: -0.2rem;
}
.post-date-separator {
font-family: 'Raleway', 'Helvetica', 'Arial', sans-serif;
font-weight: 100;
letter-spacing: -0.35rem;
font-size: 1.9rem;
color: #7F1000;
}
.post-date-month {
font-size: 0.8rem;
color: #7F1000;
}
.post-date-year {
font-size: 0.8rem;
color: #7F1000;
}
a.post-author {
font-size: 0.9rem;
text-decoration: underline;
}
.post-author-single {
font-size: 0.9rem;
}
.post-author-social a {
color: #bbb;
}
.post-author-social a:hover, .post-author-social a:focus {
color: #E54028;
}
.post-author-social i {
font-size: 0.9rem;
}
.post {
padding-bottom: 1.8rem;
line-height: 1.75rem;
}
.post p {
margin-bottom: 1.75rem;
margin-top: 0;
}
.post h3 {
margin-bottom: .25rem;
font-size: 1.4rem;
color: #7F1000;
font-weight: 500;
}
.post h3.post-subtitle {
font-weight: 200;
color: #999;
}
.post-title {
font-size: 2rem;
color: #222;
margin-bottom: 0.25rem;
}
.post-subtitle {
font-size: 1.5rem;
margin: 0;
font-weight: 200;
font-family: 'Raleway', 'Helvetica', 'Arial', sans-serif;
color: #999;
}
.post-reading-time {
display: inline;
font-size: 0.65rem;
color: #aeaeae;
}
.post-avatar-wrapper {
width: 50px;
height: 50px;
border-radius: 50px;
overflow: hidden;
margin-left: 1rem;
float: right;
}
.post-avatar {
height: 50px;
}
.post-summary {
margin-top: 0.5rem;
}
.read-more-link {
float: right;
clear: left;
margin-top: 0.25rem;
}
.read-more-link a {
text-decoration: none;
/*text-transform: uppercase;*/
font-weight: 400;
font-size: 0.9rem;
color: #7F1000;
}
.read-more-link a:hover, .read-more-link a:focus {
color: #E54028;
}
.read-more-slashes {
font-weight: 100;
font-family: 'Raleway', 'Helvetica', 'Arial', sans-serif;
color: #E54028;
letter-spacing: -0.26rem;
margin-right: 0.3rem;
}
.post-description {
color: #444;
line-height: 1.8rem;
}
.post-meta {
color: #2d303b;
font-size: 90%;
margin: 0;
}
p.post-meta {
margin-bottom: 0;
}
.post-meta a {
color: #616161;
}
.post-meta a:hover {
color: #E54028;
}
.post-categories {
clear: left;
}
.post-category {
margin: 0 0.1rem;
padding: 0.2rem 0.5rem;
color: #fff;
background: #999;
font-size: 0.75rem;
}
a.post-category {
text-decoration: none;
}
a.post-category:hover {
color: #fff;
text-decoration: underline;
}
/* Banner Image */
.content-banner-image {
overflow: hidden;
}
.content-banner-image-inline {
float: right;
margin: 0.5rem 0 1.5rem 2rem;
}
/* Social Sharing */
.social-sharing {
clear: left;
padding-left: 2px;
margin-top: 0.75rem;
margin-bottom: 0.75rem;
}
.social-sharing a {
padding: 0.4rem;
background: #ccc;
color: #fff;
text-align: center;
}
.social-sharing a i {
width: 16px;
}
.social-sharing a i span {
display: none;
}
.social-sharing a.share-button-twitter:hover {
background: #00aced;
}
.social-sharing a.share-button-facebook:hover {
background: #3b5998;
}
.social-sharing a.share-button-linkedin:hover {
background: #007bb6;
}
.social-sharing a.share-button-google-plus:hover {
background: #dd4b39;
}
.social-sharing a.share-button-pinterest:hover {
background: #cb2027;
}
.social-sharing a.share-button-vk:hover {
background: #45668e;
}
/* Tags */
.tags-list {
clear: left;
margin-bottom: 0.75rem;
font-size: 0.85rem;
color: #999;
}
/* Decorative Marker */
.decorative-marker {
color: #E54028;
letter-spacing: -0.25rem;
margin-right: 0.4rem;
margin-lefT: 0.1rem;
}
/* Paging */
.paging {
margin-bottom: 0.75rem;
}
.paging, .paging-older, .paging-newer {
clear: left;
font-size: 0.85rem;
}
.paging-older, .paging-newer {
margin-bottom: 0.25rem;
}
.paging-label {
color: #999;
font-style: italic;
}
/* ToC */
#toc {
float: right;
padding: 0 1rem 1rem 1rem;
border-left: 1px solid #eee;
font-size: 0.9rem;
}
nav#TableOfContents li {
padding-bottom: 0.25rem;
}
.toc-label {
font-size: 0.8rem;
color: #aeaeae;
}
/* Footer */
.footer {
text-align: center;
padding: 1rem 0;
font-weight: 100;
color: #aeaeae;
font-size: 0.7rem;
}
.footer a, .footer p {
color: #aeaeae;
}
.footer a {
text-decoration: none;
}
.footer a:hover {
color:#E54028;
text-decoration: underline;
}
.footer .pure-menu a:hover,
.footer .pure-menu a:focus {
background: none;
}
ul.footer-menu {
list-style: none;
display: block;
text-align:center;
margin: 0;
padding: 0;
}
.footer-menu li {
display: inline-block;
margin-right: 0.5rem;
font-size: 0.8rem;
}
hr.thin {
height: 1px;
border: 0;
color: #eee;
background-color: #eee;
width: 90%;
}
@media (max-width: 1024px) {
h1.brand-title {
font-size: 2.5rem;
}
h2.brand-tagline {
font-size: 1.2rem;
}
.header>.sidebarphoto{
width:160px;
height:160px;
border-radius: 50%;
-moz-border-radius: 50%;
-webkit-border-radius: 50%;
}
}
@media (min-width: 48rem) {
.content {
padding: 2rem 3rem 0;
margin-left: 25%;
}
.content-banner-image {
margin-left: 25%;
}
.header {
margin: 30% 2rem 0;
text-align: right;
}
.header>.sidebarphoto{
width:160px;
height:160px;
border-radius: 50%;
-moz-border-radius: 50%;
-webkit-border-radius: 50%;
}
.sidebar {
position: fixed;
top: 0;
bottom: 0;
}
}
-1
View File
File diff suppressed because one or more lines are too long
-1
View File
File diff suppressed because one or more lines are too long
+216
View File
@@ -0,0 +1,216 @@
html {
font-size: 16px;
}
body {
font-family: 'Open Sans', "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", , Meiryo, Osaka, "MS Pゴシック", "MS PGothic", sans-serif;
-webkit-font-smoothing: antialiased;
font-size: inherit;
color: #000;
}
@media (max-width: 768px) {
html {
font-size: 14px;
}
}
html,
body {
margin: 0;
}
a {
transition-duration: .2s;
}
a:hover,
a:focus,
a:active {
outline: none;
box-shadow: none;
}
a.tag {
font-size: .8rem;
color: #999;
}
a.tag:hover {
color: #333;
}
code:not(.hljs) {
font-size: .8rem;
}
img {
width: 100%;
}
.share {
text-align: right;
}
.share a {
display: inline-block;
color: #999;
padding: 0 .5rem;
}
header.site nav.navbar {
border-radius: 0;
border-top: none;
border-right: none;
border-left: none;
}
header.site .navbar-default .navbar-nav>li>a {
font-size: .8rem;
}
header.page-title {
font-size: 1.6rem;
line-height: 2rem;
margin-bottom: 1rem;
text-decoration: underline;
}
article.li .date {
font-size: .8rem;
line-height: 1rem;
}
article.li .title {
font-size: 1.4rem;
line-height: 2rem;
margin-bottom: .5rem;
}
article.li .body {
margin-bottom: 1rem;
}
article.single .article-header {
margin: 1rem 0 2rem 0;
}
article.single .article-header time {
font-size: .8rem;
line-height: 1rem;
display: block;
}
article.single .article-title {
margin: 0;
font-size: 1.4rem;
line-height: 2rem;
}
article.single .article-body {
max-width: 650px;
margin: 0 auto;
margin-bottom: 1rem;
padding: 0 1rem;
}
@media (max-width: 768px) {
article.single .article-body {
padding: 0;
}
}
article.single .article-body h1,
article.single .article-body h2,
article.single .article-body h3,
article.single .article-body h4,
article.single .article-body h5,
article.single .article-body h6 {
word-break: break-all;
}
article.single h1 { font-size: 1.6rem; line-height: 2.4rem; }
article.single h2 { font-size: 1.4rem; line-height: 2.1rem; }
article.single h3 { font-size: 1.1rem; line-height: 1.7rem; }
article.single h4 { font-size: 1rem; line-height: 1.5rem; }
article.single h5 { font-size: 1rem; line-height: 1.5rem; }
article.single .article-body h1:first-child,
article.single .article-body h2:first-child,
article.single .article-body h3:first-child,
article.single .article-body h4:first-child,
article.single .article-body h5:first-child,
article.single .article-body h6:first-child {
margin-top: 0;
}
article.single .article-body h1 {
margin-top: 4rem;
margin-bottom: 1rem;
font-weight: 900;
}
article.single .article-body h2 {
margin-top: 2rem;
margin-bottom: 1rem;
}
article.single .article-body h3,
article.single .article-body h4,
article.single .article-body h5,
article.single .article-body h6 {
margin-top: 2rem;
margin-bottom: .5rem;
}
article.single .article-body p {
line-height: 1.5rem;
margin-bottom: 1rem;
word-break: break-word;
}
article.single .article-body blockquote {
padding: .5rem;
font-size: .8rem;
border-left: none;
background-color: #eee;
}
article.single .article-body blockquote p {
line-height: 1rem;
}
article.single .article-body blockquote p:last-child {
margin-bottom: 0;
}
article.single .article-body pre {
padding: 0;
border: none;
border-radius: 0;
}
article.single aside {
padding: 2rem;
}
@media (max-width: 768px) {
article.single aside {
padding: 0;
}
}
article.single aside .section {
margin-bottom: 2rem;
}
footer.site {
padding: 3rem 0;
}
footer.site p {
font-size: .8rem;
margin-bottom: .5rem;
color: #999;
}
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 183 B

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 280 B

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.3 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

+206 -248
View File
@@ -1,264 +1,222 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
<head>
<title>
Mil años de solitario
</title>
<html>
<head>
<meta charset="utf-8">
<meta name="generator" content="Hugo 0.16" />
<link href="http://gmpg.org/xfn/11" rel="profile">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="author" content="">
<meta name="generator" content="Hugo 0.16" />
<meta property="og:title" content="Mil años de solitario" />
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:locale" content="en_US" />
<meta property="og:url" content="https://CoderSherlock.github.io/" />
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.5.0/base-min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.5.0/pure-min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.5.0/grids-responsive-min.css">
<link rel="stylesheet" href="https://codersherlock.github.io//css/redlounge.css">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" rel="stylesheet">
<link href='//fonts.googleapis.com/css?family=Raleway:400,200,100,700,300,500,600,800' rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Libre+Baskerville:400,700,400italic' rel='stylesheet' type='text/css'>
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/touch-icon-144-precomposed.png">
<link rel="shortcut icon" href="/favicon.png">
<link href="https://CoderSherlock.github.io/index.xml" rel="alternate" type="application/rss+xml" title="Mil años de solitario" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<link rel='stylesheet' href='//fonts.googleapis.com/css?family=Open+Sans|Marcellus+SC'>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/styles/solarized_dark.min.css">
<link rel="stylesheet" href="https://codersherlock.github.io/css/styles.css">
<link rel="stylesheet" href="https://codersherlock.github.io/css/custom.css">
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://codersherlock.github.io//index.xml">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.7/styles/tomorrow-night-bright.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.7/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body>
<div id="layout" class="pure-g">
<div class="sidebar pure-u-1 pure-u-md-1-4">
<div class="header">
<title>Mil años de solitario</title>
<meta property='og:title' content="Mil años de solitario">
<meta property="og:type" content="website">
<img src="/images/photo.png" class="sidebarphoto">
<h1 class="brand-title">Mil años de solitario</h1>
<h2 class="brand-tagline">A boy who can&#39;t step into academia</h2>
<nav class="nav">
<ul class="nav-list">
<li class="nav-item"><span class="nav-item-separator">//</span><a href="https://codersherlock.github.io/">Home</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/about">About</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/bio">Biography</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/post">Blog</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/about/">about me</a></li>
</ul>
</nav>
<meta property="og:url" content="https://CoderSherlock.github.io/">
<div class="social-buttons">
</head>
<body>
<header class="site">
<nav class="navbar navbar-default">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="https://codersherlock.github.io/">Mil años de solitario</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="https://CoderSherlock.github.io/about/">about me</a></li>
</ul>
</div>
</div>
</nav>
</header>
<div class="site">
<div class="container">
<div class="index">
<div class="row">
<div class="col-md-8">
<a href="http://github.com/CoderSherlcok" target="_blank"><i class='fa fa-github'></i></a>
<article class="li">
<header>
<div class="date">Mon, Aug 15, 2016</div>
<div class="title"><a href="https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/">Cross Compile RSync ARM</a></div>
</header>
<div class="body">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.</div>
<footer>
<a href="https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/" class="btn btn-default">Read More…</a>
</footer>
</article>
<hr>
<article class="li">
<header>
<div class="date">Sat, Jul 30, 2016</div>
<div class="title"><a href="https://codersherlock.github.io/post/Pokemon-Go-Hack/">Pokemon Go Hack</a></div>
</header>
<div class="body">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.</div>
<footer>
<a href="https://codersherlock.github.io/post/Pokemon-Go-Hack/" class="btn btn-default">Read More…</a>
</footer>
</article>
<hr>
<article class="li">
<header>
<div class="date">Sat, Jul 30, 2016</div>
<div class="title"><a href="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/">Cross Compile Seafile to ARM</a></div>
</header>
<div class="body">Motivation This project is working for delta sync from mobile to server. Currently, there&rsquo;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&rsquo;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.</div>
<footer>
<a href="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/" class="btn btn-default">Read More…</a>
</footer>
</article>
<hr>
<article class="li">
<header>
<div class="date">Thu, Aug 26, 1993</div>
<div class="title"><a href="https://codersherlock.github.io/about/">about me</a></div>
</header>
<div class="body"><p>2012 - Coder Sherlock
2013 - Sherlock Hao
2015 - Jon Hao</p>
<p><a href="mailto:haopengzhan@gmail.com">Email me</a></p>
</div>
</article>
<hr>
</div>
<div class="col-md-4">
<aside class="site">
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">LatestPosts</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/" class="list-group-item">Cross Compile RSync ARM</a>
<a href="https://codersherlock.github.io/post/Pokemon-Go-Hack/" class="list-group-item">Pokemon Go Hack</a>
<a href="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/" class="list-group-item">Cross Compile Seafile to ARM</a>
<a href="https://codersherlock.github.io/about/" class="list-group-item">about me</a>
</div>
</div>
</div>
<div class="content pure-u-1 pure-u-md-3-4">
<a name="top"></a>
<div class="posts">
<section class="post">
<header class="post-header">
<h1 class="post-title">
<a href="/about/">about me</a>
</h1>
</header>
<p class="post-meta">
<span class="post-date">
<span class="post-date-day"><sup>16</sup></span><span class="post-date-separator">/</span><span class="post-date-month">Aug</span> <span class="post-date-year">2016</span>
</span>
<span class="post-reading-time"><i class="fa fa-clock-o"></i> <em>1 min. read</em></span>
</p>
<article class="post-summary">
2012 - Coder Sherlock 2013 - Sherlock Hao 2015 - Jon Hao Email me
</article>
<div class="read-more-link">
<a href="/about/"><span class="read-more-slashes">//</span>Read More...</a>
</div>
</section>
<section class="post">
<header class="post-header">
<h1 class="post-title">
<a href="/post/Cross-Compile-RSync-ARM/">Cross Compile RSync ARM</a>
</h1>
</header>
<p class="post-meta">
<span class="post-date">
<span class="post-date-day"><sup>15</sup></span><span class="post-date-separator">/</span><span class="post-date-month">Aug</span> <span class="post-date-year">2016</span>
</span>
<span class="post-reading-time"><i class="fa fa-clock-o"></i> <em>2 min. read</em></span>
<div class="post-categories">
<a class="post-category post-category-2016-08" href="https://codersherlock.github.io//categories/2016-08">2016-08</a>
</div>
</p>
<article class="post-summary">
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.
</article>
<div class="read-more-link">
<a href="/post/Cross-Compile-RSync-ARM/"><span class="read-more-slashes">//</span>Read More...</a>
</div>
</section>
<section class="post">
<header class="post-header">
<h1 class="post-title">
<a href="/post/Pokemon-Go-Hack/">Pokemon Go Hack</a>
</h1>
</header>
<p class="post-meta">
<span class="post-date">
<span class="post-date-day"><sup>30</sup></span><span class="post-date-separator">/</span><span class="post-date-month">Jul</span> <span class="post-date-year">2016</span>
</span>
<span class="post-reading-time"><i class="fa fa-clock-o"></i> <em>2 min. read</em></span>
<div class="post-categories">
<a class="post-category post-category-2016-07" href="https://codersherlock.github.io//categories/2016-07">2016-07</a>
</div>
</p>
<article class="post-summary">
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.
</article>
<div class="read-more-link">
<a href="/post/Pokemon-Go-Hack/"><span class="read-more-slashes">//</span>Read More...</a>
</div>
</section>
<section class="post">
<header class="post-header">
<h1 class="post-title">
<a href="/post/Cross-Compile-Seafile-2-ARM/">Cross Compile Seafile 2 ARM</a>
</h1>
</header>
<p class="post-meta">
<span class="post-date">
<span class="post-date-day"><sup>30</sup></span><span class="post-date-separator">/</span><span class="post-date-month">Jul</span> <span class="post-date-year">2016</span>
</span>
<span class="post-reading-time"><i class="fa fa-clock-o"></i> <em>3 min. read</em></span>
<div class="post-categories">
<a class="post-category post-category-2016-07" href="https://codersherlock.github.io//categories/2016-07">2016-07</a>
</div>
</p>
<article class="post-summary">
Cross Compile Seafile to ARM platform Motivation This project is working for delta sync from mobile to server. Currently, there&rsquo;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&rsquo;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.
</article>
<div class="read-more-link">
<a href="/post/Cross-Compile-Seafile-2-ARM/"><span class="read-more-slashes">//</span>Read More...</a>
</div>
</section>
</div>
<div class="footer">
<hr class="thin" />
<div class="pure-menu pure-menu-horizontal pure-menu-open">
<ul class="footer-menu">
</ul>
</div>
<p>&copy; 2016. All rights reserved.</p>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">category</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/categories/cross-compile" class="list-group-item">cross-compile</a>
<a href="https://codersherlock.github.io/categories/game" class="list-group-item">game</a>
<a href="https://codersherlock.github.io/categories/hack" class="list-group-item">hack</a>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">tag</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/tags/android" class="list-group-item">android</a>
<a href="https://codersherlock.github.io/tags/arm" class="list-group-item">arm</a>
<a href="https://codersherlock.github.io/tags/research" class="list-group-item">research</a>
<a href="https://codersherlock.github.io/tags/game" class="list-group-item">game</a>
<a href="https://codersherlock.github.io/tags/github" class="list-group-item">github</a>
<a href="https://codersherlock.github.io/tags/hack" class="list-group-item">hack</a>
</div>
</div>
</aside>
</div>
</div>
</div>
</div>
</div>
<footer class="site">
<div class="container">
<p>Copyright (c) 2016 - 2016, Pengzhan Hao; all rights reserved.</p>
<p>Powered by <a href="http://gohugo.io" target="_blank" rel="nofollow">Hugo</a>, Theme <a href="https://github.com/dim0627/hugo_theme_beg" target="_blank" rel="nofollow">beg</a> designed by <a href="http://yet.unresolved.xyz" target="_blank" rel="nofollow">Daisuke Tsuji</a></p>
</div>
</footer>
<script src="//code.jquery.com/jquery-2.2.1.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</body>
</body>
</html>
+42 -45
View File
@@ -6,23 +6,10 @@
<description>Recent content on Mil años de solitario</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Tue, 16 Aug 2016 15:04:24 -0400</lastBuildDate>
<copyright>Copyright (c) 2016 - 2016, Pengzhan Hao; all rights reserved.</copyright>
<lastBuildDate>Mon, 15 Aug 2016 15:44:05 -0400</lastBuildDate>
<atom:link href="https://CoderSherlock.github.io/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>about me</title>
<link>https://codersherlock.github.io/about/</link>
<pubDate>Tue, 16 Aug 2016 15:04:24 -0400</pubDate>
<guid>https://codersherlock.github.io/about/</guid>
<description>&lt;p&gt;2012 - Coder Sherlock
2013 - Sherlock Hao
2015 - Jon Hao&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;mailto:haopengzhan@gmail.com&#34;&gt;Email me&lt;/a&gt;&lt;/p&gt;
</description>
</item>
<item>
<title>Cross Compile RSync ARM</title>
<link>https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/</link>
@@ -31,20 +18,18 @@
<guid>https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/</guid>
<description>
&lt;h1 id=&#34;cross-compile-rsync-to-arm-platform&#34;&gt;Cross Compile Rsync to ARM platform&lt;/h1&gt;
&lt;p&gt;As always, feel free to ask. // Sherlock&lt;/p&gt;
&lt;h2 id=&#34;motivation&#34;&gt;Motivation&lt;/h2&gt;
&lt;h1 id=&#34;motivation&#34;&gt;Motivation&lt;/h1&gt;
&lt;p&gt;I got some issues about compile seafile to android, so instead of doing so, I start to figure out some other synchronize workflow. &lt;a href=&#34;https://rsync.samba.org/&#34;&gt;Rsync&lt;/a&gt; is one of the most mature synchronization solution. So I made the decision on planting rsync to android.&lt;/p&gt;
&lt;h2 id=&#34;pre-work&#34;&gt;Pre-work&lt;/h2&gt;
&lt;h1 id=&#34;pre-work&#34;&gt;Pre-work&lt;/h1&gt;
&lt;p&gt;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 &lt;a href=&#34;https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/&#34;&gt;previews blog&lt;/a&gt;, 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 &lt;a href=&#34;https://play.google.com/store/apps/details?id=berserker.android.apps.sshdroid&amp;amp;hl=en&#34;&gt;SSHDroid&lt;/a&gt; from Google Play Store.&lt;/p&gt;
&lt;h2 id=&#34;cross-compile-rsync&#34;&gt;Cross-Compile Rsync&lt;/h2&gt;
&lt;h1 id=&#34;cross-compile-rsync&#34;&gt;Cross-Compile Rsync&lt;/h1&gt;
&lt;p&gt;Running following script to build rsync. It will generate a executable file named rsync in the root directory.&lt;/p&gt;
@@ -52,7 +37,7 @@ To enable normally use of compiled program, we need to make android support SSH.
$ make
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id=&#34;push-rsync-to-android&#34;&gt;Push RSync to Android.&lt;/h2&gt;
&lt;h1 id=&#34;push-rsync-to-android&#34;&gt;Push RSync to Android.&lt;/h1&gt;
&lt;p&gt;After installing SSHDroid, we can now push our arm-version-rsync to target machine.&lt;/p&gt;
@@ -63,14 +48,14 @@ $ cd /data/data/berserker.android.apps.sshdroid/dropbear
$ mv ../../../local/tmp/rsync .
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id=&#34;run-rsync-with-argument&#34;&gt;Run Rsync with argument&lt;/h2&gt;
&lt;h1 id=&#34;run-rsync-with-argument&#34;&gt;Run Rsync with argument&lt;/h1&gt;
&lt;p&gt;Now we can easily use rsync in android shell. Similar to what we use on PC.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$ ./rsync -e &amp;quot;./ssh&amp;quot; {target-data} {target-location}:{target-directory}
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id=&#34;references&#34;&gt;References&lt;/h2&gt;
&lt;h1 id=&#34;references&#34;&gt;References&lt;/h1&gt;
&lt;p&gt;&lt;a href=&#34;http://stackoverflow.com/questions/8130889/build-rsync-for-android&#34;&gt;Build Rsync for Android&lt;/a&gt;&lt;/p&gt;
</description>
@@ -86,13 +71,13 @@ $ mv ../../../local/tmp/rsync .
&lt;h1 id=&#34;catch-them-all-until-bored&#34;&gt;Catch them all until bored&lt;/h1&gt;
&lt;h2 id=&#34;preface&#34;&gt;Preface&lt;/h2&gt;
&lt;h1 id=&#34;preface&#34;&gt;Preface&lt;/h1&gt;
&lt;p&gt;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&amp;rsquo;t become popular at my country. But time flies, I break through the wall, and come to a free land which can play Niantic&amp;rsquo;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 &lt;strong&gt;EVERYDAY&lt;/strong&gt; and the place where I am now is so barren which even doesn&amp;rsquo;t have much insects and birds(I mean Weedle and Pidgey).
&lt;em&gt;afk I have to battle a nearby gym now&lt;/em&gt;
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.&lt;/p&gt;
&lt;h2 id=&#34;todo-list&#34;&gt;TODO List&lt;/h2&gt;
&lt;h1 id=&#34;todo-list&#34;&gt;TODO List&lt;/h1&gt;
&lt;p&gt;-[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
</item>
<item>
<title>Cross Compile Seafile 2 ARM</title>
<title>Cross Compile Seafile to ARM</title>
<link>https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/</link>
<pubDate>Sat, 30 Jul 2016 14:02:34 -0400</pubDate>
<guid>https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/</guid>
<description>
&lt;h1 id=&#34;cross-compile-seafile-to-arm-platform&#34;&gt;Cross Compile Seafile to ARM platform&lt;/h1&gt;
&lt;h2 id=&#34;motivation&#34;&gt;Motivation&lt;/h2&gt;
&lt;h1 id=&#34;motivation&#34;&gt;Motivation&lt;/h1&gt;
&lt;p&gt;This project is working for delta sync from mobile to server. Currently, there&amp;rsquo;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&amp;rsquo;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.&lt;/p&gt;
&lt;h2 id=&#34;pre-work&#34;&gt;Pre-work&lt;/h2&gt;
&lt;h1 id=&#34;pre-work&#34;&gt;Pre-work&lt;/h1&gt;
&lt;p&gt;Basically, I used the native android compilation tool-chains, &lt;a href=&#34;https://developer.android.com/ndk/downloads/index.html&#34;&gt;Android NDK&lt;/a&gt;, as working tools. Due to my working situation, I use a &lt;a href=&#34;https://shield.nvidia.com/tablet/k1&#34;&gt;Nvidia Shield Tablet&lt;/a&gt; as target device. As &lt;em&gt;Zengwen&lt;/em&gt; said in his &lt;a href=&#34;http://zwyuan.github.io/2016/07/17/cross-compile-glib-for-android/&#34;&gt;blog&lt;/a&gt;, newest updated NDK might has some issue which can influence compilation progress. So you can find &lt;a href=&#34;http://stackoverflow.com/questions/6849981/where-do-i-find-old-versions-of-android-ndk&#34;&gt;other version&lt;/a&gt; of NDK once you have some problems. Based on what &lt;em&gt;Zengwen&amp;rsquo;s&lt;/em&gt; blog mentioned, we can write following useful system environment and export in terminal.&lt;/p&gt;
&lt;h3 id=&#34;prerequisites&#34;&gt;Prerequisites&lt;/h3&gt;
&lt;h2 id=&#34;prerequisites&#34;&gt;Prerequisites&lt;/h2&gt;
&lt;pre&gt;&lt;code&gt;$ sudo apt-get install build-essential
$ sudo apt-get install pkg-config automake autoconf libtool
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id=&#34;link-with-standalone-tool-chains&#34;&gt;Link with standalone tool-chains&lt;/h3&gt;
&lt;h2 id=&#34;link-with-standalone-tool-chains&#34;&gt;Link with standalone tool-chains&lt;/h2&gt;
&lt;p&gt;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.&lt;/p&gt;
@@ -141,7 +124,7 @@ $ sudo apt-get install pkg-config automake autoconf libtool
--platform=android-22
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id=&#34;original-system-environment-configuration&#34;&gt;Original System Environment Configuration&lt;/h3&gt;
&lt;h2 id=&#34;original-system-environment-configuration&#34;&gt;Original System Environment Configuration&lt;/h2&gt;
&lt;p&gt;[TODO]-&amp;gt; I will fix this part later.&lt;/p&gt;
@@ -210,35 +193,49 @@ export LIBS=&amp;quot;-lc -lstdc++ -ld&amp;quot;
export LDFLAGS=&amp;quot;-Wl,-rpath-link=-I${SYSROOT}/usr/lib -L${SYSROOT}/usr/lib -L${PREFIX}/lib -L${NDK_TOOLCHAIN}/lib&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id=&#34;compile-process&#34;&gt;Compile Process&lt;/h2&gt;
&lt;h1 id=&#34;compile-process&#34;&gt;Compile Process&lt;/h1&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;h3 id=&#34;libsearpc&#34;&gt;libsearpc&lt;/h3&gt;
&lt;h2 id=&#34;libsearpc&#34;&gt;libsearpc&lt;/h2&gt;
&lt;h4 id=&#34;glib&#34;&gt;glib&lt;/h4&gt;
&lt;h3 id=&#34;glib&#34;&gt;glib&lt;/h3&gt;
&lt;h5 id=&#34;libiconv&#34;&gt;libiconv&lt;/h5&gt;
&lt;h4 id=&#34;libiconv&#34;&gt;libiconv&lt;/h4&gt;
&lt;h5 id=&#34;libffi&#34;&gt;libffi&lt;/h5&gt;
&lt;h4 id=&#34;libffi&#34;&gt;libffi&lt;/h4&gt;
&lt;h5 id=&#34;gettext&#34;&gt;gettext&lt;/h5&gt;
&lt;h4 id=&#34;gettext&#34;&gt;gettext&lt;/h4&gt;
&lt;h4 id=&#34;libjasson&#34;&gt;libjasson&lt;/h4&gt;
&lt;h3 id=&#34;libjasson&#34;&gt;libjasson&lt;/h3&gt;
&lt;h3 id=&#34;ccnet&#34;&gt;ccnet&lt;/h3&gt;
&lt;h2 id=&#34;ccnet&#34;&gt;ccnet&lt;/h2&gt;
&lt;h4 id=&#34;libuuid&#34;&gt;libuuid&lt;/h4&gt;
&lt;h3 id=&#34;libuuid&#34;&gt;libuuid&lt;/h3&gt;
&lt;h3 id=&#34;seafile&#34;&gt;seafile&lt;/h3&gt;
&lt;h2 id=&#34;seafile&#34;&gt;seafile&lt;/h2&gt;
&lt;h2 id=&#34;preferences&#34;&gt;Preferences&lt;/h2&gt;
&lt;h1 id=&#34;preferences&#34;&gt;Preferences&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;http://zwyuan.github.io/2016/07/17/cross-compile-glib-for-android/&#34;&gt;zwyuan&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
</item>
<item>
<title>about me</title>
<link>https://codersherlock.github.io/about/</link>
<pubDate>Thu, 26 Aug 1993 08:10:55 -0400</pubDate>
<guid>https://codersherlock.github.io/about/</guid>
<description>&lt;p&gt;2012 - Coder Sherlock
2013 - Sherlock Hao
2015 - Jon Hao&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;mailto:haopengzhan@gmail.com&#34;&gt;Email me&lt;/a&gt;&lt;/p&gt;
</description>
</item>
</channel>
</rss>
</rss>
-10
View File
File diff suppressed because one or more lines are too long
-18
View File
@@ -1,18 +0,0 @@
/*
Ridiculously Responsive Social Sharing Buttons
Team: @dbox, @joshuatuscan
Site: http://www.kurtnoble.com/labs/rrssb
Twitter: @therealkni
___ ___
/__/| /__/\ ___
| |:| \ \:\ / /\
| |:| \ \:\ / /:/
__| |:| _____\__\:\ /__/::\
/__/\_|:|____ /__/::::::::\ \__\/\:\__
\ \:\/:::::/ \ \:\~~\~~\/ \ \:\/\
\ \::/~~~~ \ \:\ ~~~ \__\::/
\ \:\ \ \:\ /__/:/
\ \:\ \ \:\ \__\/
\__\/ \__\/
*/(function(e,t,n){"use strict";var r=function(){t(".rrssb-buttons").each(function(e){var n=t(this),r=t("li",n).length,i=100/r;t("li",n).css("width",i+"%").attr("data-initwidth",i)})},i=function(){t(".rrssb-buttons").each(function(e){var n=t(this),r=parseFloat(t(n).width()),i=t("li",n).not(".small").first().width(),s=t("li.small",n).length;i>170&&s<1?t(n).addClass("large-format"):t(n).removeClass("large-format");r<200?t(n).removeClass("small-format").addClass("tiny-format"):t(n).removeClass("tiny-format")})},s=function(){t(".rrssb-buttons").each(function(e){var n=t(this),r=0,i=0,s,o,a=t("li.small",n).length;if(a===t("li",n).length){var f=a*42,l=parseFloat(t(n).width());s=t("li.small",n).first();o=parseFloat(t(s).attr("data-size"))+55;if(f+o<l){t(n).removeClass("small-format");t("li.small",n).first().removeClass("small");u()}}else{t("li",n).not(".small").each(function(e){var n=parseFloat(t(this).attr("data-size"))+55,s=parseFloat(t(this).width());r+=s;i+=n});var c=r-i;s=t("li.small",n).first();o=parseFloat(t(s).attr("data-size"))+55;if(o<c){t(s).removeClass("small");u()}}})},o=function(e){t(".rrssb-buttons").each(function(e){var n=t(this),r=t("li",n).nextAll(),i=r.length;t(t("li",n).get().reverse()).each(function(e,r){if(t(this).hasClass("small")===!1){var i=parseFloat(t(this).attr("data-size"))+55,o=parseFloat(t(this).width());if(i>o){var a=t("li",n).not(".small").last();t(a).addClass("small");u()}}--r||s()})});e===!0&&f(u)},u=function(){t(".rrssb-buttons").each(function(e){var n=t(this),i,s,o,u,a,f=t("li.small",n).length;if(f>0&&f!==t("li",n).length){t(n).removeClass("small-format");t("li.small",n).css("width","42px");o=f*42;i=t("li",n).not(".small").length;s=100/i;a=o/i;navigator.userAgent.indexOf("Chrome")>=0||navigator.userAgent.indexOf("Safari")>=0?u="-webkit-calc("+s+"% - "+a+"px)":navigator.userAgent.indexOf("Firefox")>=0?u="-moz-calc("+s+"% - "+a+"px)":u="calc("+s+"% - "+a+"px)";t("li",n).not(".small").css("width",u)}else if(f===t("li",n).length){t(n).addClass("small-format");r()}else{t(n).removeClass("small-format");r()}});i()},a=function(){t(".rrssb-buttons").each(function(e){t(this).addClass("rrssb-"+(e+1))});r();t(".rrssb-buttons li .text").each(function(e){var n=parseFloat(t(this).width());t(this).closest("li").attr("data-size",n)});o(!0)},f=function(e){t(".rrssb-buttons li.small").removeClass("small");o();e()},l=function(t,r,i,s){var o=e.screenLeft!==n?e.screenLeft:screen.left,u=e.screenTop!==n?e.screenTop:screen.top,a=e.innerWidth?e.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:screen.width,f=e.innerHeight?e.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:screen.height,l=a/2-i/2+o,c=f/3-s/3+u,h=e.open(t,r,"scrollbars=yes, width="+i+", height="+s+", top="+c+", left="+l);e.focus&&h.focus()},c=function(){var e={};return function(t,n,r){r||(r="Don't call this twice without a uniqueId");e[r]&&clearTimeout(e[r]);e[r]=setTimeout(t,n)}}();t(".rrssb-buttons a.popup").on("click",function(e){var n=t(this);l(n.attr("href"),n.find(".text").html(),580,470);e.preventDefault()});t(e).resize(function(){f(u);c(function(){f(u)},200,"finished resizing")});t(document).ready(function(){a()})})(window,jQuery);
+1
View File
@@ -0,0 +1 @@
<!DOCTYPE html><html><head><link rel="canonical" href="https://CoderSherlock.github.io/"/><meta http-equiv="content-type" content="text/html; charset=utf-8" /><meta http-equiv="refresh" content="0;url=https://CoderSherlock.github.io/" /></head></html>
+197 -212
View File
@@ -1,182 +1,115 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
<head>
<title>
Cross Compile RSync ARM // Mil años de solitario
</title>
<html>
<head>
<meta charset="utf-8">
<meta name="generator" content="Hugo 0.16" />
<link href="http://gmpg.org/xfn/11" rel="profile">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="author" content="">
<meta name="generator" content="Hugo 0.16" />
<meta property="og:title" content="Cross Compile RSync ARM" />
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:locale" content="en_US" />
<meta property="og:url" content="https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/" />
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.5.0/base-min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.5.0/pure-min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.5.0/grids-responsive-min.css">
<link rel="stylesheet" href="https://codersherlock.github.io//css/redlounge.css">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" rel="stylesheet">
<link href='//fonts.googleapis.com/css?family=Raleway:400,200,100,700,300,500,600,800' rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Libre+Baskerville:400,700,400italic' rel='stylesheet' type='text/css'>
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/touch-icon-144-precomposed.png">
<link rel="shortcut icon" href="/favicon.png">
<link href="" rel="alternate" type="application/rss+xml" title="Mil años de solitario" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<link rel='stylesheet' href='//fonts.googleapis.com/css?family=Open+Sans|Marcellus+SC'>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/styles/solarized_dark.min.css">
<link rel="stylesheet" href="https://codersherlock.github.io/css/styles.css">
<link rel="stylesheet" href="https://codersherlock.github.io/css/custom.css">
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://codersherlock.github.io//index.xml">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.7/styles/tomorrow-night-bright.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.7/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body>
<div id="layout" class="pure-g">
<div class="sidebar pure-u-1 pure-u-md-1-4">
<div class="header">
<title>Cross Compile RSync ARM - Mil años de solitario</title>
<meta property='og:title' content="Cross Compile RSync ARM - Mil años de solitario">
<meta property="og:type" content="article">
<img src="/images/photo.png" class="sidebarphoto">
<h1 class="brand-title">Mil años de solitario</h1>
<h2 class="brand-tagline">A boy who can&#39;t step into academia</h2>
<nav class="nav">
<ul class="nav-list">
<li class="nav-item"><span class="nav-item-separator">//</span><a href="https://codersherlock.github.io/">Home</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/about">About</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/bio">Biography</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/post">Blog</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/about/">about me</a></li>
</ul>
</nav>
<meta property="og:url" content="https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/">
<div class="social-buttons">
<a href="http://github.com/CoderSherlcok" target="_blank"><i class='fa fa-github'></i></a>
</div>
</div>
</div>
</head>
<body>
<div class="content pure-u-1 pure-u-md-3-4">
<a name="top"></a>
<header class="site">
<nav class="navbar navbar-default">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="https://codersherlock.github.io/">Mil años de solitario</a>
</div>
<div id="toc" class="pure-u-1 pure-u-md-1-4">
<small class="toc-label">Contents</small>
<nav id="TableOfContents">
<ul>
<li><a href="#cross-compile-rsync-to-arm-platform">Cross Compile Rsync to ARM platform</a>
<ul>
<li><a href="#motivation">Motivation</a></li>
<li><a href="#pre-work">Pre-work</a></li>
<li><a href="#cross-compile-rsync">Cross-Compile Rsync</a></li>
<li><a href="#push-rsync-to-android">Push RSync to Android.</a></li>
<li><a href="#run-rsync-with-argument">Run Rsync with argument</a></li>
<li><a href="#references">References</a></li>
</ul></li>
</ul>
</nav>
</div>
<section class="post">
<h1 class="post-title">
<a href="/post/Cross-Compile-RSync-ARM/">Cross Compile RSync ARM</a>
</h1>
<h3 class="post-subtitle">
</h3>
<div id="navbar" class="collapse navbar-collapse">
<span class="post-date">
<span class="post-date-day"><sup>15</sup></span><span class="post-date-separator">/</span><span class="post-date-month">Aug</span> <span class="post-date-year">2016</span>
</span>
<ul class="nav navbar-nav navbar-right">
<li><a href="https://CoderSherlock.github.io/about/">about me</a></li>
</ul>
</div>
<div class="post-categories">
<a class="post-category post-category-2016-08" href="https://codersherlock.github.io//categories/2016-08">2016-08</a>
</div>
</div>
</nav>
</header>
<div class="site">
<div class="container">
<h1 id="cross-compile-rsync-to-arm-platform">Cross Compile Rsync to ARM platform</h1>
<div class="single">
<div class="row">
<div class="col-md-8">
<article class="single" itemscope="itemscope" itemtype="http://schema.org/Article">
<meta itemprop="mainEntityOfPage" itemType="https://schema.org/WebPage" content="https://codersherlock.github.io/"/>
<meta itemprop="dateModified" content="2016-08-15T15:44:05-04:00">
<meta itemprop="headline" content="Cross Compile RSync ARM">
<meta itemprop="description" content="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.">
<meta itemprop="url" content="https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/">
<div itemprop="image" itemscope itemtype="https://schema.org/ImageObject">
<meta itemprop="url" content="https://codersherlock.github.io/images/default.jpg" />
<meta itemprop="width" content="800">
<meta itemprop="height" content="800">
</div>
<div itemprop="publisher" itemscope itemtype="https://schema.org/Organization">
<div itemprop="logo" itemscope itemtype="https://schema.org/ImageObject">
<meta itemprop="url" content="https://codersherlock.github.io/images/logo.jpg">
<meta itemprop="width" content="100">
<meta itemprop="height" content="100">
</div>
<meta itemprop="name" content="Mil años de solitario">
</div>
<div itemprop="author" itemscope itemtype="https://schema.org/Person">
<meta itemprop="name" content="">
</div>
<header class="article-header">
<time itemprop="datePublished" pubdate="pubdate" datetime="2016-08-15T15:44:05-04:00">Mon, Aug 15, 2016</time>
<h1 class="article-title">Cross Compile RSync ARM</h1>
</header>
<div class="article-body" itemprop="articleBody">
<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&amp;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>
@@ -184,7 +117,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>
@@ -195,84 +128,136 @@ $ 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 &quot;./ssh&quot; {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>
</div>
<div class="tags-list">
<span class="dark-red">Tags</span><span class="decorative-marker">//</span>
<a class="post-tag post-tag-android" href="https://codersherlock.github.io//tags/android">android</a>,
<a class="post-tag post-tag-arm" href="https://codersherlock.github.io//tags/arm">arm</a>,
</div>
<div class="paging">
<span class="paging-label">More Reading</span>
<div class="paging-newer">
<span class="dark-red">Newer</span><span class="decorative-marker">//</span>
<a class="paging-link" href="/about/">about me</a>
</div>
<aside>
<div class="section"><a href="https://codersherlock.github.io/tags/android" class="tag">android</a> <a href="https://codersherlock.github.io/tags/arm" class="tag">arm</a> <a href="https://codersherlock.github.io/tags/research" class="tag">research</a> </div>
<div class="section share">
<a href="http://www.facebook.com/sharer.php?src=bm&u=https%3a%2f%2fcodersherlock.github.io%2fpost%2fCross-Compile-RSync-ARM%2f&t=Cross%20Compile%20RSync%20ARM" onclick="window.open(this.href, 'PCwindow', 'width=550, height=350, menubar=no, toolbar=no, scrollbars=yes'); return false;"><i class="fa fa-facebook"></i></a>
<a href="http://twitter.com/intent/tweet?url=https%3a%2f%2fcodersherlock.github.io%2fpost%2fCross-Compile-RSync-ARM%2f&text=Cross%20Compile%20RSync%20ARM&tw_p=tweetbutton" onclick="window.open(this.href, 'PCwindow', 'width=550, height=350, menubar=no, toolbar=no, scrollbars=yes'); return false;"><i class="fa fa-twitter"></i></a>
<a href="https://plus.google.com/share?url=https%3a%2f%2fcodersherlock.github.io%2fpost%2fCross-Compile-RSync-ARM%2f" onclick="window.open(this.href, 'PCwindow', 'width=550, height=350, menubar=no, toolbar=no, scrollbars=yes'); return false;"><i class="fa fa-google-plus"></i></a>
<a href="http://getpocket.com/edit?url=https%3a%2f%2fcodersherlock.github.io%2fpost%2fCross-Compile-RSync-ARM%2f&title=Cross%20Compile%20RSync%20ARM" onclick="window.open(this.href, 'PCwindow', 'width=550, height=350, menubar=no, toolbar=no, scrollbars=yes'); return false;"><i class="fa fa-get-pocket"></i></a>
</div>
<div class="paging-older">
<span class="dark-red">Older</span><span class="decorative-marker">//</span>
<a class="paging-link" href="/post/Pokemon-Go-Hack/">Pokemon Go Hack</a>
</div>
</div>
</section>
<div id="disqus_thread"></div>
<script type="text/javascript">
var disqus_shortname = 'codersherlockblog';
var disqus_identifier = 'https:\/\/codersherlock.github.io\/post\/Cross-Compile-RSync-ARM\/';
var disqus_title = 'Cross Compile RSync ARM';
var disqus_url = 'https:\/\/codersherlock.github.io\/post\/Cross-Compile-RSync-ARM\/';
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
<div class="footer">
<hr class="thin" />
<div class="pure-menu pure-menu-horizontal pure-menu-open">
<ul class="footer-menu">
</ul>
</div>
<div class="section">
<div id="disqus_thread"></div>
<script type="text/javascript">
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
var disqus_shortname = 'codersherlockblog';
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<a href="http://disqus.com/" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
</div>
</aside>
<p>&copy; 2016. All rights reserved.</p>
</div>
</article>
</div>
<div class="col-md-4">
<aside class="site">
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">LatestPosts</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/" class="list-group-item">Cross Compile RSync ARM</a>
<a href="https://codersherlock.github.io/post/Pokemon-Go-Hack/" class="list-group-item">Pokemon Go Hack</a>
<a href="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/" class="list-group-item">Cross Compile Seafile to ARM</a>
<a href="https://codersherlock.github.io/about/" class="list-group-item">about me</a>
</div>
</div>
</body>
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">category</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/categories/cross-compile" class="list-group-item">cross-compile</a>
<a href="https://codersherlock.github.io/categories/game" class="list-group-item">game</a>
<a href="https://codersherlock.github.io/categories/hack" class="list-group-item">hack</a>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">tag</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/tags/android" class="list-group-item">android</a>
<a href="https://codersherlock.github.io/tags/arm" class="list-group-item">arm</a>
<a href="https://codersherlock.github.io/tags/research" class="list-group-item">research</a>
<a href="https://codersherlock.github.io/tags/game" class="list-group-item">game</a>
<a href="https://codersherlock.github.io/tags/github" class="list-group-item">github</a>
<a href="https://codersherlock.github.io/tags/hack" class="list-group-item">hack</a>
</div>
</div>
</aside>
</div>
</div>
</div>
</div>
</div>
<footer class="site">
<div class="container">
<p>Copyright (c) 2016 - 2016, Pengzhan Hao; all rights reserved.</p>
<p>Powered by <a href="http://gohugo.io" target="_blank" rel="nofollow">Hugo</a>, Theme <a href="https://github.com/dim0627/hugo_theme_beg" target="_blank" rel="nofollow">beg</a> designed by <a href="http://yet.unresolved.xyz" target="_blank" rel="nofollow">Daisuke Tsuji</a></p>
</div>
</footer>
<script src="//code.jquery.com/jquery-2.2.1.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</body>
</html>
+207 -237
View File
@@ -1,205 +1,118 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
<head>
<title>
Cross Compile Seafile 2 ARM // Mil años de solitario
</title>
<html>
<head>
<meta charset="utf-8">
<meta name="generator" content="Hugo 0.16" />
<link href="http://gmpg.org/xfn/11" rel="profile">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="author" content="">
<meta name="generator" content="Hugo 0.16" />
<meta property="og:title" content="Cross Compile Seafile 2 ARM" />
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:locale" content="en_US" />
<meta property="og:url" content="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/" />
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.5.0/base-min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.5.0/pure-min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.5.0/grids-responsive-min.css">
<link rel="stylesheet" href="https://codersherlock.github.io//css/redlounge.css">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" rel="stylesheet">
<link href='//fonts.googleapis.com/css?family=Raleway:400,200,100,700,300,500,600,800' rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Libre+Baskerville:400,700,400italic' rel='stylesheet' type='text/css'>
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/touch-icon-144-precomposed.png">
<link rel="shortcut icon" href="/favicon.png">
<link href="" rel="alternate" type="application/rss+xml" title="Mil años de solitario" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<link rel='stylesheet' href='//fonts.googleapis.com/css?family=Open+Sans|Marcellus+SC'>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/styles/solarized_dark.min.css">
<link rel="stylesheet" href="https://codersherlock.github.io/css/styles.css">
<link rel="stylesheet" href="https://codersherlock.github.io/css/custom.css">
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://codersherlock.github.io//index.xml">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.7/styles/tomorrow-night-bright.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.7/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body>
<div id="layout" class="pure-g">
<div class="sidebar pure-u-1 pure-u-md-1-4">
<div class="header">
<title>Cross Compile Seafile to ARM - Mil años de solitario</title>
<meta property='og:title' content="Cross Compile Seafile to ARM - Mil años de solitario">
<meta property="og:type" content="article">
<img src="/images/photo.png" class="sidebarphoto">
<h1 class="brand-title">Mil años de solitario</h1>
<h2 class="brand-tagline">A boy who can&#39;t step into academia</h2>
<nav class="nav">
<ul class="nav-list">
<li class="nav-item"><span class="nav-item-separator">//</span><a href="https://codersherlock.github.io/">Home</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/about">About</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/bio">Biography</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/post">Blog</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/about/">about me</a></li>
</ul>
</nav>
<meta property="og:url" content="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/">
<div class="social-buttons">
<a href="http://github.com/CoderSherlcok" target="_blank"><i class='fa fa-github'></i></a>
</div>
</div>
</div>
</head>
<body>
<div class="content pure-u-1 pure-u-md-3-4">
<a name="top"></a>
<header class="site">
<nav class="navbar navbar-default">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="https://codersherlock.github.io/">Mil años de solitario</a>
</div>
<div id="toc" class="pure-u-1 pure-u-md-1-4">
<small class="toc-label">Contents</small>
<nav id="TableOfContents">
<ul>
<li><a href="#cross-compile-seafile-to-arm-platform">Cross Compile Seafile to ARM platform</a>
<ul>
<li><a href="#motivation">Motivation</a></li>
<li><a href="#pre-work">Pre-work</a>
<ul>
<li><a href="#prerequisites">Prerequisites</a></li>
<li><a href="#link-with-standalone-tool-chains">Link with standalone tool-chains</a></li>
<li><a href="#original-system-environment-configuration">Original System Environment Configuration</a></li>
</ul></li>
<li><a href="#compile-process">Compile Process</a>
<ul>
<li><a href="#libsearpc">libsearpc</a>
<ul>
<li><a href="#glib">glib</a>
<ul>
<li><a href="#libiconv">libiconv</a></li>
<li><a href="#libffi">libffi</a></li>
<li><a href="#gettext">gettext</a></li>
</ul></li>
<li><a href="#libjasson">libjasson</a></li>
</ul></li>
<li><a href="#ccnet">ccnet</a>
<ul>
<li><a href="#libuuid">libuuid</a></li>
</ul></li>
<li><a href="#seafile">seafile</a></li>
</ul></li>
<li><a href="#preferences">Preferences</a></li>
</ul></li>
</ul>
</nav>
</div>
<section class="post">
<h1 class="post-title">
<a href="/post/Cross-Compile-Seafile-2-ARM/">Cross Compile Seafile 2 ARM</a>
</h1>
<h3 class="post-subtitle">
</h3>
<div id="navbar" class="collapse navbar-collapse">
<span class="post-date">
<span class="post-date-day"><sup>30</sup></span><span class="post-date-separator">/</span><span class="post-date-month">Jul</span> <span class="post-date-year">2016</span>
</span>
<ul class="nav navbar-nav navbar-right">
<li><a href="https://CoderSherlock.github.io/about/">about me</a></li>
</ul>
</div>
<div class="post-categories">
<a class="post-category post-category-2016-07" href="https://codersherlock.github.io//categories/2016-07">2016-07</a>
</div>
</div>
</nav>
</header>
<div class="site">
<div class="container">
<h1 id="cross-compile-seafile-to-arm-platform">Cross Compile Seafile to ARM platform</h1>
<div class="single">
<h2 id="motivation">Motivation</h2>
<div class="row">
<div class="col-md-8">
<article class="single" itemscope="itemscope" itemtype="http://schema.org/Article">
<meta itemprop="mainEntityOfPage" itemType="https://schema.org/WebPage" content="https://codersherlock.github.io/"/>
<meta itemprop="dateModified" content="2016-07-30T14:02:34-04:00">
<meta itemprop="headline" content="Cross Compile Seafile to ARM">
<meta itemprop="description" content="Motivation This project is working for delta sync from mobile to server. Currently, there&rsquo;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&rsquo;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.">
<meta itemprop="url" content="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/">
<div itemprop="image" itemscope itemtype="https://schema.org/ImageObject">
<meta itemprop="url" content="https://codersherlock.github.io/images/default.jpg" />
<meta itemprop="width" content="800">
<meta itemprop="height" content="800">
</div>
<div itemprop="publisher" itemscope itemtype="https://schema.org/Organization">
<div itemprop="logo" itemscope itemtype="https://schema.org/ImageObject">
<meta itemprop="url" content="https://codersherlock.github.io/images/logo.jpg">
<meta itemprop="width" content="100">
<meta itemprop="height" content="100">
</div>
<meta itemprop="name" content="Mil años de solitario">
</div>
<div itemprop="author" itemscope itemtype="https://schema.org/Person">
<meta itemprop="name" content="">
</div>
<header class="article-header">
<time itemprop="datePublished" pubdate="pubdate" datetime="2016-07-30T14:02:34-04:00">Sat, Jul 30, 2016</time>
<h1 class="article-title">Cross Compile Seafile to ARM</h1>
</header>
<div class="article-body" itemprop="articleBody">
<h1 id="motivation">Motivation</h1>
<p>This project is working for delta sync from mobile to server. Currently, there&rsquo;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&rsquo;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&rsquo;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>
@@ -213,7 +126,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]-&gt; I will fix this part later.</p>
@@ -282,96 +195,153 @@ export LIBS=&quot;-lc -lstdc++ -ld&quot;
export LDFLAGS=&quot;-Wl,-rpath-link=-I${SYSROOT}/usr/lib -L${SYSROOT}/usr/lib -L${PREFIX}/lib -L${NDK_TOOLCHAIN}/lib&quot;
</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>
</div>
<div class="tags-list">
<span class="dark-red">Tags</span><span class="decorative-marker">//</span>
<a class="post-tag post-tag-android" href="https://codersherlock.github.io//tags/android">android</a>,
<a class="post-tag post-tag-arm" href="https://codersherlock.github.io//tags/arm">arm</a>,
</div>
<div class="paging">
<span class="paging-label">More Reading</span>
<div class="paging-newer">
<span class="dark-red">Newer</span><span class="decorative-marker">//</span>
<a class="paging-link" href="/post/Pokemon-Go-Hack/">Pokemon Go Hack</a>
</div>
<aside>
<div class="section"><a href="https://codersherlock.github.io/tags/android" class="tag">android</a> <a href="https://codersherlock.github.io/tags/arm" class="tag">arm</a> <a href="https://codersherlock.github.io/tags/research" class="tag">research</a> </div>
<div class="section share">
<a href="http://www.facebook.com/sharer.php?src=bm&u=https%3a%2f%2fcodersherlock.github.io%2fpost%2fCross-Compile-Seafile-2-ARM%2f&t=Cross%20Compile%20Seafile%20to%20ARM" onclick="window.open(this.href, 'PCwindow', 'width=550, height=350, menubar=no, toolbar=no, scrollbars=yes'); return false;"><i class="fa fa-facebook"></i></a>
<a href="http://twitter.com/intent/tweet?url=https%3a%2f%2fcodersherlock.github.io%2fpost%2fCross-Compile-Seafile-2-ARM%2f&text=Cross%20Compile%20Seafile%20to%20ARM&tw_p=tweetbutton" onclick="window.open(this.href, 'PCwindow', 'width=550, height=350, menubar=no, toolbar=no, scrollbars=yes'); return false;"><i class="fa fa-twitter"></i></a>
<a href="https://plus.google.com/share?url=https%3a%2f%2fcodersherlock.github.io%2fpost%2fCross-Compile-Seafile-2-ARM%2f" onclick="window.open(this.href, 'PCwindow', 'width=550, height=350, menubar=no, toolbar=no, scrollbars=yes'); return false;"><i class="fa fa-google-plus"></i></a>
<a href="http://getpocket.com/edit?url=https%3a%2f%2fcodersherlock.github.io%2fpost%2fCross-Compile-Seafile-2-ARM%2f&title=Cross%20Compile%20Seafile%20to%20ARM" onclick="window.open(this.href, 'PCwindow', 'width=550, height=350, menubar=no, toolbar=no, scrollbars=yes'); return false;"><i class="fa fa-get-pocket"></i></a>
</div>
</div>
</section>
<div id="disqus_thread"></div>
<script type="text/javascript">
var disqus_shortname = 'codersherlockblog';
var disqus_identifier = 'https:\/\/codersherlock.github.io\/post\/Cross-Compile-Seafile-2-ARM\/';
var disqus_title = 'Cross Compile Seafile 2 ARM';
var disqus_url = 'https:\/\/codersherlock.github.io\/post\/Cross-Compile-Seafile-2-ARM\/';
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
<div class="footer">
<hr class="thin" />
<div class="pure-menu pure-menu-horizontal pure-menu-open">
<ul class="footer-menu">
</ul>
</div>
<div class="section">
<div id="disqus_thread"></div>
<script type="text/javascript">
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
var disqus_shortname = 'codersherlockblog';
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<a href="http://disqus.com/" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
</div>
</aside>
<p>&copy; 2016. All rights reserved.</p>
</div>
</article>
</div>
<div class="col-md-4">
<aside class="site">
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">LatestPosts</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/" class="list-group-item">Cross Compile RSync ARM</a>
<a href="https://codersherlock.github.io/post/Pokemon-Go-Hack/" class="list-group-item">Pokemon Go Hack</a>
<a href="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/" class="list-group-item">Cross Compile Seafile to ARM</a>
<a href="https://codersherlock.github.io/about/" class="list-group-item">about me</a>
</div>
</div>
</body>
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">category</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/categories/cross-compile" class="list-group-item">cross-compile</a>
<a href="https://codersherlock.github.io/categories/game" class="list-group-item">game</a>
<a href="https://codersherlock.github.io/categories/hack" class="list-group-item">hack</a>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">tag</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/tags/android" class="list-group-item">android</a>
<a href="https://codersherlock.github.io/tags/arm" class="list-group-item">arm</a>
<a href="https://codersherlock.github.io/tags/research" class="list-group-item">research</a>
<a href="https://codersherlock.github.io/tags/game" class="list-group-item">game</a>
<a href="https://codersherlock.github.io/tags/github" class="list-group-item">github</a>
<a href="https://codersherlock.github.io/tags/hack" class="list-group-item">hack</a>
</div>
</div>
</aside>
</div>
</div>
</div>
</div>
</div>
<footer class="site">
<div class="container">
<p>Copyright (c) 2016 - 2016, Pengzhan Hao; all rights reserved.</p>
<p>Powered by <a href="http://gohugo.io" target="_blank" rel="nofollow">Hugo</a>, Theme <a href="https://github.com/dim0627/hugo_theme_beg" target="_blank" rel="nofollow">beg</a> designed by <a href="http://yet.unresolved.xyz" target="_blank" rel="nofollow">Daisuke Tsuji</a></p>
</div>
</footer>
<script src="//code.jquery.com/jquery-2.2.1.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</body>
</html>
+194 -203
View File
@@ -1,173 +1,112 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
<head>
<title>
Pokemon Go Hack // Mil años de solitario
</title>
<html>
<head>
<meta charset="utf-8">
<meta name="generator" content="Hugo 0.16" />
<link href="http://gmpg.org/xfn/11" rel="profile">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="author" content="">
<meta name="generator" content="Hugo 0.16" />
<meta property="og:title" content="Pokemon Go Hack" />
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:locale" content="en_US" />
<meta property="og:url" content="https://codersherlock.github.io/post/Pokemon-Go-Hack/" />
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.5.0/base-min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.5.0/pure-min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.5.0/grids-responsive-min.css">
<link rel="stylesheet" href="https://codersherlock.github.io//css/redlounge.css">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" rel="stylesheet">
<link href='//fonts.googleapis.com/css?family=Raleway:400,200,100,700,300,500,600,800' rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Libre+Baskerville:400,700,400italic' rel='stylesheet' type='text/css'>
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/touch-icon-144-precomposed.png">
<link rel="shortcut icon" href="/favicon.png">
<link href="" rel="alternate" type="application/rss+xml" title="Mil años de solitario" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<link rel='stylesheet' href='//fonts.googleapis.com/css?family=Open+Sans|Marcellus+SC'>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/styles/solarized_dark.min.css">
<link rel="stylesheet" href="https://codersherlock.github.io/css/styles.css">
<link rel="stylesheet" href="https://codersherlock.github.io/css/custom.css">
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://codersherlock.github.io//index.xml">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.7/styles/tomorrow-night-bright.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.7/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body>
<div id="layout" class="pure-g">
<div class="sidebar pure-u-1 pure-u-md-1-4">
<div class="header">
<title>Pokemon Go Hack - Mil años de solitario</title>
<meta property='og:title' content="Pokemon Go Hack - Mil años de solitario">
<meta property="og:type" content="article">
<img src="/images/photo.png" class="sidebarphoto">
<h1 class="brand-title">Mil años de solitario</h1>
<h2 class="brand-tagline">A boy who can&#39;t step into academia</h2>
<nav class="nav">
<ul class="nav-list">
<li class="nav-item"><span class="nav-item-separator">//</span><a href="https://codersherlock.github.io/">Home</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/about">About</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/bio">Biography</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/post">Blog</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/about/">about me</a></li>
</ul>
</nav>
<meta property="og:url" content="https://codersherlock.github.io/post/Pokemon-Go-Hack/">
<div class="social-buttons">
<a href="http://github.com/CoderSherlcok" target="_blank"><i class='fa fa-github'></i></a>
</div>
</div>
</div>
</head>
<body>
<div class="content pure-u-1 pure-u-md-3-4">
<a name="top"></a>
<header class="site">
<nav class="navbar navbar-default">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="https://codersherlock.github.io/">Mil años de solitario</a>
</div>
<div id="toc" class="pure-u-1 pure-u-md-1-4">
<small class="toc-label">Contents</small>
<nav id="TableOfContents">
<ul>
<li><a href="#catch-them-all-until-bored">Catch them all until bored</a>
<ul>
<li><a href="#preface">Preface</a></li>
<li><a href="#todo-list">TODO List</a></li>
</ul></li>
</ul>
</nav>
</div>
<section class="post">
<h1 class="post-title">
<a href="/post/Pokemon-Go-Hack/">Pokemon Go Hack</a>
</h1>
<h3 class="post-subtitle">
</h3>
<div id="navbar" class="collapse navbar-collapse">
<span class="post-date">
<span class="post-date-day"><sup>30</sup></span><span class="post-date-separator">/</span><span class="post-date-month">Jul</span> <span class="post-date-year">2016</span>
</span>
<ul class="nav navbar-nav navbar-right">
<li><a href="https://CoderSherlock.github.io/about/">about me</a></li>
</ul>
</div>
<div class="post-categories">
<a class="post-category post-category-2016-07" href="https://codersherlock.github.io//categories/2016-07">2016-07</a>
</div>
</div>
</nav>
</header>
<div class="site">
<div class="container">
<div class="single">
<div class="row">
<div class="col-md-8">
<article class="single" itemscope="itemscope" itemtype="http://schema.org/Article">
<meta itemprop="mainEntityOfPage" itemType="https://schema.org/WebPage" content="https://codersherlock.github.io/"/>
<meta itemprop="dateModified" content="2016-07-30T18:10:20-04:00">
<meta itemprop="headline" content="Pokemon Go Hack">
<meta itemprop="description" content="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.">
<meta itemprop="url" content="https://codersherlock.github.io/post/Pokemon-Go-Hack/">
<div itemprop="image" itemscope itemtype="https://schema.org/ImageObject">
<meta itemprop="url" content="https://codersherlock.github.io/images/default.jpg" />
<meta itemprop="width" content="800">
<meta itemprop="height" content="800">
</div>
<div itemprop="publisher" itemscope itemtype="https://schema.org/Organization">
<div itemprop="logo" itemscope itemtype="https://schema.org/ImageObject">
<meta itemprop="url" content="https://codersherlock.github.io/images/logo.jpg">
<meta itemprop="width" content="100">
<meta itemprop="height" content="100">
</div>
<meta itemprop="name" content="Mil años de solitario">
</div>
<div itemprop="author" itemscope itemtype="https://schema.org/Person">
<meta itemprop="name" content="">
</div>
<header class="article-header">
<time itemprop="datePublished" pubdate="pubdate" datetime="2016-07-30T18:10:20-04:00">Sat, Jul 30, 2016</time>
<h1 class="article-title">Pokemon Go Hack</h1>
</header>
<div class="article-body" itemprop="articleBody">
<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&rsquo;t become popular at my country. But time flies, I break through the wall, and come to a free land which can play Niantic&rsquo;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&rsquo;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
@@ -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&rsquo;s idea)
-[ ] Become a Pokemon Master</p>
</div>
<div class="tags-list">
<span class="dark-red">Tags</span><span class="decorative-marker">//</span>
<a class="post-tag post-tag-hack" href="https://codersherlock.github.io//tags/hack">hack</a>,
<a class="post-tag post-tag-github" href="https://codersherlock.github.io//tags/github">github</a>,
</div>
<div class="paging">
<span class="paging-label">More Reading</span>
<div class="paging-newer">
<span class="dark-red">Newer</span><span class="decorative-marker">//</span>
<a class="paging-link" href="/post/Cross-Compile-RSync-ARM/">Cross Compile RSync ARM</a>
</div>
<aside>
<div class="section"><a href="https://codersherlock.github.io/tags/hack" class="tag">hack</a> <a href="https://codersherlock.github.io/tags/github" class="tag">github</a> <a href="https://codersherlock.github.io/tags/game" class="tag">game</a> </div>
<div class="section share">
<a href="http://www.facebook.com/sharer.php?src=bm&u=https%3a%2f%2fcodersherlock.github.io%2fpost%2fPokemon-Go-Hack%2f&t=Pokemon%20Go%20Hack" onclick="window.open(this.href, 'PCwindow', 'width=550, height=350, menubar=no, toolbar=no, scrollbars=yes'); return false;"><i class="fa fa-facebook"></i></a>
<a href="http://twitter.com/intent/tweet?url=https%3a%2f%2fcodersherlock.github.io%2fpost%2fPokemon-Go-Hack%2f&text=Pokemon%20Go%20Hack&tw_p=tweetbutton" onclick="window.open(this.href, 'PCwindow', 'width=550, height=350, menubar=no, toolbar=no, scrollbars=yes'); return false;"><i class="fa fa-twitter"></i></a>
<a href="https://plus.google.com/share?url=https%3a%2f%2fcodersherlock.github.io%2fpost%2fPokemon-Go-Hack%2f" onclick="window.open(this.href, 'PCwindow', 'width=550, height=350, menubar=no, toolbar=no, scrollbars=yes'); return false;"><i class="fa fa-google-plus"></i></a>
<a href="http://getpocket.com/edit?url=https%3a%2f%2fcodersherlock.github.io%2fpost%2fPokemon-Go-Hack%2f&title=Pokemon%20Go%20Hack" onclick="window.open(this.href, 'PCwindow', 'width=550, height=350, menubar=no, toolbar=no, scrollbars=yes'); return false;"><i class="fa fa-get-pocket"></i></a>
</div>
<div class="paging-older">
<span class="dark-red">Older</span><span class="decorative-marker">//</span>
<a class="paging-link" href="/post/Cross-Compile-Seafile-2-ARM/">Cross Compile Seafile 2 ARM</a>
</div>
</div>
</section>
<div id="disqus_thread"></div>
<script type="text/javascript">
var disqus_shortname = 'codersherlockblog';
var disqus_identifier = 'https:\/\/codersherlock.github.io\/post\/Pokemon-Go-Hack\/';
var disqus_title = 'Pokemon Go Hack';
var disqus_url = 'https:\/\/codersherlock.github.io\/post\/Pokemon-Go-Hack\/';
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
<div class="footer">
<hr class="thin" />
<div class="pure-menu pure-menu-horizontal pure-menu-open">
<ul class="footer-menu">
</ul>
</div>
<div class="section">
<div id="disqus_thread"></div>
<script type="text/javascript">
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
var disqus_shortname = 'codersherlockblog';
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<a href="http://disqus.com/" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
</div>
</aside>
<p>&copy; 2016. All rights reserved.</p>
</div>
</article>
</div>
<div class="col-md-4">
<aside class="site">
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">LatestPosts</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/" class="list-group-item">Cross Compile RSync ARM</a>
<a href="https://codersherlock.github.io/post/Pokemon-Go-Hack/" class="list-group-item">Pokemon Go Hack</a>
<a href="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/" class="list-group-item">Cross Compile Seafile to ARM</a>
<a href="https://codersherlock.github.io/about/" class="list-group-item">about me</a>
</div>
</div>
</body>
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">category</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/categories/cross-compile" class="list-group-item">cross-compile</a>
<a href="https://codersherlock.github.io/categories/game" class="list-group-item">game</a>
<a href="https://codersherlock.github.io/categories/hack" class="list-group-item">hack</a>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">tag</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/tags/android" class="list-group-item">android</a>
<a href="https://codersherlock.github.io/tags/arm" class="list-group-item">arm</a>
<a href="https://codersherlock.github.io/tags/research" class="list-group-item">research</a>
<a href="https://codersherlock.github.io/tags/game" class="list-group-item">game</a>
<a href="https://codersherlock.github.io/tags/github" class="list-group-item">github</a>
<a href="https://codersherlock.github.io/tags/hack" class="list-group-item">hack</a>
</div>
</div>
</aside>
</div>
</div>
</div>
</div>
</div>
<footer class="site">
<div class="container">
<p>Copyright (c) 2016 - 2016, Pengzhan Hao; all rights reserved.</p>
<p>Powered by <a href="http://gohugo.io" target="_blank" rel="nofollow">Hugo</a>, Theme <a href="https://github.com/dim0627/hugo_theme_beg" target="_blank" rel="nofollow">beg</a> designed by <a href="http://yet.unresolved.xyz" target="_blank" rel="nofollow">Daisuke Tsuji</a></p>
</div>
</footer>
<script src="//code.jquery.com/jquery-2.2.1.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</body>
</html>
+189 -219
View File
@@ -1,237 +1,207 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
<head>
<title>
Posts // Mil años de solitario
</title>
<html>
<head>
<meta charset="utf-8">
<meta name="generator" content="Hugo 0.16" />
<link href="http://gmpg.org/xfn/11" rel="profile">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="author" content="">
<meta name="generator" content="Hugo 0.16" />
<meta property="og:title" content="Posts" />
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:locale" content="en_US" />
<meta property="og:url" content="https://CoderSherlock.github.io/post/" />
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.5.0/base-min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.5.0/pure-min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.5.0/grids-responsive-min.css">
<link rel="stylesheet" href="https://codersherlock.github.io//css/redlounge.css">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" rel="stylesheet">
<link href='//fonts.googleapis.com/css?family=Raleway:400,200,100,700,300,500,600,800' rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Libre+Baskerville:400,700,400italic' rel='stylesheet' type='text/css'>
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/touch-icon-144-precomposed.png">
<link rel="shortcut icon" href="/favicon.png">
<link href="https://CoderSherlock.github.io/post/index.xml" rel="alternate" type="application/rss+xml" title="Mil años de solitario" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<link rel='stylesheet' href='//fonts.googleapis.com/css?family=Open+Sans|Marcellus+SC'>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/styles/solarized_dark.min.css">
<link rel="stylesheet" href="https://codersherlock.github.io/css/styles.css">
<link rel="stylesheet" href="https://codersherlock.github.io/css/custom.css">
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://codersherlock.github.io//index.xml">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.7/styles/tomorrow-night-bright.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.7/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body>
<div id="layout" class="pure-g">
<div class="sidebar pure-u-1 pure-u-md-1-4">
<div class="header">
<title>Posts - Mil años de solitario</title>
<meta property='og:title' content="Posts - Mil años de solitario">
<meta property="og:type" content="article">
<img src="/images/photo.png" class="sidebarphoto">
<h1 class="brand-title">Mil años de solitario</h1>
<h2 class="brand-tagline">A boy who can&#39;t step into academia</h2>
<nav class="nav">
<ul class="nav-list">
<li class="nav-item"><span class="nav-item-separator">//</span><a href="https://codersherlock.github.io/">Home</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/about">About</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/bio">Biography</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/post">Blog</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/about/">about me</a></li>
</ul>
</nav>
<meta property="og:url" content="https://CoderSherlock.github.io/post/">
<div class="social-buttons">
</head>
<body>
<header class="site">
<nav class="navbar navbar-default">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="https://codersherlock.github.io/">Mil años de solitario</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="https://CoderSherlock.github.io/about/">about me</a></li>
</ul>
</div>
</div>
</nav>
</header>
<div class="site">
<div class="container">
<div class="list">
<div class="row">
<div class="col-md-8">
<header class="page-title">Posts</header>
<a href="http://github.com/CoderSherlcok" target="_blank"><i class='fa fa-github'></i></a>
<article class="li">
<header>
<div class="date">Mon, Aug 15, 2016</div>
<div class="title"><a href="https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/">Cross Compile RSync ARM</a></div>
</header>
<div class="body">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.</div>
<footer>
<a href="https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/" class="btn btn-default">Read More…</a>
</footer>
</article>
<hr>
<article class="li">
<header>
<div class="date">Sat, Jul 30, 2016</div>
<div class="title"><a href="https://codersherlock.github.io/post/Pokemon-Go-Hack/">Pokemon Go Hack</a></div>
</header>
<div class="body">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.</div>
<footer>
<a href="https://codersherlock.github.io/post/Pokemon-Go-Hack/" class="btn btn-default">Read More…</a>
</footer>
</article>
<hr>
<article class="li">
<header>
<div class="date">Sat, Jul 30, 2016</div>
<div class="title"><a href="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/">Cross Compile Seafile to ARM</a></div>
</header>
<div class="body">Motivation This project is working for delta sync from mobile to server. Currently, there&rsquo;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&rsquo;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.</div>
<footer>
<a href="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/" class="btn btn-default">Read More…</a>
</footer>
</article>
<hr>
</div>
<div class="col-md-4">
<aside class="site">
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">LatestPosts</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/" class="list-group-item">Cross Compile RSync ARM</a>
<a href="https://codersherlock.github.io/post/Pokemon-Go-Hack/" class="list-group-item">Pokemon Go Hack</a>
<a href="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/" class="list-group-item">Cross Compile Seafile to ARM</a>
<a href="https://codersherlock.github.io/about/" class="list-group-item">about me</a>
</div>
</div>
</div>
<div class="content pure-u-1 pure-u-md-3-4">
<a name="top"></a>
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">category</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/categories/cross-compile" class="list-group-item">cross-compile</a>
<a href="https://codersherlock.github.io/categories/game" class="list-group-item">game</a>
<a href="https://codersherlock.github.io/categories/hack" class="list-group-item">hack</a>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">tag</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/tags/android" class="list-group-item">android</a>
<a href="https://codersherlock.github.io/tags/arm" class="list-group-item">arm</a>
<a href="https://codersherlock.github.io/tags/research" class="list-group-item">research</a>
<a href="https://codersherlock.github.io/tags/game" class="list-group-item">game</a>
<a href="https://codersherlock.github.io/tags/github" class="list-group-item">github</a>
<a href="https://codersherlock.github.io/tags/hack" class="list-group-item">hack</a>
</div>
</div>
<div class="posts">
<section class="post">
<header class="post-header">
<h1 class="post-title">
<a href="/post/Cross-Compile-RSync-ARM/">Cross Compile RSync ARM</a>
</h1>
</header>
<p class="post-meta">
<span class="post-date">
<span class="post-date-day"><sup>15</sup></span><span class="post-date-separator">/</span><span class="post-date-month">Aug</span> <span class="post-date-year">2016</span>
</span>
<span class="post-reading-time"><i class="fa fa-clock-o"></i> <em>2 min. read</em></span>
<div class="post-categories">
<a class="post-category post-category-2016-08" href="https://codersherlock.github.io//categories/2016-08">2016-08</a>
</div>
</p>
<article class="post-summary">
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.
</article>
<div class="read-more-link">
<a href="/post/Cross-Compile-RSync-ARM/"><span class="read-more-slashes">//</span>Read More...</a>
</div>
</section>
<section class="post">
<header class="post-header">
<h1 class="post-title">
<a href="/post/Pokemon-Go-Hack/">Pokemon Go Hack</a>
</h1>
</header>
<p class="post-meta">
<span class="post-date">
<span class="post-date-day"><sup>30</sup></span><span class="post-date-separator">/</span><span class="post-date-month">Jul</span> <span class="post-date-year">2016</span>
</span>
<span class="post-reading-time"><i class="fa fa-clock-o"></i> <em>2 min. read</em></span>
<div class="post-categories">
<a class="post-category post-category-2016-07" href="https://codersherlock.github.io//categories/2016-07">2016-07</a>
</div>
</p>
<article class="post-summary">
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.
</article>
<div class="read-more-link">
<a href="/post/Pokemon-Go-Hack/"><span class="read-more-slashes">//</span>Read More...</a>
</div>
</section>
<section class="post">
<header class="post-header">
<h1 class="post-title">
<a href="/post/Cross-Compile-Seafile-2-ARM/">Cross Compile Seafile 2 ARM</a>
</h1>
</header>
<p class="post-meta">
<span class="post-date">
<span class="post-date-day"><sup>30</sup></span><span class="post-date-separator">/</span><span class="post-date-month">Jul</span> <span class="post-date-year">2016</span>
</span>
<span class="post-reading-time"><i class="fa fa-clock-o"></i> <em>3 min. read</em></span>
<div class="post-categories">
<a class="post-category post-category-2016-07" href="https://codersherlock.github.io//categories/2016-07">2016-07</a>
</div>
</p>
<article class="post-summary">
Cross Compile Seafile to ARM platform Motivation This project is working for delta sync from mobile to server. Currently, there&rsquo;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&rsquo;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.
</article>
<div class="read-more-link">
<a href="/post/Cross-Compile-Seafile-2-ARM/"><span class="read-more-slashes">//</span>Read More...</a>
</div>
</section>
</aside>
</div>
</div>
</div>
</div>
<div class="footer">
<hr class="thin" />
<div class="pure-menu pure-menu-horizontal pure-menu-open">
<ul class="footer-menu">
</ul>
</div>
<p>&copy; 2016. All rights reserved.</p>
</div>
</div>
</div>
</body>
<footer class="site">
<div class="container">
<p>Copyright (c) 2016 - 2016, Pengzhan Hao; all rights reserved.</p>
<p>Powered by <a href="http://gohugo.io" target="_blank" rel="nofollow">Hugo</a>, Theme <a href="https://github.com/dim0627/hugo_theme_beg" target="_blank" rel="nofollow">beg</a> designed by <a href="http://yet.unresolved.xyz" target="_blank" rel="nofollow">Daisuke Tsuji</a></p>
</div>
</footer>
<script src="//code.jquery.com/jquery-2.2.1.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</body>
</html>
+27 -30
View File
@@ -6,6 +6,7 @@
<description>Recent content in Posts on Mil años de solitario</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<copyright>Copyright (c) 2016 - 2016, Pengzhan Hao; all rights reserved.</copyright>
<lastBuildDate>Mon, 15 Aug 2016 15:44:05 -0400</lastBuildDate>
<atom:link href="https://CoderSherlock.github.io/post/index.xml" rel="self" type="application/rss+xml" />
@@ -17,20 +18,18 @@
<guid>https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/</guid>
<description>
&lt;h1 id=&#34;cross-compile-rsync-to-arm-platform&#34;&gt;Cross Compile Rsync to ARM platform&lt;/h1&gt;
&lt;p&gt;As always, feel free to ask. // Sherlock&lt;/p&gt;
&lt;h2 id=&#34;motivation&#34;&gt;Motivation&lt;/h2&gt;
&lt;h1 id=&#34;motivation&#34;&gt;Motivation&lt;/h1&gt;
&lt;p&gt;I got some issues about compile seafile to android, so instead of doing so, I start to figure out some other synchronize workflow. &lt;a href=&#34;https://rsync.samba.org/&#34;&gt;Rsync&lt;/a&gt; is one of the most mature synchronization solution. So I made the decision on planting rsync to android.&lt;/p&gt;
&lt;h2 id=&#34;pre-work&#34;&gt;Pre-work&lt;/h2&gt;
&lt;h1 id=&#34;pre-work&#34;&gt;Pre-work&lt;/h1&gt;
&lt;p&gt;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 &lt;a href=&#34;https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/&#34;&gt;previews blog&lt;/a&gt;, 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 &lt;a href=&#34;https://play.google.com/store/apps/details?id=berserker.android.apps.sshdroid&amp;amp;hl=en&#34;&gt;SSHDroid&lt;/a&gt; from Google Play Store.&lt;/p&gt;
&lt;h2 id=&#34;cross-compile-rsync&#34;&gt;Cross-Compile Rsync&lt;/h2&gt;
&lt;h1 id=&#34;cross-compile-rsync&#34;&gt;Cross-Compile Rsync&lt;/h1&gt;
&lt;p&gt;Running following script to build rsync. It will generate a executable file named rsync in the root directory.&lt;/p&gt;
@@ -38,7 +37,7 @@ To enable normally use of compiled program, we need to make android support SSH.
$ make
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id=&#34;push-rsync-to-android&#34;&gt;Push RSync to Android.&lt;/h2&gt;
&lt;h1 id=&#34;push-rsync-to-android&#34;&gt;Push RSync to Android.&lt;/h1&gt;
&lt;p&gt;After installing SSHDroid, we can now push our arm-version-rsync to target machine.&lt;/p&gt;
@@ -49,14 +48,14 @@ $ cd /data/data/berserker.android.apps.sshdroid/dropbear
$ mv ../../../local/tmp/rsync .
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id=&#34;run-rsync-with-argument&#34;&gt;Run Rsync with argument&lt;/h2&gt;
&lt;h1 id=&#34;run-rsync-with-argument&#34;&gt;Run Rsync with argument&lt;/h1&gt;
&lt;p&gt;Now we can easily use rsync in android shell. Similar to what we use on PC.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$ ./rsync -e &amp;quot;./ssh&amp;quot; {target-data} {target-location}:{target-directory}
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id=&#34;references&#34;&gt;References&lt;/h2&gt;
&lt;h1 id=&#34;references&#34;&gt;References&lt;/h1&gt;
&lt;p&gt;&lt;a href=&#34;http://stackoverflow.com/questions/8130889/build-rsync-for-android&#34;&gt;Build Rsync for Android&lt;/a&gt;&lt;/p&gt;
</description>
@@ -72,13 +71,13 @@ $ mv ../../../local/tmp/rsync .
&lt;h1 id=&#34;catch-them-all-until-bored&#34;&gt;Catch them all until bored&lt;/h1&gt;
&lt;h2 id=&#34;preface&#34;&gt;Preface&lt;/h2&gt;
&lt;h1 id=&#34;preface&#34;&gt;Preface&lt;/h1&gt;
&lt;p&gt;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&amp;rsquo;t become popular at my country. But time flies, I break through the wall, and come to a free land which can play Niantic&amp;rsquo;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 &lt;strong&gt;EVERYDAY&lt;/strong&gt; and the place where I am now is so barren which even doesn&amp;rsquo;t have much insects and birds(I mean Weedle and Pidgey).
&lt;em&gt;afk I have to battle a nearby gym now&lt;/em&gt;
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.&lt;/p&gt;
&lt;h2 id=&#34;todo-list&#34;&gt;TODO List&lt;/h2&gt;
&lt;h1 id=&#34;todo-list&#34;&gt;TODO List&lt;/h1&gt;
&lt;p&gt;-[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
</item>
<item>
<title>Cross Compile Seafile 2 ARM</title>
<title>Cross Compile Seafile to ARM</title>
<link>https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/</link>
<pubDate>Sat, 30 Jul 2016 14:02:34 -0400</pubDate>
<guid>https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/</guid>
<description>
&lt;h1 id=&#34;cross-compile-seafile-to-arm-platform&#34;&gt;Cross Compile Seafile to ARM platform&lt;/h1&gt;
&lt;h2 id=&#34;motivation&#34;&gt;Motivation&lt;/h2&gt;
&lt;h1 id=&#34;motivation&#34;&gt;Motivation&lt;/h1&gt;
&lt;p&gt;This project is working for delta sync from mobile to server. Currently, there&amp;rsquo;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&amp;rsquo;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.&lt;/p&gt;
&lt;h2 id=&#34;pre-work&#34;&gt;Pre-work&lt;/h2&gt;
&lt;h1 id=&#34;pre-work&#34;&gt;Pre-work&lt;/h1&gt;
&lt;p&gt;Basically, I used the native android compilation tool-chains, &lt;a href=&#34;https://developer.android.com/ndk/downloads/index.html&#34;&gt;Android NDK&lt;/a&gt;, as working tools. Due to my working situation, I use a &lt;a href=&#34;https://shield.nvidia.com/tablet/k1&#34;&gt;Nvidia Shield Tablet&lt;/a&gt; as target device. As &lt;em&gt;Zengwen&lt;/em&gt; said in his &lt;a href=&#34;http://zwyuan.github.io/2016/07/17/cross-compile-glib-for-android/&#34;&gt;blog&lt;/a&gt;, newest updated NDK might has some issue which can influence compilation progress. So you can find &lt;a href=&#34;http://stackoverflow.com/questions/6849981/where-do-i-find-old-versions-of-android-ndk&#34;&gt;other version&lt;/a&gt; of NDK once you have some problems. Based on what &lt;em&gt;Zengwen&amp;rsquo;s&lt;/em&gt; blog mentioned, we can write following useful system environment and export in terminal.&lt;/p&gt;
&lt;h3 id=&#34;prerequisites&#34;&gt;Prerequisites&lt;/h3&gt;
&lt;h2 id=&#34;prerequisites&#34;&gt;Prerequisites&lt;/h2&gt;
&lt;pre&gt;&lt;code&gt;$ sudo apt-get install build-essential
$ sudo apt-get install pkg-config automake autoconf libtool
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id=&#34;link-with-standalone-tool-chains&#34;&gt;Link with standalone tool-chains&lt;/h3&gt;
&lt;h2 id=&#34;link-with-standalone-tool-chains&#34;&gt;Link with standalone tool-chains&lt;/h2&gt;
&lt;p&gt;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.&lt;/p&gt;
@@ -127,7 +124,7 @@ $ sudo apt-get install pkg-config automake autoconf libtool
--platform=android-22
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id=&#34;original-system-environment-configuration&#34;&gt;Original System Environment Configuration&lt;/h3&gt;
&lt;h2 id=&#34;original-system-environment-configuration&#34;&gt;Original System Environment Configuration&lt;/h2&gt;
&lt;p&gt;[TODO]-&amp;gt; I will fix this part later.&lt;/p&gt;
@@ -196,29 +193,29 @@ export LIBS=&amp;quot;-lc -lstdc++ -ld&amp;quot;
export LDFLAGS=&amp;quot;-Wl,-rpath-link=-I${SYSROOT}/usr/lib -L${SYSROOT}/usr/lib -L${PREFIX}/lib -L${NDK_TOOLCHAIN}/lib&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id=&#34;compile-process&#34;&gt;Compile Process&lt;/h2&gt;
&lt;h1 id=&#34;compile-process&#34;&gt;Compile Process&lt;/h1&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;h3 id=&#34;libsearpc&#34;&gt;libsearpc&lt;/h3&gt;
&lt;h2 id=&#34;libsearpc&#34;&gt;libsearpc&lt;/h2&gt;
&lt;h4 id=&#34;glib&#34;&gt;glib&lt;/h4&gt;
&lt;h3 id=&#34;glib&#34;&gt;glib&lt;/h3&gt;
&lt;h5 id=&#34;libiconv&#34;&gt;libiconv&lt;/h5&gt;
&lt;h4 id=&#34;libiconv&#34;&gt;libiconv&lt;/h4&gt;
&lt;h5 id=&#34;libffi&#34;&gt;libffi&lt;/h5&gt;
&lt;h4 id=&#34;libffi&#34;&gt;libffi&lt;/h4&gt;
&lt;h5 id=&#34;gettext&#34;&gt;gettext&lt;/h5&gt;
&lt;h4 id=&#34;gettext&#34;&gt;gettext&lt;/h4&gt;
&lt;h4 id=&#34;libjasson&#34;&gt;libjasson&lt;/h4&gt;
&lt;h3 id=&#34;libjasson&#34;&gt;libjasson&lt;/h3&gt;
&lt;h3 id=&#34;ccnet&#34;&gt;ccnet&lt;/h3&gt;
&lt;h2 id=&#34;ccnet&#34;&gt;ccnet&lt;/h2&gt;
&lt;h4 id=&#34;libuuid&#34;&gt;libuuid&lt;/h4&gt;
&lt;h3 id=&#34;libuuid&#34;&gt;libuuid&lt;/h3&gt;
&lt;h3 id=&#34;seafile&#34;&gt;seafile&lt;/h3&gt;
&lt;h2 id=&#34;seafile&#34;&gt;seafile&lt;/h2&gt;
&lt;h2 id=&#34;preferences&#34;&gt;Preferences&lt;/h2&gt;
&lt;h1 id=&#34;preferences&#34;&gt;Preferences&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;http://zwyuan.github.io/2016/07/17/cross-compile-glib-for-android/&#34;&gt;zwyuan&lt;/a&gt;&lt;/li&gt;
@@ -227,4 +224,4 @@ export LDFLAGS=&amp;quot;-Wl,-rpath-link=-I${SYSROOT}/usr/lib -L${SYSROOT}/usr/l
</item>
</channel>
</rss>
</rss>
+1
View File
@@ -0,0 +1 @@
<!DOCTYPE html><html><head><link rel="canonical" href="https://CoderSherlock.github.io/post/"/><meta http-equiv="content-type" content="text/html; charset=utf-8" /><meta http-equiv="refresh" content="0;url=https://CoderSherlock.github.io/post/" /></head></html>
+6 -6
View File
@@ -3,12 +3,7 @@
<url>
<loc>https://codersherlock.github.io/</loc>
<lastmod>2016-08-16T15:04:24-04:00</lastmod>
</url>
<url>
<loc>https://codersherlock.github.io/about/</loc>
<lastmod>2016-08-16T15:04:24-04:00</lastmod>
<lastmod>2016-08-15T15:44:05-04:00</lastmod>
</url>
<url>
@@ -26,4 +21,9 @@
<lastmod>2016-07-30T14:02:34-04:00</lastmod>
</url>
<url>
<loc>https://codersherlock.github.io/about/</loc>
<lastmod>1993-08-26T08:10:55-04:00</lastmod>
</url>
</urlset>
+173 -183
View File
@@ -1,201 +1,191 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
<head>
<title>
Android // Mil años de solitario
</title>
<html>
<head>
<meta charset="utf-8">
<meta name="generator" content="Hugo 0.16" />
<link href="http://gmpg.org/xfn/11" rel="profile">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="author" content="">
<meta name="generator" content="Hugo 0.16" />
<meta property="og:title" content="Android" />
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:locale" content="en_US" />
<meta property="og:url" content="https://CoderSherlock.github.io/tags/android/" />
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.5.0/base-min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.5.0/pure-min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.5.0/grids-responsive-min.css">
<link rel="stylesheet" href="https://codersherlock.github.io//css/redlounge.css">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" rel="stylesheet">
<link href='//fonts.googleapis.com/css?family=Raleway:400,200,100,700,300,500,600,800' rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Libre+Baskerville:400,700,400italic' rel='stylesheet' type='text/css'>
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/touch-icon-144-precomposed.png">
<link rel="shortcut icon" href="/favicon.png">
<link href="https://CoderSherlock.github.io/tags/android/index.xml" rel="alternate" type="application/rss+xml" title="Mil años de solitario" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<link rel='stylesheet' href='//fonts.googleapis.com/css?family=Open+Sans|Marcellus+SC'>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/styles/solarized_dark.min.css">
<link rel="stylesheet" href="https://codersherlock.github.io/css/styles.css">
<link rel="stylesheet" href="https://codersherlock.github.io/css/custom.css">
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://codersherlock.github.io//index.xml">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.7/styles/tomorrow-night-bright.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.7/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body>
<div id="layout" class="pure-g">
<div class="sidebar pure-u-1 pure-u-md-1-4">
<div class="header">
<title>Android - Mil años de solitario</title>
<meta property='og:title' content="Android - Mil años de solitario">
<meta property="og:type" content="article">
<img src="/images/photo.png" class="sidebarphoto">
<h1 class="brand-title">Mil años de solitario</h1>
<h2 class="brand-tagline">A boy who can&#39;t step into academia</h2>
<nav class="nav">
<ul class="nav-list">
<li class="nav-item"><span class="nav-item-separator">//</span><a href="https://codersherlock.github.io/">Home</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/about">About</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/bio">Biography</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/post">Blog</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/about/">about me</a></li>
</ul>
</nav>
<meta property="og:url" content="https://CoderSherlock.github.io/tags/android/">
<div class="social-buttons">
</head>
<body>
<header class="site">
<nav class="navbar navbar-default">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="https://codersherlock.github.io/">Mil años de solitario</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="https://CoderSherlock.github.io/about/">about me</a></li>
</ul>
</div>
</div>
</nav>
</header>
<div class="site">
<div class="container">
<div class="list">
<div class="row">
<div class="col-md-8">
<header class="page-title">Android</header>
<a href="http://github.com/CoderSherlcok" target="_blank"><i class='fa fa-github'></i></a>
<article class="li">
<header>
<div class="date">Mon, Aug 15, 2016</div>
<div class="title"><a href="https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/">Cross Compile RSync ARM</a></div>
</header>
<div class="body">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.</div>
<footer>
<a href="https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/" class="btn btn-default">Read More…</a>
</footer>
</article>
<hr>
<article class="li">
<header>
<div class="date">Sat, Jul 30, 2016</div>
<div class="title"><a href="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/">Cross Compile Seafile to ARM</a></div>
</header>
<div class="body">Motivation This project is working for delta sync from mobile to server. Currently, there&rsquo;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&rsquo;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.</div>
<footer>
<a href="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/" class="btn btn-default">Read More…</a>
</footer>
</article>
<hr>
</div>
<div class="col-md-4">
<aside class="site">
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">LatestPosts</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/" class="list-group-item">Cross Compile RSync ARM</a>
<a href="https://codersherlock.github.io/post/Pokemon-Go-Hack/" class="list-group-item">Pokemon Go Hack</a>
<a href="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/" class="list-group-item">Cross Compile Seafile to ARM</a>
<a href="https://codersherlock.github.io/about/" class="list-group-item">about me</a>
</div>
</div>
</div>
<div class="content pure-u-1 pure-u-md-3-4">
<a name="top"></a>
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">category</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/categories/cross-compile" class="list-group-item">cross-compile</a>
<a href="https://codersherlock.github.io/categories/game" class="list-group-item">game</a>
<a href="https://codersherlock.github.io/categories/hack" class="list-group-item">hack</a>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">tag</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/tags/android" class="list-group-item">android</a>
<a href="https://codersherlock.github.io/tags/arm" class="list-group-item">arm</a>
<a href="https://codersherlock.github.io/tags/research" class="list-group-item">research</a>
<a href="https://codersherlock.github.io/tags/game" class="list-group-item">game</a>
<a href="https://codersherlock.github.io/tags/github" class="list-group-item">github</a>
<a href="https://codersherlock.github.io/tags/hack" class="list-group-item">hack</a>
</div>
</div>
<div class="posts">
<section class="post">
<header class="post-header">
<h1 class="post-title">
<a href="/post/Cross-Compile-RSync-ARM/">Cross Compile RSync ARM</a>
</h1>
</header>
<p class="post-meta">
<span class="post-date">
<span class="post-date-day"><sup>15</sup></span><span class="post-date-separator">/</span><span class="post-date-month">Aug</span> <span class="post-date-year">2016</span>
</span>
<span class="post-reading-time"><i class="fa fa-clock-o"></i> <em>2 min. read</em></span>
<div class="post-categories">
<a class="post-category post-category-2016-08" href="https://codersherlock.github.io//categories/2016-08">2016-08</a>
</div>
</p>
<article class="post-summary">
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.
</article>
<div class="read-more-link">
<a href="/post/Cross-Compile-RSync-ARM/"><span class="read-more-slashes">//</span>Read More...</a>
</div>
</section>
<section class="post">
<header class="post-header">
<h1 class="post-title">
<a href="/post/Cross-Compile-Seafile-2-ARM/">Cross Compile Seafile 2 ARM</a>
</h1>
</header>
<p class="post-meta">
<span class="post-date">
<span class="post-date-day"><sup>30</sup></span><span class="post-date-separator">/</span><span class="post-date-month">Jul</span> <span class="post-date-year">2016</span>
</span>
<span class="post-reading-time"><i class="fa fa-clock-o"></i> <em>3 min. read</em></span>
<div class="post-categories">
<a class="post-category post-category-2016-07" href="https://codersherlock.github.io//categories/2016-07">2016-07</a>
</div>
</p>
<article class="post-summary">
Cross Compile Seafile to ARM platform Motivation This project is working for delta sync from mobile to server. Currently, there&rsquo;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&rsquo;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.
</article>
<div class="read-more-link">
<a href="/post/Cross-Compile-Seafile-2-ARM/"><span class="read-more-slashes">//</span>Read More...</a>
</div>
</section>
</aside>
</div>
</div>
</div>
</div>
<div class="footer">
<hr class="thin" />
<div class="pure-menu pure-menu-horizontal pure-menu-open">
<ul class="footer-menu">
</ul>
</div>
<p>&copy; 2016. All rights reserved.</p>
</div>
</div>
</div>
</body>
<footer class="site">
<div class="container">
<p>Copyright (c) 2016 - 2016, Pengzhan Hao; all rights reserved.</p>
<p>Powered by <a href="http://gohugo.io" target="_blank" rel="nofollow">Hugo</a>, Theme <a href="https://github.com/dim0627/hugo_theme_beg" target="_blank" rel="nofollow">beg</a> designed by <a href="http://yet.unresolved.xyz" target="_blank" rel="nofollow">Daisuke Tsuji</a></p>
</div>
</footer>
<script src="//code.jquery.com/jquery-2.2.1.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</body>
</html>
+25 -28
View File
@@ -6,6 +6,7 @@
<description>Recent content in Android on Mil años de solitario</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<copyright>Copyright (c) 2016 - 2016, Pengzhan Hao; all rights reserved.</copyright>
<lastBuildDate>Mon, 15 Aug 2016 15:44:05 -0400</lastBuildDate>
<atom:link href="https://CoderSherlock.github.io/tags/android/index.xml" rel="self" type="application/rss+xml" />
@@ -17,20 +18,18 @@
<guid>https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/</guid>
<description>
&lt;h1 id=&#34;cross-compile-rsync-to-arm-platform&#34;&gt;Cross Compile Rsync to ARM platform&lt;/h1&gt;
&lt;p&gt;As always, feel free to ask. // Sherlock&lt;/p&gt;
&lt;h2 id=&#34;motivation&#34;&gt;Motivation&lt;/h2&gt;
&lt;h1 id=&#34;motivation&#34;&gt;Motivation&lt;/h1&gt;
&lt;p&gt;I got some issues about compile seafile to android, so instead of doing so, I start to figure out some other synchronize workflow. &lt;a href=&#34;https://rsync.samba.org/&#34;&gt;Rsync&lt;/a&gt; is one of the most mature synchronization solution. So I made the decision on planting rsync to android.&lt;/p&gt;
&lt;h2 id=&#34;pre-work&#34;&gt;Pre-work&lt;/h2&gt;
&lt;h1 id=&#34;pre-work&#34;&gt;Pre-work&lt;/h1&gt;
&lt;p&gt;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 &lt;a href=&#34;https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/&#34;&gt;previews blog&lt;/a&gt;, 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 &lt;a href=&#34;https://play.google.com/store/apps/details?id=berserker.android.apps.sshdroid&amp;amp;hl=en&#34;&gt;SSHDroid&lt;/a&gt; from Google Play Store.&lt;/p&gt;
&lt;h2 id=&#34;cross-compile-rsync&#34;&gt;Cross-Compile Rsync&lt;/h2&gt;
&lt;h1 id=&#34;cross-compile-rsync&#34;&gt;Cross-Compile Rsync&lt;/h1&gt;
&lt;p&gt;Running following script to build rsync. It will generate a executable file named rsync in the root directory.&lt;/p&gt;
@@ -38,7 +37,7 @@ To enable normally use of compiled program, we need to make android support SSH.
$ make
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id=&#34;push-rsync-to-android&#34;&gt;Push RSync to Android.&lt;/h2&gt;
&lt;h1 id=&#34;push-rsync-to-android&#34;&gt;Push RSync to Android.&lt;/h1&gt;
&lt;p&gt;After installing SSHDroid, we can now push our arm-version-rsync to target machine.&lt;/p&gt;
@@ -49,44 +48,42 @@ $ cd /data/data/berserker.android.apps.sshdroid/dropbear
$ mv ../../../local/tmp/rsync .
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id=&#34;run-rsync-with-argument&#34;&gt;Run Rsync with argument&lt;/h2&gt;
&lt;h1 id=&#34;run-rsync-with-argument&#34;&gt;Run Rsync with argument&lt;/h1&gt;
&lt;p&gt;Now we can easily use rsync in android shell. Similar to what we use on PC.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$ ./rsync -e &amp;quot;./ssh&amp;quot; {target-data} {target-location}:{target-directory}
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id=&#34;references&#34;&gt;References&lt;/h2&gt;
&lt;h1 id=&#34;references&#34;&gt;References&lt;/h1&gt;
&lt;p&gt;&lt;a href=&#34;http://stackoverflow.com/questions/8130889/build-rsync-for-android&#34;&gt;Build Rsync for Android&lt;/a&gt;&lt;/p&gt;
</description>
</item>
<item>
<title>Cross Compile Seafile 2 ARM</title>
<title>Cross Compile Seafile to ARM</title>
<link>https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/</link>
<pubDate>Sat, 30 Jul 2016 14:02:34 -0400</pubDate>
<guid>https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/</guid>
<description>
&lt;h1 id=&#34;cross-compile-seafile-to-arm-platform&#34;&gt;Cross Compile Seafile to ARM platform&lt;/h1&gt;
&lt;h2 id=&#34;motivation&#34;&gt;Motivation&lt;/h2&gt;
&lt;h1 id=&#34;motivation&#34;&gt;Motivation&lt;/h1&gt;
&lt;p&gt;This project is working for delta sync from mobile to server. Currently, there&amp;rsquo;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&amp;rsquo;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.&lt;/p&gt;
&lt;h2 id=&#34;pre-work&#34;&gt;Pre-work&lt;/h2&gt;
&lt;h1 id=&#34;pre-work&#34;&gt;Pre-work&lt;/h1&gt;
&lt;p&gt;Basically, I used the native android compilation tool-chains, &lt;a href=&#34;https://developer.android.com/ndk/downloads/index.html&#34;&gt;Android NDK&lt;/a&gt;, as working tools. Due to my working situation, I use a &lt;a href=&#34;https://shield.nvidia.com/tablet/k1&#34;&gt;Nvidia Shield Tablet&lt;/a&gt; as target device. As &lt;em&gt;Zengwen&lt;/em&gt; said in his &lt;a href=&#34;http://zwyuan.github.io/2016/07/17/cross-compile-glib-for-android/&#34;&gt;blog&lt;/a&gt;, newest updated NDK might has some issue which can influence compilation progress. So you can find &lt;a href=&#34;http://stackoverflow.com/questions/6849981/where-do-i-find-old-versions-of-android-ndk&#34;&gt;other version&lt;/a&gt; of NDK once you have some problems. Based on what &lt;em&gt;Zengwen&amp;rsquo;s&lt;/em&gt; blog mentioned, we can write following useful system environment and export in terminal.&lt;/p&gt;
&lt;h3 id=&#34;prerequisites&#34;&gt;Prerequisites&lt;/h3&gt;
&lt;h2 id=&#34;prerequisites&#34;&gt;Prerequisites&lt;/h2&gt;
&lt;pre&gt;&lt;code&gt;$ sudo apt-get install build-essential
$ sudo apt-get install pkg-config automake autoconf libtool
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id=&#34;link-with-standalone-tool-chains&#34;&gt;Link with standalone tool-chains&lt;/h3&gt;
&lt;h2 id=&#34;link-with-standalone-tool-chains&#34;&gt;Link with standalone tool-chains&lt;/h2&gt;
&lt;p&gt;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.&lt;/p&gt;
@@ -100,7 +97,7 @@ $ sudo apt-get install pkg-config automake autoconf libtool
--platform=android-22
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id=&#34;original-system-environment-configuration&#34;&gt;Original System Environment Configuration&lt;/h3&gt;
&lt;h2 id=&#34;original-system-environment-configuration&#34;&gt;Original System Environment Configuration&lt;/h2&gt;
&lt;p&gt;[TODO]-&amp;gt; I will fix this part later.&lt;/p&gt;
@@ -169,29 +166,29 @@ export LIBS=&amp;quot;-lc -lstdc++ -ld&amp;quot;
export LDFLAGS=&amp;quot;-Wl,-rpath-link=-I${SYSROOT}/usr/lib -L${SYSROOT}/usr/lib -L${PREFIX}/lib -L${NDK_TOOLCHAIN}/lib&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id=&#34;compile-process&#34;&gt;Compile Process&lt;/h2&gt;
&lt;h1 id=&#34;compile-process&#34;&gt;Compile Process&lt;/h1&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;h3 id=&#34;libsearpc&#34;&gt;libsearpc&lt;/h3&gt;
&lt;h2 id=&#34;libsearpc&#34;&gt;libsearpc&lt;/h2&gt;
&lt;h4 id=&#34;glib&#34;&gt;glib&lt;/h4&gt;
&lt;h3 id=&#34;glib&#34;&gt;glib&lt;/h3&gt;
&lt;h5 id=&#34;libiconv&#34;&gt;libiconv&lt;/h5&gt;
&lt;h4 id=&#34;libiconv&#34;&gt;libiconv&lt;/h4&gt;
&lt;h5 id=&#34;libffi&#34;&gt;libffi&lt;/h5&gt;
&lt;h4 id=&#34;libffi&#34;&gt;libffi&lt;/h4&gt;
&lt;h5 id=&#34;gettext&#34;&gt;gettext&lt;/h5&gt;
&lt;h4 id=&#34;gettext&#34;&gt;gettext&lt;/h4&gt;
&lt;h4 id=&#34;libjasson&#34;&gt;libjasson&lt;/h4&gt;
&lt;h3 id=&#34;libjasson&#34;&gt;libjasson&lt;/h3&gt;
&lt;h3 id=&#34;ccnet&#34;&gt;ccnet&lt;/h3&gt;
&lt;h2 id=&#34;ccnet&#34;&gt;ccnet&lt;/h2&gt;
&lt;h4 id=&#34;libuuid&#34;&gt;libuuid&lt;/h4&gt;
&lt;h3 id=&#34;libuuid&#34;&gt;libuuid&lt;/h3&gt;
&lt;h3 id=&#34;seafile&#34;&gt;seafile&lt;/h3&gt;
&lt;h2 id=&#34;seafile&#34;&gt;seafile&lt;/h2&gt;
&lt;h2 id=&#34;preferences&#34;&gt;Preferences&lt;/h2&gt;
&lt;h1 id=&#34;preferences&#34;&gt;Preferences&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;http://zwyuan.github.io/2016/07/17/cross-compile-glib-for-android/&#34;&gt;zwyuan&lt;/a&gt;&lt;/li&gt;
@@ -200,4 +197,4 @@ export LDFLAGS=&amp;quot;-Wl,-rpath-link=-I${SYSROOT}/usr/lib -L${SYSROOT}/usr/l
</item>
</channel>
</rss>
</rss>
+1
View File
@@ -0,0 +1 @@
<!DOCTYPE html><html><head><link rel="canonical" href="https://CoderSherlock.github.io/tags/android/"/><meta http-equiv="content-type" content="text/html; charset=utf-8" /><meta http-equiv="refresh" content="0;url=https://CoderSherlock.github.io/tags/android/" /></head></html>
+173 -183
View File
@@ -1,201 +1,191 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
<head>
<title>
Arm // Mil años de solitario
</title>
<html>
<head>
<meta charset="utf-8">
<meta name="generator" content="Hugo 0.16" />
<link href="http://gmpg.org/xfn/11" rel="profile">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="author" content="">
<meta name="generator" content="Hugo 0.16" />
<meta property="og:title" content="Arm" />
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:locale" content="en_US" />
<meta property="og:url" content="https://CoderSherlock.github.io/tags/arm/" />
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.5.0/base-min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.5.0/pure-min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.5.0/grids-responsive-min.css">
<link rel="stylesheet" href="https://codersherlock.github.io//css/redlounge.css">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" rel="stylesheet">
<link href='//fonts.googleapis.com/css?family=Raleway:400,200,100,700,300,500,600,800' rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Libre+Baskerville:400,700,400italic' rel='stylesheet' type='text/css'>
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/touch-icon-144-precomposed.png">
<link rel="shortcut icon" href="/favicon.png">
<link href="https://CoderSherlock.github.io/tags/arm/index.xml" rel="alternate" type="application/rss+xml" title="Mil años de solitario" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<link rel='stylesheet' href='//fonts.googleapis.com/css?family=Open+Sans|Marcellus+SC'>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/styles/solarized_dark.min.css">
<link rel="stylesheet" href="https://codersherlock.github.io/css/styles.css">
<link rel="stylesheet" href="https://codersherlock.github.io/css/custom.css">
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://codersherlock.github.io//index.xml">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.7/styles/tomorrow-night-bright.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.7/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body>
<div id="layout" class="pure-g">
<div class="sidebar pure-u-1 pure-u-md-1-4">
<div class="header">
<title>Arm - Mil años de solitario</title>
<meta property='og:title' content="Arm - Mil años de solitario">
<meta property="og:type" content="article">
<img src="/images/photo.png" class="sidebarphoto">
<h1 class="brand-title">Mil años de solitario</h1>
<h2 class="brand-tagline">A boy who can&#39;t step into academia</h2>
<nav class="nav">
<ul class="nav-list">
<li class="nav-item"><span class="nav-item-separator">//</span><a href="https://codersherlock.github.io/">Home</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/about">About</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/bio">Biography</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/post">Blog</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/about/">about me</a></li>
</ul>
</nav>
<meta property="og:url" content="https://CoderSherlock.github.io/tags/arm/">
<div class="social-buttons">
</head>
<body>
<header class="site">
<nav class="navbar navbar-default">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="https://codersherlock.github.io/">Mil años de solitario</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="https://CoderSherlock.github.io/about/">about me</a></li>
</ul>
</div>
</div>
</nav>
</header>
<div class="site">
<div class="container">
<div class="list">
<div class="row">
<div class="col-md-8">
<header class="page-title">Arm</header>
<a href="http://github.com/CoderSherlcok" target="_blank"><i class='fa fa-github'></i></a>
<article class="li">
<header>
<div class="date">Mon, Aug 15, 2016</div>
<div class="title"><a href="https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/">Cross Compile RSync ARM</a></div>
</header>
<div class="body">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.</div>
<footer>
<a href="https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/" class="btn btn-default">Read More…</a>
</footer>
</article>
<hr>
<article class="li">
<header>
<div class="date">Sat, Jul 30, 2016</div>
<div class="title"><a href="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/">Cross Compile Seafile to ARM</a></div>
</header>
<div class="body">Motivation This project is working for delta sync from mobile to server. Currently, there&rsquo;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&rsquo;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.</div>
<footer>
<a href="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/" class="btn btn-default">Read More…</a>
</footer>
</article>
<hr>
</div>
<div class="col-md-4">
<aside class="site">
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">LatestPosts</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/" class="list-group-item">Cross Compile RSync ARM</a>
<a href="https://codersherlock.github.io/post/Pokemon-Go-Hack/" class="list-group-item">Pokemon Go Hack</a>
<a href="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/" class="list-group-item">Cross Compile Seafile to ARM</a>
<a href="https://codersherlock.github.io/about/" class="list-group-item">about me</a>
</div>
</div>
</div>
<div class="content pure-u-1 pure-u-md-3-4">
<a name="top"></a>
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">category</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/categories/cross-compile" class="list-group-item">cross-compile</a>
<a href="https://codersherlock.github.io/categories/game" class="list-group-item">game</a>
<a href="https://codersherlock.github.io/categories/hack" class="list-group-item">hack</a>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">tag</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/tags/android" class="list-group-item">android</a>
<a href="https://codersherlock.github.io/tags/arm" class="list-group-item">arm</a>
<a href="https://codersherlock.github.io/tags/research" class="list-group-item">research</a>
<a href="https://codersherlock.github.io/tags/game" class="list-group-item">game</a>
<a href="https://codersherlock.github.io/tags/github" class="list-group-item">github</a>
<a href="https://codersherlock.github.io/tags/hack" class="list-group-item">hack</a>
</div>
</div>
<div class="posts">
<section class="post">
<header class="post-header">
<h1 class="post-title">
<a href="/post/Cross-Compile-RSync-ARM/">Cross Compile RSync ARM</a>
</h1>
</header>
<p class="post-meta">
<span class="post-date">
<span class="post-date-day"><sup>15</sup></span><span class="post-date-separator">/</span><span class="post-date-month">Aug</span> <span class="post-date-year">2016</span>
</span>
<span class="post-reading-time"><i class="fa fa-clock-o"></i> <em>2 min. read</em></span>
<div class="post-categories">
<a class="post-category post-category-2016-08" href="https://codersherlock.github.io//categories/2016-08">2016-08</a>
</div>
</p>
<article class="post-summary">
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.
</article>
<div class="read-more-link">
<a href="/post/Cross-Compile-RSync-ARM/"><span class="read-more-slashes">//</span>Read More...</a>
</div>
</section>
<section class="post">
<header class="post-header">
<h1 class="post-title">
<a href="/post/Cross-Compile-Seafile-2-ARM/">Cross Compile Seafile 2 ARM</a>
</h1>
</header>
<p class="post-meta">
<span class="post-date">
<span class="post-date-day"><sup>30</sup></span><span class="post-date-separator">/</span><span class="post-date-month">Jul</span> <span class="post-date-year">2016</span>
</span>
<span class="post-reading-time"><i class="fa fa-clock-o"></i> <em>3 min. read</em></span>
<div class="post-categories">
<a class="post-category post-category-2016-07" href="https://codersherlock.github.io//categories/2016-07">2016-07</a>
</div>
</p>
<article class="post-summary">
Cross Compile Seafile to ARM platform Motivation This project is working for delta sync from mobile to server. Currently, there&rsquo;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&rsquo;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.
</article>
<div class="read-more-link">
<a href="/post/Cross-Compile-Seafile-2-ARM/"><span class="read-more-slashes">//</span>Read More...</a>
</div>
</section>
</aside>
</div>
</div>
</div>
</div>
<div class="footer">
<hr class="thin" />
<div class="pure-menu pure-menu-horizontal pure-menu-open">
<ul class="footer-menu">
</ul>
</div>
<p>&copy; 2016. All rights reserved.</p>
</div>
</div>
</div>
</body>
<footer class="site">
<div class="container">
<p>Copyright (c) 2016 - 2016, Pengzhan Hao; all rights reserved.</p>
<p>Powered by <a href="http://gohugo.io" target="_blank" rel="nofollow">Hugo</a>, Theme <a href="https://github.com/dim0627/hugo_theme_beg" target="_blank" rel="nofollow">beg</a> designed by <a href="http://yet.unresolved.xyz" target="_blank" rel="nofollow">Daisuke Tsuji</a></p>
</div>
</footer>
<script src="//code.jquery.com/jquery-2.2.1.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</body>
</html>
+25 -28
View File
@@ -6,6 +6,7 @@
<description>Recent content in Arm on Mil años de solitario</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<copyright>Copyright (c) 2016 - 2016, Pengzhan Hao; all rights reserved.</copyright>
<lastBuildDate>Mon, 15 Aug 2016 15:44:05 -0400</lastBuildDate>
<atom:link href="https://CoderSherlock.github.io/tags/arm/index.xml" rel="self" type="application/rss+xml" />
@@ -17,20 +18,18 @@
<guid>https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/</guid>
<description>
&lt;h1 id=&#34;cross-compile-rsync-to-arm-platform&#34;&gt;Cross Compile Rsync to ARM platform&lt;/h1&gt;
&lt;p&gt;As always, feel free to ask. // Sherlock&lt;/p&gt;
&lt;h2 id=&#34;motivation&#34;&gt;Motivation&lt;/h2&gt;
&lt;h1 id=&#34;motivation&#34;&gt;Motivation&lt;/h1&gt;
&lt;p&gt;I got some issues about compile seafile to android, so instead of doing so, I start to figure out some other synchronize workflow. &lt;a href=&#34;https://rsync.samba.org/&#34;&gt;Rsync&lt;/a&gt; is one of the most mature synchronization solution. So I made the decision on planting rsync to android.&lt;/p&gt;
&lt;h2 id=&#34;pre-work&#34;&gt;Pre-work&lt;/h2&gt;
&lt;h1 id=&#34;pre-work&#34;&gt;Pre-work&lt;/h1&gt;
&lt;p&gt;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 &lt;a href=&#34;https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/&#34;&gt;previews blog&lt;/a&gt;, 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 &lt;a href=&#34;https://play.google.com/store/apps/details?id=berserker.android.apps.sshdroid&amp;amp;hl=en&#34;&gt;SSHDroid&lt;/a&gt; from Google Play Store.&lt;/p&gt;
&lt;h2 id=&#34;cross-compile-rsync&#34;&gt;Cross-Compile Rsync&lt;/h2&gt;
&lt;h1 id=&#34;cross-compile-rsync&#34;&gt;Cross-Compile Rsync&lt;/h1&gt;
&lt;p&gt;Running following script to build rsync. It will generate a executable file named rsync in the root directory.&lt;/p&gt;
@@ -38,7 +37,7 @@ To enable normally use of compiled program, we need to make android support SSH.
$ make
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id=&#34;push-rsync-to-android&#34;&gt;Push RSync to Android.&lt;/h2&gt;
&lt;h1 id=&#34;push-rsync-to-android&#34;&gt;Push RSync to Android.&lt;/h1&gt;
&lt;p&gt;After installing SSHDroid, we can now push our arm-version-rsync to target machine.&lt;/p&gt;
@@ -49,44 +48,42 @@ $ cd /data/data/berserker.android.apps.sshdroid/dropbear
$ mv ../../../local/tmp/rsync .
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id=&#34;run-rsync-with-argument&#34;&gt;Run Rsync with argument&lt;/h2&gt;
&lt;h1 id=&#34;run-rsync-with-argument&#34;&gt;Run Rsync with argument&lt;/h1&gt;
&lt;p&gt;Now we can easily use rsync in android shell. Similar to what we use on PC.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$ ./rsync -e &amp;quot;./ssh&amp;quot; {target-data} {target-location}:{target-directory}
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id=&#34;references&#34;&gt;References&lt;/h2&gt;
&lt;h1 id=&#34;references&#34;&gt;References&lt;/h1&gt;
&lt;p&gt;&lt;a href=&#34;http://stackoverflow.com/questions/8130889/build-rsync-for-android&#34;&gt;Build Rsync for Android&lt;/a&gt;&lt;/p&gt;
</description>
</item>
<item>
<title>Cross Compile Seafile 2 ARM</title>
<title>Cross Compile Seafile to ARM</title>
<link>https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/</link>
<pubDate>Sat, 30 Jul 2016 14:02:34 -0400</pubDate>
<guid>https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/</guid>
<description>
&lt;h1 id=&#34;cross-compile-seafile-to-arm-platform&#34;&gt;Cross Compile Seafile to ARM platform&lt;/h1&gt;
&lt;h2 id=&#34;motivation&#34;&gt;Motivation&lt;/h2&gt;
&lt;h1 id=&#34;motivation&#34;&gt;Motivation&lt;/h1&gt;
&lt;p&gt;This project is working for delta sync from mobile to server. Currently, there&amp;rsquo;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&amp;rsquo;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.&lt;/p&gt;
&lt;h2 id=&#34;pre-work&#34;&gt;Pre-work&lt;/h2&gt;
&lt;h1 id=&#34;pre-work&#34;&gt;Pre-work&lt;/h1&gt;
&lt;p&gt;Basically, I used the native android compilation tool-chains, &lt;a href=&#34;https://developer.android.com/ndk/downloads/index.html&#34;&gt;Android NDK&lt;/a&gt;, as working tools. Due to my working situation, I use a &lt;a href=&#34;https://shield.nvidia.com/tablet/k1&#34;&gt;Nvidia Shield Tablet&lt;/a&gt; as target device. As &lt;em&gt;Zengwen&lt;/em&gt; said in his &lt;a href=&#34;http://zwyuan.github.io/2016/07/17/cross-compile-glib-for-android/&#34;&gt;blog&lt;/a&gt;, newest updated NDK might has some issue which can influence compilation progress. So you can find &lt;a href=&#34;http://stackoverflow.com/questions/6849981/where-do-i-find-old-versions-of-android-ndk&#34;&gt;other version&lt;/a&gt; of NDK once you have some problems. Based on what &lt;em&gt;Zengwen&amp;rsquo;s&lt;/em&gt; blog mentioned, we can write following useful system environment and export in terminal.&lt;/p&gt;
&lt;h3 id=&#34;prerequisites&#34;&gt;Prerequisites&lt;/h3&gt;
&lt;h2 id=&#34;prerequisites&#34;&gt;Prerequisites&lt;/h2&gt;
&lt;pre&gt;&lt;code&gt;$ sudo apt-get install build-essential
$ sudo apt-get install pkg-config automake autoconf libtool
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id=&#34;link-with-standalone-tool-chains&#34;&gt;Link with standalone tool-chains&lt;/h3&gt;
&lt;h2 id=&#34;link-with-standalone-tool-chains&#34;&gt;Link with standalone tool-chains&lt;/h2&gt;
&lt;p&gt;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.&lt;/p&gt;
@@ -100,7 +97,7 @@ $ sudo apt-get install pkg-config automake autoconf libtool
--platform=android-22
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id=&#34;original-system-environment-configuration&#34;&gt;Original System Environment Configuration&lt;/h3&gt;
&lt;h2 id=&#34;original-system-environment-configuration&#34;&gt;Original System Environment Configuration&lt;/h2&gt;
&lt;p&gt;[TODO]-&amp;gt; I will fix this part later.&lt;/p&gt;
@@ -169,29 +166,29 @@ export LIBS=&amp;quot;-lc -lstdc++ -ld&amp;quot;
export LDFLAGS=&amp;quot;-Wl,-rpath-link=-I${SYSROOT}/usr/lib -L${SYSROOT}/usr/lib -L${PREFIX}/lib -L${NDK_TOOLCHAIN}/lib&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id=&#34;compile-process&#34;&gt;Compile Process&lt;/h2&gt;
&lt;h1 id=&#34;compile-process&#34;&gt;Compile Process&lt;/h1&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;h3 id=&#34;libsearpc&#34;&gt;libsearpc&lt;/h3&gt;
&lt;h2 id=&#34;libsearpc&#34;&gt;libsearpc&lt;/h2&gt;
&lt;h4 id=&#34;glib&#34;&gt;glib&lt;/h4&gt;
&lt;h3 id=&#34;glib&#34;&gt;glib&lt;/h3&gt;
&lt;h5 id=&#34;libiconv&#34;&gt;libiconv&lt;/h5&gt;
&lt;h4 id=&#34;libiconv&#34;&gt;libiconv&lt;/h4&gt;
&lt;h5 id=&#34;libffi&#34;&gt;libffi&lt;/h5&gt;
&lt;h4 id=&#34;libffi&#34;&gt;libffi&lt;/h4&gt;
&lt;h5 id=&#34;gettext&#34;&gt;gettext&lt;/h5&gt;
&lt;h4 id=&#34;gettext&#34;&gt;gettext&lt;/h4&gt;
&lt;h4 id=&#34;libjasson&#34;&gt;libjasson&lt;/h4&gt;
&lt;h3 id=&#34;libjasson&#34;&gt;libjasson&lt;/h3&gt;
&lt;h3 id=&#34;ccnet&#34;&gt;ccnet&lt;/h3&gt;
&lt;h2 id=&#34;ccnet&#34;&gt;ccnet&lt;/h2&gt;
&lt;h4 id=&#34;libuuid&#34;&gt;libuuid&lt;/h4&gt;
&lt;h3 id=&#34;libuuid&#34;&gt;libuuid&lt;/h3&gt;
&lt;h3 id=&#34;seafile&#34;&gt;seafile&lt;/h3&gt;
&lt;h2 id=&#34;seafile&#34;&gt;seafile&lt;/h2&gt;
&lt;h2 id=&#34;preferences&#34;&gt;Preferences&lt;/h2&gt;
&lt;h1 id=&#34;preferences&#34;&gt;Preferences&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;http://zwyuan.github.io/2016/07/17/cross-compile-glib-for-android/&#34;&gt;zwyuan&lt;/a&gt;&lt;/li&gt;
@@ -200,4 +197,4 @@ export LDFLAGS=&amp;quot;-Wl,-rpath-link=-I${SYSROOT}/usr/lib -L${SYSROOT}/usr/l
</item>
</channel>
</rss>
</rss>
+1
View File
@@ -0,0 +1 @@
<!DOCTYPE html><html><head><link rel="canonical" href="https://CoderSherlock.github.io/tags/arm/"/><meta http-equiv="content-type" content="text/html; charset=utf-8" /><meta http-equiv="refresh" content="0;url=https://CoderSherlock.github.io/tags/arm/" /></head></html>
+175
View File
@@ -0,0 +1,175 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="generator" content="Hugo 0.16" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<link rel='stylesheet' href='//fonts.googleapis.com/css?family=Open+Sans|Marcellus+SC'>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/styles/solarized_dark.min.css">
<link rel="stylesheet" href="https://codersherlock.github.io/css/styles.css">
<link rel="stylesheet" href="https://codersherlock.github.io/css/custom.css">
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://codersherlock.github.io//index.xml">
<title>Game - Mil años de solitario</title>
<meta property='og:title' content="Game - Mil años de solitario">
<meta property="og:type" content="article">
<meta property="og:url" content="https://CoderSherlock.github.io/tags/game/">
</head>
<body>
<header class="site">
<nav class="navbar navbar-default">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="https://codersherlock.github.io/">Mil años de solitario</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="https://CoderSherlock.github.io/about/">about me</a></li>
</ul>
</div>
</div>
</nav>
</header>
<div class="site">
<div class="container">
<div class="list">
<div class="row">
<div class="col-md-8">
<header class="page-title">Game</header>
<article class="li">
<header>
<div class="date">Sat, Jul 30, 2016</div>
<div class="title"><a href="https://codersherlock.github.io/post/Pokemon-Go-Hack/">Pokemon Go Hack</a></div>
</header>
<div class="body">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.</div>
<footer>
<a href="https://codersherlock.github.io/post/Pokemon-Go-Hack/" class="btn btn-default">Read More…</a>
</footer>
</article>
<hr>
</div>
<div class="col-md-4">
<aside class="site">
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">LatestPosts</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/" class="list-group-item">Cross Compile RSync ARM</a>
<a href="https://codersherlock.github.io/post/Pokemon-Go-Hack/" class="list-group-item">Pokemon Go Hack</a>
<a href="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/" class="list-group-item">Cross Compile Seafile to ARM</a>
<a href="https://codersherlock.github.io/about/" class="list-group-item">about me</a>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">category</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/categories/cross-compile" class="list-group-item">cross-compile</a>
<a href="https://codersherlock.github.io/categories/game" class="list-group-item">game</a>
<a href="https://codersherlock.github.io/categories/hack" class="list-group-item">hack</a>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">tag</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/tags/android" class="list-group-item">android</a>
<a href="https://codersherlock.github.io/tags/arm" class="list-group-item">arm</a>
<a href="https://codersherlock.github.io/tags/research" class="list-group-item">research</a>
<a href="https://codersherlock.github.io/tags/game" class="list-group-item">game</a>
<a href="https://codersherlock.github.io/tags/github" class="list-group-item">github</a>
<a href="https://codersherlock.github.io/tags/hack" class="list-group-item">hack</a>
</div>
</div>
</aside>
</div>
</div>
</div>
</div>
</div>
<footer class="site">
<div class="container">
<p>Copyright (c) 2016 - 2016, Pengzhan Hao; all rights reserved.</p>
<p>Powered by <a href="http://gohugo.io" target="_blank" rel="nofollow">Hugo</a>, Theme <a href="https://github.com/dim0627/hugo_theme_beg" target="_blank" rel="nofollow">beg</a> designed by <a href="http://yet.unresolved.xyz" target="_blank" rel="nofollow">Daisuke Tsuji</a></p>
</div>
</footer>
<script src="//code.jquery.com/jquery-2.2.1.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</body>
</html>
+41
View File
@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Game on Mil años de solitario</title>
<link>https://CoderSherlock.github.io/tags/game/</link>
<description>Recent content in Game on Mil años de solitario</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<copyright>Copyright (c) 2016 - 2016, Pengzhan Hao; all rights reserved.</copyright>
<lastBuildDate>Sat, 30 Jul 2016 18:10:20 -0400</lastBuildDate>
<atom:link href="https://CoderSherlock.github.io/tags/game/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Pokemon Go Hack</title>
<link>https://codersherlock.github.io/post/Pokemon-Go-Hack/</link>
<pubDate>Sat, 30 Jul 2016 18:10:20 -0400</pubDate>
<guid>https://codersherlock.github.io/post/Pokemon-Go-Hack/</guid>
<description>
&lt;h1 id=&#34;catch-them-all-until-bored&#34;&gt;Catch them all until bored&lt;/h1&gt;
&lt;h1 id=&#34;preface&#34;&gt;Preface&lt;/h1&gt;
&lt;p&gt;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&amp;rsquo;t become popular at my country. But time flies, I break through the wall, and come to a free land which can play Niantic&amp;rsquo;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 &lt;strong&gt;EVERYDAY&lt;/strong&gt; and the place where I am now is so barren which even doesn&amp;rsquo;t have much insects and birds(I mean Weedle and Pidgey).
&lt;em&gt;afk I have to battle a nearby gym now&lt;/em&gt;
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.&lt;/p&gt;
&lt;h1 id=&#34;todo-list&#34;&gt;TODO List&lt;/h1&gt;
&lt;p&gt;-[X] Test API
-[ ] Finish Walk Algorithm
-[ ] Finish other movement, etc. catch, hatch
-[ ] Smart Walking route
-[ ] Pokemon Predict (Thanks to Pokevision&amp;rsquo;s idea)
-[ ] Become a Pokemon Master&lt;/p&gt;
</description>
</item>
</channel>
</rss>
+1
View File
@@ -0,0 +1 @@
<!DOCTYPE html><html><head><link rel="canonical" href="https://CoderSherlock.github.io/tags/game/"/><meta http-equiv="content-type" content="text/html; charset=utf-8" /><meta http-equiv="refresh" content="0;url=https://CoderSherlock.github.io/tags/game/" /></head></html>
+154 -144
View File
@@ -1,165 +1,175 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
<head>
<title>
Github // Mil años de solitario
</title>
<html>
<head>
<meta charset="utf-8">
<meta name="generator" content="Hugo 0.16" />
<link href="http://gmpg.org/xfn/11" rel="profile">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="author" content="">
<meta name="generator" content="Hugo 0.16" />
<meta property="og:title" content="Github" />
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:locale" content="en_US" />
<meta property="og:url" content="https://CoderSherlock.github.io/tags/github/" />
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.5.0/base-min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.5.0/pure-min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.5.0/grids-responsive-min.css">
<link rel="stylesheet" href="https://codersherlock.github.io//css/redlounge.css">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" rel="stylesheet">
<link href='//fonts.googleapis.com/css?family=Raleway:400,200,100,700,300,500,600,800' rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Libre+Baskerville:400,700,400italic' rel='stylesheet' type='text/css'>
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/touch-icon-144-precomposed.png">
<link rel="shortcut icon" href="/favicon.png">
<link href="https://CoderSherlock.github.io/tags/github/index.xml" rel="alternate" type="application/rss+xml" title="Mil años de solitario" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<link rel='stylesheet' href='//fonts.googleapis.com/css?family=Open+Sans|Marcellus+SC'>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/styles/solarized_dark.min.css">
<link rel="stylesheet" href="https://codersherlock.github.io/css/styles.css">
<link rel="stylesheet" href="https://codersherlock.github.io/css/custom.css">
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://codersherlock.github.io//index.xml">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.7/styles/tomorrow-night-bright.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.7/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body>
<div id="layout" class="pure-g">
<div class="sidebar pure-u-1 pure-u-md-1-4">
<div class="header">
<title>Github - Mil años de solitario</title>
<meta property='og:title' content="Github - Mil años de solitario">
<meta property="og:type" content="article">
<img src="/images/photo.png" class="sidebarphoto">
<h1 class="brand-title">Mil años de solitario</h1>
<h2 class="brand-tagline">A boy who can&#39;t step into academia</h2>
<nav class="nav">
<ul class="nav-list">
<li class="nav-item"><span class="nav-item-separator">//</span><a href="https://codersherlock.github.io/">Home</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/about">About</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/bio">Biography</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/post">Blog</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/about/">about me</a></li>
</ul>
</nav>
<meta property="og:url" content="https://CoderSherlock.github.io/tags/github/">
<div class="social-buttons">
<a href="http://github.com/CoderSherlcok" target="_blank"><i class='fa fa-github'></i></a>
</div>
</div>
</div>
</head>
<body>
<div class="content pure-u-1 pure-u-md-3-4">
<a name="top"></a>
<header class="site">
<nav class="navbar navbar-default">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="https://codersherlock.github.io/">Mil años de solitario</a>
</div>
<div class="posts">
<section class="post">
<header class="post-header">
<div id="navbar" class="collapse navbar-collapse">
<h1 class="post-title">
<a href="/post/Pokemon-Go-Hack/">Pokemon Go Hack</a>
</h1>
</header>
<p class="post-meta">
<span class="post-date">
<span class="post-date-day"><sup>30</sup></span><span class="post-date-separator">/</span><span class="post-date-month">Jul</span> <span class="post-date-year">2016</span>
</span>
<ul class="nav navbar-nav navbar-right">
<span class="post-reading-time"><i class="fa fa-clock-o"></i> <em>2 min. read</em></span>
<div class="post-categories">
<a class="post-category post-category-2016-07" href="https://codersherlock.github.io//categories/2016-07">2016-07</a>
</div>
</p>
<article class="post-summary">
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.
</article>
<div class="read-more-link">
<a href="/post/Pokemon-Go-Hack/"><span class="read-more-slashes">//</span>Read More...</a>
</div>
</section>
</div>
<li><a href="https://CoderSherlock.github.io/about/">about me</a></li>
</ul>
</div>
<div class="footer">
<hr class="thin" />
<div class="pure-menu pure-menu-horizontal pure-menu-open">
<ul class="footer-menu">
</ul>
</div>
</div>
</nav>
</header>
<p>&copy; 2016. All rights reserved.</p>
</div>
<div class="site">
<div class="container">
<div class="list">
<div class="row">
<div class="col-md-8">
<header class="page-title">Github</header>
<article class="li">
<header>
<div class="date">Sat, Jul 30, 2016</div>
<div class="title"><a href="https://codersherlock.github.io/post/Pokemon-Go-Hack/">Pokemon Go Hack</a></div>
</header>
<div class="body">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.</div>
<footer>
<a href="https://codersherlock.github.io/post/Pokemon-Go-Hack/" class="btn btn-default">Read More…</a>
</footer>
</article>
<hr>
</div>
<div class="col-md-4">
<aside class="site">
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">LatestPosts</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/" class="list-group-item">Cross Compile RSync ARM</a>
<a href="https://codersherlock.github.io/post/Pokemon-Go-Hack/" class="list-group-item">Pokemon Go Hack</a>
<a href="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/" class="list-group-item">Cross Compile Seafile to ARM</a>
<a href="https://codersherlock.github.io/about/" class="list-group-item">about me</a>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">category</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/categories/cross-compile" class="list-group-item">cross-compile</a>
<a href="https://codersherlock.github.io/categories/game" class="list-group-item">game</a>
<a href="https://codersherlock.github.io/categories/hack" class="list-group-item">hack</a>
</div>
</div>
</body>
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">tag</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/tags/android" class="list-group-item">android</a>
<a href="https://codersherlock.github.io/tags/arm" class="list-group-item">arm</a>
<a href="https://codersherlock.github.io/tags/research" class="list-group-item">research</a>
<a href="https://codersherlock.github.io/tags/game" class="list-group-item">game</a>
<a href="https://codersherlock.github.io/tags/github" class="list-group-item">github</a>
<a href="https://codersherlock.github.io/tags/hack" class="list-group-item">hack</a>
</div>
</div>
</aside>
</div>
</div>
</div>
</div>
</div>
<footer class="site">
<div class="container">
<p>Copyright (c) 2016 - 2016, Pengzhan Hao; all rights reserved.</p>
<p>Powered by <a href="http://gohugo.io" target="_blank" rel="nofollow">Hugo</a>, Theme <a href="https://github.com/dim0627/hugo_theme_beg" target="_blank" rel="nofollow">beg</a> designed by <a href="http://yet.unresolved.xyz" target="_blank" rel="nofollow">Daisuke Tsuji</a></p>
</div>
</footer>
<script src="//code.jquery.com/jquery-2.2.1.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</body>
</html>
+4 -3
View File
@@ -6,6 +6,7 @@
<description>Recent content in Github on Mil años de solitario</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<copyright>Copyright (c) 2016 - 2016, Pengzhan Hao; all rights reserved.</copyright>
<lastBuildDate>Sat, 30 Jul 2016 18:10:20 -0400</lastBuildDate>
<atom:link href="https://CoderSherlock.github.io/tags/github/index.xml" rel="self" type="application/rss+xml" />
@@ -19,13 +20,13 @@
&lt;h1 id=&#34;catch-them-all-until-bored&#34;&gt;Catch them all until bored&lt;/h1&gt;
&lt;h2 id=&#34;preface&#34;&gt;Preface&lt;/h2&gt;
&lt;h1 id=&#34;preface&#34;&gt;Preface&lt;/h1&gt;
&lt;p&gt;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&amp;rsquo;t become popular at my country. But time flies, I break through the wall, and come to a free land which can play Niantic&amp;rsquo;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 &lt;strong&gt;EVERYDAY&lt;/strong&gt; and the place where I am now is so barren which even doesn&amp;rsquo;t have much insects and birds(I mean Weedle and Pidgey).
&lt;em&gt;afk I have to battle a nearby gym now&lt;/em&gt;
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.&lt;/p&gt;
&lt;h2 id=&#34;todo-list&#34;&gt;TODO List&lt;/h2&gt;
&lt;h1 id=&#34;todo-list&#34;&gt;TODO List&lt;/h1&gt;
&lt;p&gt;-[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
</item>
</channel>
</rss>
</rss>
+1
View File
@@ -0,0 +1 @@
<!DOCTYPE html><html><head><link rel="canonical" href="https://CoderSherlock.github.io/tags/github/"/><meta http-equiv="content-type" content="text/html; charset=utf-8" /><meta http-equiv="refresh" content="0;url=https://CoderSherlock.github.io/tags/github/" /></head></html>
+154 -144
View File
@@ -1,165 +1,175 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
<head>
<title>
Hack // Mil años de solitario
</title>
<html>
<head>
<meta charset="utf-8">
<meta name="generator" content="Hugo 0.16" />
<link href="http://gmpg.org/xfn/11" rel="profile">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="author" content="">
<meta name="generator" content="Hugo 0.16" />
<meta property="og:title" content="Hack" />
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:locale" content="en_US" />
<meta property="og:url" content="https://CoderSherlock.github.io/tags/hack/" />
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.5.0/base-min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.5.0/pure-min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.5.0/grids-responsive-min.css">
<link rel="stylesheet" href="https://codersherlock.github.io//css/redlounge.css">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" rel="stylesheet">
<link href='//fonts.googleapis.com/css?family=Raleway:400,200,100,700,300,500,600,800' rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Libre+Baskerville:400,700,400italic' rel='stylesheet' type='text/css'>
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/touch-icon-144-precomposed.png">
<link rel="shortcut icon" href="/favicon.png">
<link href="https://CoderSherlock.github.io/tags/hack/index.xml" rel="alternate" type="application/rss+xml" title="Mil años de solitario" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<link rel='stylesheet' href='//fonts.googleapis.com/css?family=Open+Sans|Marcellus+SC'>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/styles/solarized_dark.min.css">
<link rel="stylesheet" href="https://codersherlock.github.io/css/styles.css">
<link rel="stylesheet" href="https://codersherlock.github.io/css/custom.css">
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://codersherlock.github.io//index.xml">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.7/styles/tomorrow-night-bright.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.7/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body>
<div id="layout" class="pure-g">
<div class="sidebar pure-u-1 pure-u-md-1-4">
<div class="header">
<title>Hack - Mil años de solitario</title>
<meta property='og:title' content="Hack - Mil años de solitario">
<meta property="og:type" content="article">
<img src="/images/photo.png" class="sidebarphoto">
<h1 class="brand-title">Mil años de solitario</h1>
<h2 class="brand-tagline">A boy who can&#39;t step into academia</h2>
<nav class="nav">
<ul class="nav-list">
<li class="nav-item"><span class="nav-item-separator">//</span><a href="https://codersherlock.github.io/">Home</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/about">About</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/bio">Biography</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/post">Blog</a></li>
<li class="nav-item"><span class="nav-item-separator">//</span><a href="/about/">about me</a></li>
</ul>
</nav>
<meta property="og:url" content="https://CoderSherlock.github.io/tags/hack/">
<div class="social-buttons">
<a href="http://github.com/CoderSherlcok" target="_blank"><i class='fa fa-github'></i></a>
</div>
</div>
</div>
</head>
<body>
<div class="content pure-u-1 pure-u-md-3-4">
<a name="top"></a>
<header class="site">
<nav class="navbar navbar-default">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="https://codersherlock.github.io/">Mil años de solitario</a>
</div>
<div class="posts">
<section class="post">
<header class="post-header">
<div id="navbar" class="collapse navbar-collapse">
<h1 class="post-title">
<a href="/post/Pokemon-Go-Hack/">Pokemon Go Hack</a>
</h1>
</header>
<p class="post-meta">
<span class="post-date">
<span class="post-date-day"><sup>30</sup></span><span class="post-date-separator">/</span><span class="post-date-month">Jul</span> <span class="post-date-year">2016</span>
</span>
<ul class="nav navbar-nav navbar-right">
<span class="post-reading-time"><i class="fa fa-clock-o"></i> <em>2 min. read</em></span>
<div class="post-categories">
<a class="post-category post-category-2016-07" href="https://codersherlock.github.io//categories/2016-07">2016-07</a>
</div>
</p>
<article class="post-summary">
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.
</article>
<div class="read-more-link">
<a href="/post/Pokemon-Go-Hack/"><span class="read-more-slashes">//</span>Read More...</a>
</div>
</section>
</div>
<li><a href="https://CoderSherlock.github.io/about/">about me</a></li>
</ul>
</div>
<div class="footer">
<hr class="thin" />
<div class="pure-menu pure-menu-horizontal pure-menu-open">
<ul class="footer-menu">
</ul>
</div>
</div>
</nav>
</header>
<p>&copy; 2016. All rights reserved.</p>
</div>
<div class="site">
<div class="container">
<div class="list">
<div class="row">
<div class="col-md-8">
<header class="page-title">Hack</header>
<article class="li">
<header>
<div class="date">Sat, Jul 30, 2016</div>
<div class="title"><a href="https://codersherlock.github.io/post/Pokemon-Go-Hack/">Pokemon Go Hack</a></div>
</header>
<div class="body">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.</div>
<footer>
<a href="https://codersherlock.github.io/post/Pokemon-Go-Hack/" class="btn btn-default">Read More…</a>
</footer>
</article>
<hr>
</div>
<div class="col-md-4">
<aside class="site">
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">LatestPosts</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/" class="list-group-item">Cross Compile RSync ARM</a>
<a href="https://codersherlock.github.io/post/Pokemon-Go-Hack/" class="list-group-item">Pokemon Go Hack</a>
<a href="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/" class="list-group-item">Cross Compile Seafile to ARM</a>
<a href="https://codersherlock.github.io/about/" class="list-group-item">about me</a>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">category</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/categories/cross-compile" class="list-group-item">cross-compile</a>
<a href="https://codersherlock.github.io/categories/game" class="list-group-item">game</a>
<a href="https://codersherlock.github.io/categories/hack" class="list-group-item">hack</a>
</div>
</div>
</body>
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">tag</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/tags/android" class="list-group-item">android</a>
<a href="https://codersherlock.github.io/tags/arm" class="list-group-item">arm</a>
<a href="https://codersherlock.github.io/tags/research" class="list-group-item">research</a>
<a href="https://codersherlock.github.io/tags/game" class="list-group-item">game</a>
<a href="https://codersherlock.github.io/tags/github" class="list-group-item">github</a>
<a href="https://codersherlock.github.io/tags/hack" class="list-group-item">hack</a>
</div>
</div>
</aside>
</div>
</div>
</div>
</div>
</div>
<footer class="site">
<div class="container">
<p>Copyright (c) 2016 - 2016, Pengzhan Hao; all rights reserved.</p>
<p>Powered by <a href="http://gohugo.io" target="_blank" rel="nofollow">Hugo</a>, Theme <a href="https://github.com/dim0627/hugo_theme_beg" target="_blank" rel="nofollow">beg</a> designed by <a href="http://yet.unresolved.xyz" target="_blank" rel="nofollow">Daisuke Tsuji</a></p>
</div>
</footer>
<script src="//code.jquery.com/jquery-2.2.1.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</body>
</html>
+4 -3
View File
@@ -6,6 +6,7 @@
<description>Recent content in Hack on Mil años de solitario</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<copyright>Copyright (c) 2016 - 2016, Pengzhan Hao; all rights reserved.</copyright>
<lastBuildDate>Sat, 30 Jul 2016 18:10:20 -0400</lastBuildDate>
<atom:link href="https://CoderSherlock.github.io/tags/hack/index.xml" rel="self" type="application/rss+xml" />
@@ -19,13 +20,13 @@
&lt;h1 id=&#34;catch-them-all-until-bored&#34;&gt;Catch them all until bored&lt;/h1&gt;
&lt;h2 id=&#34;preface&#34;&gt;Preface&lt;/h2&gt;
&lt;h1 id=&#34;preface&#34;&gt;Preface&lt;/h1&gt;
&lt;p&gt;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&amp;rsquo;t become popular at my country. But time flies, I break through the wall, and come to a free land which can play Niantic&amp;rsquo;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 &lt;strong&gt;EVERYDAY&lt;/strong&gt; and the place where I am now is so barren which even doesn&amp;rsquo;t have much insects and birds(I mean Weedle and Pidgey).
&lt;em&gt;afk I have to battle a nearby gym now&lt;/em&gt;
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.&lt;/p&gt;
&lt;h2 id=&#34;todo-list&#34;&gt;TODO List&lt;/h2&gt;
&lt;h1 id=&#34;todo-list&#34;&gt;TODO List&lt;/h1&gt;
&lt;p&gt;-[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
</item>
</channel>
</rss>
</rss>
+1
View File
@@ -0,0 +1 @@
<!DOCTYPE html><html><head><link rel="canonical" href="https://CoderSherlock.github.io/tags/hack/"/><meta http-equiv="content-type" content="text/html; charset=utf-8" /><meta http-equiv="refresh" content="0;url=https://CoderSherlock.github.io/tags/hack/" /></head></html>
+170
View File
@@ -0,0 +1,170 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="generator" content="Hugo 0.16" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<link rel='stylesheet' href='//fonts.googleapis.com/css?family=Open+Sans|Marcellus+SC'>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/styles/solarized_dark.min.css">
<link rel="stylesheet" href="https://codersherlock.github.io/css/styles.css">
<link rel="stylesheet" href="https://codersherlock.github.io/css/custom.css">
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://codersherlock.github.io//index.xml">
<title>Tags - Mil años de solitario</title>
<meta property='og:title' content="Tags - Mil años de solitario">
<meta property="og:type" content="article">
<meta property="og:url" content="https://CoderSherlock.github.io/tags/">
</head>
<body>
<header class="site">
<nav class="navbar navbar-default">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="https://codersherlock.github.io/">Mil años de solitario</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="https://CoderSherlock.github.io/about/">about me</a></li>
</ul>
</div>
</div>
</nav>
</header>
<div class="site">
<div class="container">
<div class="list terms">
<div class="row">
<div class="col-md-8">
<header class="page-title">Tags</header>
<a href="https://CoderSherlock.github.io/tags/android/">android</a>
<a href="https://CoderSherlock.github.io/tags/arm/">arm</a>
<a href="https://CoderSherlock.github.io/tags/game/">game</a>
<a href="https://CoderSherlock.github.io/tags/github/">github</a>
<a href="https://CoderSherlock.github.io/tags/hack/">hack</a>
<a href="https://CoderSherlock.github.io/tags/research/">research</a>
</div>
<div class="col-md-4">
<aside class="site">
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">LatestPosts</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/" class="list-group-item">Cross Compile RSync ARM</a>
<a href="https://codersherlock.github.io/post/Pokemon-Go-Hack/" class="list-group-item">Pokemon Go Hack</a>
<a href="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/" class="list-group-item">Cross Compile Seafile to ARM</a>
<a href="https://codersherlock.github.io/about/" class="list-group-item">about me</a>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">category</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/categories/cross-compile" class="list-group-item">cross-compile</a>
<a href="https://codersherlock.github.io/categories/game" class="list-group-item">game</a>
<a href="https://codersherlock.github.io/categories/hack" class="list-group-item">hack</a>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">tag</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/tags/android" class="list-group-item">android</a>
<a href="https://codersherlock.github.io/tags/arm" class="list-group-item">arm</a>
<a href="https://codersherlock.github.io/tags/research" class="list-group-item">research</a>
<a href="https://codersherlock.github.io/tags/game" class="list-group-item">game</a>
<a href="https://codersherlock.github.io/tags/github" class="list-group-item">github</a>
<a href="https://codersherlock.github.io/tags/hack" class="list-group-item">hack</a>
</div>
</div>
</aside>
</div>
</div>
</div>
</div>
</div>
<footer class="site">
<div class="container">
<p>Copyright (c) 2016 - 2016, Pengzhan Hao; all rights reserved.</p>
<p>Powered by <a href="http://gohugo.io" target="_blank" rel="nofollow">Hugo</a>, Theme <a href="https://github.com/dim0627/hugo_theme_beg" target="_blank" rel="nofollow">beg</a> designed by <a href="http://yet.unresolved.xyz" target="_blank" rel="nofollow">Daisuke Tsuji</a></p>
</div>
</footer>
<script src="//code.jquery.com/jquery-2.2.1.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</body>
</html>
+191
View File
@@ -0,0 +1,191 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="generator" content="Hugo 0.16" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<link rel='stylesheet' href='//fonts.googleapis.com/css?family=Open+Sans|Marcellus+SC'>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/styles/solarized_dark.min.css">
<link rel="stylesheet" href="https://codersherlock.github.io/css/styles.css">
<link rel="stylesheet" href="https://codersherlock.github.io/css/custom.css">
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://codersherlock.github.io//index.xml">
<title>Research - Mil años de solitario</title>
<meta property='og:title' content="Research - Mil años de solitario">
<meta property="og:type" content="article">
<meta property="og:url" content="https://CoderSherlock.github.io/tags/research/">
</head>
<body>
<header class="site">
<nav class="navbar navbar-default">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="https://codersherlock.github.io/">Mil años de solitario</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="https://CoderSherlock.github.io/about/">about me</a></li>
</ul>
</div>
</div>
</nav>
</header>
<div class="site">
<div class="container">
<div class="list">
<div class="row">
<div class="col-md-8">
<header class="page-title">Research</header>
<article class="li">
<header>
<div class="date">Mon, Aug 15, 2016</div>
<div class="title"><a href="https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/">Cross Compile RSync ARM</a></div>
</header>
<div class="body">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.</div>
<footer>
<a href="https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/" class="btn btn-default">Read More…</a>
</footer>
</article>
<hr>
<article class="li">
<header>
<div class="date">Sat, Jul 30, 2016</div>
<div class="title"><a href="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/">Cross Compile Seafile to ARM</a></div>
</header>
<div class="body">Motivation This project is working for delta sync from mobile to server. Currently, there&rsquo;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&rsquo;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.</div>
<footer>
<a href="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/" class="btn btn-default">Read More…</a>
</footer>
</article>
<hr>
</div>
<div class="col-md-4">
<aside class="site">
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">LatestPosts</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/" class="list-group-item">Cross Compile RSync ARM</a>
<a href="https://codersherlock.github.io/post/Pokemon-Go-Hack/" class="list-group-item">Pokemon Go Hack</a>
<a href="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/" class="list-group-item">Cross Compile Seafile to ARM</a>
<a href="https://codersherlock.github.io/about/" class="list-group-item">about me</a>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">category</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/categories/cross-compile" class="list-group-item">cross-compile</a>
<a href="https://codersherlock.github.io/categories/game" class="list-group-item">game</a>
<a href="https://codersherlock.github.io/categories/hack" class="list-group-item">hack</a>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">tag</h2>
</div>
<div class="list-group">
<a href="https://codersherlock.github.io/tags/android" class="list-group-item">android</a>
<a href="https://codersherlock.github.io/tags/arm" class="list-group-item">arm</a>
<a href="https://codersherlock.github.io/tags/research" class="list-group-item">research</a>
<a href="https://codersherlock.github.io/tags/game" class="list-group-item">game</a>
<a href="https://codersherlock.github.io/tags/github" class="list-group-item">github</a>
<a href="https://codersherlock.github.io/tags/hack" class="list-group-item">hack</a>
</div>
</div>
</aside>
</div>
</div>
</div>
</div>
</div>
<footer class="site">
<div class="container">
<p>Copyright (c) 2016 - 2016, Pengzhan Hao; all rights reserved.</p>
<p>Powered by <a href="http://gohugo.io" target="_blank" rel="nofollow">Hugo</a>, Theme <a href="https://github.com/dim0627/hugo_theme_beg" target="_blank" rel="nofollow">beg</a> designed by <a href="http://yet.unresolved.xyz" target="_blank" rel="nofollow">Daisuke Tsuji</a></p>
</div>
</footer>
<script src="//code.jquery.com/jquery-2.2.1.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</body>
</html>
+200
View File
@@ -0,0 +1,200 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Research on Mil años de solitario</title>
<link>https://CoderSherlock.github.io/tags/research/</link>
<description>Recent content in Research on Mil años de solitario</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<copyright>Copyright (c) 2016 - 2016, Pengzhan Hao; all rights reserved.</copyright>
<lastBuildDate>Mon, 15 Aug 2016 15:44:05 -0400</lastBuildDate>
<atom:link href="https://CoderSherlock.github.io/tags/research/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Cross Compile RSync ARM</title>
<link>https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/</link>
<pubDate>Mon, 15 Aug 2016 15:44:05 -0400</pubDate>
<guid>https://codersherlock.github.io/post/Cross-Compile-RSync-ARM/</guid>
<description>
&lt;p&gt;As always, feel free to ask. // Sherlock&lt;/p&gt;
&lt;h1 id=&#34;motivation&#34;&gt;Motivation&lt;/h1&gt;
&lt;p&gt;I got some issues about compile seafile to android, so instead of doing so, I start to figure out some other synchronize workflow. &lt;a href=&#34;https://rsync.samba.org/&#34;&gt;Rsync&lt;/a&gt; is one of the most mature synchronization solution. So I made the decision on planting rsync to android.&lt;/p&gt;
&lt;h1 id=&#34;pre-work&#34;&gt;Pre-work&lt;/h1&gt;
&lt;p&gt;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 &lt;a href=&#34;https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/&#34;&gt;previews blog&lt;/a&gt;, 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 &lt;a href=&#34;https://play.google.com/store/apps/details?id=berserker.android.apps.sshdroid&amp;amp;hl=en&#34;&gt;SSHDroid&lt;/a&gt; from Google Play Store.&lt;/p&gt;
&lt;h1 id=&#34;cross-compile-rsync&#34;&gt;Cross-Compile Rsync&lt;/h1&gt;
&lt;p&gt;Running following script to build rsync. It will generate a executable file named rsync in the root directory.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$ ./configure --build=${BUILD_SYS} --host=${TOOLCHAIN}
$ make
&lt;/code&gt;&lt;/pre&gt;
&lt;h1 id=&#34;push-rsync-to-android&#34;&gt;Push RSync to Android.&lt;/h1&gt;
&lt;p&gt;After installing SSHDroid, we can now push our arm-version-rsync to target machine.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$ adb push rsync /data/local/tmp
$ adb shell
$ cd /data/data/berserker.android.apps.sshdroid/dropbear
$ mv ../../../local/tmp/rsync .
&lt;/code&gt;&lt;/pre&gt;
&lt;h1 id=&#34;run-rsync-with-argument&#34;&gt;Run Rsync with argument&lt;/h1&gt;
&lt;p&gt;Now we can easily use rsync in android shell. Similar to what we use on PC.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$ ./rsync -e &amp;quot;./ssh&amp;quot; {target-data} {target-location}:{target-directory}
&lt;/code&gt;&lt;/pre&gt;
&lt;h1 id=&#34;references&#34;&gt;References&lt;/h1&gt;
&lt;p&gt;&lt;a href=&#34;http://stackoverflow.com/questions/8130889/build-rsync-for-android&#34;&gt;Build Rsync for Android&lt;/a&gt;&lt;/p&gt;
</description>
</item>
<item>
<title>Cross Compile Seafile to ARM</title>
<link>https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/</link>
<pubDate>Sat, 30 Jul 2016 14:02:34 -0400</pubDate>
<guid>https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/</guid>
<description>
&lt;h1 id=&#34;motivation&#34;&gt;Motivation&lt;/h1&gt;
&lt;p&gt;This project is working for delta sync from mobile to server. Currently, there&amp;rsquo;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&amp;rsquo;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.&lt;/p&gt;
&lt;h1 id=&#34;pre-work&#34;&gt;Pre-work&lt;/h1&gt;
&lt;p&gt;Basically, I used the native android compilation tool-chains, &lt;a href=&#34;https://developer.android.com/ndk/downloads/index.html&#34;&gt;Android NDK&lt;/a&gt;, as working tools. Due to my working situation, I use a &lt;a href=&#34;https://shield.nvidia.com/tablet/k1&#34;&gt;Nvidia Shield Tablet&lt;/a&gt; as target device. As &lt;em&gt;Zengwen&lt;/em&gt; said in his &lt;a href=&#34;http://zwyuan.github.io/2016/07/17/cross-compile-glib-for-android/&#34;&gt;blog&lt;/a&gt;, newest updated NDK might has some issue which can influence compilation progress. So you can find &lt;a href=&#34;http://stackoverflow.com/questions/6849981/where-do-i-find-old-versions-of-android-ndk&#34;&gt;other version&lt;/a&gt; of NDK once you have some problems. Based on what &lt;em&gt;Zengwen&amp;rsquo;s&lt;/em&gt; blog mentioned, we can write following useful system environment and export in terminal.&lt;/p&gt;
&lt;h2 id=&#34;prerequisites&#34;&gt;Prerequisites&lt;/h2&gt;
&lt;pre&gt;&lt;code&gt;$ sudo apt-get install build-essential
$ sudo apt-get install pkg-config automake autoconf libtool
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id=&#34;link-with-standalone-tool-chains&#34;&gt;Link with standalone tool-chains&lt;/h2&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$ ${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
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id=&#34;original-system-environment-configuration&#34;&gt;Original System Environment Configuration&lt;/h2&gt;
&lt;p&gt;[TODO]-&amp;gt; I will fix this part later.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;# 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&#39;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=&amp;quot;--sysroot=${SYSROOT} -I${SYSROOT}/usr/include -I${PREFIX}/include -fPIE -DANDROID -Wno-multichar&amp;quot;
export CXXFLAGS=${CFLAGS}
export CPPFLAGS=&amp;quot;--sysroot=${SYSROOT} -I${SYSROOT}/usr/include -I${NDK_TOOLCHAIN}/include/c++/ -DANDROID -DNO_XMALLOC -mandroid&amp;quot;
export LIBS=&amp;quot;-lc -lstdc++ -ld&amp;quot;
export LDFLAGS=&amp;quot;-Wl,-rpath-link=-I${SYSROOT}/usr/lib -L${SYSROOT}/usr/lib -L${PREFIX}/lib -L${NDK_TOOLCHAIN}/lib&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;h1 id=&#34;compile-process&#34;&gt;Compile Process&lt;/h1&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;h2 id=&#34;libsearpc&#34;&gt;libsearpc&lt;/h2&gt;
&lt;h3 id=&#34;glib&#34;&gt;glib&lt;/h3&gt;
&lt;h4 id=&#34;libiconv&#34;&gt;libiconv&lt;/h4&gt;
&lt;h4 id=&#34;libffi&#34;&gt;libffi&lt;/h4&gt;
&lt;h4 id=&#34;gettext&#34;&gt;gettext&lt;/h4&gt;
&lt;h3 id=&#34;libjasson&#34;&gt;libjasson&lt;/h3&gt;
&lt;h2 id=&#34;ccnet&#34;&gt;ccnet&lt;/h2&gt;
&lt;h3 id=&#34;libuuid&#34;&gt;libuuid&lt;/h3&gt;
&lt;h2 id=&#34;seafile&#34;&gt;seafile&lt;/h2&gt;
&lt;h1 id=&#34;preferences&#34;&gt;Preferences&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;http://zwyuan.github.io/2016/07/17/cross-compile-glib-for-android/&#34;&gt;zwyuan&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
</item>
</channel>
</rss>
+1
View File
@@ -0,0 +1 @@
<!DOCTYPE html><html><head><link rel="canonical" href="https://CoderSherlock.github.io/tags/research/"/><meta http-equiv="content-type" content="text/html; charset=utf-8" /><meta http-equiv="refresh" content="0;url=https://CoderSherlock.github.io/tags/research/" /></head></html>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 570 B