-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path_index.php
More file actions
388 lines (325 loc) · 25 KB
/
_index.php
File metadata and controls
388 lines (325 loc) · 25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>Private Blog Anarchy Blockchain Cryptocurrency Bitcoin Emercoin 1984 big brother is watching you Private Privacy Government FBI Blogging Human rights Putin Russia USA DARK Private</title>
<meta name="description" content="Anarchy Blockchain Cryptocurrency Bitcoin Emercoin 1984 big brother is watching you Private Privacy Government FBI Blogging Human rights Putin Russia USA DARK Private Blog">
<meta name="keywords" content="Anarchy,Blockchain,Cryptocurrency,Bitcoin,Emercoin,Private,Privacy,Government,FBI,Blogging,Human rights,Putin Russia,USA,DARK,Private Blog">
<link rel="stylesheet" href="/css/bootstrap.min.css">
<style>
body {
background-image: URL('/img/Black-Matrix.jpg');
background-attachment: fixed;
}
.panel {
background-color: transparent;
color: lightgreen;
background-color: black;
opacity: 0.8;
}
.panel-heading, .panel-title, .list-group-item {
background-color: transparent;
color: lightgreen;
background-color: black;
}
.panel-heading, .panel-title {
color: lightgreen !important;
background-color: transparent !important;
}
code {
color: lime;
background-color: grey;
}
a {
color: lime;
text-decoration: none;
}
a:hover,
a:focus {
color: white;
text-decoration: underline;
}
a:focus {
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}
</style>
</head>
<body>
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand" href="#">Private Blog</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li role="presentation"><a href="https://github.com/Alex014/PrivateBlog" target="_blank">GitHub</a></li>
<li role="presentation"><a href="https://emercoin.com/#download" target="_blank">Emercoin wallet</a></li>
<li role="presentation"><a href="mailto:chosenone111@protonmail.com?subject=Private Blog">EMAIL</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</nav>
<div class="container">
<div class="row" style="padding-top: 60px;">
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-body">
<p>
«Я очень сожалею о том, что должен предписывать отобрание произведений труда, заключение в тюрьму, изгнание, каторгу, казнь, войну, т. е. массовое убийство. но я обязан поступить так, потому что этого самого требуют от меня люди, давшие мне власть», говорят правители.
<br>
«Если я отнимаю у людей собственность, хватаю их от семьи, запираю, ссылаю, казню, если я убиваю людей чужого народа, разоряю их, стреляю в городах по женщинам и детям, то я делаю это не потому, что хочу этого, а только потому, что исполняю волю власти, которой я обещал повиноваться для блага общего», говорят подвластные.
<br>
В этом обман лжеучения государства. Только это укоренившееся лжеучение дает безумную, ничем не оправдываемую, власть сотням людей над миллионами и лишает истинной свободы эти миллионы. Не может человек, живущий в Канаде или в Канзасе, в Богемии, в Малороссии, Нормандии, быть свободен, пока он считает себя (и часто гордится этим) британским, североамериканским, австрийским, русским, французским гражданином.
<br>
Не может и правительство, призвание которого состоит в том, чтобы соблюдать единство такого невозможного и бессмысленного соединения как Россия, Британия, Германия, Франция — дать своим гражданам настоящую свободу, а не подобие ее, как это делается при всяких хитроумных конституциях, монархических, республиканских, или демократических. Главная и едва ли не единственная причина отсутствия свободы — лжеучение о необходимости государства.
<br>
Люди могут быть лишены свободы и при отсутствии государства, но при принадлежности людей к государству не может быть свободы.
</p>
<small>Лев Николаевич Толстой</small>
<hr>
<p>
To the question, how to be without a State, without courts, armies, and so on, an answer cannot be given, because the question is badly formulated. The problem is not how to arrange a State after the pattern of today, or after a new pattern. Neither I, nor any of us, is appointed to settle that question.
<br>
But, though voluntarily, yet inevitably must we answer the question, how shall I act faced with the problem which ever arises before me? Am I to submit my conscience to the acts taking place around me, am I to proclaim myself in agreement with the Government, which hangs erring men, sends soldiers to murder, demoralizes nations with opium and spirits, and so on, or am I to submit my actions to conscience, i.e., not participate in Government, the actions of which are contrary to reason?
<br>
What will be the outcome of this, what kind of a Government there will be — of all this I know nothing; not that I don’t wish to know; but that I cannot. I only know that nothing evil can result from my following the higher guidance of wisdom and love, or wise love, which is implanted in me, just as nothing evil comes of the bee following the instinct implanted in her, and flying out of the hive with the swarm, we should say, to ruin.[1] But, I repeat, I do not wish to and cannot judge about this.
<br>
In this precisely consists the power of Christ’s teaching and that not because Christ is God or a great man, but because His teaching is irrefutable. The merit of His teaching consists in the fact that it transferred the matter from the domain of eternal doubt and conjecture on to the ground of certainty. You are a man, a being rational and kind, and you know that today or tomorrow you will die, disappear. If there be a God then you will go to Him and He will ask of you an account of your actions, whether you have acted in accordance with His law, or, at least, with the higher qualities implanted in you. If there be no God, you regard reason and love as the highest qualities, and must submit to them your other inclinations, and not let them submit to your animal nature — to the cares about the commodities of life, to the fear of annoyance and material calamities.
<br>
The question is not, I repeat, which community will be the more secure, the better — the one which is defended by arms, cannons, gallows or the one that is not so safeguarded. But there is only one question for a man, and on it is impossible to evade: “Will you, a rational and good being, having for a moment appeared in this world, and at any moment liable to disappear — will you take part in the murder of erring men or men of a different race, will you participate in the extermination of whole nations of so-called savages, will you participate in the artificial deterioration of generations of men by means of opium and spirits for the sake of profit, will you participate in all these actions, or even be in agreement with those who permit them, or will you not?”
<br>
And there can be but one answer to this question for those to whom it has presented itself. As to what the outcome will be of it, I don’t know, because it is not given to me to know. But what should be done, I do unmistakably know. And if you ask: “What will happen?”, then I reply that good will certainly happen; because, acting in the way indicated by reason and love, I am acting in accordance with the highest law known to me. The situation of the majority of men, enlightened by true brotherly enlightenment, at present crushed by the deceit and cunning of usurpers, who are forcing them to ruin their own lives — this situation is terrible and appears hopeless.
<br>
Only two issues present themselves, and both are closed. One is to destroy violence by violence, by terrorism, dynamite bombs and daggers as our Nihilists and Anarchists have attempted to do, to destroy this conspiracy of Governments against nations, from without; the other is to come to an agreement with the Government, making concessions to it, participating in it, in order gradually to disentangle the net which is binding the people, and to set them free. Both these issues are closed. Dynamite and the dagger, as experience has already shown, only cause reaction, and destroy the most valuable power, the only one at our command, that of public opinion.
<br>
The other issue is closed, because Governments have already learnt how far they may allow the participation of men wishing to reform them. They admit only that which does not infringe, which is non-essential; and they are very sensitive concerning things harmful to them — sensitive because the matter concerns their own existence. They admit men who do not share their views, and who desire reform, not only in order to satisfy the demands of these men, but also in their own interest, in that of the Government. These men are dangerous to the Governments if they remain outside them and revolt against them — opposing to the Governments the only effective instrument the Governments possess — public opinion; they must therefore render these men harmless, attracting them by means of concessions, in order to render them innocuous (like cultivated microbes), and then make them serve the aims of the Governments, i.e., oppress and exploit the masses.
<br>
Both these issues being firmly closed and impregnable, what remains to be done?
<br>
To use violence is impossible; it would only cause reaction. To join the ranks of the Government is also impossible — one would only become its instrument. One course therefore remains — to fight the Government by means of thought, speech, actions, life, neither yielding to Government nor joining its ranks and thereby increasing its power.
<br>
This alone is needed, will certainly be successful.
<br>
And this is the will of God, the teaching of Christ. There can be only one permanent revolution — a moral one: the regeneration of the inner man.
<br>
How is this revolution to take place? Nobody knows how it will take place in humanity, but every man feels it clearly in himself. And yet in our world everybody thinks of changing humanity, and nobody thinks of changing himself.
</p>
<small>Leo Tolstoy</small>
<hr>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">PrivateBlog</h3>
</div>
<div class="panel-body">
<p>Private Blog is a blog aggregator written in PHP. All posts are stored in <a href="http://emercoin.com/">emercoin</a> blockchain.</p>
<p>All posts are stored in emercoin blockchain. The posts can be either anonymous or have anonymous blogger as an author. The posts can also reply to each other. The posts can be created, updated or deleted only by an owner of emercoin wallet using name-value storage (NVS).</p>
<p>The blockchain values from NVS gets parsed by this aggregator using <code>@key="value"</code> params inside the NVS value (Emercoin wallet "Manage Names" section).</p>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Register a blogger (optional)</h3>
</div>
<div class="panel-body">
<ol>
<li>Create a record named <code>blogger:username</code> in emercoin NVS</li>
<li>Add optional value as a user description. </li>
</ol>
<ul class="list-group">
<li class="list-group-item">
<b>@key</b> emercoin address (example <code>ENwm9Aq8vHgTW6akyti3vQSZJK2qPAGaYW</code>)
</li>
<li class="list-group-item">
<b>@sig</b> the bloggers signature, result of <code>signmessage "emercoinaddress" "username"</code> command from emercoin console or RPC
</li>
</ul>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Make a post</h3>
</div>
<div class="panel-body">
<ol>
<li>Create a record named blog:postname in emercoin NVS</li>
<li>The value will be the post body. (The body can contain all HTML tags except < script > tag )</li>
</ol>
<ul class="list-group">
<li class="list-group-item"><b>@title</b> title of a post (optional)</li>
<li class="list-group-item"><b>@lang</b> the <a href="https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes">ISO_639-1</a> code of post language (optional, default en)</li>
<li class="list-group-item"><b>@username</b> username of blogger (optional)</li>
<li class="list-group-item"><b>@sig</b> (optional used with @username)
The result of <code>signmessage "emercoinaddress" "username:postname"</code> command, where emercoinaddress is @key from user's record and postname is this post name from blog:postname. This signature gets verified by <code>verifymessage "emercoinaddress" "@sig" "username:postname"</code> command</li>
<li class="list-group-item"><b>@keywords</b> "drugs,sex,rockandroll" (optional)</li>
<li class="list-group-item"><b>@reply</b> the name of the post you want to reply to (optional)</li>
</ul>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Make a reply to other post</h3>
</div>
<div class="panel-body">
<ul class="list-group">
<li class="list-group-item">Any post can reply to any other post using <b>@reply</b> keyword </li>
<li class="list-group-item"><b>@reply</b> the name of the post you want to reply to</li>
</ul>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Links to other posts</h3>
</div>
<div class="panel-body">
<code>#post_name_link_to="link caption"</code>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Big files</h3>
</div>
<div class="panel-body">
Large files > 20kb is divided into parts
<h5>Execute console commands:</h5>
<ol>
<li><code>split --bytes=18k Konrad_Curze_sketch_small.jpg</code></li>
<li><code>md5sum Konrad_Curze_sketch_small.jpg</code></li>
<li><code>file -b --mime-type Konrad_Curze_sketch_small.jpg</code></li>
</ol>
<h5>Create NVS records</h5>
<ul class="list-group">
<li class="list-group-item">NVS name: file:file_hash (<code>file:3d9c09df0d72f0a3b02d03a89d2ee5b1</code>)</li>
<li class="list-group-item">NVS value <code>{"content_type": "image/jpeg", "name": "Konrad_Curze_sketch_small.jpg", "parts": 5}</code></li>
<li class="list-group-item">file:file_hash:1 (file:3d9c09df0d72f0a3b02d03a89d2ee5b1:1) - part 1 of file Konrad_Curze_sketch_small.jpg</li>
<li class="list-group-item">...</li>
<li class="list-group-item">file:file_hash:5 - part 5</li>
</ul>
<ul>
<li><b>$$$hash_of_file</b> - url to file</li>
<li><b>$hash_of_file="link caption"</b> - link to file</li>
</ul>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Useful console commands</h3>
</div>
<div class="panel-body">
Emercoin wallet -> Help -> Debug window -> Console
<ul class="list-group">
<li class="list-group-item">
<h5>name_scan</h5>
<code>
name_scan [start-name] [max-returned] [max-value-length=-1] [valuetype] <br>
Scan all names, starting at start-name and returning a maximum number of entries (default 500) <br>
You can also control the length of shown value (0 = full value) <br>
[valuetype] : if "hex" or "base64" is specified then it will print value in corresponding format instead of string. <br>
</code>
</li>
<li class="list-group-item">
<h5>name_list</h5>
<code>
name_list [name] [valuetype] <br>
list my own names. <br> <br>
Arguments: <br>
1. name (string, required) Restrict output to specific name. <br>
2. valuetype (string, optional) If "hex" or "base64" is specified then it will print value in corresponding format instead of string.
</code>
</li>
<li class="list-group-item">
<h5>name_filter</h5>
<code>
name_filter [regexp] [maxage=0] [from=0] [nb=0] [stat] [valuetype] <br>
scan and filter names <br>
[regexp] : apply [regexp] on names, empty means all names <br>
[maxage] : look in last [maxage] blocks <br>
[from] : show results from number [from] <br>
[nb] : show [nb] results, 0 means all <br>
[stat] : show some stats instead of results <br>
[valuetype] : if "hex" or "base64" is specified then it will print value in corresponding format instead of string. <br>
name_filter "" 5 # list names updated in last 5 blocks <br>
name_filter "^id/" # list all names from the "id" namespace <br>
name_filter "^id/" 0 0 0 stat # display stats (number of names) on active names from the "id" namespace
</code> <br> <br>
Example: <br>
<code>name_filter "^blog:.+"</code> <br>
<code>name_filter "^blogger:.+"</code>
</li>
<li class="list-group-item">
<h5>signmessage</h5>
<code>
signmessage "emercoinaddress" "message" <br> <br>
Sign a message with the private key of an address <br>
Requires wallet passphrase to be set with walletpassphrase call. <br> <br>
Arguments: <br>
1. "emercoinaddress" (string, required) The emercoin address to use for the private key. <br>
2. "message" (string, required) The message to create a signature of. <br>
Result: <br>
"signature" (string) The signature of the message encoded in base 64 <br> <br>
Examples: <br> <br>
Unlock the wallet for 30 seconds <br>
> emercoin-cli walletpassphrase "mypassphrase" 30 <br> <br>
Create the signature <br>
> emercoin-cli signmessage "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XZ" "my message" <br> <br>
Verify the signature <br>
> emercoin-cli verifymessage "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XZ" "signature" "my message" <br> <br>
As json rpc <br>
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "signmessage", "params": ["1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XZ", "my message"] }' -H 'content-type: text/plain;' http://127.0.0.1:6662/
</code>
</li>
<li class="list-group-item">
<h5>verifymessage</h5>
<code>
verifymessage "emercoinaddress" "signature" "message" <br> <br>
Verify a signed message <br> <br>
Arguments: <br>
1. "emercoinaddress" (string, required) The emercoin address to use for the signature. <br>
2. "signature" (string, required) The signature provided by the signer in base 64 encoding (see signmessage). <br>
3. "message" (string, required) The message that was signed. <br> <br>
Result: <br>
true|false (boolean) If the signature is verified or not. <br> <br>
Examples: <br>
Unlock the wallet for 30 seconds <br>
> emercoin-cli walletpassphrase "mypassphrase" 30 <br> <br>
Create the signature <br>
> emercoin-cli signmessage "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XZ" "my message" <br> <br>
Verify the signature <br>
> emercoin-cli verifymessage "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XZ" "signature" "my message" <br> <br>
As json rpc <br>
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "verifymessage", "params": ["1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XZ", "signature", "my message"] }' -H 'content-type: text/plain;' http://127.0.0.1:6662/
</code>
</li>
</ul>
</div>
</div>
<hr>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Links</h3>
</div>
<div class="panel-body">
<ul class="list-group">
<li class="list-group-item"><a href="http://emercoin.com/">Emercoin</a></li>
<li class="list-group-item"><a href="http://coinmarketcap.com/currencies/emercoin/#markets">Market cap</a></li>
<li class="list-group-item"><a href="https://bitcointalk.org/index.php?topic=362513.0">Forum (en)</a></li>
<li class="list-group-item"><a href="https://forum.bits.media/index.php?/topic/3408-emc-emercoin-pos/">Forum (ru)</a></li>
<li class="list-group-item"><a href="http://www.blockchainengine.org/en/">Developer resources</a></li>
<li class="list-group-item"><a href="https://github.com/Alex014/PrivateBlog">Git hub</a></li>
<li class="list-group-item"><a href="mailto:chosenone111@protonmail.com?subject=Private Blog">Email me</a></li>
</ul>
</div>
</div>
</div><!-- /.container -->
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="/js/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="../../assets/js/vendor/jquery.min.js"><\/script>')</script>
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script src="/js/ie10-viewport-bug-workaround.js"></script>
<script src="/js/bootstrap.min.js"></script>
</body></html>