-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscratch-pad.html
More file actions
356 lines (240 loc) · 12.1 KB
/
scratch-pad.html
File metadata and controls
356 lines (240 loc) · 12.1 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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>Scratch Pad - regz.info</title>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<link rel="stylesheet" type="text/css" href="/tmp/style.css">
</head>
<body>
<header>
<h1><a href="http://regz.info">regz.info</a></h1>
</header>
<div class="wrapper">
<section>
<h2>Public Scratch Pad by <a href="adam-terrey">Adam Terrey</a></h2>
<p>Personal clipboard for notes of all topics which can be public. Creative spelling and grammer is used.</p>
<hr/>
Blog idea - "how I use my iPhone"
<hr/>
Daily reports are really really good! Keeps a log of important aspects of your day if you need to refer to them.
<hr/>
I like this site https://raymii.org/
<hr/>
break on contiong:
<pre>
break 938, 'dateutil' in repr(dist.requires(req.extras)[::-1])
</pre>
<hr/>
From http://git-scm.com/book/en/Git-Basics-Undoing-Things:<br/>
"One of the common undos takes place when you commit too early and possibly forget to add some files, or you mess up your commit message. If you want to try that commit again, you can run commit with the --amend option:"
<pre>
$ git commit --amend
</pre>
<hr/>
Search code on the internet: http://code.ohloh.net/
<hr/>
The keyboard shortcut to edit a cell in Excel/gnumeric etc.. is F2
<hr/>
Interest in infrastructure documentation - http://www.cozumpark.com/files/folders/yuklemeler/entry113635.aspx
<hr/>
The mac ram compression is also available on linux with zram - http://en.wikipedia.org/wiki/Zram
<hr/>
This is an excelant way to navigate python source code: http://pydoc.net/
<hr/>
<p>
Went to a squiz presentation (with free breakfast). Interesting talk on "YOU GET WHAT YOU DESIGN: THE PSYCHOLOGY OF USER EXPERIENCE"
</p>
Things learnt:
<ul>
<li>Attention as an element of UX design - questions like
"am I able to direct my attention to a particular aspect of the site",
"can I isolate what I'm looking for", (some other aspect which I can't recall.. paying attention??)
</li>
<li>Recognition is far better then recall - asking people to recall things is harder. Sites need to place little domands on memory.</li>
<li>
UX elements need to support the content/message rather then distract from it. Large impressive backgrounds or parralax bagrounds were given as an example that are good
when they support, but are bad when they make it difficult to find the call to action etc.
</li>
<li>
links that turn pupple when clicked are good UI because it helps the user know where they have been
</li>
<li>
People come to a site to "find what they are looking for" or "compleate some task"
</li>
</ul>
<hr/>
A better way to do sed things - http://lifecs.likai.org/2008/10/using-perl-like-awk-and-sed.html
<hr/>
Preventing an upstart service in Ubuntu from starting...
<pr>
echo 'manual' > /etc/init/SERVICE.override
</pr>
http://askubuntu.com/questions/19320/recommended-way-to-enable-disable-services?answertab=votes#tab-top
<hr/>
The Haproxy queue diagram, exactly what I need:<br/>
http://haproxy.1wt.eu/download/1.3/doc/queuing.pdf
<p>
Alsot this thread on queuing is useful http://marc.info/?l=haproxy&m=125598609728879&w=2
</p>
<hr/>
from: http://peter-butkovic.blogspot.com.au/2013/08/tail-inotify-resources-exhausted.html
<pre>
...
I got error:
tail: die Inotify-Resourcen sind erschöpft
tail: Inotify kann nicht verwendet werden, es wird auf Pollen zurückgegriffen
- See more at: http://peter-butkovic.blogspot.com.au/2013/08/tail-inotify-resources-exhausted.html#sthash.R9ED9fm2.dpuf
...
cat /proc/sys/fs/inotify/max_user_watches
...
echo 1048576 > /proc/sys/fs/inotify/max_user_watches
...
Adding line:
fs.inotify.max_user_watches=1048576
to:
/etc/sysctl.conf
fixed the limit value permanently (even between restarts)...
...
</pre>
<hr/>
Getting into LDAP:
<ol>
<li>Look at the LDIF file format. Can start Databases in plain text format.</li>
</ol>
<hr/>
Decoding or encoding SAML through the web - http://www.ssocircle.com/en/1203/saml-request-online-decoder-encoder/
<hr/>
<p>
Getting a stack trace from your zope instances which have lock-up can be done by sending SIGUSR1 to the zope process.
A stack trace for all threads will be printed to stdout. This is documented by reading the code :( but retrospectivly
I also googled it and found it in the Change log. It is now here for everyone to know.
</p>
<p>probably worth knowing some background on signals http://docs.python.org/2/library/signal.html</p>
<hr/>
<p>
Greate too to use during deployments for visibility on what your doing. (as well as saving your (my) ass)<br/>
http://www.refreshthis.com/
</p>
<hr/>
<p>
Ever wanted to know the contents of a unicode string? http://rishida.net/scripts/uniview/#title
</p>
<p>
Extreamly useful if you want to see what is in your white space
</p>
<p>Also a useful method in xpath http://stackoverflow.com/questions/1852571/xpath-function-to-remove-white-space</p>
<hr/>
<p>
The most profitable form of communication (possible even an aspect of the goal/joy of relationships)
s face to face. Most safe, most clear, most bonding.
</p>
<hr/>
<p>opinion: Your email provider should not be giving your email for free</p>
<p>
For something so so important, you should at least have the a relationship with your email provider
for which you are a customor and they are responsible to you, otherwise running your own email service
is a good options too.
</p>
<hr/>
running jenkins (http://jenkins-ci.org/) , this is how ubuntu does it:
<pre>
jenkins 10211 1.6 2.9 4599636 182496 ? Ssl 16:27 0:10 /usr/bin/java -jar /usr/share/jenkins/jenkins.war --webroot=/var/run/jenkins/war --httpPort=8080 --ajp13Port=-1 --preferredClassLoader=java.net.URLClassLoader --logfile=/var/log/jenkins/jenkins.log
</pre>
<hr/>
"Plumi - a free open-source video-sharing app" http://blog.plumi.org/
<hr/>
A graphical diff viewer - I highly rate http://meldmerge.org/ (available also in apt on ubuntu) Not only views but
lets you perform a merge accepting/rejecting chunks, directory compare and three way chunk merging is awesome :)
<hr/>
Super helpful information about CSS formation:
https://developer.mozilla.org/en-US/docs/Web/CSS/Block_formatting_context
<hr/>
hacknight - http://www.meetup.com/sydneypython/events/136867712/
<hr/>
Got cought out today by an API becoming depreciated. Only a local a desktop tool, but.. I do Need a better way
to track what APIs i'm
currently subscribed to.
<hr/>
<p>
Interesting that google is offering free online webaccessibility course... https://webaccessibility.withgoogle.com/preview
</p>
<p>
I suspect that because better internet expirense is better business for them, it makes sense for it to be free.
</p>
<hr/>
<!-- notes start here, use <h1/> to seperate -->
Mail systems need good monitoring - of their errors which they produce.
<hr/>
I notice, there is no concept of "home page" on mobile browsers.
<hr/>
<p>To puse and resume a process in linux:</p>
<pre>
kill -STOP <i>pid</i>
kill -CONT <i>pid</i>
</pre>
<hr/>
</p>
I really love this email testing utility: http://www.brandonchecketts.com/emailtest.php
</p>
<p>Includes testing for:</p>
<ul>
<li>DomainKeys</li>
<li>DKIM</li>
<li>SPF Records</li>
<li>Spam Assassin</li>
</ul>
<hr/>
<p>OTRS - search to find tickets open for multiple clients:</p>
<p>clientA OR clientB OR clientC</p>
<hr/>
<p>A developer work flow - rather quick rant but better then nothing.</p>
<ul>
<li>Who are the poeple I need to communicate with?</li>
<li>What is the documentation and tests for the project?</li>
<li>What is being required?</li>
<li>Get access to verious envs - authenticate etc....</li>
<li>Set-up dev environment - check and test that you have the right code and it works properly</li>
<li>Do development check in stuff or document stuff or talk to people or learn stuff</li>
<li>Sep-up prod deployment environment and pull work from you dev environment</li>
<li>Think</li>
<li>Deploy</li>
<li>Email people close tickets</li>
</ul><hr><p>Words</p>
<ul>
<li>150 - from Dictionary browsing</li>
<li>150 - from English to Vietnamese of selected topics</li>
<li>100 - from Reading VN bible
20 words per day for 20 days... đi</li>
</ul><hr><p>static page generators written in python:</p>
<ul>
<li><a href="http://nikola.ralsina.com.ar/">http://nikola.ralsina.com.ar/</a></li>
<li><a href="http://docs.getpelican.com/en/3.1.1/">http://docs.getpelican.com/en/3.1.1/</a></li>
</ul><p>Nikola is recommended to me because it supports image galleries. Will need to restructure my repos because Nikola outputs to a sub directory and github pages doesn't seem to support having a separate root dir.</p>
<p>Initial thoughts on structuring this site is to just have only one story/page like it is now - but no content images just text.</p>
<hr><p>--Marker-- 2013-03-28</p>
<hr><p>Another idea - A <strong>desktop windowing system</strong> where the windows do not reorder but rather - clicking on a window underneath lifts the windows above it off the screen.</p>
<hr><p><strong>An advanced search engine</strong> I would really like (I would love to write it): Were indexes in the search engine are exposed as well as a defined query language API which can be used - I would pay for it.. I want a search engine with technical ability and is not pretending to be too smart and read my mind.</p>
<hr><p>This is page is probably the enemy of search engines. and aggregates. sorry, it is only really for my own use. It is kind of like my <strong>bookmarks</strong> but for thoughts as well as urls.</p>
<hr><p><a href="http://todoist.com/">http://todoist.com/</a> slick looking web app. Looks quite functional but I'm not sure about a karma rating. New-age blah!</p>
<p>I prefer <a href="https://www.gqueues.com/">https://www.gqueues.com/</a> for nice order-able lists.</p>
<hr><p>Some links for querying the Plone catalog:</p>
<ul>
<li><a href="http://developer.plone.org/searching_and_indexing/query.html">http://developer.plone.org/searching_and_indexing/query.html</a></li>
<li><a href="http://wyden.com/plone/basics/searching-the-catalog">http://wyden.com/plone/basics/searching-the-catalog</a></li>
</ul><hr><p>robotframework + Selenium2Library is super cool!! Watching the framework use the web browser to do tests!</p>
<p><a href="http://code.google.com/p/robotframework/">http://code.google.com/p/robotframework/</a>
<a href="https://bitbucket.org/robotframework/webdemo">https://bitbucket.org/robotframework/webdemo</a></p>
<hr><p><strong>Six Hats</strong> thinking for discussion and thinking - seems quite useful for through exploration. My first comment is that the framework is issue focused and finding the best resolution to an issue - good for lots of situations but may not be loving when the issue less important to the people in the issue.
<a href="http://spin.atomicobject.com/2013/03/26/six-thinking-hats/">http://spin.atomicobject.com/2013/03/26/six-thinking-hats/</a>
<a href="http://c2.com/cgi/wiki?SixThinkingHats">http://c2.com/cgi/wiki?SixThinkingHats</a></p>
<hr><p>--Marker-- 2013-03-27</p>
<hr><p>UI Interaction in Plone - The publication state is more significant for a content items permissions then the sharing tab. Meaning that a user might click on the sharing tab for a published item - uncheck the "inherit permissions" tick box and then click "View" for the group that they are intending to restrict permissions not realising that their intention to restrict is trumped by the publication state of the item. The sharing tab should not allow or at least give warning when you try to grant permissions to a group or user who already has that permission. Or the publication state should be more clearly assosiated with the permissions model... perhaps even making the sharing tab labeled - "publication and sharing" and displaying the publication implications to the permissions in the tab.</p>
<hr><p>--Marker-- 2013-03-26</p>
<hr>
</section>
</div>
<!--[if !IE]><script>fixScale(document);</script><![endif]-->
</body>
</html>