„Steal” My Content!

Currently, I am somewhat known for being „the guy doing the funny command line talks”. Which I am more or less ok with ;)

Apart from being recorded several times, I also getting asked frequently, if people are allowed to give similar talks at their local user group, company, …

PLEASE, PLEASE, PLEASE DO SO. By all means, „steal” my content! Reuse it! Adapt it to your needs! Convert your colleagues to command line users! Motivate your user group to switch to zsh! Knock your heart out!

That’s one of the reasons why I give these talks.

And if you add new content, it would be awesome if you would share it back with the community.

Further more, if you need help, want me as an additional speaker or need my slides and speaker notes, let me know. I am usually happy to share my resources.

Tagged as: , , | Author:
[Samstag, 20200125, 13:26 | permanent link | 0 Kommentar(e)

Links from 2019-12-19

The Decade Tech Lost Its Way

When the decade began, tech meant promise — cars that could drive themselves, social networks that could take down dictators. It connected us in ways we could barely imagine. But somewhere along the way, the flaws of technology became abundantly clear.

Keynes was wrong. Gen Z will have it worse.

In a famous essay from the early 1930s called “Economic Possibilities for Our Grandchildren,” Keynes imagined the world 100 years in the future. He spotted phenomena like job automation (which he called “technological unemployment”) coming, but those changes, he believed, augured progress: progress toward a better society, progress toward collective liberation from work.

Well, we know the grandchildren in the title of Keynes’s essay: they’re the kids and younger adults of today. The prime-age workforce of 2030 was born between 1976 and 2005. And though the precise predictions he made about the rate of economic growth and accumulation were strikingly accurate, what they mean for this generation is very different from what he imagined.

Tagged as: , , , | Author:
[Freitag, 20191220, 05:00 | permanent link | 0 Kommentar(e)

Links from 2019-12-07

4 authentication use cases: Which protocol to use?

The protocols discussed here cover SAML 2.0, OpenID Connect (OIDC) and OAuth2. Note that OAuth2 is not an authentication protocol, but because of the popularity of its use in cases such as enabling users to sign in with a social provider such as Facebook or Amazon, it is included here.
Identity, authentication and authorization protocols

These three protocols overlap frequently in functionality:

+ Identity protocols supply information about a user — such as a persistent identifier, phone or email address — that may be used for long-term identification of that user to your system and hence for authenticating the user and authorizing access to resources. SAML and OIDC are the best-known examples.

+ Authentication protocols do not necessarily carry a personal identifier. For example, the Kerberos system is based on the exchange of transient anonymous keys that, in themselves, include no identification data.

+ Authorization protocols, such as OAuth2 and UMA provide a means to acquire access-protected resources without requiring the resource owner to share credentials. Interactive user consent is an important aspect of these protocols. The OAuth2 protocol is often used, casually, for identity and authentication using user data, such as an identifier, returned in the OAuth2 process.

Tagged as: , , , | Author:
[Sonntag, 20191208, 05:00 | permanent link | 0 Kommentar(e)

Links from 2019-11-30

The fall and rise of a spyware empire

#staatstrojaner #bundestrojaner

Human rights abuse and a decimated reputation killed Hacking Team. The new owners want to rebuild.
Lezzi is the owner of Memento Labs and its parent company, InTheCyber. Memento Labs was formed in March when Lezzi acquired Hacking Team.

The company provides what it calls a “trusted implant” to get KRAIT onto the target’s device, meaning the malware will be delivered from what looks to the victim like a known source. It’s a service “making effortless the social engineering campaign.” KRAIT is a small agent and hides inside legitimate applications.

The result of 15 years of development, RCS X offers “invisible” infection of “99% of the most used platforms in the world,” including macOS, Linux, Android, iOS, and BlackBerry.

Tagged as: , , , | Author:
[Sonntag, 20191201, 05:00 | permanent link | 0 Kommentar(e)

Links from 2019-11-17

Fedora 30 - Laptop Close Lid Behavior

+ Edit /etc/systemd/logind.conf file:
+ Find text #HandleLidSwitch=suspend
+ Change suspend to ignore and remove the #
+ Save file with changes

Tagged as: , , , | Author:
[Montag, 20191118, 05:00 | permanent link | 0 Kommentar(e)

I Found A „Next Big Thing” (And A Job)

Dear readers,

you probably remember that I was looking for that „Next Big Thing” and a job? And that I was not able to exactly put into words what I really, really wanted?

Well, that process ended. I still don’t know, what I really, really want. But I found a „Next Big Thing” – and a job.

Spoiler: They are not the same.

So that „Next Big Thing” that found me – thanks to JoeMoe – is crate.io.
They are a very interesting StartUp in Dornbirn, that offers a solution/database to „scale modern applications in a machine data world”. crate is an awesome combination of NoSQL scalability with a SQL interface that provides a „no-change necessary” drop-in replacement ABI for Postgres. A technically very „funky”, very fast, very cool product. I love it. If you are into IoT, time series data and/or fast, scalable databases for massive ammounts of data, give crate a thorough look – it’s inspiring.
So why do I not work there? Well, I almost did, but it did not work out for personal reasons, that I am not discussing here. But if you are clever and bold and looking for a job or a fast, scalable database, please do give them a look. The product and the team are more then awesome. Just because it did not work out for me should by no means imply that they are not „The Next Big Thing” or a bad employer.

So where did I end up? Well, in the „Digital Solutions” department of HCL TechnologiesHCL Software” division. That’s the company, that – amongst other things – acquired Notes, Domino, Sametime, Connections, FEB (LEAP) and SafeLinx (IMC) from IBM. So as an „Senior Lab Services Consultant”, I will help existing and new Customers to gain the best out of our product portfolio. HCL has exciting plans for the whole product portfolio as well as the „low code/no code” market. I am very enthusiastic about all that, so contact me if you want to know more. ;)

So yes, I failed in finding that „zig-a-zag-ah”, but I found an interesting and challenging job within an inspiring team of friends and professionals, that already keeps me more then busy and very engaged.

I can not complain at all at the moment.

Tagged as: , , , , , | Author:
[Sonntag, 20191117, 16:02 | permanent link | 0 Kommentar(e)

Links from 2019-11-11

Text Editing Hates You Too

Back in 2017, I was building a rich text editor in the browser. Unsatisfied with existing libraries that used ContentEditable, I thought to myself “hey, I’ll just reimplement text selection myself! How difficult could it possibly be?” I was young. Naive. I estimated it would take two weeks. In reality, attempting to solve this problem would consume several years of my life, and even landed me a full time job for a year implementing text editing for a new operating system.

Text Rendering Hates You

Rendering text, how hard could it be? As it turns out, incredibly hard! To my knowledge, literally no system renders text "perfectly". It’s all best-effort, although some efforts are more important than others.

Tagged as: , , , | Author:
[Dienstag, 20191112, 05:00 | permanent link | 0 Kommentar(e)

Links from 2019-10-27

Neal Stephenson Wants To Tell Big Stories

Freedom is a funny word. It’s a hard thing to talk about because to a degree, if this kind of thing cuts down, let’s say, on random crime, then it’s going to make people effectively freer. Especially if you’re a woman or someone who is vulnerable to being the victim of random crime, if some kind of surveillance system renders that less likely to happen, then effectively you’ve been granted a freedom that you didn’t have before. But it’s not the kind of statutory freedom that we tend to talk about when we’re talking about politics.

Tagged as: , , , | Author:
[Montag, 20191028, 05:00 | permanent link | 0 Kommentar(e)

Links from 2019-10-16

The world in which IPv6 was a good design

Here’s the point of the whole thing. The IETF people, when they were thinking about IPv6, saw this mess getting made - and maybe predicted some of the additional mess that would happen, though I doubt they could have predicted SDN and wifi repeater modes - and they said, hey wait a minute, stop right there. We don’t need any of this crap! What if instead the world worked like this?

Tagged as: , , , | Author:
[Donnerstag, 20191017, 05:00 | permanent link | 0 Kommentar(e)

Links from 2019-10-13

FIRE movement - Wikipedia

The FIRE (Financial Independence, Retire Early) movement is a lifestyle movement whose goal is financial independence and retiring early. The model became particularly popular among millennials in the 2010s, gaining traction through online communities via information shared in blogs, podcasts, and online discussion forums.

Those seeking to attain FIRE intentionally maximize their savings rate by finding ways to increase income or decrease expenses. The objective is to accumulate assets until the resulting passive income provides enough money for living expenses in perpetuity. Many proponents of the FIRE movement suggest the 4% rule as a guide, thus setting a goal of at least 25 times estimated annual living expenses. Upon reaching financial independence, paid work becomes optional, allowing for retirement from traditional work decades earlier than the standard retirement age.

Fuck You Money: How Much Is Enough?

Another type of American Dream has now developed: The freedom to upturn your desk, give your boss the finger, and retire on the spot—without making a lifestyle sacrifice, of course.

In some circles, the wealth required to burn any bridge you want has a name: “f–k you money.” That’s because, well, backed by the First Amendment and a large fortune, you can yell that without consequences to pretty much anyone, save for a judge, a plumber, or a tax assessor.

Tagged as: , , , | Author:
[Montag, 20191014, 05:00 | permanent link | 0 Kommentar(e)

Links from 2019-10-04

Ten Principles for Growth as an Engineer

I decided then to write up the practices that I think lift a newly minted software engineer from amateur to professional: the path from fixing bugs as an “Engineer 1” to leading major projects as a “Senior Engineer.”

Persistent network configuration

In this tutorial, learn to manage the persistent network configuration of your Linux host. Learn to:

+ Understand basic TCP/IP host configuration.
+ Configure Ethernet and wifi networks using Network Manager.
+ Understand systemd-networkd.

Fundamentals of internet protocols

In this tutorial, learn about TCP/IP network fundamentals for your Linux system. Learn to:

+ Understand network masks and Classless Inter-Domain Routing (CIDR) notation.
+Know the differences between private and public dotted quad IP addresses.
+ Understand common Transmission Control Protocol (TCP) and User Datagram Protocol (UDP) ports and services.
+ Know the differences between and major features of UDP, TCP and Internet Control Message Protocol (ICMP).
+ Know the major differences between IPv4 and IPv6.
+ Know the basic features of IPv6.

Tagged as: , , , | Author:
[Samstag, 20191005, 05:00 | permanent link | 0 Kommentar(e)

Links from 2019-09-22

Infrastructure Review @CCCamp19

In this traditional lecture, various teams provide an inside look at how this Camps infrastructure was planned and built. You’ll learn what worked and what went wrong, and some of the talks may even contain facts!

c3Power Monitoring @ CCCamp 19

Infrastructure Review des Camp 2019 Stromnetz aus Sicht des auf der GPN in der Theorie vorgestellten Low Cost Power Monitoring. Aufbau des Monitoring-Netzes, Inbetriebnahme und Ergebnisse von Tag -1 bis Tag 4.

Wie verhält sich das Netz von c3Power auf dem Camp 2019 zu den verschiedene Tageszeiten, wie sieht die Auswertung von z.B. Lastverteilung, Netzoberwellen, Fehlerrate aus. Visualisierung der Daten in Grafana, Server Infrastruktur. Do:s and don’t:s vom Aufbau der Hardware, Betrieb bei 50 Grad plus und 10 cm Wasserstand im Freien. Stabilität des Campnetzes in den ersten 4 Tagen. Integration ins DMR Funknetz über MMDVM Hotspots zum Absenden der Fehlermeldungen als DMR SMS. Abhandeln der Störmeldungen. Impressionen vom c3power Team während des Events.

Tagged as: , , , | Author:
[Montag, 20190923, 05:00 | permanent link | 0 Kommentar(e)

So Tell Me What You Want, What You Really, Really Want

Yes, I am still available starting 2019-10-01.
Feel free to contact me any means available (except WhatsApp) or via email at job4martin<commercial at>leyrer.priv.at for my CV or any other information.

So that „Next Big Thing” that I’m looking for (also as a job)? I’m still looking for it.

Over the last few interviews and communications I had, a few things became clearer to me, on what I would like to have with a job and also, what not. To list a few:

  • I prefer customer facing roles (Architect, Services) over over solely internal roles
  • I would love to have an international job again. I love travel, I love working with a competent, diverse team on challenging projects. The number of those in Austria are „rather limited”. Or, to paraphrase Ex-Vice-Chancellor Hubert Gorbach: „The world in Austria is too small”.
  • I would like to stay within the Austrian social security system instead of starting in a foreign one
  • Same goes for taxes, but that would be more negotiable
  • But, given enough money, both above mentioned points are of course open for discussion ;)
  • I would prefer to stay in a technical role, although a few good friends of mine suggested that „beyond 40, you should move on to a managerial/administrative role, as the ‘young people’ run circles around you”. I beg to differ, and as roetzi rightfully said „it’s easier to switch from a technical into a manager role then vice versa”. I still have fun learning new stuff, I am good at it, so I will try to stay at it.

A topic I still haven’t found a satisfying answer for yet is „relocation”. citizen428, CTO at Lockstep Labs, and a very good friend of mine always gives me a friendly teasing about this and the reminder, that I should finally move to Bangkok.
I am not sure, if I am just content and at ease living in the city with the highest quality of living, or too afraid of moving to where the more interesting projects are (and I am not talking about Berlin!).
So for now, I prefer to have my homebase, my „home” in Vienna, Austria.

I also had an interesting encounter with a „Headhunter” I contacted on the recommendation of a friends friend. Apparently, he never read my blogposts and got stuck on my CV on the „Lotus/IBM/HCL Domino” part.
The first thing that came to my mind in that situation were the famous 20th century poets „Spice Girls”:

If you want my future
Forget my past
If you wanna get with me
Better make it fast
Now don’t go wasting
My precious time
Get your act together we could be just fine

Not surprisingly, I withdrew my request to use his services. ;)

I can almost hear your question now in my head: „So tell me what you want. what you really, really want?”. And I’ll tell you what I want, what I really, really want:

I wanna really, really
really wanna „Zig A Zag Ahhhh”

As Spice Girl Mel B once explained: „EVERYBODY needs a zig-a-zag-ah, and it’s whatever you want it to be.” And this also perfectly sums up my quest for „the next big thing” that I haven’t found yet. So please, keep your suggestions, comments, input coming!

Youtube: Spice Girls - Wannabe

Tagged as: , , , , , | Author:
[Sonntag, 20190804, 11:13 | permanent link | 0 Kommentar(e)

That „Next Big Thing”? - Yeah, I'm Still Looking (for a Job)

Yes, I am still available starting 2019-10-01.
Feel free to contact me any means available (except WhatsApp) or via email at job4martin<commercial at>leyrer.priv.at for my CV or any other information.

So that „Next Big Thing” that I’m looking for (also as a job)? I’m still looking for it. But since my last posting I learned a few things I want to share with you. Maybe they are helpful – or at least entertaining.

What I learned/(re)discovered about myself is, that I would love to have a job where I could smile like Adam Savage when he tries the Gravity Jet Suit for his Iron Man build. And have fun when working as a team like Adam and Laura Kampf when building an „Overengineered Bottle Opener” or Adam and Simone Giertz when playing electric shock games. Yes, one can dream. But that would be one of the signs of that „Next Big Thing”, when I get the gut feeling that I would REALLY enjoy working with and being challenged by that „thing” and the colleagues there.

The environment must feel right. I rejected one quite interesting job offer because my (in that case very light and amicable) sarcasm was not understood. Which is fine and I totally get it. But working with a boss who doesn’t understand how I communicate or always having to concentrate on how I communicate things (internally; in front of customers, that is a completely different thing) would probably not work out.

Ze cloud is everywhere. If you don’t „know” Cloud (basically AWS AND Google Cloud Platform AND MS Azure), you are not placeable. Funnily, nobody states what they mean by „know”. From what I gathered so far, it’s the knowledge of mapping functionality to product names. IMHO an „interesting” concept of „knowing”, but who am I to judge.
So „Cloud” for me is not interesting as „the next big thing” – IMHO it’s way past its „best used before” date.

Then a lot of people suggested (thanks for that!) „Security”. „Back in the 1990ties, IT-Security was ‘The Next Big Thing’. I built my company on it.”, was one sentence I heard. There are A LOT of job opportunities in that field. To my disadvantage, I know quite a few VERY GOOD people in the security field, whose expertise and knowledge I probably could never match. On the other hand, I see a lot of IMHO „underqualified” people rush into that market, with which I do not want to be associated with (call me a snob). So that is for me also a field I am not really comfortable searching jobs in.

The area of „Software defined Everything” looks interesting, but is primarily looking for 18 year old script kiddies with no personal life, 30 years experience in the market, at least a bachelors degree and salaries like a 16 year old intern so they can crank out code 24/7 at basically no cost. And it’s also past it’s „shiny and new” phase and currently the battle field of several operators which jockey for the pole position in the market. Not a fun place to be.

A few companies/jobs I picked already declined me after 1-3 interview rounds, usually proceeding with „people with more product experience”. Oh well. So I know how that feels as well.

Oh and don’t get me started about headhunters that put me in once category because they read one product name in my CV (in which I condensed >25 years of IT work into one A4 page). Or personnel-agencies on Xing that leave one message and then never reply to an email. Or „job advisers” that are surprised that your CV is in English when you are looking for an international job in IT. Oh the rants I could share …

Call me picky. ;) Yes, I still don’t exactly know what I want. Surprisingly, I am still rather relaxed. There are still a few interesting optios on the table. From techie/architect all the way to a teamlead-role. So I am still talking, still interviewing, still looking.

So if you think you spotted „The Next Big Thing” or at least an interesting/exciting job for me, please do let me know!

Tagged as: , , , , , | Author:
[Mittwoch, 20190717, 22:59 | permanent link | 0 Kommentar(e)

Links from 2019-07-07

D-STAR, C4FM, DMR & Co - YouTube

Digitale Sprachbetriebsarten für Einsteiger. Ein Vortrag von Kurt Baumann - OE1KBC

Tagged as: , , , | Author:
[Montag, 20190708, 05:00 | permanent link | 0 Kommentar(e)

Tail on Multiple (WAS) Log Files

If you are running, for example, IBM Connections as a "large deployment", you got at least 18 JVMs with their corresponding SystemOut.log files to monitor for errors, issues and the likes. Always stating them explicitly was – for me – too cumbersome. So I thought of an easier way. This is what I came up with.


According to the documentation, the WebSphere Application Server (WAS) log files are located in the following directories on each node in your WAS installation:


where path is the WebSphere Application Server installation path. By default, path is the following:


So in an IBM Connections 5.5 environment, there would be these log files:


So to get them all in one continuous log stream the following one-liner comes in handy:

find /opt/ibm/WebSphere/AppServer/profiles/node01/logs -name SystemOut.log -print0 | xargs --null tail -F

Of course, there are other solutions to this as well. One of them would be multitail, logcheck, Simple Log Watcher or lnav, but you would have to install them, which more often then not, isn't possible in a customer environment.

Tagged as: , , , , , , , , | Author:
[Montag, 20190701, 16:31 | permanent link | 0 Kommentar(e)

Command Line History

You may have noticed, that I am quite a fan of the command line. Recently, I linked to a video of Brian Kernighan interviewing Ken Thompson. Tooting about that, Dietmar pointed me to to additional, very nice videos:

UNIX: Making Computers Easier To Use – AT&T Archives film from 1982, Bell Laboratories
Broken link to the AT&T Tech Channel original.


And, of course, there is the „The UNIX System: Making Computers More Productive” video (not embedable) at the AT&T Archive site.

Tagged as: , , , , | Author:
[Montag, 20190624, 18:52 | permanent link | 0 Kommentar(e)

Links from 2019-06-18

The mindfulness conspiracy | The Guardian

Mindfulness is nothing more than basic concentration training. Although derived from Buddhism, it’s been stripped of the teachings on ethics that accompanied it, as well as the liberating aim of dissolving attachment to a false sense of self while enacting compassion for all other beings.

What remains is a tool of self-discipline, disguised as self-help. Instead of setting practitioners free, it helps them adjust to the very conditions that caused their problems. A truly revolutionary movement would seek to overturn this dysfunctional system, but mindfulness only serves to reinforce its destructive logic. The neoliberal order has imposed itself by stealth in the past few decades, widening inequality in pursuit of corporate wealth. People are expected to adapt to what this model demands of them. Stress has been pathologised and privatised, and the burden of managing it outsourced to individuals. Hence the pedlars of mindfulness step in to save the day.

Tagged as: , , , | Author:
[Mittwoch, 20190619, 05:00 | permanent link | 0 Kommentar(e)

Links from 2019-06-15

31 Common Interview Questions and Answers - The Muse

Wouldn’t it be great if you knew exactly what questions a hiring manager would be asking you in your next job interview?

While we unfortunately can’t read minds, we’ll give you the next best thing: a list of the 31 most commonly asked interview questions and answers.

30 Behavioral Interview Questions to Prep For - The Muse

To help you better prepare for your next interview, here are 30 behavioral interview questions sorted by topic

How to Use the STAR Method to Ace Your Job Interview - The Muse

STAR is an acronym that stands for:

Situation: Set the scene and give the necessary details of your example.
Task: Describe what your responsibility was in that situation.
Action: Explain exactly what steps you took to address it.
Result: Share what outcomes your actions achieved.

Everybody Will Be Hip and Rich: Neoliberal Discourse in Silicon Valley – Present Tense

More effectively than standard neoliberal discourse’s dialectic of risk and stability, tech talk appears to have succeeded in strengthening the deregulatory appeals of market talk by activating consumers’ desires for wealth, comfort, and social distinction, effectively rendering neoliberalism both more proximate and more seductive to the average person. Insofar as we are able, rhetoricians should actively attend to the flourishing of this discourse and strive to incorporate analysis of its liberatory claims into our work in digital rhetoric. While, as a field, we are deeply attuned to the technological developments of Silicon Valley, increasingly incorporating them into both our teaching and scholarship, much more of our attention could be paid to the rhetorical dynamics of the industry itself and how these are operative in shaping public attitudes toward technology, consumerism, and neoliberalism.

Tagged as: , , , | Author:
[Sonntag, 20190616, 05:00 | permanent link | 0 Kommentar(e)

Moving from Github to Gitlab (1/x)

My new favourite DevOps/git tool Gitlab already provides exhaustive documentation on how to move/copy/import projects from Github into Gitlab. Once that is done, there is still the question of how to handle the local repositories. Delete and clone them anew from Gitlab? I decided to keep them and just wrangle the origin to the new URL.

Here are my notes1 for the process:

$ git remote -v
origin	git@github.com:leyrer/linux-home.git (fetch)
origin	git@github.com:leyrer/linux-home.git (push)
$ git fetch
$ git remote rename origin github
$ git remote add origin git@gitlab.com:leyrer/linux-home.git
$ git remote -v
github	git@github.com:leyrer/linux-home.git (fetch)
github	git@github.com:leyrer/linux-home.git (push)
origin	git@gitlab.com:leyrer/linux-home.git (fetch)
origin	git@gitlab.com:leyrer/linux-home.git (push)
$ git fetch
$ git remote rm github
$ git remote -v
origin	git@gitlab.com:leyrer/linux-home.git (fetch)
origin	git@gitlab.com:leyrer/linux-home.git (push)


1 … „The difference between screwing around and science is writing it down.” – Adam Savage

Tagged as: , , | Author:
[Sonntag, 20190609, 16:55 | permanent link | 0 Kommentar(e)

Firefox: Getting Rid of All Notification Popups

Every other Website now ask Web browser users to enable „Push Notifications” from their site. For me, this got so annoying, that I actually researched, how to disable this feature generally for all websites. Surprisingly, recent Firefox version make this very easy – and you are not using another browser anymore, right? ;)

So for Firefox, go to the preferences, and select „Privacy & Security” and then the „Settings for „Notifications”:

Screenshot Settings Navigation

Once there, just set the checkbox „Block new requests asking to allow notifications”.

Screenshot Notification Settings

„Save Changes” and your are done. No more pesky, nagging „please enable Notifications for this website” popups.

Tagged as: , , , , | Author:
[Sonntag, 20190609, 13:12 | permanent link | 0 Kommentar(e)

Links from 2019-06-08

UNIX: Brian Kernighan interviews Ken Thompson

In the 1960s-1970s, Ken Thompson co-invented the UNIX operating system along with Dennis Ritchie at Bell Labs. He also worked on the language B, the operating system Plan 9, and the language Go. He and Ritchie won the Turing Award. He now works at Google. He’ll be interviewed Brian Kernighan of “K&R” fame. This talk took place May 4, 2019. Videography courtesy of @thegurumeditation (Facebook), @thegurumeditate (Twitter)

Tagged as: , , , | Author:
[Sonntag, 20190609, 05:00 | permanent link | 0 Kommentar(e)

Funktionierende ÖBB iCalendar Dateien

Mit der ÖBB verbindet mich ein längerer „Dialog” bezüglich deren iCalendar Files, die generiert werden, wenn mensch ein Zugticket online kauft. Eigentlich eine super Sache, kann man doch die Zugfahrt so gleich in den digitalen Kalender der (persönlichen) Wahl importieren.

Wenn, ja wenn, da nicht die agilen Fullstack EntwicklerInnen und die QA-Abteilung der ÖBB wären. Die Test(tet)en diese iCalendar Dateien anscheinend ausschließlich mit Microsofts Outlook, was ja quasi jede Datei akzeptiert, die auch nur wage an eine iCalendar Datei erinnert. Mit einem etwas standardkonformeren Kalender-Client sah das Ergebnis dann so aus:

Screenshot 1 ical Errors

Seit November 2018 hatten die EntwicklerInnen aber nachgelegt – der Wasserfall dürfte aufgetaut sein – und die neu generierten Dateien sind nun schon deutlich RFC konformer:

Screenshot 2 ical Errors

Für die noch fehlenden Reperaturarbeiten – korrekte Zeilenumbrüche und Entfernen des BOM – hab ich ein kleines Script plus einer dazugehörigen „Nemo Action” erstellt, die ich mit Euch teilen möchte. Alles gibt es auf meinem brandneuen Gitlab Account.

#!/usr/bin/env bash
# Fix the ÖBB iCalendar files by replacing the LF with RFC conforming CRLF
# and removing the UTF-8 BOM
# See the thread at https://twitter.com/leyrer/status/1127989818510721024
# Place script into ~/bin and make executable
for ics in "$@"
    # echo "Working on ${ics}"
    filename=$(basename -- "$ics")
    target="${filename} fixed.${extension}"
    # fix LF to RFC conforming CRLF and remove UTF-8 BOM
    sed ':a;N;$!ba;s/\n/\r\n/g' <"${ics}" | sed '1s/^\xEF\xBB\xBF//' > "${target}"
    # echo "Done."

Tagged as: , , | Author:
[Mittwoch, 20190605, 22:35 | permanent link | 1 Kommentar(e)


„Leyrers Online Pamphlet“ ist die persönliche Website von mir, Martin Leyrer. Die hier veröffentlichten Beiträge spiegeln meine Ideen, Interessen, meinen Humor und fallweise auch mein Leben wider.
The postings on this site are my own and do not represent the positions, strategies or opinions of any former, current or future employer of mine.


RSS Feed RSS Feed

Tag Cloud

2007, a-trust, a.trust, a1, accessability, acta, advent, age, amazon, ankündigung, apache, apple, audio, austria, backup, barcamp, bba, big brother awards, birthday, blog, blogging, book, books, browser, Browser_-_Firefox, bruce sterling, buch, bürgerkarte, cars, cartoon, ccc, cfp, christmas, cloud, collection, commandline, computer, computing, concert, conference, copyright, database, date, datenschutz, debian, delicious, demokratie, design, desktop, deutsch, deutschland, dev, developer, digitalks, dilbert, disobay, dna, dns, Doctor Who, documentation, Domino, domino, Douglas Adams, download, downloads, drm, dsk, dvd, e-card, e-government, e-mail, e-voting, E71, Ein_Tag_im_Leben, email, essen, eu, event, events, exchange, Extensions, fail, feedback, film, firefox, flightexpress, food, foto, fsfe, fun, future, games, gaming, geek, geld, gleichberechtigung, google, graz, grüne, grüninnen, hack, hacker, handtuch, handy, hardware, HHGTTG, history, how-to, howto, hp, html, humor, ibm, IBM, ical, iCalendar, image, innovation, intel, internet, internet explorer, iphone, ipod, isp, it, IT, java, javascript, job, journalismus, keyboard, knowledge, konzert, language, laptop, law, lego, lenovo, life, links, Linux, linux, linuxwochen, linuxwochenende, living, lol, london, lost+found, lotus, Lotus, Lotus Notes, lotus notes, LotusNotes, lotusnotes, Lotusphere, lotusphere, Lotusphere2006, lotusphere2007, lotusphere2008, Lotusphere2008, lustig, m3_bei_der_Arbeit, mac, mail, marketing, mathematik, media, medien, metalab, Microsoft, microsoft, mITtendrin, mobile, mood, movie, mp3, multimedia, music, musik, männer, nasa, netwatcher, network, netzpolitik, news, nokia, Notes, notes, Notes+Domino, office, online, OOXML, open source, openoffice, opensource, orf, orlando, os, outlook, patents, pc, pdf, perl, personal, php, picture, pictures, podcast, politics, politik, pr, press, presse, privacy, privatsphäre, productivity, programming, protest, qtalk, quintessenz, quote, quotes, radio, rant, recherche, recht, release, review, rezension, rss, science, search, security, server, settings, sf, shaarli, Show-n-tell thursday, sicherheit, silverlight, SnTT, social media, software, sony, sound, space, spam, sprache, spö, ssh, ssl, standards, storage, story, stupid, summerspecial, sun, sysadmin, talk, talks, technology, The Hitchhikers Guide to the Galaxy, theme, think, thinkpad, tip, tipp, tools, topgear, torrent, towel, Towel Day, TowelDay, travel, truth, tv, twitter, ubuntu, uk, unix, update, usa, vds, video, videoüberwachung, vienna, vim, Vim, vista, vorratsdatenspeicherung, vortrag, wahl, wcm, web, web 2.0, web2.0, web20, Web20, webdesign, werbung, wien, wiener linien, wikileaks, windows, windows 7, wired, wishlist, wissen, Wissen_ist_Macht, wlan, work, wow, wtf, Wunschzettel, wunschzettel, www, xbox, xml, xp, zensur, zukunft, zune, österreich, övp, übersetzung, überwachung

AFK Readinglist