PageSourceSearch

https://nlitsme.github.io/

html nlitsme.github.io collected 2026-10-03 09:41:19 UTC 94,930 bytes, 2,232 lines download raw bytes

1<!DOCTYPE html>
2<html lang="en">
3  <head>
4    <meta charset="utf-8" />
5    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
6    <title>
7        Willem&#39;s blog</title>
8    <head>
9  <meta charset="utf-8">
10  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
11  <meta name="viewport"
12    content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui">
13  <meta name="renderer" content="webkit">
14  <meta http-equiv="Cache-Control" content="no-transform" />
15  <meta http-equiv="Cache-Control" content="no-siteapp" />
16  <meta name="apple-mobile-web-app-capable" content="yes">
17  <meta name="apple-mobile-web-app-status-bar-style" content="black">
18  <meta name="format-detection" content="telephone=no,email=no,adress=no">
19  
20  <meta name="theme-color" content="#000000" />
21  
22  <meta http-equiv="window-target" content="_top" />
23  
24  
25  
26  <meta name="generator" content="Hugo 0.74.3 with theme pure" />
27  <title>Willem&#39;s blog</title>
28  
29  <link rel="alternate" type="application/rss+xml" href="https://nlitsme.github.io/index.xml" title="Willem's blog" />
30  
31  <link rel="stylesheet" href="https://nlitsme.github.io/css/style.min.13468ef5be61550fa4d002a591d5552c85369a01cbae5e2d95dc8022cab38679.css">
32  
33  <link rel="stylesheet" href="/assets/css/highlight.css" async>
34  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tocbot/4.4.2/tocbot.css" async>
35  <meta property="og:title" content="Willem&#39;s blog" />
36<meta property="og:description" content="" />
37<meta property="og:type" content="website" />
38<meta property="og:url" content="https://nlitsme.github.io/" />
39<meta property="og:updated_time" content="2020-08-07T00:00:00+00:00" />
40<meta itemprop="name" content="Willem&#39;s blog">
41<meta itemprop="description" content="">
42<meta name="twitter:card" content="summary"/>
43<meta name="twitter:title" content="Willem&#39;s blog"/>
44<meta name="twitter:description" content=""/>
45
46  <!--[if lte IE 9]>
47      
47<script src="https://cdnjs.cloudflare.com/ajax/libs/classlist/1.1.20170427/classList.min.js"></script>
47
48    <![endif]-->
49
50  <!--[if lt IE 9]>
51      
51<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/html5shiv.min.js"></script>
51
52      
52<script src="https://cdn.jsdelivr.net/npm/[email protected]/dest/respond.min.js"></script>
52
53    <![endif]-->
54
55</head>
56
57  </head>
58
59  
60  
61
62  <body class="main-center theme-black" itemscope itemtype="http://schema.org/WebPage"><header class="header" itemscope itemtype="http://schema.org/WPHeader">
63    <div class="slimContent">
64      <div class="navbar-header">
65        <div class="profile-block text-center">
66            
67          <a href="/">
68              <h2 id="name" class="hidden-xs hidden-sm">Willem&#39;s blog</h2>
69          </a>
70          <h3 id="title" class="hidden-xs hidden-sm hidden-md"></h3>
71          <small id="location" class="text-muted hidden-xs hidden-sm"><i class="icon icon-map-marker"></i>The Netherlands</small>
72        </div><div class="search" id="search-form-wrap">
73    <form class="search-form sidebar-form">
74        <div class="input-group">
75            <input type="text" class="search-form-input form-control" placeholder="Search" />
76            <span class="input-group-btn">
77                <button type="submit" class="search-form-submit btn btn-flat" onclick="return false;"><i
78                        class="icon icon-search"></i></button>
79            </span>
80        </div>
81        <div class="ins-search">
82            <div class="ins-search-mask"></div>
83            <div class="ins-search-container">
84                <div class="ins-input-wrapper">
85                    <input type="text" class="ins-search-input" placeholder="Type something..."
86                        x-webkit-speech />
87                    <button type="button" class="close ins-close ins-selectable" data-dismiss="modal"
88                        aria-label="Close"><span aria-hidden="true">×</span></button>
89                </div>
90                <div class="ins-section-wrapper">
91                    <div class="ins-section-container"></div>
92                </div>
93            </div>
94        </div>
95    </form>
96</div>
97        <button class="navbar-toggle collapsed" type="button" data-toggle="collapse" data-target="#main-navbar" aria-controls="main-navbar" aria-expanded="false">
98          <span class="sr-only">Toggle navigation</span>
99          <span class="icon-bar"></span>
100          <span class="icon-bar"></span>
101          <span class="icon-bar"></span>
102        </button>
103      </div>
104      <nav id="main-navbar" class="collapse navbar-collapse" itemscope itemtype="http://schema.org/SiteNavigationElement" role="navigation">
105        <ul class="nav navbar-nav main-nav">
106            <li class="menu-item menu-item-home">
107                <a href="/">
108                    <i class="icon icon-home-fill"></i>
109                  <span class="menu-title">Home</span>
110                </a>
111            </li>
112            <li class="menu-item menu-item-archives">
113                <a href="/posts/">
114                    <i class="icon icon-archives-fill"></i>
115                  <span class="menu-title">Archives</span>
116                </a>
117            </li>
118            <li class="menu-item menu-item-tags">
119                <a href="/tags/">
120                    <i class="icon icon-tags"></i>
121                  <span class="menu-title">Tags</span>
122                </a>
123            </li>
124            <li class="menu-item menu-item-about">
125                <a href="/about/">
126                    <i class="icon icon-cup-fill"></i>
127                  <span class="menu-title">About</span>
128                </a>
129            </li>
130        </ul>
131      </nav>
132    </div>
133  </header>
134
135<aside class="sidebar" itemscope itemtype="http://schema.org/WPSideBar">
136  <div class="slimContent">
137    
138      <div class="widget">
139    <h3 class="widget-title"> Tags</h3>
140    <div class="widget-body">
141            
142            
143            <a href="https://nlitsme.github.io/tags/android/" class="tag-list-link">android</a><span
144                    class="tag-list-count">1</span>
145            
146            
147            <a href="https://nlitsme.github.io/tags/arm/" class="tag-list-link">arm</a><span
148                    class="tag-list-count">1</span>
149            
150            
151            <a href="https://nlitsme.github.io/tags/benchmark/" class="tag-list-link">benchmark</a><span
152                    class="tag-list-count">1</span>
153            
154            
155            <a href="https://nlitsme.github.io/tags/bitcoin/" class="tag-list-link">bitcoin</a><span
156                    class="tag-list-count">3</span>
157            
158            
159            <a href="https://nlitsme.github.io/tags/c&#43;&#43;/" class="tag-list-link">c&#43;&#43;</a><span
160                    class="tag-list-count">3</span>
161            
162            
163            <a href="https://nlitsme.github.io/tags/commandline/" class="tag-list-link">commandline</a><span
164                    class="tag-list-count">1</span>
165            
166            
167            <a href="https://nlitsme.github.io/tags/crack/" class="tag-list-link">crack</a><span
168                    class="tag-list-count">1</span>
169            
170            
171            <a href="https://nlitsme.github.io/tags/crypto/" class="tag-list-link">crypto</a><span
172                    class="tag-list-count">5</span>
173            
174            
175            <a href="https://nlitsme.github.io/tags/ecdsa/" class="tag-list-link">ecdsa</a><span
176                    class="tag-list-count">1</span>
177            
178            
179            <a href="https://nlitsme.github.io/tags/elcapitan/" class="tag-list-link">elcapitan</a><span
180                    class="tag-list-count">1</span>
181            
182            
183            <a href="https://nlitsme.github.io/tags/galois-field/" class="tag-list-link">galois-field</a><span
184                    class="tag-list-count">1</span>
185            
186            
187            <a href="https://nlitsme.github.io/tags/git/" class="tag-list-link">git</a><span
188                    class="tag-list-count">1</span>
189            
190            
191            <a href="https://nlitsme.github.io/tags/hexdmper/" class="tag-list-link">hexdmper</a><span
192                    class="tag-list-count">1</span>
193            
194            
195            <a href="https://nlitsme.github.io/tags/hugo/" class="tag-list-link">hugo</a><span
196                    class="tag-list-count">1</span>
197            
198            
199            <a href="https://nlitsme.github.io/tags/ida/" class="tag-list-link">ida</a><span
200                    class="tag-list-count">2</span>
201            
202            
203            <a href="https://nlitsme.github.io/tags/interrupts/" class="tag-list-link">interrupts</a><span
204                    class="tag-list-count">1</span>
205            
206            
207            <a href="https://nlitsme.github.io/tags/itsutils/" class="tag-list-link">itsutils</a><span
208                    class="tag-list-count">1</span>
209            
210            
211            <a href="https://nlitsme.github.io/tags/life/" class="tag-list-link">life</a><span
212                    class="tag-list-count">1</span>
213            
214            
215            <a href="https://nlitsme.github.io/tags/math/" class="tag-list-link">math</a><span
216                    class="tag-list-count">3</span>
217            
218            
219            <a href="https://nlitsme.github.io/tags/modular-arithmetic/" class="tag-list-link">modular-arithmetic</a><span
220                    class="tag-list-count">1</span>
221            
222            
223            <a href="https://nlitsme.github.io/tags/msdos/" class="tag-list-link">msdos</a><span
224                    class="tag-list-count">3</span>
225            
226            
227            <a href="https://nlitsme.github.io/tags/museum/" class="tag-list-link">museum</a><span
228                    class="tag-list-count">10</span>
229            
230            
231            <a href="https://nlitsme.github.io/tags/netware/" class="tag-list-link">netware</a><span
232                    class="tag-list-count">4</span>
233            
234            
235            <a href="https://nlitsme.github.io/tags/osx/" class="tag-list-link">osx</a><span
236                    class="tag-list-count">2</span>
237            
238            
239            <a href="https://nlitsme.github.io/tags/osx10.11/" class="tag-list-link">osx10.11</a><span
240                    class="tag-list-count">1</span>
241            
242            
243            <a href="https://nlitsme.github.io/tags/pchardware/" class="tag-list-link">pchardware</a><span
244                    class="tag-list-count">1</span>
245            
246            
247            <a href="https://nlitsme.github.io/tags/pdf/" class="tag-list-link">pdf</a><span
248                    class="tag-list-count">1</span>
249            
250            
251            <a href="https://nlitsme.github.io/tags/perl/" class="tag-list-link">perl</a><span
252                    class="tag-list-count">1</span>
253            
254            
255            <a href="https://nlitsme.github.io/tags/philosophy/" class="tag-list-link">philosophy</a><span
256                    class="tag-list-count">1</span>
257            
258            
259            <a href="https://nlitsme.github.io/tags/portability/" class="tag-list-link">portability</a><span
260                    class="tag-list-count">1</span>
261            
262            
263            <a href="https://nlitsme.github.io/tags/problems/" class="tag-list-link">problems</a><span
264                    class="tag-list-count">4</span>
265            
266            
267            <a href="https://nlitsme.github.io/tags/puzzle/" class="tag-list-link">puzzle</a><span
268                    class="tag-list-count">5</span>
269            
270            
271            <a href="https://nlitsme.github.io/tags/python/" class="tag-list-link">python</a><span
272                    class="tag-list-count">10</span>
273            
274            
275            <a href="https://nlitsme.github.io/tags/qualcomm/" class="tag-list-link">qualcomm</a><span
276                    class="tag-list-count">1</span>
277            
278            
279            <a href="https://nlitsme.github.io/tags/reversing/" class="tag-list-link">reversing</a><span
280                    class="tag-list-count">12</span>
281            
282            
283            <a href="https://nlitsme.github.io/tags/soundblaster/" class="tag-list-link">soundblaster</a><span
284                    class="tag-list-count">1</span>
285            
286            
287            <a href="https://nlitsme.github.io/tags/templates/" class="tag-list-link">templates</a><span
288                    class="tag-list-count">1</span>
289            
290            
291            <a href="https://nlitsme.github.io/tags/thinkmaths/" class="tag-list-link">thinkmaths</a><span
292                    class="tag-list-count">5</span>
293            
294            
295            <a href="https://nlitsme.github.io/tags/timemachine/" class="tag-list-link">timemachine</a><span
296                    class="tag-list-count">1</span>
297            
298            
299            <a href="https://nlitsme.github.io/tags/tor/" class="tag-list-link">tor</a><span
300                    class="tag-list-count">1</span>
301            
302            
303            <a href="https://nlitsme.github.io/tags/vim/" class="tag-list-link">vim</a><span
304                    class="tag-list-count">1</span>
305            
306            
307            <a href="https://nlitsme.github.io/tags/wince/" class="tag-list-link">wince</a><span
308                    class="tag-list-count">2</span>
309            
310            
311            <a href="https://nlitsme.github.io/tags/youtube/" class="tag-list-link">youtube</a><span
312                    class="tag-list-count">1</span>
313            
314
315    </div>
316</div>
317
318      
319<div class="widget">
320    <h3 class="widget-title">Recent Posts</h3>
321    <div class="widget-body">
322        <ul class="recent-post-list list-unstyled no-thumbnail">
323            <li>
324                <div class="item-inner">
325                    <p class="item-title">
326                        <a href="https://nlitsme.github.io/2020/08/2020-08-07-mpmp12-marching-band-problem/" class="title">MPMP12 Marching band Problem</a>
327                    </p>
328                    <p class="item-date">
329                        <time datetime="2020-08-07 00:00:00 &#43;0000 UTC" itemprop="datePublished">2020-08-07</time>
330                    </p>
331                </div>
332            </li>
333            <li>
334                <div class="item-inner">
335                    <p class="item-title">
336                        <a href="https://nlitsme.github.io/2020/07/2020-07-27-mpmp11-david-and-anton/" class="title">MPMP11 David and Anton age puzzle</a>
337                    </p>
338                    <p class="item-date">
339                        <time datetime="2020-07-27 00:00:00 &#43;0000 UTC" itemprop="datePublished">2020-07-27</time>
340                    </p>
341                </div>
342            </li>
343            <li>
344                <div class="item-inner">
345                    <p class="item-title">
346                        <a href="https://nlitsme.github.io/2020/06/2020-06-27-mpmp9-take-away-triangles/" class="title">MPMP9 Take away triangles</a>
347                    </p>
348                    <p class="item-date">
349                        <time datetime="2020-06-27 00:00:00 &#43;0000 UTC" itemprop="datePublished">2020-06-27</time>
350                    </p>
351                </div>
352            </li>
353            <li>
354                <div class="item-inner">
355                    <p class="item-title">
356                        <a href="https://nlitsme.github.io/2020/06/2020-06-11-mpmp8-paper-folding/" class="title">MPMP8 Paper folding challenge</a>
357                    </p>
358                    <p class="item-date">
359                        <time datetime="2020-06-11 00:00:00 &#43;0000 UTC" itemprop="datePublished">2020-06-11</time>
360                    </p>
361                </div>
362            </li>
363            <li>
364                <div class="item-inner">
365                    <p class="item-title">
366                        <a href="https://nlitsme.github.io/2020/06/youtube-tool/" class="title">A commandline tool for youtube.</a>
367                    </p>
368                    <p class="item-date">
369                        <time datetime="2020-06-09 00:00:00 &#43;0000 UTC" itemprop="datePublished">2020-06-09</time>
370                    </p>
371                </div>
372            </li>
373        </ul>
374    </div>
375</div>
376  </div>
377</aside>
378
379    
380    
381
382<main class="main" role="main">
383  
384  <div class="content article-list">
385    
386    
387    
388    <article
389      class="article article-type-page"
390      itemscope
391      itemtype="http://schema.org/BlogPosting"
392    >
393      <div class="article-header">
394        <h1 itemprop="name">
395  <a
396    class="article-title"
397    href="/2020/08/2020-08-07-mpmp12-marching-band-problem/"
398    >MPMP12 Marching band Problem</a
399  >
400</h1>
401
402      </div>
403      <div class="article-entry text-muted" itemprop="description"><h1 id="marching-band-problem">Marching Band problem</h1>
404<p>In this document I describe a solution to the &lsquo;marchingband&rsquo; problem as stated on <a href="http://think-maths.co.uk/marchingband">think-maths</a>:</p>
405<pre><code>What is the fewest number of performers you require for your marching band to
406have 64 marching options? (Only whole positive numbers will be accepted)
407</code></pre>
408<p>Where a &lsquo;marchingband&rsquo; can march only in a rectangular shape.</p>
409<p>Also, I present solutions in higher dimensions, and a solution with complex numbers, and a proof that the 2D case has a solution for all numbers of marching options.</p></div>
410      <p class="article-meta">
411<span class="article-date">
412  <i class="icon icon-calendar-check"></i>&nbsp;
413<a href="https://nlitsme.github.io/2020/08/2020-08-07-mpmp12-marching-band-problem/" class="">
414  <time datetime="2020-08-07 00:00:00 &#43;0000 UTC" itemprop="datePublished">2020-08-07</time>
415</a>
416</span>
417  
418  <span class="article-tag">
419    <i class="icon icon-tags"></i>&nbsp;
420    <a class="article-tag-link" href="/tags/puzzle/"> puzzle </a>
421    <a class="article-tag-link" href="/tags/thinkmaths/"> thinkmaths </a>
422  </span>
423
424        <span class="post-comment"><i class="icon icon-comment"></i> &nbsp;<a href="/2020/08/2020-08-07-mpmp12-marching-band-problem/#comments" class="article-comment-link">Comments</a></span>
425		<span class="post-wordcount hidden-xs" itemprop="wordCount">Word Count: 2656words</span>
426		<span class="post-readcount hidden-xs" itemprop="timeRequired">Read Count: 13minutes </span>
427      </p>
428    </article>
429    <article
430      class="article article-type-page"
431      itemscope
432      itemtype="http://schema.org/BlogPosting"
433    >
434      <div class="article-header">
435        <h1 itemprop="name">
436  <a
437    class="article-title"
438    href="/2020/07/2020-07-27-mpmp11-david-and-anton/"
439    >MPMP11 David and Anton age puzzle</a
440  >
441</h1>
442
443      </div>
444      <div class="article-entry text-muted" itemprop="description"><p>The puzzle: <a href="http://think-maths.co.uk/agepuzzle">David and Anton puzzle</a></p>
445<p>David and Anton&rsquo;s ages combined equals 65.</p>
446<p>David is currently three times as old as Anton was when David was half as old as Anton will be when Anton is three times as old as David was when David was three times as old as Anton.
447How old is David?</p></div>
448      <p class="article-meta">
449<span class="article-date">
450  <i class="icon icon-calendar-check"></i>&nbsp;
451<a href="https://nlitsme.github.io/2020/07/2020-07-27-mpmp11-david-and-anton/" class="">
452  <time datetime="2020-07-27 00:00:00 &#43;0000 UTC" itemprop="datePublished">2020-07-27</time>
453</a>
454</span>
455  
456  <span class="article-tag">
457    <i class="icon icon-tags"></i>&nbsp;
458    <a class="article-tag-link" href="/tags/puzzle/"> puzzle </a>
459    <a class="article-tag-link" href="/tags/thinkmaths/"> thinkmaths </a>
460  </span>
461
462        <span class="post-comment"><i class="icon icon-comment"></i> &nbsp;<a href="/2020/07/2020-07-27-mpmp11-david-and-anton/#comments" class="article-comment-link">Comments</a></span>
463		<span class="post-wordcount hidden-xs" itemprop="wordCount">Word Count: 543words</span>
464		<span class="post-readcount hidden-xs" itemprop="timeRequired">Read Count: 3minutes </span>
465      </p>
466    </article>
467    <article
468      class="article article-type-page"
469      itemscope
470      itemtype="http://schema.org/BlogPosting"
471    >
472      <div class="article-header">
473        <h1 itemprop="name">
474  <a
475    class="article-title"
476    href="/2020/06/2020-06-27-mpmp9-take-away-triangles/"
477    >MPMP9 Take away triangles</a
478  >
479</h1>
480
481      </div>
482      <div class="article-entry text-muted" itemprop="description"><p>The puzzle: <a href="http://think-maths.co.uk/trianglepuzzle">Take away Triangles</a>.</p>
483<p>Playing with the triangles, and looking at n-gons with n &gt;= 3, I found you
484always end up in some cycle ( well, unless you start with irrational numbers on
485the triangle&rsquo;s corners ), then googling for a couple of cycle lengths, I found
486this integer sequence related to your triangles puzzle:</p>
487<p><a href="https://oeis.org/A038553">https://oeis.org/A038553</a></p>
488<ul>
489<li>Maximum cycle length in differentiation digraph for n-bit binary sequences.</li>
490</ul></div>
491      <p class="article-meta">
492<span class="article-date">
493  <i class="icon icon-calendar-check"></i>&nbsp;
494<a href="https://nlitsme.github.io/2020/06/2020-06-27-mpmp9-take-away-triangles/" class="">
495  <time datetime="2020-06-27 00:00:00 &#43;0000 UTC" itemprop="datePublished">2020-06-27</time>
496</a>
497</span>
498  
499  <span class="article-tag">
500    <i class="icon icon-tags"></i>&nbsp;
501    <a class="article-tag-link" href="/tags/puzzle/"> puzzle </a>
502    <a class="article-tag-link" href="/tags/thinkmaths/"> thinkmaths </a>
503  </span>
504
505        <span class="post-comment"><i class="icon icon-comment"></i> &nbsp;<a href="/2020/06/2020-06-27-mpmp9-take-away-triangles/#comments" class="article-comment-link">Comments</a></span>
506		<span class="post-wordcount hidden-xs" itemprop="wordCount">Word Count: 82words</span>
507		<span class="post-readcount hidden-xs" itemprop="timeRequired">Read Count: 1minutes </span>
508      </p>
509    </article>
510    <article
511      class="article article-type-page"
512      itemscope
513      itemtype="http://schema.org/BlogPosting"
514    >
515      <div class="article-header">
516        <h1 itemprop="name">
517  <a
518    class="article-title"
519    href="/2020/06/2020-06-11-mpmp8-paper-folding/"
520    >MPMP8 Paper folding challenge</a
521  >
522</h1>
523
524      </div>
525      <div class="article-entry text-muted" itemprop="description"><p>This post describes my solution to Matt Parker&rsquo;s puzzle #8:</p>
526<ul>
527<li>The <a href="http://think-maths.co.uk/foldingchallenge">think-maths</a> foldingchallenge.</li>
528<li>Matt Parker&rsquo;s <a href="https://www.youtube.com/watch?v=GpClxF41ugg">youtube</a> channel.</li>
529</ul>
530<p>My solution involves looking at the pattern of folds when viewing the folded stack from the sides.
531And then using some python code to generate all possible ways the folds can match up in a way
532that you will still end up with two rows of 4 sheets.</p></div>
533      <p class="article-meta">
534<span class="article-date">
535  <i class="icon icon-calendar-check"></i>&nbsp;
536<a href="https://nlitsme.github.io/2020/06/2020-06-11-mpmp8-paper-folding/" class="">
537  <time datetime="2020-06-11 00:00:00 &#43;0000 UTC" itemprop="datePublished">2020-06-11</time>
538</a>
539</span>
540  
541  <span class="article-tag">
542    <i class="icon icon-tags"></i>&nbsp;
543    <a class="article-tag-link" href="/tags/puzzle/"> puzzle </a>
544    <a class="article-tag-link" href="/tags/thinkmaths/"> thinkmaths </a>
545  </span>
546
547        <span class="post-comment"><i class="icon icon-comment"></i> &nbsp;<a href="/2020/06/2020-06-11-mpmp8-paper-folding/#comments" class="article-comment-link">Comments</a></span>
548		<span class="post-wordcount hidden-xs" itemprop="wordCount">Word Count: 2251words</span>
549		<span class="post-readcount hidden-xs" itemprop="timeRequired">Read Count: 11minutes </span>
550      </p>
551    </article>
552    <article
553      class="article article-type-page"
554      itemscope
555      itemtype="http://schema.org/BlogPosting"
556    >
557      <div class="article-header">
558        <h1 itemprop="name">
559  <a
560    class="article-title"
561    href="/2020/06/youtube-tool/"
562    >A commandline tool for youtube.</a
563  >
564</h1>
565
566      </div>
567      <div class="article-entry text-muted" itemprop="description"><p>Did you ever want to conveniently search a youtube video&rsquo;s comments in a textfile? or
568find that specific comment in a long speech. Maybe you are interested when exactly
569one subject was talked about in a live chat.</p>
570<p>I wrote a python commandline tool for that: <a href="https://github.com/nlitsme/youtube_tool">yttool</a>.</p></div>
571      <p class="article-meta">
572<span class="article-date">
573  <i class="icon icon-calendar-check"></i>&nbsp;
574<a href="https://nlitsme.github.io/2020/06/youtube-tool/" class="">
575  <time datetime="2020-06-09 00:00:00 &#43;0000 UTC" itemprop="datePublished">2020-06-09</time>
576</a>
577</span>
578  
579  <span class="article-tag">
580    <i class="icon icon-tags"></i>&nbsp;
581    <a class="article-tag-link" href="/tags/youtube/"> youtube </a>
582    <a class="article-tag-link" href="/tags/commandline/"> commandline </a>
583    <a class="article-tag-link" href="/tags/python/"> python </a>
584  </span>
585
586        <span class="post-comment"><i class="icon icon-comment"></i> &nbsp;<a href="/2020/06/youtube-tool/#comments" class="article-comment-link">Comments</a></span>
587		<span class="post-wordcount hidden-xs" itemprop="wordCount">Word Count: 1157words</span>
588		<span class="post-readcount hidden-xs" itemprop="timeRequired">Read Count: 6minutes </span>
589      </p>
590    </article>
591    <article
592      class="article article-type-page"
593      itemscope
594      itemtype="http://schema.org/BlogPosting"
595    >
596      <div class="article-header">
597        <h1 itemprop="name">
598  <a
599    class="article-title"
600    href="/2020/05/2020-05-29-mpmp7-unique-distancing/"
601    >MPMP7 - Unique distancing</a
602  >
603</h1>
604
605      </div>
606      <div class="article-entry text-muted" itemprop="description"><h1 id="solver-for-n-dimensional-variants-of-the-mpmp7-unique-distancing-problem">Solver for n-dimensional variants of the MPMP7 Unique Distancing problem.</h1>
607<p>Project with tools for the 7th <a href="http://think-maths.co.uk/uniquedistance">Matt Parker Math Puzzle problem</a>.</p>
608<ul>
609<li>Solution for the problem stated in the MPMP7 youtube video.</li>
610<li>Solutions for smaller and larger grids.</li>
611<li>Solutions in 3 or more dimensional grids</li>
612<li>Can I fit more markers on the grid?</li>
613<li>Can I solve this on an 8x8 grid?</li>
614<li>Do solutions exist for larger 2D grids?</li>
615</ul></div>
616      <p class="article-meta">
617<span class="article-date">
618  <i class="icon icon-calendar-check"></i>&nbsp;
619<a href="https://nlitsme.github.io/2020/05/2020-05-29-mpmp7-unique-distancing/" class="">
620  <time datetime="2020-05-28 00:00:00 &#43;0000 UTC" itemprop="datePublished">2020-05-28</time>
621</a>
622</span>
623  
624  <span class="article-tag">
625    <i class="icon icon-tags"></i>&nbsp;
626    <a class="article-tag-link" href="/tags/puzzle/"> puzzle </a>
627    <a class="article-tag-link" href="/tags/thinkmaths/"> thinkmaths </a>
628  </span>
629
630        <span class="post-comment"><i class="icon icon-comment"></i> &nbsp;<a href="/2020/05/2020-05-29-mpmp7-unique-distancing/#comments" class="article-comment-link">Comments</a></span>
631		<span class="post-wordcount hidden-xs" itemprop="wordCount">Word Count: 649words</span>
632		<span class="post-readcount hidden-xs" itemprop="timeRequired">Read Count: 4minutes </span>
633      </p>
634    </article>
635    <article
636      class="article article-type-page"
637      itemscope
638      itemtype="http://schema.org/BlogPosting"
639    >
640      <div class="article-header">
641        <h1 itemprop="name">
642  <a
643    class="article-title"
644    href="/2020/02/2020-02-07-ancient-tools/"
645    >Ancient MSDOS tools</a
646  >
647</h1>
648
649      </div>
650      <div class="article-entry text-muted" itemprop="description"><p>Looking through some really old cds, i found some interesting tools i wrote about 25 years ago:</p>
651<ul>
652<li><a href="https://github.com/nlitsme/MSDOS_demon_dialer_tool">github:MSDOS_demon_dialer_tool</a></li>
653<li><a href="https://github.com/nlitsme/MSDOS_game_of_life">github:MSDOS_game_of_life</a></li>
654<li><a href="https://github.com/nlitsme/MSDOS_interrupt_catcher">github:MSDOS_interrupt_catcher</a></li>
655</ul></div>
656      <p class="article-meta">
657<span class="article-date">
658  <i class="icon icon-calendar-check"></i>&nbsp;
659<a href="https://nlitsme.github.io/2020/02/2020-02-07-ancient-tools/" class="">
660  <time datetime="2020-02-07 00:00:00 &#43;0000 UTC" itemprop="datePublished">2020-02-07</time>
661</a>
662</span>
663  
664  <span class="article-tag">
665    <i class="icon icon-tags"></i>&nbsp;
666    <a class="article-tag-link" href="/tags/msdos/"> msdos </a>
667    <a class="article-tag-link" href="/tags/museum/"> museum </a>
668  </span>
669
670        <span class="post-comment"><i class="icon icon-comment"></i> &nbsp;<a href="/2020/02/2020-02-07-ancient-tools/#comments" class="article-comment-link">Comments</a></span>
671		<span class="post-wordcount hidden-xs" itemprop="wordCount">Word Count: 40words</span>
672		<span class="post-readcount hidden-xs" itemprop="timeRequired">Read Count: 1minutes </span>
673      </p>
674    </article>
675    <article
676      class="article article-type-page"
677      itemscope
678      itemtype="http://schema.org/BlogPosting"
679    >
680      <div class="article-header">
681        <h1 itemprop="name">
682  <a
683    class="article-title"
684    href="/2020/02/hugo-problems/"
685    >Several problems I ran in to while trying out gohugo</a
686  >
687</h1>
688
689      </div>
690      <div class="article-entry text-muted" itemprop="description"><p>Several problems I ran into as a novice <a href="https://gohugo.io">gohugo</a> user.</p>
691<ul>
692<li>the quickstart example does not work.</li>
693<li>some content fails to render without any error message</li>
694<li>don&rsquo;t name your post &lsquo;index.md&rsquo;</li>
695<li>posts without a frontmatter are not clickable, but do show in the index.</li>
696<li>the &lsquo;more&rsquo; looks like another post, while it is intended as a summary of &lsquo;other&rsquo; posts.</li>
697<li>no date in frontmatter the year 1 is assumed.</li>
698<li>Overly complicated error messages:</li>
699<li>it was not clear to me at first that you do need the extra subdirectory level under contents.</li>
700<li>how do i select what part of my post i want in the summary.</li>
701<li>The summaries are not always rendered properly, creating an ugly index page.</li>
702</ul></div>
703      <p class="article-meta">
704<span class="article-date">
705  <i class="icon icon-calendar-check"></i>&nbsp;
706<a href="https://nlitsme.github.io/2020/02/hugo-problems/" class="">
707  <time datetime="2020-02-04 00:00:00 &#43;0000 UTC" itemprop="datePublished">2020-02-04</time>
708</a>
709</span>
710  
711  <span class="article-tag">
712    <i class="icon icon-tags"></i>&nbsp;
713    <a class="article-tag-link" href="/tags/hugo/"> hugo </a>
714    <a class="article-tag-link" href="/tags/problems/"> problems </a>
715  </span>
716
717        <span class="post-comment"><i class="icon icon-comment"></i> &nbsp;<a href="/2020/02/hugo-problems/#comments" class="article-comment-link">Comments</a></span>
718		<span class="post-wordcount hidden-xs" itemprop="wordCount">Word Count: 609words</span>
719		<span class="post-readcount hidden-xs" itemprop="timeRequired">Read Count: 3minutes </span>
720      </p>
721    </article>
722    <article
723      class="article article-type-page"
724      itemscope
725      itemtype="http://schema.org/BlogPosting"
726    >
727      <div class="article-header">
728        <h1 itemprop="name">
729  <a
730    class="article-title"
731    href="/2020/02/needlesly-large-gitrepos/"
732    >List of git repositories which have an unreasonably large .git directory</a
733  >
734</h1>
735
736      </div>
737      <div class="article-entry text-muted" itemprop="description"><p>Some github projects have unreasonably large .git directories. Examples: conan/docs and Arduino.
738<code>conan/docs</code> seem to have solved this.</p></div>
739      <p class="article-meta">
740<span class="article-date">
741  <i class="icon icon-calendar-check"></i>&nbsp;
742<a href="https://nlitsme.github.io/2020/02/needlesly-large-gitrepos/" class="">
743  <time datetime="2020-02-03 00:00:00 &#43;0000 UTC" itemprop="datePublished">2020-02-03</time>
744</a>
745</span>
746  
747  <span class="article-tag">
748    <i class="icon icon-tags"></i>&nbsp;
749    <a class="article-tag-link" href="/tags/git/"> git </a>
750    <a class="article-tag-link" href="/tags/problems/"> problems </a>
751  </span>
752
753        <span class="post-comment"><i class="icon icon-comment"></i> &nbsp;<a href="/2020/02/needlesly-large-gitrepos/#comments" class="article-comment-link">Comments</a></span>
754		<span class="post-wordcount hidden-xs" itemprop="wordCount">Word Count: 257words</span>
755		<span class="post-readcount hidden-xs" itemprop="timeRequired">Read Count: 2minutes </span>
756      </p>
757    </article>
758    <article
759      class="article article-type-page"
760      itemscope
761      itemtype="http://schema.org/BlogPosting"
762    >
763      <div class="article-header">
764        <h1 itemprop="name">
765  <a
766    class="article-title"
767    href="/2020/02/python-number-conversion/"
768    >Ways of converting numbers to and from text in python</a
769  >
770</h1>
771
772      </div>
773      <div class="article-entry text-muted" itemprop="description"><p>There are several methods of converting numbers to and from strings in python.</p></div>
774      <p class="article-meta">
775<span class="article-date">
776  <i class="icon icon-calendar-check"></i>&nbsp;
777<a href="https://nlitsme.github.io/2020/02/python-number-conversion/" class="">
778  <time datetime="2020-02-02 00:00:00 &#43;0000 UTC" itemprop="datePublished">2020-02-02</time>
779</a>
780</span>
781  
782  <span class="article-tag">
783    <i class="icon icon-tags"></i>&nbsp;
784    <a class="article-tag-link" href="/tags/python/"> python </a>
785  </span>
786
787        <span class="post-comment"><i class="icon icon-comment"></i> &nbsp;<a href="/2020/02/python-number-conversion/#comments" class="article-comment-link">Comments</a></span>
788		<span class="post-wordcount hidden-xs" itemprop="wordCount">Word Count: 85words</span>
789		<span class="post-readcount hidden-xs" itemprop="timeRequired">Read Count: 1minutes </span>
790      </p>
791    </article>
792    <article
793      class="article article-type-page"
794      itemscope
795      itemtype="http://schema.org/BlogPosting"
796    >
797      <div class="article-header">
798        <h1 itemprop="name">
799  <a
800    class="article-title"
801    href="/2020/01/c-wannahaves/"
802    >features which I would like to see in c&#43;&#43;</a
803  >
804</h1>
805
806      </div>
807      <div class="article-entry text-muted" itemprop="description"><p>Some c++ features I have looked for, but do not exist.</p>
808<ul>
809<li>a std::min or compare which works for differently signed or sized arguments</li>
810<li>an iteratorrange, which takes a pair of iterators</li>
811<li>a way to test for the existence of a type in <code>std::enable_if</code></li>
812<li>initialize a subclass field <em>before</em> a baseclass</li>
813<li><code>auto</code> on class members</li>
814<li>nested structured binding</li>
815<li>automatic context deduction for switch</li>
816</ul></div>
817      <p class="article-meta">
818<span class="article-date">
819  <i class="icon icon-calendar-check"></i>&nbsp;
820<a href="https://nlitsme.github.io/2020/01/c-wannahaves/" class="">
821  <time datetime="2020-01-17 00:00:00 &#43;0000 UTC" itemprop="datePublished">2020-01-17</time>
822</a>
823</span>
824  
825  <span class="article-tag">
826    <i class="icon icon-tags"></i>&nbsp;
827    <a class="article-tag-link" href="/tags/c&#43;&#43;/"> c&#43;&#43; </a>
828  </span>
829
830        <span class="post-comment"><i class="icon icon-comment"></i> &nbsp;<a href="/2020/01/c-wannahaves/#comments" class="article-comment-link">Comments</a></span>
831		<span class="post-wordcount hidden-xs" itemprop="wordCount">Word Count: 325words</span>
832		<span class="post-readcount hidden-xs" itemprop="timeRequired">Read Count: 2minutes </span>
833      </p>
834    </article>
835    <article
836      class="article article-type-page"
837      itemscope
838      itemtype="http://schema.org/BlogPosting"
839    >
840      <div class="article-header">
841        <h1 itemprop="name">
842  <a
843    class="article-title"
844    href="/2019/11/msm-8974-bootrom/"
845    >The MSM 8974 bootrom</a
846  >
847</h1>
848
849      </div>
850      <div class="article-entry text-muted" itemprop="description"><p>Analyzing the Qualcomm MSM 8974 bootrom.</p>
851<p>The bootrom is 192k byte in size. It has bootcode for the three main subsystems of the 8974:</p>
852<ul>
853<li>the modem - qdsp4 / hexagon code</li>
854<li>RPM - the power manager - ARM code</li>
855<li>The Application cpu - ARM code</li>
856</ul>
857<p>All devices I have inspected have the same bootrom. But a facitlity exists to apply patches
858to the bootrom via the use of special fuses.</p>
859<p>Unfortunately the fuses in my device are configured in a way that the &lsquo;patch&rsquo; area is not readable.</p></div>
860      <p class="article-meta">
861<span class="article-date">
862  <i class="icon icon-calendar-check"></i>&nbsp;
863<a href="https://nlitsme.github.io/2019/11/msm-8974-bootrom/" class="">
864  <time datetime="2019-11-08 00:00:00 &#43;0000 UTC" itemprop="datePublished">2019-11-08</time>
865</a>
866</span>
867  
868  <span class="article-tag">
869    <i class="icon icon-tags"></i>&nbsp;
870    <a class="article-tag-link" href="/tags/reversing/"> reversing </a>
871    <a class="article-tag-link" href="/tags/qualcomm/"> qualcomm </a>
872  </span>
873
874        <span class="post-comment"><i class="icon icon-comment"></i> &nbsp;<a href="/2019/11/msm-8974-bootrom/#comments" class="article-comment-link">Comments</a></span>
875		<span class="post-wordcount hidden-xs" itemprop="wordCount">Word Count: 360words</span>
876		<span class="post-readcount hidden-xs" itemprop="timeRequired">Read Count: 2minutes </span>
877      </p>
878    </article>
879    <article
880      class="article article-type-page"
881      itemscope
882      itemtype="http://schema.org/BlogPosting"
883    >
884      <div class="article-header">
885        <h1 itemprop="name">
886  <a
887    class="article-title"
888    href="/2019/10/osx-backup-problem/"
889    >A problem I had with my timemachine backups</a
890  >
891</h1>
892
893      </div>
894      <div class="article-entry text-muted" itemprop="description"><p>For several weeks my timemachine backup failed, being stuck in &lsquo;inprogress&rsquo; with lots of disk activity occurring.
895The culprit turned out to be spotlight, trying to index the backupdisk while timemachine was trying to backup to it.
896adding my backupdisk in the &lsquo;privacy&rsquo; tab of spotlight resolved the problem.</p>
897<p>in the process list, processes with &lsquo;md&rsquo; in the name, like <code>mds_stores</code> and &lsquo;mds&rsquo; and <code>mdworker_shared</code> belong to spotlight.
898Timemachine is handled by &lsquo;backupd&rsquo;.</p>
899<p>tmutil  is the commandline tool for managing timemachine.  mdutil is the commandline tool for managing spotlight.</p></div>
900      <p class="article-meta">
901<span class="article-date">
902  <i class="icon icon-calendar-check"></i>&nbsp;
903<a href="https://nlitsme.github.io/2019/10/osx-backup-problem/" class="">
904  <time datetime="2019-10-30 00:00:00 &#43;0000 UTC" itemprop="datePublished">2019-10-30</time>
905</a>
906</span>
907  
908  <span class="article-tag">
909    <i class="icon icon-tags"></i>&nbsp;
910    <a class="article-tag-link" href="/tags/osx/"> osx </a>
911    <a class="article-tag-link" href="/tags/timemachine/"> timemachine </a>
912    <a class="article-tag-link" href="/tags/problems/"> problems </a>
913  </span>
914
915        <span class="post-comment"><i class="icon icon-comment"></i> &nbsp;<a href="/2019/10/osx-backup-problem/#comments" class="article-comment-link">Comments</a></span>
916		<span class="post-wordcount hidden-xs" itemprop="wordCount">Word Count: 89words</span>
917		<span class="post-readcount hidden-xs" itemprop="timeRequired">Read Count: 1minutes </span>
918      </p>
919    </article>
920    <article
921      class="article article-type-page"
922      itemscope
923      itemtype="http://schema.org/BlogPosting"
924    >
925      <div class="article-header">
926        <h1 itemprop="name">
927  <a
928    class="article-title"
929    href="/2019/10/c-type_tests/"
930    >c&#43;&#43; type tests which are not in the std library.</a
931  >
932</h1>
933
934      </div>
935      <div class="article-entry text-muted" itemprop="description"><p>Some c++ type tests which i found useful:</p>
936<ul>
937<li><code>is_range</code></li>
938<li><code>IsStreamInsertable</code></li>
939<li><code>is_callable</code></li>
940<li><code>is_searchable</code></li>
941<li><code>is_vector</code></li>
942<li><code>is_container</code></li>
943</ul></div>
944      <p class="article-meta">
945<span class="article-date">
946  <i class="icon icon-calendar-check"></i>&nbsp;
947<a href="https://nlitsme.github.io/2019/10/c-type_tests/" class="">
948  <time datetime="2019-10-24 00:00:00 &#43;0000 UTC" itemprop="datePublished">2019-10-24</time>
949</a>
950</span>
951  
952  <span class="article-tag">
953    <i class="icon icon-tags"></i>&nbsp;
954    <a class="article-tag-link" href="/tags/c&#43;&#43;/"> c&#43;&#43; </a>
955    <a class="article-tag-link" href="/tags/templates/"> templates </a>
956  </span>
957
958        <span class="post-comment"><i class="icon icon-comment"></i> &nbsp;<a href="/2019/10/c-type_tests/#comments" class="article-comment-link">Comments</a></span>
959		<span class="post-wordcount hidden-xs" itemprop="wordCount">Word Count: 356words</span>
960		<span class="post-readcount hidden-xs" itemprop="timeRequired">Read Count: 2minutes </span>
961      </p>
962    </article>
963    <article
964      class="article article-type-page"
965      itemscope
966      itemtype="http://schema.org/BlogPosting"
967    >
968      <div class="article-header">
969        <h1 itemprop="name">
970  <a
971    class="article-title"
972    href="/2019/08/python-wannahaves/"
973    >features I would like to see in python</a
974  >
975</h1>
976
977      </div>
978      <div class="article-entry text-muted" itemprop="description"><p>Some python features I have looked for, but do not exist.</p>
979<ul>
980<li>assignment operator</li>
981<li>class setup</li>
982<li>conditional assignment</li>
983<li>boolean inplace operators</li>
984<li>byte() conversion</li>
985</ul></div>
986      <p class="article-meta">
987<span class="article-date">
988  <i class="icon icon-calendar-check"></i>&nbsp;
989<a href="https://nlitsme.github.io/2019/08/python-wannahaves/" class="">
990  <time datetime="2019-08-29 00:00:00 &#43;0000 UTC" itemprop="datePublished">2019-08-29</time>
991</a>
992</span>
993  
994  <span class="article-tag">
995    <i class="icon icon-tags"></i>&nbsp;
996    <a class="article-tag-link" href="/tags/python/"> python </a>
997  </span>
998
999        <span class="post-comment"><i class="icon icon-comment"></i> &nbsp;<a href="/2019/08/python-wannahaves/#comments" class="article-comment-link">Comments</a></span>
1000		<span class="post-wordcount hidden-xs" itemprop="wordCount">Word Count: 208words</span>
1001		<span class="post-readcount hidden-xs" itemprop="timeRequired">Read Count: 1minutes </span>
1002      </p>
1003    </article>
1004    <article
1005      class="article article-type-page"
1006      itemscope
1007      itemtype="http://schema.org/BlogPosting"
1008    >
1009      <div class="article-header">
1010        <h1 itemprop="name">
1011  <a
1012    class="article-title"
1013    href="/2018/11/fix-android-sdk/"
1014    >a simple fix for the missing mipsel error in the android sdk</a
1015  >
1016</h1>
1017
1018      </div>
1019      <div class="article-entry text-muted" itemprop="description"><p>A problem I ran into a few times: after reinstalling or updating the android sdk, suddenly some
1020projects starts failing to compile with a message about a missing &lsquo;mips64el&rsquo; path.</p>
1021<p>The following will fix this:</p>
1022<pre><code>mkdir -p $ANDROID_HOME/ndk-bundle/toolchains/mips64el-linux-android-4.9/prebuilt/darwin-x86_64/
1023mkdir -p $ANDROID_HOME/ndk-bundle/toolchains/mipsel-linux-android-4.9/prebuilt/darwin-x86_64/
1024
1025touch $ANDROID_HOME/ndk-bundle/toolchains/mips64el-linux-android-4.9/prebuilt/darwin-x86_64/NOTICE-MIPS64
1026touch $ANDROID_HOME/ndk-bundle/toolchains/mipsel-linux-android-4.9/prebuilt/darwin-x86_64/NOTICE-MIPS
1027</code></pre></div>
1028      <p class="article-meta">
1029<span class="article-date">
1030  <i class="icon icon-calendar-check"></i>&nbsp;
1031<a href="https://nlitsme.github.io/2018/11/fix-android-sdk/" class="">
1032  <time datetime="2018-11-30 00:00:00 &#43;0000 UTC" itemprop="datePublished">2018-11-30</time>
1033</a>
1034</span>
1035  
1036  <span class="article-tag">
1037    <i class="icon icon-tags"></i>&nbsp;
1038    <a class="article-tag-link" href="/tags/android/"> android </a>
1039  </span>
1040
1041        <span class="post-comment"><i class="icon icon-comment"></i> &nbsp;<a href="/2018/11/fix-android-sdk/#comments" class="article-comment-link">Comments</a></span>
1042		<span class="post-wordcount hidden-xs" itemprop="wordCount">Word Count: 45words</span>
1043		<span class="post-readcount hidden-xs" itemprop="timeRequired">Read Count: 1minutes </span>
1044      </p>
1045    </article>
1046    <article
1047      class="article article-type-page"
1048      itemscope
1049      itemtype="http://schema.org/BlogPosting"
1050    >
1051      <div class="article-header">
1052        <h1 itemprop="name">
1053  <a
1054    class="article-title"
1055    href="/2017/10/python-internals/"
1056    >modules for investigating python internals</a
1057  >
1058</h1>
1059
1060      </div>
1061      <div class="article-entry text-muted" itemprop="description"><p>Several modules exist which can be used to investigate the internals of python</p>
1062<p>dis, ipdb, inspect</p></div>
1063      <p class="article-meta">
1064<span class="article-date">
1065  <i class="icon icon-calendar-check"></i>&nbsp;
1066<a href="https://nlitsme.github.io/2017/10/python-internals/" class="">
1067  <time datetime="2017-10-03 00:00:00 &#43;0000 UTC" itemprop="datePublished">2017-10-03</time>
1068</a>
1069</span>
1070  
1071  <span class="article-tag">
1072    <i class="icon icon-tags"></i>&nbsp;
1073    <a class="article-tag-link" href="/tags/python/"> python </a>
1074  </span>
1075
1076        <span class="post-comment"><i class="icon icon-comment"></i> &nbsp;<a href="/2017/10/python-internals/#comments" class="article-comment-link">Comments</a></span>
1077		<span class="post-wordcount hidden-xs" itemprop="wordCount">Word Count: 29words</span>
1078		<span class="post-readcount hidden-xs" itemprop="timeRequired">Read Count: 1minutes </span>
1079      </p>
1080    </article>
1081    <article
1082      class="article article-type-page"
1083      itemscope
1084      itemtype="http://schema.org/BlogPosting"
1085    >
1086      <div class="article-header">
1087        <h1 itemprop="name">
1088  <a
1089    class="article-title"
1090    href="/2016/12/vim-encryption/"
1091    >Vim Encryption investigated</a
1092  >
1093</h1>
1094
1095      </div>
1096      <div class="article-entry text-muted" itemprop="description"><p>VIM can encrypt text files transparently.
1097I wrote a python script which can decrypt all three types given the password,
1098or do a simple dictionary search.</p>
1099<p>Never use the old methods ( <code>zip</code> and <code>blowfish</code> ) the way these are used in VIM
1100is broken. The latest <code>blowfish2</code> method is somewhat better, though there is room
1101for improvement.</p></div>
1102      <p class="article-meta">
1103<span class="article-date">
1104  <i class="icon icon-calendar-check"></i>&nbsp;
1105<a href="https://nlitsme.github.io/2016/12/vim-encryption/" class="">
1106  <time datetime="2016-12-15 00:00:00 &#43;0000 UTC" itemprop="datePublished">2016-12-15</time>
1107</a>
1108</span>
1109  
1110  <span class="article-tag">
1111    <i class="icon icon-tags"></i>&nbsp;
1112    <a class="article-tag-link" href="/tags/vim/"> vim </a>
1113    <a class="article-tag-link" href="/tags/crypto/"> crypto </a>
1114    <a class="article-tag-link" href="/tags/python/"> python </a>
1115    <a class="article-tag-link" href="/tags/reversing/"> reversing </a>
1116  </span>
1117
1118        <span class="post-comment"><i class="icon icon-comment"></i> &nbsp;<a href="/2016/12/vim-encryption/#comments" class="article-comment-link">Comments</a></span>
1119		<span class="post-wordcount hidden-xs" itemprop="wordCount">Word Count: 666words</span>
1120		<span class="post-readcount hidden-xs" itemprop="timeRequired">Read Count: 4minutes </span>
1121      </p>
1122    </article>
1123    <article
1124      class="article article-type-page"
1125      itemscope
1126      itemtype="http://schema.org/BlogPosting"
1127    >
1128      <div class="article-header">
1129        <h1 itemprop="name">
1130  <a
1131    class="article-title"
1132    href="/2016/12/writing-portable-python-code/"
1133    >Writing portable python code</a
1134  >
1135</h1>
1136
1137      </div>
1138      <div class="article-entry text-muted" itemprop="description"><h1 id="portable-python">Portable python</h1>
1139<p>When writing python code I try to write code which will run both on python2 and python3.
1140Below is a list of items I regularly use.</p>
1141<p>I know there is a module named &lsquo;six&rsquo; which probably also handles some of these cases,
1142I still need to look into that.</p></div>
1143      <p class="article-meta">
1144<span class="article-date">
1145  <i class="icon icon-calendar-check"></i>&nbsp;
1146<a href="https://nlitsme.github.io/2016/12/writing-portable-python-code/" class="">
1147  <time datetime="2016-12-06 00:00:00 &#43;0000 UTC" itemprop="datePublished">2016-12-06</time>
1148</a>
1149</span>
1150  
1151  <span class="article-tag">
1152    <i class="icon icon-tags"></i>&nbsp;
1153    <a class="article-tag-link" href="/tags/python/"> python </a>
1154    <a class="article-tag-link" href="/tags/portability/"> portability </a>
1155  </span>
1156
1157        <span class="post-comment"><i class="icon icon-comment"></i> &nbsp;<a href="/2016/12/writing-portable-python-code/#comments" class="article-comment-link">Comments</a></span>
1158		<span class="post-wordcount hidden-xs" itemprop="wordCount">Word Count: 364words</span>
1159		<span class="post-readcount hidden-xs" itemprop="timeRequired">Read Count: 2minutes </span>
1160      </p>
1161    </article>
1162    <article
1163      class="article article-type-page"
1164      itemscope
1165      itemtype="http://schema.org/BlogPosting"
1166    >
1167      <div class="article-header">
1168        <h1 itemprop="name">
1169  <a
1170    class="article-title"
1171    href="/2016/11/hexdumper-for-c-iostreams/"
1172    >Hexdumper for C&#43;&#43; IOStreams</a
1173  >
1174</h1>
1175
1176      </div>
1177      <div class="article-entry text-muted" itemprop="description"><p>A <code>hex::dumper</code> object which can output hexdumps in several ways, configured by using various stream manipulators.
1178Usage is as simple as:</p>
1179<pre><code>std::cout &lt;&lt; hex::hexstring &lt;&lt; hex::dumper(data, size) &lt;&lt; std::endl;
1180</code></pre>
1181<p>or</p>
1182<pre><code>std::cout &lt;&lt; hex::offset(0x12000) &lt;&lt; std::hex &lt;&lt; hex::dumper(data, size) &lt;&lt; std::endl;
1183</code></pre></div>
1184      <p class="article-meta">
1185<span class="article-date">
1186  <i class="icon icon-calendar-check"></i>&nbsp;
1187<a href="https://nlitsme.github.io/2016/11/hexdumper-for-c-iostreams/" class="">
1188  <time datetime="2016-11-28 00:00:00 &#43;0000 UTC" itemprop="datePublished">2016-11-28</time>
1189</a>
1190</span>
1191  
1192  <span class="article-tag">
1193    <i class="icon icon-tags"></i>&nbsp;
1194    <a class="article-tag-link" href="/tags/c&#43;&#43;/"> c&#43;&#43; </a>
1195    <a class="article-tag-link" href="/tags/hexdmper/"> hexdmper </a>
1196  </span>
1197
1198        <span class="post-comment"><i class="icon icon-comment"></i> &nbsp;<a href="/2016/11/hexdumper-for-c-iostreams/#comments" class="article-comment-link">Comments</a></span>
1199		<span class="post-wordcount hidden-xs" itemprop="wordCount">Word Count: 586words</span>
1200		<span class="post-readcount hidden-xs" itemprop="timeRequired">Read Count: 3minutes </span>
1201      </p>
1202    </article>
1203    <article
1204      class="article article-type-page"
1205      itemscope
1206      itemtype="http://schema.org/BlogPosting"
1207    >
1208      <div class="article-header">
1209        <h1 itemprop="name">
1210  <a
1211    class="article-title"
1212    href="/2016/11/benchmarking-some-python-crypto-libraries/"
1213    >Benchmarking some python crypto libraries</a
1214  >
1215</h1>
1216
1217      </div>
1218      <div class="article-entry text-muted" itemprop="description"><p>I wrote a little benchmark, comparing the <a href="https://github.com/dlitz/pycrypto">PyCrypto</a> and <a href="https://github.com/pyca/cryptography">cryptography</a> python modules.</p>
1219<p>You can find the script <a href="https://github.com/nlitsme/pyCryptoBenchmarking">here</a>.</p>
1220<h1 id="results">results</h1>
1221<p>Most symmetric ciphers are significantly faster in <code>pyCrypto</code> for small blocksizes.
1222but cryptography is much faster for larger data.</p>
1223<p>The <code>ratio</code> is the byterate of <code>pycrypto</code> divided by the byterate of <code>cryptography</code>.
1224So values less than 1 mean: <code>cryptography</code> is faster, values larger than 1: <code>pycrypto</code> is faster.</p>
1225<p>I found that the <code>cryptography</code> library is generally faster for large data volumes, while <code>pycrypto</code>
1226is faster for encrypting small items.</p></div>
1227      <p class="article-meta">
1228<span class="article-date">
1229  <i class="icon icon-calendar-check"></i>&nbsp;
1230<a href="https://nlitsme.github.io/2016/11/benchmarking-some-python-crypto-libraries/" class="">
1231  <time datetime="2016-11-26 00:00:00 &#43;0000 UTC" itemprop="datePublished">2016-11-26</time>
1232</a>
1233</span>
1234  
1235  <span class="article-tag">
1236    <i class="icon icon-tags"></i>&nbsp;
1237    <a class="article-tag-link" href="/tags/benchmark/"> benchmark </a>
1238    <a class="article-tag-link" href="/tags/crypto/"> crypto </a>
1239    <a class="article-tag-link" href="/tags/python/"> python </a>
1240  </span>
1241
1242        <span class="post-comment"><i class="icon icon-comment"></i> &nbsp;<a href="/2016/11/benchmarking-some-python-crypto-libraries/#comments" class="article-comment-link">Comments</a></span>
1243		<span class="post-wordcount hidden-xs" itemprop="wordCount">Word Count: 755words</span>
1244		<span class="post-readcount hidden-xs" itemprop="timeRequired">Read Count: 4minutes </span>
1245      </p>
1246    </article>
1247    <article
1248      class="article article-type-page"
1249      itemscope
1250      itemtype="http://schema.org/BlogPosting"
1251    >
1252      <div class="article-header">
1253        <h1 itemprop="name">
1254  <a
1255    class="article-title"
1256    href="/2016/11/pdf-certificate-encryption/"
1257    >PDF Certificate Encryption</a
1258  >
1259</h1>
1260
1261      </div>
1262      <div class="article-entry text-muted" itemprop="description"><p>Code for this project can be found here: <a href="https://github.com/nlitsme/pyPdfCrack">https://github.com/nlitsme/pyPdfCrack</a></p>
1263<p>PDFS can be encrypted in several ways, the simplest being the <code>std</code> encryption, using an owner and user password.
1264A more secure way is to use password protected certificates.
1265In this post I describe how exactly these certificates are encrypted, and how they are used to decrypt a pdf.
1266Also I provide python code for parsing the certificate, pdf and do the decryption.
1267Finally I wrote some simple password cracking tools for the certificate.</p></div>
1268      <p class="article-meta">
1269<span class="article-date">
1270  <i class="icon icon-calendar-check"></i>&nbsp;
1271<a href="https://nlitsme.github.io/2016/11/pdf-certificate-encryption/" class="">
1272  <time datetime="2016-11-24 00:00:00 &#43;0000 UTC" itemprop="datePublished">2016-11-24</time>
1273</a>
1274</span>
1275  
1276  <span class="article-tag">
1277    <i class="icon icon-tags"></i>&nbsp;
1278    <a class="article-tag-link" href="/tags/crack/"> crack </a>
1279    <a class="article-tag-link" href="/tags/crypto/"> crypto </a>
1280    <a class="article-tag-link" href="/tags/pdf/"> pdf </a>
1281    <a class="article-tag-link" href="/tags/reversing/"> reversing </a>
1282  </span>
1283
1284        <span class="post-comment"><i class="icon icon-comment"></i> &nbsp;<a href="/2016/11/pdf-certificate-encryption/#comments" class="article-comment-link">Comments</a></span>
1285		<span class="post-wordcount hidden-xs" itemprop="wordCount">Word Count: 1140words</span>
1286		<span class="post-readcount hidden-xs" itemprop="timeRequired">Read Count: 6minutes </span>
1287      </p>
1288    </article>
1289    <article
1290      class="article article-type-page"
1291      itemscope
1292      itemtype="http://schema.org/BlogPosting"
1293    >
1294      <div class="article-header">
1295        <h1 itemprop="name">
1296  <a
1297    class="article-title"
1298    href="/2016/11/custom-pycrypto/"
1299    >Adding custom ciphers to pyCrypto using Cipher modes from pyCrypto</a
1300  >
1301</h1>
1302
1303      </div>
1304      <div class="article-entry text-muted" itemprop="description"><p>A python module for adding custom ciphers to <code>pyCrypto</code>.</p></div>
1305      <p class="article-meta">
1306<span class="article-date">
1307  <i class="icon icon-calendar-check"></i>&nbsp;
1308<a href="https://nlitsme.github.io/2016/11/custom-pycrypto/" class="">
1309  <time datetime="2016-11-22 00:00:00 &#43;0000 UTC" itemprop="datePublished">2016-11-22</time>
1310</a>
1311</span>
1312  
1313  <span class="article-tag">
1314    <i class="icon icon-tags"></i>&nbsp;
1315    <a class="article-tag-link" href="/tags/python/"> python </a>
1316    <a class="article-tag-link" href="/tags/crypto/"> crypto </a>
1317  </span>
1318
1319        <span class="post-comment"><i class="icon icon-comment"></i> &nbsp;<a href="/2016/11/custom-pycrypto/#comments" class="article-comment-link">Comments</a></span>
1320		<span class="post-wordcount hidden-xs" itemprop="wordCount">Word Count: 232words</span>
1321		<span class="post-readcount hidden-xs" itemprop="timeRequired">Read Count: 2minutes </span>
1322      </p>
1323    </article>
1324    <article
1325      class="article article-type-page"
1326      itemscope
1327      itemtype="http://schema.org/BlogPosting"
1328    >
1329      <div class="article-header">
1330        <h1 itemprop="name">
1331  <a
1332    class="article-title"
1333    href="/2016/09/pytorify/"
1334    >pytorify - A python module which torifies your python program.</a
1335  >
1336</h1>
1337
1338      </div>
1339      <div class="article-entry text-muted" itemprop="description"><p>A module which makes sure all sockets use the TOR proxy at port 9050.
1340Simply add the <code>-mtorify</code> switch to your python commandline.</p>
1341<p>Source code is available on <a href="https://github.com/nlitsme/pytorify">github</a>.</p>
1342<p>This module works with both python2 and python3.</p></div>
1343      <p class="article-meta">
1344<span class="article-date">
1345  <i class="icon icon-calendar-check"></i>&nbsp;
1346<a href="https://nlitsme.github.io/2016/09/pytorify/" class="">
1347  <time datetime="2016-09-02 00:00:00 &#43;0000 UTC" itemprop="datePublished">2016-09-02</time>
1348</a>
1349</span>
1350  
1351  <span class="article-tag">
1352    <i class="icon icon-tags"></i>&nbsp;
1353    <a class="article-tag-link" href="/tags/python/"> python </a>
1354    <a class="article-tag-link" href="/tags/tor/"> tor </a>
1355  </span>
1356
1357        <span class="post-comment"><i class="icon icon-comment"></i> &nbsp;<a href="/2016/09/pytorify/#comments" class="article-comment-link">Comments</a></span>
1358		<span class="post-wordcount hidden-xs" itemprop="wordCount">Word Count: 193words</span>
1359		<span class="post-readcount hidden-xs" itemprop="timeRequired">Read Count: 1minutes </span>
1360      </p>
1361    </article>
1362    <article
1363      class="article article-type-page"
1364      itemscope
1365      itemtype="http://schema.org/BlogPosting"
1366    >
1367      <div class="article-header">
1368        <h1 itemprop="name">
1369  <a
1370    class="article-title"
1371    href="/2016/01/about-bitcoin-addresses/"
1372    >About bitcoin addresses ambiguity</a
1373  >
1374</h1>
1375
1376      </div>
1377      <div class="article-entry text-muted" itemprop="description"><p>A bitcoin address is the hash of an elliptic curve point representation.
1378Bitcoin addresses are ambiguous in several ways.</p>
1379<ul>
1380<li>First: This point can be represented in two ways: &lsquo;full&rsquo;, or &lsquo;compressed&rsquo;.</li>
1381<li>Then, there are some points which can be represented in two ways, this
1382is because the group order is not exactly 2^256, but a little bit less.</li>
1383<li>Another issue: during signature checking, the sign of an equation is
1384ignore, leading to more ambiguity.</li>
1385</ul></div>
1386      <p class="article-meta">
1387<span class="article-date">
1388  <i class="icon icon-calendar-check"></i>&nbsp;
1389<a href="https://nlitsme.github.io/2016/01/about-bitcoin-addresses/" class="">
1390  <time datetime="2016-01-21 00:00:00 &#43;0000 UTC" itemprop="datePublished">2016-01-21</time>
1391</a>
1392</span>
1393  
1394  <span class="article-tag">
1395    <i class="icon icon-tags"></i>&nbsp;
1396    <a class="article-tag-link" href="/tags/bitcoin/"> bitcoin </a>
1397  </span>
1398
1399        <span class="post-comment"><i class="icon icon-comment"></i> &nbsp;<a href="/2016/01/about-bitcoin-addresses/#comments" class="article-comment-link">Comments</a></span>
1400		<span class="post-wordcount hidden-xs" itemprop="wordCount">Word Count: 196words</span>
1401		<span class="post-readcount hidden-xs" itemprop="timeRequired">Read Count: 1minutes </span>
1402      </p>
1403    </article>
1404    <article
1405      class="article article-type-page"
1406      itemscope
1407      itemtype="http://schema.org/BlogPosting"
1408    >
1409      <div class="article-header">
1410        <h1 itemprop="name">
1411  <a
1412    class="article-title"
1413    href="/2015/10/key-exchange/"
1414    >Key Exchange</a
1415  >
1416</h1>
1417
1418      </div>
1419      <div class="article-entry text-muted" itemprop="description"><p>Note: this post is more philosophical, it does not describe any actual useful keyexchange algorithm.</p>
1420<p>Looking at how keyexchange protocols are constructed.
1421And trying (unsuccesfully) to formulate a set of rules for constructing
1422a keyexchange protocol.</p></div>
1423      <p class="article-meta">
1424<span class="article-date">
1425  <i class="icon icon-calendar-check"></i>&nbsp;
1426<a href="https://nlitsme.github.io/2015/10/key-exchange/" class="">
1427  <time datetime="2015-10-29 00:00:00 &#43;0000 UTC" itemprop="datePublished">2015-10-29</time>
1428</a>
1429</span>
1430  
1431  <span class="article-tag">
1432    <i class="icon icon-tags"></i>&nbsp;
1433    <a class="article-tag-link" href="/tags/philosophy/"> philosophy </a>
1434    <a class="article-tag-link" href="/tags/math/"> math </a>
1435  </span>
1436
1437        <span class="post-comment"><i class="icon icon-comment"></i> &nbsp;<a href="/2015/10/key-exchange/#comments" class="article-comment-link">Comments</a></span>
1438		<span class="post-wordcount hidden-xs" itemprop="wordCount">Word Count: 486words</span>
1439		<span class="post-readcount hidden-xs" itemprop="timeRequired">Read Count: 3minutes </span>
1440      </p>
1441    </article>
1442    <article
1443      class="article article-type-page"
1444      itemscope
1445      itemtype="http://schema.org/BlogPosting"
1446    >
1447      <div class="article-header">
1448        <h1 itemprop="name">
1449  <a
1450    class="article-title"
1451    href="/2015/10/osx-1011-sandbox/"
1452    >osx 10.11 problems</a
1453  >
1454</h1>
1455
1456      </div>
1457      <div class="article-entry text-muted" itemprop="description"><p>After installing OSX El Capitan ( OSX 10.11 ), I ran into several problems:</p>
1458<ul>
1459<li>I was unable to modity system files</li>
1460<li>Problem with Java based apps</li>
1461<li>Problem with kernel extensions</li>
1462<li>Menumeters no longer works</li>
1463</ul>
1464<p>Here are some workarounds.</p></div>
1465      <p class="article-meta">
1466<span class="article-date">
1467  <i class="icon icon-calendar-check"></i>&nbsp;
1468<a href="https://nlitsme.github.io/2015/10/osx-1011-sandbox/" class="">
1469  <time datetime="2015-10-01 00:00:00 &#43;0000 UTC" itemprop="datePublished">2015-10-01</time>
1470</a>
1471</span>
1472  
1473  <span class="article-tag">
1474    <i class="icon icon-tags"></i>&nbsp;
1475    <a class="article-tag-link" href="/tags/elcapitan/"> elcapitan </a>
1476    <a class="article-tag-link" href="/tags/osx10.11/"> osx10.11 </a>
1477    <a class="article-tag-link" href="/tags/problems/"> problems </a>
1478  </span>
1479
1480        <span class="post-comment"><i class="icon icon-comment"></i> &nbsp;<a href="/2015/10/osx-1011-sandbox/#comments" class="article-comment-link">Comments</a></span>
1481		<span class="post-wordcount hidden-xs" itemprop="wordCount">Word Count: 210words</span>
1482		<span class="post-readcount hidden-xs" itemprop="timeRequired">Read Count: 1minutes </span>
1483      </p>
1484    </article>
1485    <article
1486      class="article article-type-page"
1487      itemscope
1488      itemtype="http://schema.org/BlogPosting"
1489    >
1490      <div class="article-header">
1491        <h1 itemprop="name">
1492  <a
1493    class="article-title"
1494    href="/2014/12/2014-12-16-ida-operands/"
1495    >modifying ida operands</a
1496  >
1497</h1>
1498
1499      </div>
1500      <div class="article-entry text-muted" itemprop="description"><p>There are several ways to modify the operand representation in IDA:</p>
1501<ul>
1502<li><code>set_opinfo</code>, <code>get_opinfo</code></li>
1503<li><code>op_offset</code>,  <code>get_offbase</code></li>
1504<li><code>op_offset_ex</code></li>
1505<li><code>set_refinfo</code>, <code>get_refinfo</code>  &ndash; Don&rsquo;t use</li>
1506</ul></div>
1507      <p class="article-meta">
1508<span class="article-date">
1509  <i class="icon icon-calendar-check"></i>&nbsp;
1510<a href="https://nlitsme.github.io/2014/12/2014-12-16-ida-operands/" class="">
1511  <time datetime="2014-12-16 00:00:00 &#43;0000 UTC" itemprop="datePublished">2014-12-16</time>
1512</a>
1513</span>
1514  
1515  <span class="article-tag">
1516    <i class="icon icon-tags"></i>&nbsp;
1517    <a class="article-tag-link" href="/tags/ida/"> ida </a>
1518    <a class="article-tag-link" href="/tags/reversing/"> reversing </a>
1519  </span>
1520
1521        <span class="post-comment"><i class="icon icon-comment"></i> &nbsp;<a href="/2014/12/2014-12-16-ida-operands/#comments" class="article-comment-link">Comments</a></span>
1522		<span class="post-wordcount hidden-xs" itemprop="wordCount">Word Count: 21words</span>
1523		<span class="post-readcount hidden-xs" itemprop="timeRequired">Read Count: 1minutes </span>
1524      </p>
1525    </article>
1526    <article
1527      class="article article-type-page"
1528      itemscope
1529      itemtype="http://schema.org/BlogPosting"
1530    >
1531      <div class="article-header">
1532        <h1 itemprop="name">
1533  <a
1534    class="article-title"
1535    href="/2014/10/2014-10-20-strange-url-in-ios-captivenetworksupport-binary/"
1536    >Strange url in iOS CaptiveNetworkSupport binary</a
1537  >
1538</h1>
1539
1540      </div>
1541      <div class="article-entry text-muted" itemprop="description"><p>While looking at traffic generated by iOS 8, I noticed that the request iOS uses to figure out if
1542the current WLAN network it is connected to the internet had changed.</p></div>
1543      <p class="article-meta">
1544<span class="article-date">
1545  <i class="icon icon-calendar-check"></i>&nbsp;
1546<a href="https://nlitsme.github.io/2014/10/2014-10-20-strange-url-in-ios-captivenetworksupport-binary/" class="">
1547  <time datetime="2014-10-20 00:00:00 &#43;0000 UTC" itemprop="datePublished">2014-10-20</time>
1548</a>
1549</span>
1550  
1551  <span class="article-tag">
1552    <i class="icon icon-tags"></i>&nbsp;
1553    <a class="article-tag-link" href="/tags/osx/"> osx </a>
1554  </span>
1555
1556        <span class="post-comment"><i class="icon icon-comment"></i> &nbsp;<a href="/2014/10/2014-10-20-strange-url-in-ios-captivenetworksupport-binary/#comments" class="article-comment-link">Comments</a></span>
1557		<span class="post-wordcount hidden-xs" itemprop="wordCount">Word Count: 433words</span>
1558		<span class="post-readcount hidden-xs" itemprop="timeRequired">Read Count: 3minutes </span>
1559      </p>
1560    </article>
1561    <article
1562      class="article article-type-page"
1563      itemscope
1564      itemtype="http://schema.org/BlogPosting"
1565    >
1566      <div class="article-header">
1567        <h1 itemprop="name">
1568  <a
1569    class="article-title"
1570    href="/2014/07/2014-07-31-exploring-the-blockchain/"
1571    >Exploring the bitcoin blockchain</a
1572  >
1573</h1>
1574
1575      </div>
1576      <div class="article-entry text-muted" itemprop="description"><p>Most bitcoin transactions are &lsquo;standard&rsquo;, some are not. This is a summary of what is not standard in the bitcoin blockchain.
1577Some interesting finds: the wikileaks cable&rsquo;s are in the blockchain, and so are a bunch of links to childporn sites.</p></div>
1578      <p class="article-meta">
1579<span class="article-date">
1580  <i class="icon icon-calendar-check"></i>&nbsp;
1581<a href="https://nlitsme.github.io/2014/07/2014-07-31-exploring-the-blockchain/" class="">
1582  <time datetime="2014-07-31 00:00:00 &#43;0000 UTC" itemprop="datePublished">2014-07-31</time>
1583</a>
1584</span>
1585  
1586  <span class="article-tag">
1587    <i class="icon icon-tags"></i>&nbsp;
1588    <a class="article-tag-link" href="/tags/bitcoin/"> bitcoin </a>
1589  </span>
1590
1591        <span class="post-comment"><i class="icon icon-comment"></i> &nbsp;<a href="/2014/07/2014-07-31-exploring-the-blockchain/#comments" class="article-comment-link">Comments</a></span>
1592		<span class="post-wordcount hidden-xs" itemprop="wordCount">Word Count: 464words</span>
1593		<span class="post-readcount hidden-xs" itemprop="timeRequired">Read Count: 3minutes </span>
1594      </p>
1595    </article>
1596    <article
1597      class="article article-type-page"
1598      itemscope
1599      itemtype="http://schema.org/BlogPosting"
1600    >
1601      <div class="article-header">
1602        <h1 itemprop="name">
1603  <a
1604    class="article-title"
1605    href="/2014/06/2014-06-19-ecdsa-explanation/"
1606    >ECDSA calculations</a
1607  >
1608</h1>
1609
1610      </div>
1611      <div class="article-entry text-muted" itemprop="description"><p>Explaining ECDSA calculations</p>
1612<p>In this post I assume you know what ECDSA is, and how modular arithmetic works.
1613I will also explained why you must never re-use the signing secret.</p></div>
1614      <p class="article-meta">
1615<span class="article-date">
1616  <i class="icon icon-calendar-check"></i>&nbsp;
1617<a href="https://nlitsme.github.io/2014/06/2014-06-19-ecdsa-explanation/" class="">
1618  <time datetime="2014-06-19 00:00:00 &#43;0000 UTC" itemprop="datePublished">2014-06-19</time>
1619</a>
1620</span>
1621  
1622  <span class="article-tag">
1623    <i class="icon icon-tags"></i>&nbsp;
1624    <a class="article-tag-link" href="/tags/crypto/"> crypto </a>
1625    <a class="article-tag-link" href="/tags/math/"> math </a>
1626    <a class="article-tag-link" href="/tags/bitcoin/"> bitcoin </a>
1627    <a class="article-tag-link" href="/tags/ecdsa/"> ecdsa </a>
1628  </span>
1629
1630        <span class="post-comment"><i class="icon icon-comment"></i> &nbsp;<a href="/2014/06/2014-06-19-ecdsa-explanation/#comments" class="article-comment-link">Comments</a></span>
1631		<span class="post-wordcount hidden-xs" itemprop="wordCount">Word Count: 527words</span>
1632		<span class="post-readcount hidden-xs" itemprop="timeRequired">Read Count: 3minutes </span>
1633      </p>
1634    </article>
1635    <article
1636      class="article article-type-page"
1637      itemscope
1638      itemtype="http://schema.org/BlogPosting"
1639    >
1640      <div class="article-header">
1641        <h1 itemprop="name">
1642  <a
1643    class="article-title"
1644    href="/2014/06/2014-06-18-modular-arithmetic-in-python/"
1645    >Modular arithmetic in python</a
1646  >
1647</h1>
1648
1649      </div>
1650      <div class="article-entry text-muted" itemprop="description"><p>When working on bitcoin and elliptic curve stuff I wrote some code to make the calculations
1651easily understandable</p>
1652<p>The repository can be found on <a href="https://github.com/nlitsme/bcutils">github</a></p></div>
1653      <p class="article-meta">
1654<span class="article-date">
1655  <i class="icon icon-calendar-check"></i>&nbsp;
1656<a href="https://nlitsme.github.io/2014/06/2014-06-18-modular-arithmetic-in-python/" class="">
1657  <time datetime="2014-06-18 00:00:00 &#43;0000 UTC" itemprop="datePublished">2014-06-18</time>
1658</a>
1659</span>
1660  
1661  <span class="article-tag">
1662    <i class="icon icon-tags"></i>&nbsp;
1663    <a class="article-tag-link" href="/tags/python/"> python </a>
1664    <a class="article-tag-link" href="/tags/modular-arithmetic/"> modular arithmetic </a>
1665    <a class="article-tag-link" href="/tags/galois-field/"> galois field </a>
1666    <a class="article-tag-link" href="/tags/math/"> math </a>
1667  </span>
1668
1669        <span class="post-comment"><i class="icon icon-comment"></i> &nbsp;<a href="/2014/06/2014-06-18-modular-arithmetic-in-python/#comments" class="article-comment-link">Comments</a></span>
1670		<span class="post-wordcount hidden-xs" itemprop="wordCount">Word Count: 89words</span>
1671		<span class="post-readcount hidden-xs" itemprop="timeRequired">Read Count: 1minutes </span>
1672      </p>
1673    </article>
1674    <article
1675      class="article article-type-page"
1676      itemscope
1677      itemtype="http://schema.org/BlogPosting"
1678    >
1679      <div class="article-header">
1680        <h1 itemprop="name">
1681  <a
1682    class="article-title"
1683    href="/2008/06/2008-06-02-itsutils/"
1684    >itsutils</a
1685  >
1686</h1>
1687
1688      </div>
1689      <div class="article-entry text-muted" itemprop="description"><p>itsutils is a set of tools that make life of the windows ce hacker easier. for instance, with pmemdump you can inspect the memory of the kernel or running processes.</p>
1690<ul>
1691<li>with &lsquo;psetmem&rsquo; you can modify memory</li>
1692<li>with pregutl you can read or change the devices register.</li>
1693<li>with pmemmap you can get a quick overview of what physical memory is mapped where.</li>
1694<li>with pps you can get a list of processes, threads or modules.</li>
1695<li>with pdocread, pdocwrite you can read disk-on-chip flash chips.</li>
1696<li>with psdread, psdwrite you can read/write sdcards.</li>
1697<li>with ppostmsg you can send windows messages to windows, or list all windows on the device.</li>
1698</ul></div>
1699      <p class="article-meta">
1700<span class="article-date">
1701  <i class="icon icon-calendar-check"></i>&nbsp;
1702<a href="https://nlitsme.github.io/2008/06/2008-06-02-itsutils/" class="">
1703  <time datetime="2008-06-02 00:00:00 &#43;0000 UTC" itemprop="datePublished">2008-06-02</time>
1704</a>
1705</span>
1706  
1707  <span class="article-tag">
1708    <i class="icon icon-tags"></i>&nbsp;
1709    <a class="article-tag-link" href="/tags/wince/"> wince </a>
1710    <a class="article-tag-link" href="/tags/itsutils/"> itsutils </a>
1711  </span>
1712
1713        <span class="post-comment"><i class="icon icon-comment"></i> &nbsp;<a href="/2008/06/2008-06-02-itsutils/#comments" class="article-comment-link">Comments</a></span>
1714		<span class="post-wordcount hidden-xs" itemprop="wordCount">Word Count: 192words</span>
1715		<span class="post-readcount hidden-xs" itemprop="timeRequired">Read Count: 1minutes </span>
1716      </p>
1717    </article>
1718    <article
1719      class="article article-type-page"
1720      itemscope
1721      itemtype="http://schema.org/BlogPosting"
1722    >
1723      <div class="article-header">
1724        <h1 itemprop="name">
1725  <a
1726    class="article-title"
1727    href="/2008/06/2008-06-01-perl-scripting-for-ida/"
1728    >Perl scripting for the IDA disassembler</a
1729  >
1730</h1>
1731
1732      </div>
1733      <div class="article-entry text-muted" itemprop="description"><p>i created a plugin for <a href="https://hex-rays.com">ida (the interactive disassembler)</a>, which allows you to script ida in perl. the current api is identical to the ida idc scripting language. current features:</p></div>
1734      <p class="article-meta">
1735<span class="article-date">
1736  <i class="icon icon-calendar-check"></i>&nbsp;
1737<a href="https://nlitsme.github.io/2008/06/2008-06-01-perl-scripting-for-ida/" class="">
1738  <time datetime="2008-06-01 00:00:00 &#43;0000 UTC" itemprop="datePublished">2008-06-01</time>
1739</a>
1740</span>
1741  
1742  <span class="article-tag">
1743    <i class="icon icon-tags"></i>&nbsp;
1744    <a class="article-tag-link" href="/tags/perl/"> perl </a>
1745    <a class="article-tag-link" href="/tags/reversing/"> reversing </a>
1746    <a class="article-tag-link" href="/tags/ida/"> ida </a>
1747  </span>
1748
1749        <span class="post-comment"><i class="icon icon-comment"></i> &nbsp;<a href="/2008/06/2008-06-01-perl-scripting-for-ida/#comments" class="article-comment-link">Comments</a></span>
1750		<span class="post-wordcount hidden-xs" itemprop="wordCount">Word Count: 156words</span>
1751		<span class="post-readcount hidden-xs" itemprop="timeRequired">Read Count: 1minutes </span>
1752      </p>
1753    </article>
1754    <article
1755      class="article article-type-page"
1756      itemscope
1757      itemtype="http://schema.org/BlogPosting"
1758    >
1759      <div class="article-header">
1760        <h1 itemprop="name">
1761  <a
1762    class="article-title"
1763    href="/2008/03/2008-03-21-weird-bytes-in-wince-binaries/"
1764    >Strange byte sequence in wince arm binaries</a
1765  >
1766</h1>
1767
1768      </div>
1769      <div class="article-entry text-muted" itemprop="description"><p>These 0x90 bytes ( or 0x24 dwords ) occur often in windows ce arm binaries</p>
1770<pre><code>00000000 00004033 00444101 09401050 00004005 00534c01 09401050 00002078
177100534c01 802910ec 0000c0f0 00534b01 812910ec 00000000 00545204 813910ec
17720000900b 00545204 813910ec 0000d0c9 00545204 813910ec 0000e04c 00545204
177313001186 000050ba 004c4404 0020100b 0000a0cc 00474e05 905010b7 00006008
177400433306 920010b7 00000476 00433306
1775</code></pre></div>
1776      <p class="article-meta">
1777<span class="article-date">
1778  <i class="icon icon-calendar-check"></i>&nbsp;
1779<a href="https://nlitsme.github.io/2008/03/2008-03-21-weird-bytes-in-wince-binaries/" class="">
1780  <time datetime="2008-03-21 00:00:00 &#43;0000 UTC" itemprop="datePublished">2008-03-21</time>
1781</a>
1782</span>
1783  
1784  <span class="article-tag">
1785    <i class="icon icon-tags"></i>&nbsp;
1786    <a class="article-tag-link" href="/tags/reversing/"> reversing </a>
1787    <a class="article-tag-link" href="/tags/wince/"> wince </a>
1788    <a class="article-tag-link" href="/tags/arm/"> arm </a>
1789  </span>
1790
1791        <span class="post-comment"><i class="icon icon-comment"></i> &nbsp;<a href="/2008/03/2008-03-21-weird-bytes-in-wince-binaries/#comments" class="article-comment-link">Comments</a></span>
1792		<span class="post-wordcount hidden-xs" itemprop="wordCount">Word Count: 422words</span>
1793		<span class="post-readcount hidden-xs" itemprop="timeRequired">Read Count: 2minutes </span>
1794      </p>
1795    </article>
1796    <article
1797      class="article article-type-page"
1798      itemscope
1799      itemtype="http://schema.org/BlogPosting"
1800    >
1801      <div class="article-header">
1802        <h1 itemprop="name">
1803  <a
1804    class="article-title"
1805    href="/1996/07/1996-07-18-ncp-netwarecoreprotocol/"
1806    >The Netware Core Protocol</a
1807  >
1808</h1>
1809
1810      </div>
1811      <div class="article-entry text-muted" itemprop="description"><p>This is from way back when I was working on Novell Netware.</p>
1812<p>A large list of all NCP functions.</p></div>
1813      <p class="article-meta">
1814<span class="article-date">
1815  <i class="icon icon-calendar-check"></i>&nbsp;
1816<a href="https://nlitsme.github.io/1996/07/1996-07-18-ncp-netwarecoreprotocol/" class="">
1817  <time datetime="1996-07-18 00:00:00 &#43;0000 UTC" itemprop="datePublished">1996-07-18</time>
1818</a>
1819</span>
1820  
1821  <span class="article-tag">
1822    <i class="icon icon-tags"></i>&nbsp;
1823    <a class="article-tag-link" href="/tags/museum/"> museum </a>
1824    <a class="article-tag-link" href="/tags/netware/"> netware </a>
1825    <a class="article-tag-link" href="/tags/reversing/"> reversing </a>
1826  </span>
1827
1828        <span class="post-comment"><i class="icon icon-comment"></i> &nbsp;<a href="/1996/07/1996-07-18-ncp-netwarecoreprotocol/#comments" class="article-comment-link">Comments</a></span>
1829		<span class="post-wordcount hidden-xs" itemprop="wordCount">Word Count: 4798words</span>
1830		<span class="post-readcount hidden-xs" itemprop="timeRequired">Read Count: 23minutes </span>
1831      </p>
1832    </article>
1833    <article
1834      class="article article-type-page"
1835      itemscope
1836      itemtype="http://schema.org/BlogPosting"
1837    >
1838      <div class="article-header">
1839        <h1 itemprop="name">
1840  <a
1841    class="article-title"
1842    href="/1994/11/1994-11-30-soundblaster/"
1843    >reverse engineering my soundblaster card</a
1844  >
1845</h1>
1846
1847      </div>
1848      <div class="article-entry text-muted" itemprop="description"><p>This is some ancient research into my soundblaster card</p></div>
1849      <p class="article-meta">
1850<span class="article-date">
1851  <i class="icon icon-calendar-check"></i>&nbsp;
1852<a href="https://nlitsme.github.io/1994/11/1994-11-30-soundblaster/" class="">
1853  <time datetime="1994-11-30 00:00:00 &#43;0000 UTC" itemprop="datePublished">1994-11-30</time>
1854</a>
1855</span>
1856  
1857  <span class="article-tag">
1858    <i class="icon icon-tags"></i>&nbsp;
1859    <a class="article-tag-link" href="/tags/museum/"> museum </a>
1860    <a class="article-tag-link" href="/tags/soundblaster/"> soundblaster </a>
1861    <a class="article-tag-link" href="/tags/reversing/"> reversing </a>
1862  </span>
1863
1864        <span class="post-comment"><i class="icon icon-comment"></i> &nbsp;<a href="/1994/11/1994-11-30-soundblaster/#comments" class="article-comment-link">Comments</a></span>
1865		<span class="post-wordcount hidden-xs" itemprop="wordCount">Word Count: 258words</span>
1866		<span class="post-readcount hidden-xs" itemprop="timeRequired">Read Count: 2minutes </span>
1867      </p>
1868    </article>
1869    <article
1870      class="article article-type-page"
1871      itemscope
1872      itemtype="http://schema.org/BlogPosting"
1873    >
1874      <div class="article-header">
1875        <h1 itemprop="name">
1876  <a
1877    class="article-title"
1878    href="/1994/11/1994-11-28-ipx-functions/"
1879    >IPX dos function list</a
1880  >
1881</h1>
1882
1883      </div>
1884      <div class="article-entry text-muted" itemprop="description"><p>A list of Netware IPX protocol functions available through a DOS interrupt.</p></div>
1885      <p class="article-meta">
1886<span class="article-date">
1887  <i class="icon icon-calendar-check"></i>&nbsp;
1888<a href="https://nlitsme.github.io/1994/11/1994-11-28-ipx-functions/" class="">
1889  <time datetime="1994-11-28 00:00:00 &#43;0000 UTC" itemprop="datePublished">1994-11-28</time>
1890</a>
1891</span>
1892  
1893  <span class="article-tag">
1894    <i class="icon icon-tags"></i>&nbsp;
1895    <a class="article-tag-link" href="/tags/museum/"> museum </a>
1896    <a class="article-tag-link" href="/tags/netware/"> netware </a>
1897    <a class="article-tag-link" href="/tags/reversing/"> reversing </a>
1898  </span>
1899
1900        <span class="post-comment"><i class="icon icon-comment"></i> &nbsp;<a href="/1994/11/1994-11-28-ipx-functions/#comments" class="article-comment-link">Comments</a></span>
1901		<span class="post-wordcount hidden-xs" itemprop="wordCount">Word Count: 762words</span>
1902		<span class="post-readcount hidden-xs" itemprop="timeRequired">Read Count: 4minutes </span>
1903      </p>
1904    </article>
1905    <article
1906      class="article article-type-page"
1907      itemscope
1908      itemtype="http://schema.org/BlogPosting"
1909    >
1910      <div class="article-header">
1911        <h1 itemprop="name">
1912  <a
1913    class="article-title"
1914    href="/1994/08/1994-08-23-novell-bindery-format/"
1915    >The Novell Netware bindery format</a
1916  >
1917</h1>
1918
1919      </div>
1920      <div class="article-entry text-muted" itemprop="description"><p>This is from way back when I was working on Novell Netware.</p>
1921<p>Describing how the structure of the Netware bindery files.</p></div>
1922      <p class="article-meta">
1923<span class="article-date">
1924  <i class="icon icon-calendar-check"></i>&nbsp;
1925<a href="https://nlitsme.github.io/1994/08/1994-08-23-novell-bindery-format/" class="">
1926  <time datetime="1994-08-23 00:00:00 &#43;0000 UTC" itemprop="datePublished">1994-08-23</time>
1927</a>
1928</span>
1929  
1930  <span class="article-tag">
1931    <i class="icon icon-tags"></i>&nbsp;
1932    <a class="article-tag-link" href="/tags/museum/"> museum </a>
1933    <a class="article-tag-link" href="/tags/netware/"> netware </a>
1934    <a class="article-tag-link" href="/tags/reversing/"> reversing </a>
1935  </span>
1936
1937        <span class="post-comment"><i class="icon icon-comment"></i> &nbsp;<a href="/1994/08/1994-08-23-novell-bindery-format/#comments" class="article-comment-link">Comments</a></span>
1938		<span class="post-wordcount hidden-xs" itemprop="wordCount">Word Count: 260words</span>
1939		<span class="post-readcount hidden-xs" itemprop="timeRequired">Read Count: 2minutes </span>
1940      </p>
1941    </article>
1942    <article
1943      class="article article-type-page"
1944      itemscope
1945      itemtype="http://schema.org/BlogPosting"
1946    >
1947      <div class="article-header">
1948        <h1 itemprop="name">
1949  <a
1950    class="article-title"
1951    href="/1994/08/1994-08-01-ncp-functions/"
1952    >The Netware Core Protocol</a
1953  >
1954</h1>
1955
1956      </div>
1957      <div class="article-entry text-muted" itemprop="description"><p>An early version of the 1996 document</p>
1958<p>Listing functions available in the Novell Netware Core Protocol.</p></div>
1959      <p class="article-meta">
1960<span class="article-date">
1961  <i class="icon icon-calendar-check"></i>&nbsp;
1962<a href="https://nlitsme.github.io/1994/08/1994-08-01-ncp-functions/" class="">
1963  <time datetime="1994-08-01 00:00:00 &#43;0000 UTC" itemprop="datePublished">1994-08-01</time>
1964</a>
1965</span>
1966  
1967  <span class="article-tag">
1968    <i class="icon icon-tags"></i>&nbsp;
1969    <a class="article-tag-link" href="/tags/museum/"> museum </a>
1970    <a class="article-tag-link" href="/tags/netware/"> netware </a>
1971    <a class="article-tag-link" href="/tags/reversing/"> reversing </a>
1972  </span>
1973
1974        <span class="post-comment"><i class="icon icon-comment"></i> &nbsp;<a href="/1994/08/1994-08-01-ncp-functions/#comments" class="article-comment-link">Comments</a></span>
1975		<span class="post-wordcount hidden-xs" itemprop="wordCount">Word Count: 1163words</span>
1976		<span class="post-readcount hidden-xs" itemprop="timeRequired">Read Count: 6minutes </span>
1977      </p>
1978    </article>
1979    <article
1980      class="article article-type-page"
1981      itemscope
1982      itemtype="http://schema.org/BlogPosting"
1983    >
1984      <div class="article-header">
1985        <h1 itemprop="name">
1986  <a
1987    class="article-title"
1988    href="/1994/03/1995-03-01-various-hardware/"
1989    >My ancient IBM PC research</a
1990  >
1991</h1>
1992
1993      </div>
1994      <div class="article-entry text-muted" itemprop="description"><p>These are some very old notes I found on my old IBM PC.</p>
1995<ul>
1996<li>1995-03-01 15:21:52  <a href="connecto.rs">connecto.rs</a></li>
1997<li>1995-05-01 13:14:14  <a href="hardware.nfo">hardware.nfo</a></li>
1998<li>1994-05-16 15:28:18  <a href="jumpers">jumpers</a></li>
1999<li>1994-03-01 13:55:34  <a href="port.wj">port.wj</a></li>
2000</ul>
2001<p>As you can see, back then I did not really care about file extensions.</p></div>
2002      <p class="article-meta">
2003<span class="article-date">
2004  <i class="icon icon-calendar-check"></i>&nbsp;
2005<a href="https://nlitsme.github.io/1994/03/1995-03-01-various-hardware/" class="">
2006  <time datetime="1994-03-01 00:00:00 &#43;0000 UTC" itemprop="datePublished">1994-03-01</time>
2007</a>
2008</span>
2009  
2010  <span class="article-tag">
2011    <i class="icon icon-tags"></i>&nbsp;
2012    <a class="article-tag-link" href="/tags/museum/"> museum </a>
2013    <a class="article-tag-link" href="/tags/pchardware/"> pchardware </a>
2014  </span>
2015
2016        <span class="post-comment"><i class="icon icon-comment"></i> &nbsp;<a href="/1994/03/1995-03-01-various-hardware/#comments" class="article-comment-link">Comments</a></span>
2017		<span class="post-wordcount hidden-xs" itemprop="wordCount">Word Count: 39words</span>
2018		<span class="post-readcount hidden-xs" itemprop="timeRequired">Read Count: 1minutes </span>
2019      </p>
2020    </article>
2021    <article
2022      class="article article-type-page"
2023      itemscope
2024      itemtype="http://schema.org/BlogPosting"
2025    >
2026      <div class="article-header">
2027        <h1 itemprop="name">
2028  <a
2029    class="article-title"
2030    href="/1993/06/1993-06-18-msdos-interrupt-catcher/"
2031    >MSDOS Interrupt catcher</a
2032  >
2033</h1>
2034
2035      </div>
2036      <div class="article-entry text-muted" itemprop="description"><p>I wrote this tool to be able to create traces of DOS interrupt invocations. A bit like strace or ltrace on linux.</p>
2037<p>Now available on <a href="https://github.com/nlitsme/MSDOS_interrupt_catcher">github</a>.</p></div>
2038      <p class="article-meta">
2039<span class="article-date">
2040  <i class="icon icon-calendar-check"></i>&nbsp;
2041<a href="https://nlitsme.github.io/1993/06/1993-06-18-msdos-interrupt-catcher/" class="">
2042  <time datetime="1993-06-18 00:00:00 &#43;0000 UTC" itemprop="datePublished">1993-06-18</time>
2043</a>
2044</span>
2045  
2046  <span class="article-tag">
2047    <i class="icon icon-tags"></i>&nbsp;
2048    <a class="article-tag-link" href="/tags/interrupts/"> interrupts </a>
2049    <a class="article-tag-link" href="/tags/msdos/"> msdos </a>
2050    <a class="article-tag-link" href="/tags/reversing/"> reversing </a>
2051    <a class="article-tag-link" href="/tags/museum/"> museum </a>
2052  </span>
2053
2054        <span class="post-comment"><i class="icon icon-comment"></i> &nbsp;<a href="/1993/06/1993-06-18-msdos-interrupt-catcher/#comments" class="article-comment-link">Comments</a></span>
2055		<span class="post-wordcount hidden-xs" itemprop="wordCount">Word Count: 67words</span>
2056		<span class="post-readcount hidden-xs" itemprop="timeRequired">Read Count: 1minutes </span>
2057      </p>
2058    </article>
2059    <article
2060      class="article article-type-page"
2061      itemscope
2062      itemtype="http://schema.org/BlogPosting"
2063    >
2064      <div class="article-header">
2065        <h1 itemprop="name">
2066  <a
2067    class="article-title"
2068    href="/1992/12/1992-12-16-msdos-demon-dialer-tool/"
2069    >Demon dialer control program</a
2070  >
2071</h1>
2072
2073      </div>
2074      <div class="article-entry text-muted" itemprop="description"><p>The demon dialer was a blue-box, sold by <a href="https://hacktic.nl/magazine/1448.htm">hacktic</a>.</p>
2075<p>I wrote these tools to be able to dialing lots of phonenumbers relatively
2076quickly, while recording information about whatever answered. I used to do this
2077in order to find some way of accessing the early internet.</p>
2078<p>Now available on <a href="https://github.com/nlitsme/MSDOS_demon_dialer_tool">github</a>.</p></div>
2079      <p class="article-meta">
2080<span class="article-date">
2081  <i class="icon icon-calendar-check"></i>&nbsp;
2082<a href="https://nlitsme.github.io/1992/12/1992-12-16-msdos-demon-dialer-tool/" class="">
2083  <time datetime="1992-12-16 00:00:00 &#43;0000 UTC" itemprop="datePublished">1992-12-16</time>
2084</a>
2085</span>
2086  
2087  <span class="article-tag">
2088    <i class="icon icon-tags"></i>&nbsp;
2089    <a class="article-tag-link" href="/tags/msdos/"> msdos </a>
2090    <a class="article-tag-link" href="/tags/museum/"> museum </a>
2091  </span>
2092
2093        <span class="post-comment"><i class="icon icon-comment"></i> &nbsp;<a href="/1992/12/1992-12-16-msdos-demon-dialer-tool/#comments" class="article-comment-link">Comments</a></span>
2094		<span class="post-wordcount hidden-xs" itemprop="wordCount">Word Count: 614words</span>
2095		<span class="post-readcount hidden-xs" itemprop="timeRequired">Read Count: 3minutes </span>
2096      </p>
2097    </article>
2098    <article
2099      class="article article-type-page"
2100      itemscope
2101      itemtype="http://schema.org/BlogPosting"
2102    >
2103      <div class="article-header">
2104        <h1 itemprop="name">
2105  <a
2106    class="article-title"
2107    href="/1992/10/1992-10-17-msdos-game-of-life/"
2108    >Game of Life</a
2109  >
2110</h1>
2111
2112      </div>
2113      <div class="article-entry text-muted" itemprop="description"><p>One of my early <a href="https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life">LIFE</a> implementations.</p>
2114<p>I think I implemented this on almost every computer I owned, I remember writing my first version
2115in Basic on my PET-2001.</p>
2116<p>Now available on <a href="https://github.com/nlitsme/MSDOS_game_of_life">github</a>.</p></div>
2117      <p class="article-meta">
2118<span class="article-date">
2119  <i class="icon icon-calendar-check"></i>&nbsp;
2120<a href="https://nlitsme.github.io/1992/10/1992-10-17-msdos-game-of-life/" class="">
2121  <time datetime="1992-10-17 00:00:00 &#43;0000 UTC" itemprop="datePublished">1992-10-17</time>
2122</a>
2123</span>
2124  
2125  <span class="article-tag">
2126    <i class="icon icon-tags"></i>&nbsp;
2127    <a class="article-tag-link" href="/tags/life/"> life </a>
2128    <a class="article-tag-link" href="/tags/museum/"> museum </a>
2129  </span>
2130
2131        <span class="post-comment"><i class="icon icon-comment"></i> &nbsp;<a href="/1992/10/1992-10-17-msdos-game-of-life/#comments" class="article-comment-link">Comments</a></span>
2132		<span class="post-wordcount hidden-xs" itemprop="wordCount">Word Count: 304words</span>
2133		<span class="post-readcount hidden-xs" itemprop="timeRequired">Read Count: 2minutes </span>
2134      </p>
2135    </article></div>
2136  
2137<nav class="bar bar-footer clearfix" data-stick-bottom>
2138  <div class="bar-inner">
2139    <ul class="pager pull-left">
2140    </ul>
2141    <div class="total-article bar-right">
2142      Page:1/1
2143    </div>
2144  </div>
2145</nav>
2146
2147</main><footer class="footer" itemscope itemtype="http://schema.org/WPFooter">
2148<ul class="social-links">
2149    <li><a href="https://github.com/nlitsme" target="_blank" title="github" data-toggle=tooltip data-placement=top >
2150            <i class="icon icon-github"></i></a></li>
2151    <li><a href="https://gitlab.com/itsme" target="_blank" title="gitlab" data-toggle=tooltip data-placement=top >
2152            <i class="icon icon-gitlab"></i></a></li>
2153    <li><a href="https://www.reddit.com/user/nlitsme1" target="_blank" title="reddit" data-toggle=tooltip data-placement=top >
2154            <i class="icon icon-reddit"></i></a></li>
2155    <li><a href="/index.xml" target="_blank" title="rss" data-toggle=tooltip data-placement=top >
2156            <i class="icon icon-rss"></i></a></li>
2157    <li><a href="https://stackoverflow.com/users/1049677/" target="_blank" title="stackoverflow" data-toggle=tooltip data-placement=top >
2158            <i class="icon icon-stackoverflow"></i></a></li>
2159    <li><a href="https://twitter.com/twitsme" target="_blank" title="twitter" data-toggle=tooltip data-placement=top >
2160            <i class="icon icon-twitter"></i></a></li>
2161    <li><a href="https://youtube.com/channel/UCmYzOAvL7VTpZmQXtuqJsZg" target="_blank" title="youtube" data-toggle=tooltip data-placement=top >
2162            <i class="icon icon-youtube"></i></a></li>
2163</ul>
2164
2165  <div class="copyright">
2166    &copy;2000  -
2167    2020
2168    <!-- based on https://github.com/xiaoheiAh/hugo-theme-pure -->
2169  </div>
2170</footer>
2171
2172<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/MathJax.js?config=TeX-MML-AM_SVG"></script>
vendor: 1 bytes, line 2172
2172
2173<script type="text/x-mathjax-config">
2174    MathJax.Hub.Config({
2175            showMathMenu: false, //disables context menu
2176            tex2jax: {
2177            inlineMath: [ ['$','$'], ['\\(','\\)'] ]
2178           }
2179    });
2180</script>
2180
2181
2182
2183<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js"></script>
vendor: 1 bytes, line 2183
2183
2184<script>
2185    window.jQuery || document.write('
2185<script src="js/jquery.min.js"><\/script>')
2186</script>
vendor: 1 bytes, line 2186
2186
2187<script type="text/javascript" src="/assets/js/highlight.pack.js"></script>
vendor: 1 bytes, line 2187
2187
2188<script>
2189    hljs.configure({
2190        tabReplace: '    ', 
2191        classPrefix: ''     
2192        
2193    })
2194    hljs.initHighlightingOnLoad();
2195</script>
vendor: 1 bytes, line 2195
2195
2196<script src="https://nlitsme.github.io/js/application.min.bdeb64b910570b6c41badc6a05b7afb0c8ad9efd8525de3c7257d59e786326a3.js"></script>
vendor: 1 bytes, line 2196
2196
2197<script src="https://nlitsme.github.io/js/plugin.min.fdac970cab83e09d53dc1375262e937ce79eb7c241a1672b120c35a47a21b227.js"></script>
2197
2198
2199<script>
2200    (function (window) {
2201        var INSIGHT_CONFIG = {
2202            TRANSLATION: {
2203                POSTS: 'Posts',
2204                PAGES: 'Pages',
2205                CATEGORIES: 'Categories',
2206                TAGS: 'Tags',
2207                UNTITLED: '(Untitled)',
2208            },
2209            ROOT_URL: 'https:\/\/nlitsme.github.io\/',
2210            CONTENT_URL: 'https:\/\/nlitsme.github.io\/\/searchindex.json ',
2211        };
2212        window.INSIGHT_CONFIG = INSIGHT_CONFIG;
2213    })(window);
2214</script>
vendor: 1 bytes, line 2214
2214
2215<script type="text/javascript" src="https://nlitsme.github.io/js/insight.min.a343cd9a5a7698336b28ef3a7c16a3a1b1d2d5fb17dc8ed04022bbe08cc5459073a15bdafa3a8a58cdd56080784bdd69fa70b1ae8597565c799c57ed00f0e120.js" defer></script>
vendor: 1 bytes, line 2215
2215
2216<script src="https://cdnjs.cloudflare.com/ajax/libs/tocbot/4.4.2/tocbot.min.js"></script>
vendor: 1 bytes, line 2216
2216
2217<script>
2218    tocbot.init({
2219        
2220        tocSelector: '.js-toc',
2221        
2222        contentSelector: '.js-toc-content',
2223        
2224        headingSelector: 'h1, h2, h3',
2225        
2226        hasInnerContainers: true,
2227    });
2228</script>
2228
2229
2230
2231  </body>
2232</html>

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.