-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex2.html
314 lines (289 loc) · 17.5 KB
/
index2.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
<!DOCTYPE html>
<html lang="en" prefix="og: http://ogp.me/ns# fb: https://www.facebook.com/2008/fbml">
<head>
<title>Grey Panther's Place</title>
<!-- Using the latest rendering mode for IE -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://www.grey-panther.net/favicon.ico" rel="icon">
<!--[if IE]><link rel="shortcut icon" href="https://www.grey-panther.net/favicon.ico"><![endif]-->
<link rel="canonical" href="https://www.grey-panther.net">
<meta name="author" content="Grey Panther" />
<!-- Open Graph tags -->
<meta property="og:site_name" content="Grey Panther's Place" />
<meta property="og:type" content="website"/>
<meta property="og:title" content="Grey Panther's Place"/>
<meta property="og:url" content="https://www.grey-panther.net"/>
<meta property="og:description" content="Grey Panther's Place"/>
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@cdman83">
<meta name="twitter:creator" content="@cdman83">
<meta name="twitter:domain" content="https://www.grey-panther.net">
<!-- Bootstrap -->
<link rel="stylesheet" href="https://www.grey-panther.net/theme/css/bootstrap.superhero.min.css" type="text/css"/>
<link href="https://www.grey-panther.net/theme/css/font-awesome.min.css" rel="stylesheet">
<link href="https://www.grey-panther.net/theme/css/pygments/solarizeddark.css" rel="stylesheet">
<link href="https://www.grey-panther.net/theme/css/typogrify.css" rel="stylesheet">
<link rel="stylesheet" href="https://www.grey-panther.net/theme/css/style.css" type="text/css"/>
<link href="https://www.grey-panther.net/feeds/posts/default" type="application/atom+xml" rel="alternate"
title="Grey Panther's Place ATOM Feed"/>
<link href="https://www.grey-panther.net/feeds/rss" type="application/rss+xml" rel="alternate"
title="Grey Panther's Place RSS Feed"/>
</head>
<body>
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="https://www.grey-panther.net/" class="navbar-brand">
Grey Panther's Place </a>
</div>
<div class="collapse navbar-collapse navbar-ex1-collapse">
<ul class="nav navbar-nav">
<li><a href="/">About</a></li>
<li><a href="/category/blog.html">Blog</a></li>
<li><a href="/pages/projects.html">Projects</a></li>
<li><a href="/pages/site-map.html">More</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="https://www.grey-panther.net/archives.html"><i class="fa fa-th-list"></i><span class="icon-label">Archives</span></a></li>
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
</div> <!-- /.navbar -->
<!-- Banner -->
<!-- End Banner -->
<div class="container-fluid">
<div class="row">
<div class="col-sm-9">
<article>
<h2><a href="https://www.grey-panther.net/2013/06/nested-fluent-builders.html">Nested fluent builders</a></h2>
<div class="summary"><p><em>Crossposted from <a href="http://www.transylvania-jug.org/archives/5692">the Transylvania <span class="caps">JUG</span>
website</a>.</em></p>
<p>Builders have become commonplace in current Java code. They have the
effect of transforming the following code:</p>
<p><span class="dquo">“</span>` {lang=”java” escaped=”true”}
new Foo(1, 5, “abc”, false);</p>
<div class="highlight"><pre><span></span></code>
Into something like
``` {lang="java" escaped="true" line="1"}
Foo.builder()
.count(1)
.priority(5)
.name ...</pre></div>
<a class="btn btn-default btn-xs" href="https://www.grey-panther.net/2013/06/nested-fluent-builders.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="https://www.grey-panther.net/2013/05/passing-utf-8-trough-http.html">Passing <span class="caps">UTF</span>-8 trough <span class="caps">HTTP</span></a></h2>
<div class="summary"><p>These days we should write every code as if it will be used by
international people with a wide variety of personal information (just
look at <a href="http://www.kalzumeus.com/2010/06/17/falsehoods-programmers-believe-about-names/">Falsehoods Programmers Believe About
Names</a>
for some headscratchers). I would like to do add my small contribution
to this by showing how <span class="caps">UTF</span>-8 ...</p>
<a class="btn btn-default btn-xs" href="https://www.grey-panther.net/2013/05/passing-utf-8-trough-http.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="https://www.grey-panther.net/2013/05/connecting-to-mtgox-market-data-feed.html">Connecting to the MtGox market data feed using Perl</a></h2>
<div class="summary"><p>For a recent project I needed some realistic market data for an
electronic exchange. Seeing how MtGox provides free and open access to
theirs (thank you!) I chose them. However none of the examples floating
around the internet seemed to work, so I whipped one up using
<a href="http://search.cpan.org/~pevans/Net-Async-WebSocket-0.06/lib/Net/Async/WebSocket/Client.pm">Net::Async::WebSocket ...</a></p>
<a class="btn btn-default btn-xs" href="https://www.grey-panther.net/2013/05/connecting-to-mtgox-market-data-feed.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="https://www.grey-panther.net/2013/02/converting-datetime-to-utc-in-python.html">Converting datetime to <span class="caps">UTC</span> in python</a></h2>
<div class="summary"><p>So you need to convert a python datetime object which has a timezone set
(“aware” in the Python nomenclature) to an <span class="caps">UTC</span> one with no timezone set
(“naive”), for example because <span class="caps">NDB</span> on <span class="caps">GAE</span> <a href="http://code.google.com/p/appengine-ndb-experiment/source/browse/ndb/model.py?r=6b3f88b663a82831e9ecee8adbad014ff774c365#1916">can’t store anything
else</a>.
The solution will look something like this:</p>
<div class="highlight"><pre><span></span>date = date.astimezone(tz ...</pre></div>
<a class="btn btn-default btn-xs" href="https://www.grey-panther.net/2013/02/converting-datetime-to-utc-in-python.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="https://www.grey-panther.net/2013/02/recovering-your-rotld-password-for.html">Recovering your RoTLD password for domains registered trough Gandi.<span class="caps">NET</span></a></h2>
<div class="summary"><p>If you need to “recover” your <a href="http://www.rotld.ro/">RoTLD</a> password
when the .<span class="caps">RO</span> domain is registered trough Gandi.<span class="caps">NET</span> (I say “recover”
because you didn’t set it in the first place :-)) - do this:</p>
<ul>
<li>In the Gandi interface go to Account Management -> Update account
information and set “Anti-spam system” to No</li>
<li>Go ...</li></ul>
<a class="btn btn-default btn-xs" href="https://www.grey-panther.net/2013/02/recovering-your-rotld-password-for.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="https://www.grey-panther.net/2013/01/free-software-for-windows.html">Free software for Windows</a></h2>
<div class="summary"><p>Inspired by <a href="http://alexj.info/2012/11/15/open-source-software-on-windows/">this
post</a> I
decided to list the software I use/recommend under Windows.</p>
<p>Free/Libre Open Source Software:</p>
<ul>
<li><a href="http://www.libreoffice.org/">LibreOffice</a> (for of OpenOffice) - a
very capable office solution. Most people don’t need anything more
than this. If you are installing it for a non-technical user, make
sure to ...</li></ul>
<a class="btn btn-default btn-xs" href="https://www.grey-panther.net/2013/01/free-software-for-windows.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="https://www.grey-panther.net/2012/12/what-every-programmer-should-know-about.html">What every programmer should know about X</a></h2>
<div class="summary"><p>Piggybacking on some memes floating around on the internet I would like
to publish my list of “what every programmer should know”.</p>
<p>A couple of introductory words: in my opinion the two most important
things to learn for new programmers are terminology - to know what
things / ideas / algorithms / concepts are ...</p>
<a class="btn btn-default btn-xs" href="https://www.grey-panther.net/2012/12/what-every-programmer-should-know-about.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="https://www.grey-panther.net/2012/12/ensuring-order-of-execution-for-tasks.html">Ensuring the order of execution for tasks</a></h2>
<div class="summary"><p><em>This post was originally published as part of the <a href="http://www.javaadvent.com/2012/12/ensuring-order-of-execution-for-tasks.html">Java Advent
series</a>.
If you like it, please spread the word by sharing, tweeting, <span class="caps">FB</span>, G+ and
so on! Want to write for the Java Advent blog? We are looking for
contributors to fill all 24 slot and would love to ...</em></p>
<a class="btn btn-default btn-xs" href="https://www.grey-panther.net/2012/12/ensuring-order-of-execution-for-tasks.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="https://www.grey-panther.net/2012/12/java-runtime-options.html">Java Runtime options</a></h2>
<div class="summary"><p><em>This post was originally published as part of the <a href="http://www.javaadvent.com/2012/12/java-runtime-options.html">Java Advent
series</a>. If
you like it, please spread the word by sharing, tweeting, <span class="caps">FB</span>, G+ and so
on! Want to write for the Java Advent blog? We are looking for
contributors to fill all 24 slot and would love to ...</em></p>
<a class="btn btn-default btn-xs" href="https://www.grey-panther.net/2012/12/java-runtime-options.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="https://www.grey-panther.net/2012/12/changes-to-stringsubstring-in-java-7.html">Changes to String.substring in Java 7</a></h2>
<div class="summary"><p><em>This post was originally published as part of the <a href="http://www.javaadvent.com/2012/12/changes-to-stringsubstring-in-java-7.html">Java Advent
series</a>.
If you like it, please spread the word by sharing, tweeting, <span class="caps">FB</span>, G+ and
so on! Want to write for the Java Advent blog? We are looking for
contributors to fill all 24 slot and would love to ...</em></p>
<a class="btn btn-default btn-xs" href="https://www.grey-panther.net/2012/12/changes-to-stringsubstring-in-java-7.html">more ...</a>
</div>
</article>
<hr/>
<ul class="pagination">
<li class="prev"><a href="https://www.grey-panther.net/index.html">«</a>
</li>
<li class=""><a
href="https://www.grey-panther.net/index.html">1</a></li>
<li class="active"><a
href="https://www.grey-panther.net/index2.html">2</a></li>
<li class=""><a
href="https://www.grey-panther.net/index3.html">3</a></li>
<li class=""><a
href="https://www.grey-panther.net/index4.html">4</a></li>
<li class=""><a
href="https://www.grey-panther.net/index5.html">5</a></li>
<li class=""><a
href="https://www.grey-panther.net/index6.html">6</a></li>
<li class=""><a
href="https://www.grey-panther.net/index7.html">7</a></li>
<li class=""><a
href="https://www.grey-panther.net/index8.html">8</a></li>
<li class=""><a
href="https://www.grey-panther.net/index9.html">9</a></li>
<li class=""><a
href="https://www.grey-panther.net/index10.html">10</a></li>
<li class=""><a
href="https://www.grey-panther.net/index11.html">11</a></li>
<li class=""><a
href="https://www.grey-panther.net/index12.html">12</a></li>
<li class=""><a
href="https://www.grey-panther.net/index13.html">13</a></li>
<li class=""><a
href="https://www.grey-panther.net/index14.html">14</a></li>
<li class=""><a
href="https://www.grey-panther.net/index15.html">15</a></li>
<li class=""><a
href="https://www.grey-panther.net/index16.html">16</a></li>
<li class=""><a
href="https://www.grey-panther.net/index17.html">17</a></li>
<li class=""><a
href="https://www.grey-panther.net/index18.html">18</a></li>
<li class=""><a
href="https://www.grey-panther.net/index19.html">19</a></li>
<li class=""><a
href="https://www.grey-panther.net/index20.html">20</a></li>
<li class=""><a
href="https://www.grey-panther.net/index21.html">21</a></li>
<li class="next"><a
href="https://www.grey-panther.net/index3.html">»</a></li>
</ul>
</div>
<div class="col-sm-3" id="sidebar">
<aside>
<div id="aboutme">
<p>
<img width="60%" class="img" src="/images/profile.png"/>
</p>
<p>
<strong>About Grey Panther</strong><br/>
<a href="/">father, husband, software craftsman</a>
</p>
</div>
<section class="well well-sm">
<ul class="list-group list-group-flush">
<li class="list-group-item"><h4><i class="fa fa-home fa-lg"></i><span class="icon-label">Social</span></h4>
<ul class="list-group" id="social">
<li class="list-group-item"><a href="https://ro.linkedin.com/in/gpanther"><i class="fa fa-linkedin-square fa-lg"></i> linkedin</a></li>
<li class="list-group-item"><a href="http://stackoverflow.com/users/1265/grey-panther"><i class="fa fa-stack-overflow fa-lg"></i> stackoverflow</a></li>
<li class="list-group-item"><a href="https://github.com/gpanther/"><i class="fa fa-github-square fa-lg"></i> github</a></li>
</ul>
</li>
</ul>
</section>
</aside>
</div>
</div>
</div>
<footer>
<div class="container-fluid">
<hr>
<div class="row">
<div class="col-xs-10">© 2017 Grey Panther
· Powered by <a href="https://github.com/DandyDev/pelican-bootstrap3" target="_blank">pelican-bootstrap3</a>,
<a href="http://docs.getpelican.com/" target="_blank">Pelican</a>,
<a href="http://getbootstrap.com" target="_blank">Bootstrap</a> <p><small> <a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="//i.creativecommons.org/l/by/4.0/80x15.png" /></a>
Content
licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>, except where indicated otherwise.
</small></p>
</div>
<div class="col-xs-2"><p class="pull-right"><i class="fa fa-arrow-up"></i> <a href="#">Back to top</a></p></div>
</div>
</div>
</footer>
<script src="https://www.grey-panther.net/theme/js/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="https://www.grey-panther.net/theme/js/bootstrap.min.js"></script>
<!-- Enable responsive features in IE8 with Respond.js (https://github.com/scottjehl/Respond) -->
<script src="https://www.grey-panther.net/theme/js/respond.min.js"></script>
</body>
</html>