-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
203 lines (147 loc) · 9.89 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en-us">
<head>
<link href="http://gmpg.org/xfn/11" rel="profile">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="generator" content="Hugo 0.19" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<title> I Love To Delete Code · I Love To Delete Code </title>
<link rel="stylesheet" href="http://www.ilovetodeletecode.com/css/poole.css">
<link rel="stylesheet" href="http://www.ilovetodeletecode.com/css/syntax.css">
<link rel="stylesheet" href="http://www.ilovetodeletecode.com/css/hyde.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700|Abril+Fatface">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.min.css">
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="http://www.ilovetodeletecode.com/apple-touch-icon-144-precomposed.png">
<link rel="shortcut icon" href="http://www.ilovetodeletecode.com/favicon.png">
<link href="http://www.ilovetodeletecode.com/index.xml" rel="alternate" type="application/rss+xml" title="I Love To Delete Code" />
<style>
#social,
#links {
margin-top: 10px
}
#social i {
margin-left: 25px
}
#social a:hover,
#social a:focus {
text-decoration: none;
color: #bddbed
}
pre {
background-color: #202020;
color: white;
overflow: auto;
word-wrap: normal;
white-space: pre;
font-size: 12px;
}
</style>
</head>
<body class="">
<div class="sidebar">
<div class="container sidebar-sticky">
<div class="sidebar-about">
<img src="http://www.ilovetodeletecode.com/logo.png" alt="Hugo Themes">
<a href="http://www.ilovetodeletecode.com/"><h1>I Love To Delete Code</h1></a>
<p class="lead">
Deleting code is violating the law of entropy and setting the universe right.
</p>
</div>
<ul class="sidebar-nav">
<li><a href="http://www.ilovetodeletecode.com/">Home</a> </li>
<li><a href="http://www.ilovetodeletecode.com/post/"> Blog </a></li>
<li><a href="http://www.ilovetodeletecode.com/about/"> About </a></li>
</ul>
<div id="social" class="text-center">
<a href="https://twitter.com/JernejGoricki" target="new">
<i class="fa fa-twitter fa-2x"></i>
</a>
<a href="http://uk.linkedin.com/in/jernejgoricki" target="new">
<i class="fa fa-linkedin fa-2x"></i>
</a>
</div>
<p></p>
</div>
</div>
<div class="content container">
<div class="posts">
<div class="post">
<h1 class="post-title">
<a href="http://www.ilovetodeletecode.com/post/2020/02/17/resetting-your-hp-bios-password-by-modifying-the-main-bios-chip/">
Resetting your HP BIOS password by modifying the main BIOS chip
</a>
</h1>
<span class="post-date">Mon, Feb 17, 2020</span>
<p> My inner security expert turned on the BIOS password on an HP laptop (EliteBook 840 G1), right after I bought it, around 6 years ago. Of course I forgot what the password was after a while, since I did not have a reason to change any of the settings, but this changed recently. I really wanted to play with <a href="https://docs.microsoft.com/en-us/windows/wsl/wsl2-index">WSL2</a> (Windows subtype for Linux) and Docker for Windows, and one of the prerequisites for both is to <a href="https://docs.microsoft.com/en-us/windows/wsl/wsl2-faq">enable Hyper-V</a> which is a setting in BIOS.<br />
Is there a way I can remove the BIOS password? This blog post describes my attempts which have finally resulted in success.</p>
<p></p>
<a href="http://www.ilovetodeletecode.com/post/2020/02/17/resetting-your-hp-bios-password-by-modifying-the-main-bios-chip/" style="margin-right:0.3rem;float:right;">Read More…</a>
</div>
<div class="post">
<h1 class="post-title">
<a href="http://www.ilovetodeletecode.com/post/2017/06/01/running-apache-solr-6.5-on-an-azure-app-service-instance/">
Running Apache Solr 6.5 on an Azure App Service instance
</a>
</h1>
<span class="post-date">Thu, Jun 1, 2017</span>
This post describes a daring way to attempt to deploy a single Solr node to an Azure App Service. I say daring because I could not find a copy paste solution on Stack Overflow. I saw some light at the end of the tunnel after reading the Upload a custom Java web app to Azure article on Azure documentation which mentions Jetty and since Solr is running in a Jetty Servlet container by default I guessed I should at least give it a try.
<a href="http://www.ilovetodeletecode.com/post/2017/06/01/running-apache-solr-6.5-on-an-azure-app-service-instance/" style="margin-right:0.3rem;float:right;">Read More…</a>
</div>
<div class="post">
<h1 class="post-title">
<a href="http://www.ilovetodeletecode.com/post/2014/11/16/fileoptions-enumeration-windows-cache-manager-and-memory-mapped-files-csharp-part-1/">
FileOptions Enumeration, Windows Cache Manager and Memory-Mapped Files (C#) Part 1
</a>
</h1>
<span class="post-date">Sun, Nov 16, 2014</span>
<p>Because working with files is such a common and potentially expensive operation, every operating system introduces numerous levels of indirection when serving I/O requests. This is necessary in order to execute I/O operations in a reasonable time frame. But managing complexity through abstraction of various hardware and software layers that interact during file operations also has its disadvantages: you get a false impression that you don’t need to know what is really going on under the hood :)</p>
<p>I needed to optimize a part of my code that was writing data to random locations in a binary file. After realizing that <a href="http://msdn.microsoft.com/en-us/library/system.io.fileoptions(v=vs.110).aspx">FileOptions.RandomAccess</a> does not automagically do the trick and make seeks (in a loop!) run noticeably faster, I started to dig into the FileOptions Enumeration. A couple of days later, bursting with knowledge on internal working of Windows Cache Manager and speeding up random writes using <a href="http://msdn.microsoft.com/en-us/library/dd997372%28v=vs.110%29.aspx">Memory-Mapped Files</a> I decided to write a two part blog post about it.</p>
<p></p>
<a href="http://www.ilovetodeletecode.com/post/2014/11/16/fileoptions-enumeration-windows-cache-manager-and-memory-mapped-files-csharp-part-1/" style="margin-right:0.3rem;float:right;">Read More…</a>
</div>
<div class="post">
<h1 class="post-title">
<a href="http://www.ilovetodeletecode.com/post/2014/05/19/keep-your-mercurial-revision-history-clutter-free/">
Keep your Mercurial revision history clutter free
</a>
</h1>
<span class="post-date">Mon, May 19, 2014</span>
<p>I have been using Mercurial revision control system as a weapon of choice for quite some time now. For controlling changes made to source code, as for backing up to a private repository hosted at Bitbucket I used the basic commands for committing, adding, pushing and pulling files to/from the local /remote repository on a daily basis. And that was sufficient for my needs….until recently. I stumbled upon an interesting blog post titled <a href="http://elegantcode.com/2014/02/15/segregate-your-code-commits-into-tiny-topical-changes/comment-page-1/">“Segregate your commits into tiny topical changes”</a> that made me think of how my current revision history on a project looks like…</p>
<p></p>
<a href="http://www.ilovetodeletecode.com/post/2014/05/19/keep-your-mercurial-revision-history-clutter-free/" style="margin-right:0.3rem;float:right;">Read More…</a>
</div>
<div class="post">
<h1 class="post-title">
<a href="http://www.ilovetodeletecode.com/post/2014/02/05/refactoring-a-spaghetti-c-serial-communication-app-asynchronous-control-flow-modeling-with-asyncawait/">
Refactoring a spaghetti C# serial communication app & asynchronous control flow modeling with async/await
</a>
</h1>
<span class="post-date">Wed, Feb 5, 2014</span>
<p>A couple of months back I’ve got a task of implementing a protocol for an embedded device sending/receiving streams of data through serial communication. Together with this task I also inherited a Windows Forms C# application that already did some of the previous but in a different protocol with a different device. The more I struggled to understand and reuse some of the existing infrastructure, the more I wanted to rewrite the whole thing (sounds familiar?).</p>
<p></p>
<a href="http://www.ilovetodeletecode.com/post/2014/02/05/refactoring-a-spaghetti-c-serial-communication-app-asynchronous-control-flow-modeling-with-asyncawait/" style="margin-right:0.3rem;float:right;">Read More…</a>
</div>
<ul class="pagination">
<li>
<a href="http://www.ilovetodeletecode.com/" aria-label="First"><span aria-hidden="true">««</span></a>
</li>
<li
class="disabled">
<a href="" aria-label="Previous"><span aria-hidden="true">«</span></a>
</li>
<li
class="active"><a href="http://www.ilovetodeletecode.com/">1</a></li>
<li
><a href="http://www.ilovetodeletecode.com/post/2/">2</a></li>
<li
>
<a href="http://www.ilovetodeletecode.com/post/2/" aria-label="Next"><span aria-hidden="true">»</span></a>
</li>
<li>
<a href="http://www.ilovetodeletecode.com/post/2/" aria-label="Last"><span aria-hidden="true">»»</span></a>
</li>
</ul>
</div>
</div>
</body>
</html>