shlomi-fish-homepage / lib / MyNavData.pm

  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
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
package MyNavData;

my $hosts =
{
    t2 => 
    {
        base_url => "http://www.shlomifish.org/",
    },
    vipe =>
    {
        base_url => "http://www.shlomifish.org/Vipe/",
    },
};

sub get_hosts
{
    return $hosts;
}

my @personal_expand = (expand => { bool => 1, capt => 0,},);
my @humour_expand = (re => q{^(?:humour/|(?:humour|wysiwyt|wonderous).html)});

my $tree_contents =
{
    host => "t2",
    text => "Shlomi Fish",
    title => "Shlomi Fish's Homepage",
    show_always => 1,
    subs =>
    [
        {
            text => "Shlomi Fish's Homepage",
            url => "",
        },
        {
            text => "About Myself",
            url => "me/",
            @personal_expand,
            subs => 
            [
                {
                    text => "Bio",
                    url => "personal.html",
                    title => "A Short Biography of Myself",
                    expand => { re => "^(?:me|personal/)", },
                    subs =>
                    [
                        {
                            text => "Intros",
                            url => "me/intros/",
                            title => "Introductions of Me to Various Forums",
                            subs =>
                            [
                                {
                                    text => "MIT Writers",
                                    url => "me/intros/writers/",
                                    title => "My Intro to the MIT Writers Mailing List",
                                },
                            ],
                        },
                    ],
                },
                {
                    text => "Contact Me",
                    url => "me/contact-me/",
                    title=> "How to Contact Me",
                },
                {
                    text => "My Resumés",
                    url => "me/resumes/",
                    subs =>
                    [
                        {
                            text => "English Resumé",
                            url => "SFresume.html",
                            skip => 1,
                        },
                        {
                            text => "Detailed English Resumé",
                            url => "SFresume_detailed.html",
                            skip => 1,
                        },
                    ],
                },
                {
                    text => "Personal Ad",
                    url => "me/personal-ad.html",
                    title => "My Personal Ad: what I'm looking for in a prospective girlfriend and what I can add to the relationship.",
                },
                {
                    text => "My Weblogs",
                    url => "me/blogs/",
                    title => "Links to my online journals.",
                },
                {
                    text => "Interviews",
                    url => "me/interviews/",
                    title => "Interviews that were conducted with me",
                },
            ],               
        },
        {
            text => "Humour", 
            url => "humour/",
            expand => { @humour_expand },
            title => "My Humorous Creations",
            subs => 
            [
                {
                    text => "Stories",
                    url => "humour/stories/",
                    title => "Large-Scale Stories I Wrote",
                    expand => { @humour_expand, capt => 0,},
                    subs =>
                    [
                        {
                            text => "The Enemy", 
                            url => "humour/TheEnemy/",
                            title => "The Enemy and How I Helped to Fight It",
                        },
                        {
                            text => "TOW The Fountainhead",
                            url => "humour/TOWTF/",
                            title => "The One with the Fountainhead",
                        },
                        {
                            text => "Human Hacking Field Guide",
                            url => "humour/human-hacking/",
                            title => "The Human Hacking Field Guide",
                        },
                        {
                            text => "We, the Living Dead",
                            url => "humour/Star-Trek/We-the-Living-Dead/",
                        },
                        {
                            text => "The Pope",
                            url => "humour/Pope/",
                            title => "The Pope Died on Sunday",
                        },
                    ],
                },
                {
                    text => "Aphorisms and Quotes",
                    url => "humour/aphorisms/",
                    expand => { @humour_expand, capt => 0,},
                    subs =>
                    [
                        {
                            text => "My Quotes Collection",
                            title => ("Collection of Funny or Insightful " . 
                                "Quotes or Aphorisms I came up with"),
                            url => "humour.html",
                        },
                        {
                            text => "Fortune Cookies Collection",
                            title => "Collection of Files for Input to the UNIX 'fortune' Program",
                            url => "humour/fortunes/",
                        },
                    ],
                },
                {
                    text => "Small Scale",
                    url => "humour/bits/",
                    expand => { re => "^humour/bits/", },
                    title => "Small Scale Funny Works of Mine",
                    subs =>
                    [
                        {
                            text => "Factoids",
                            title => ""Facts&qout; about Chuck Norris and other things",
                            url => "humour/bits/facts/",
                        },
                    ],
                },
                {
                    text => "By Others",
                    url => "humour/by-others/",
                    expand => { re => "^humour/(?:by-others|GNU-Visual-Basic)/", },
                    title => "Humorous Works by Other People",
                },
            ],
        },
        {
            text => "Puzzles",
            url => "puzzles/",
            expand => { re => "^(MathVentures/|puzzles/)", },
            title => "Puzzles, Riddles and Brain-teasers",
            subs =>
            [
                {
                    text => "Math-Ventures",
                    url => "MathVentures/",
                    expand => { re => "^MathVentures/", },
                    title => "Mathematical Riddles and their Solutions",
                },
                {
                    text => "Logic Puzzles",
                    url => "puzzles/logic/",
                    expand => { re => "^puzzles/logic/", },
                },
            ],
        },
        {
            text => "Computer Art",
            url => "art/",
            expand => { re => "^art/", },
            title => "Computer art I created while explaining how.",
            subs =>
            [
                {
                    text => "Back to my Homepage",
                    url => "art/bk2hp/",
                    title => "A Back to my Homepage logo not unlike the one from the movie "Back to the Future"",
                },
                {
                    text => "Linux Banner",
                    url => "art/linux_banner/",
                    title => "Linux - Because Software Problems should not Cost Money",
                },
                {
                    text => "Made with Latemp",
                    url => "art/made-with-latemp/",
                    title => ""Made with Latemp" Button",
                },
                {
                    text => "HHFG Background",
                    url => "art/hhfg-background/",
                    title => "Background Image for the "Human Hacking Field Guide" Story",
                },
                {
                    text => "Better SCM Logo",
                    url => "art/better-scm/",
                    title => "Logo for the  "Better SCM" Site",
                },
                {
                    text => "Slogans' Designs",
                    url => "art/slogans/",
                    title => "The design of my aphorism - useful for T-shirts and other merchandise",
                },
            ],
        },
        {
            text => "Software",
            url => "open-source/",
            expand => { re => "^open-source/", },
            title => "Pages related to Software (mostly Open-Source)",
            subs => 
            [
                {
                    text => "Projects",
                    url => "open-source/projects/",
                    expand => { re => "^(open-source/projects|jmikmod|rwlock|grad-fu)/", },
                    subs =>
                    [
                        {
                            text => "Freecell Solver",
                            url => "open-source/projects/freecell-solver/",
                        },
                        {
                            text => "MikMod for Java",
                            title => "A Player for MOD Files (a type of Music Files) for the Java Environment",
                            url => "jmikmod/",
                        },
                        {
                            text => "FCFS RWLock",
                            title => "A First-Come First-Served Readers/Writers Lock",
                            url => "rwlock/",
                        },
                        {
                            text => "Quad-Pres",
                            title => "A Tool for Creating HTML Presentations",
                            url => "open-source/projects/quad-pres/",
                        },
                        {
                            text => "Gradient-Fu",
                            title => "Gradient-Fu Patch for the GIMP",
                            url => "grad-fu/",
                            hide => 1,
                        },                
                        {
                            text => "Bits and Bobs",
                            title => "Various Small-Scale Open-Source Works",
                            url => "open-source/bits.html",
                        },
                    ],
                },
                {
                    text => "Favourite OSS",
                    title => "Favourite Open-Source Software",
                    url => "open-source/favourite/",
                },
                {
                    text => "Interviews",
                    title => "Interviews with Open-Source People",
                    url => "open-source/interviews/",
                },
                {
                    text => "Contributions",
                    title => "Contributions to Other Projects, that I did not Start",
                    url => "open-source/contributions/",
                },
                {
                    text => "Anti Pages",
                    title => "Against Commonly Used but Bad Software",
                    url => "open-source/anti/",
                    expand => { re => "^(no-ie|open-source/anti)/", },
                },                
                {
                    text => "Portability Libraries",
                    title => "Cross-Platform Abstraction Libraries",
                    url => "open-source/portability-libs/",
                    hide => 1,
                },
                {
                    text => "Software Tools",
                    title => "Software Constructions and Management Tools",
                    url => "open-source/resources/software-tools/",
                    hide => 1,
                },
                
            ],
        },
        {
            text => "Lectures",
            url => "lecture/",
            expand => { re => "^lecture/", },
            title => "Presentations I Wrote (Mostly Technical)",
            subs => 
            [
                {
                    text => "Perl for Newbies",
                    url => "lecture/Perl/Newbies/",
                },
                {
                    text => "Web Publishing using LAMP",
                    url => "lecture/LAMP/",
                    host => "t2",
                    title => "Web Publishing using Linux, Apache, MySQL, and Perl/PHP/Python (or equivalents)",
                },
                {
                    text => "The Cathedral and the Bazaar",
                    url => "lecture/CatB/",
                },
                {
                    text => "Prog. Languages",
                    url => "lecture/cat/programming-languages/",
                    title => "Presentations about Programming Languages",
                },
                {
                    text => "Various Tools",
                    url => "lecture/cat/various-tools/",
                    title => "Presentations about Various Tools",
                },
                {
                    text => "Welcome to Linux",
                    url => "lecture/W2L/",
                    title => "Presentations for the Israeli series for Linux Newcomers",
                },
                {
                    text => "About My Projects",
                    url => "lecture/cat/projects/",
                    title => "Presentations about my Open Source Projects",
                },
                {
                    text => "Lightning Talks",
                    url => "lecture/cat/lightning-talks/",
                    title => "Short (5-15 minutes) Presentations",
                },
            ],
        },
        {
            text => "Essays",
            url => "philosophy/",
            expand => { re => "^(philosophy|prog-evolution|DeCSS)/", },
            title => "Various Essays and Articles about Technology and Philosophy in General",
            subs =>
            [
            
                {
                    text => "Index to Essays",
                    url => "philosophy/Index/",
                    title => "Index to Essays and Articles I wrote.",
                },
                {
                    text => "Computing",
                    url => "philosophy/computers/",
                    title => "Computing-related Essays and Articles",
                    expand => { re => "^(?:philosophy/computers/|prog-evolution)", },
                    subs =>
                    [
                        {
                            text => "Open Source",
                            url => "philosophy/computers/open-source/",
                            title => "Essays about Free and Open Source Software (FOSS)",
                        },
                        {
                            text => "Software Management",
                            url => "philosophy/computers/software-management/",
                            title => "Essays about how to manage software workplaces, projects and teams",
                        },
                        {
                            text => "Perl",
                            url => "philosophy/computers/perl/",
                            title => "Essays about the Perl programming language",
                        },
                        {
                            text => "The Web (WWW)",
                            url => "philosophy/computers/web/",
                            title => "About the World-Wide-Web",
                        },
                        {
                            text => "Education",
                            url => "philosophy/computers/education/",
                            title => "About Computer and Technical Education",
                        },
                    ],
                },
                {
                    text => "Political Essays",
                    url => "philosophy/politics/",
                    title => "Essays about Politics and" . 
                        "Philosophical Politics",
                    expand => { re => "^philosophy/politics/", },
                },
                {
                    text => "General Philosophy",
                    url => "philosophy/philosophy/",
                    expand => { re => "^philosophy/(philosophy/|the-eternal-jew/)" },
                },
            ],
        },
        {
            text => "Work",
            url => "work/",
            expand => { re => "", capt => 0,},
            title => "Work-Related Pages",
            subs =>
            [
                {
                    text => "Hire Me!",
                    url => "work/hire-me/",
                    title => "I'm a Geek for Hire",
                    expand => { re => "work/", },
                    subs =>
                    [
                        {
                            text => "Private Lessons",
                            url => "work/private-lessons/",
                            title => "I'm Giving Private Lessons for High School Subjects and Computing.",
                        },
                    ],
                },
            ],
        },
        {
            separator => 1,
            skip => 1,
        },
        {
            text => "Cool Links",
            url => "links.html",
            title => "An incomplete list of links I find cool and/or useful.",
        },
        {
            text => "Recommendations",
            url => "recommendations/",
            title => "Recommendations of Books, Compact Discs, Movies, etc.",
        },
        {
            separator => 1,
            skip => 1,
        },
        {
            url => "site-map/",
            text => "Site Map",
            title => "A site map showing all of the main pages.",
        },
        {
            separator => 1,
            skip => 1,
        },
        {
            expand_re => "^meta/",
            url => "meta/",
            text => "Meta Info",
            title => "Information about this Site",
            show_always => 1,
            subs =>
            [
                {
                    url => "meta/FAQ/",
                    text => "FAQ",
                    title => "Frequently Asked Questions and Answers List (FAQ)",
                },
                {
                    url => "meta/privacy-policy/",
                    text => "Privacy Policy",
                },
                {
                    url => "meta/site-source/",
                    text => "Site's Source",
                    title => "The source code used to generate this site",
                },
                {
                    url => "meta/how-to-help/",
                    text => "How to Help",
                    title => "How you can help promote this site",
                    subs =>                     
                    [
                        {
                            url => "meta/donate/",
                            text => "Please Donate",
                        },
                    ],
                },
                {
                    url => "meta/hosting/",
                    text => "Hosting",
                    title => "About this site's hosting provider.",
                },
            ],
        },
    ],
};

sub get_params
{
    return 
        (
            hosts => $hosts,
            tree_contents => $tree_contents,
        );
}

1;
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.