-
Archives
- January 2020
- May 2019
- April 2019
- March 2019
- February 2019
- December 2018
- November 2018
- October 2018
- September 2018
- August 2018
- May 2018
- April 2018
- March 2018
- February 2018
- January 2018
- December 2017
- November 2017
- October 2017
- September 2017
- August 2017
- June 2017
- May 2017
- April 2017
- March 2017
- February 2017
- January 2017
- December 2016
- November 2016
- October 2016
- September 2016
- August 2016
- July 2016
- June 2016
- May 2016
- March 2016
- February 2016
- January 2016
- December 2015
- November 2015
- October 2015
- September 2015
- August 2015
- September 2014
- August 2014
- June 2014
- March 2014
- February 2014
- January 2014
- December 2013
- November 2013
- October 2013
- September 2013
- August 2013
- May 2013
- April 2013
- March 2013
- February 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- November 2010
- October 2010
- September 2010
- August 2010
- April 2010
- February 2010
- December 2009
- November 2009
- August 2009
- May 2009
- January 2009
- December 2008
- October 2008
- September 2008
- August 2008
- July 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- April 2006
- March 2006
- January 2006
- December 2005
- November 2005
- October 2005
- April 2004
Aikataulu – Linuxin keskitetty hallinta – 3 op, vanha OPS – loppusyksy 2017 p5 – Puppet
Control 10 computers. Or 100. Or 1000. Use Puppet, the tool used by US Gov (security baseline), Mozilla, Google (laptops and desktops) and Wikipedia. Just write what you want (idempotency). Control almost everything with one system (single source of truth). … Continue reading
Starting with JavaScript – Arrays, for..of, F12 console
JavaScript gets you to results easily. It’s the native language of web pages. You can create and sell Android Apps easily by packaging your HTML and JavaScript with PhoneGap/Cordova. All popular (1000+ installs) cell phone apps in my courses have … Continue reading
Posted in Uncategorized
Tagged array, beginner, EcmaScript, ES6, F12 console, filter, Firebug, floor, for..of, FreeCodeCamp, JavaScript, let, MDN, Mozilla Developer Network, random, random item, RTM, satunnainen alkio, satunnaisluku, StackOverflow, taulukko, truncate
Comments Off on Starting with JavaScript – Arrays, for..of, F12 console
Initial Testing and Tries on MySQL Socket Authentication
MySQL has some initial support for passwordless socket authentication, but based on by very brief and initial testing, it does not seem to be ready for prime time yet. If you want socket authentication, PostgreSQL does socket authentication out of … Continue reading
Posted in Uncategorized
Tagged authentication, database, database management system, DBMS, forgot root password, initial, mariadb, mysql, root, salasana, socket authentication, speculation, sql, tietokanta, unohtunut salasana
Comments Off on Initial Testing and Tries on MySQL Socket Authentication
Simpler Puppet Manifests – Resource Defaults and Manifest Ordering
Tips to make your Puppet manifests shorter and easier to read. Resource defaults: If I say ‘package’, of course I want it installed. Services are usually running and enabled at boot. Manifest ordering: Top-down, so I don’t have to ‘require’ … Continue reading
Apply Puppet Resources Top Down – ordering=manifest – Order without Require
By default Puppet manifest ordering is arbitrary. You either have to use require a lot or apply your modules twice. But there is an easy fix: $ sudoedit /etc/puppet.conf [main] ordering = manifest # …
Posted in Uncategorized
Tagged annoyance, configuration management, domain specific language, dsl, manifest, order, papercut, puppet, short
Comments Off on Apply Puppet Resources Top Down – ordering=manifest – Order without Require
Aikataulu – Palvelinten hallinta ict4tn022-3 – 5 op, uusi OPS – loppusyksy 2017 p5
Control 10 computers. Or 100. Or 1000. Use Puppet, the tool used by US Gov (security baseline), Mozilla, Google (laptops and desktops) and Wikipedia. Just write what you want (idempotency). Control almost everything with one system (single source of truth). … Continue reading
Posted in Uncategorized
Tagged configuration management, configuration management system, course, git, Helsinki, ict4tn022, idempotency, infra as code, infrastructrure as code, keskitetty hallinta, kurssi, linux, Palvelinten hallinta, Pasila, puppet, salt, saltstack, single source of thruth, versionable
119 Comments
Arvioitava laboratorioharjoitus – Linux palvelimet ict4tn021-5 torstai – alkusyksy 2017 – 5 op
This is the evaluated lab exercise for Linux Server Administration course, 50% of grade. Student had a Live USB stick and an empty computer, and he could use the public Internet. No other tools were allowed. Course feedback was excellent … Continue reading
Posted in Uncategorized
4 Comments
Arvioitava laboratorioharjoitus – Linux palvelimet ict4tn021-4 tiistai – alkusyksy 2017 – 5 op
This is the evaluated lab exercise for Linux Server Administration course, 50% of grade. Student had a Live USB stick and an empty computer, and he could use the public Internet. No other tools were allowed. Course feedback was excellent … Continue reading
Acute 0.2.2 – Integrate Help Commands to Single Interface – pydoc3, puppet describe and man in GoldenDict
Access all documentation commands and dictionaries trough a single interface. Acute(1) suppresses output if it’s just “documentation not found”, so your interface stays clean. With GoldenDict and acute, you can see real time queries to help commands along offline programmer’s … Continue reading
Posted in Uncategorized
Comments Off on Acute 0.2.2 – Integrate Help Commands to Single Interface – pydoc3, puppet describe and man in GoldenDict
Print Special Characters as Backslash Escapes – Python3 One-liner with Unicode Support
Let’s find that weird or invisible character that breaks your code $ echo “Hello in Finnish: Päivää”|python3 -c ‘import sys; s=sys.stdin.read(); print(s.encode(“unicode_escape”));’ b’Hello in Finnish: P\\xe4iv\\xe4\\xe4\\n’
Posted in Uncategorized
Tagged ääkköset, erikoismerkit, escape, escapes, one-liner, Python, python3, scandics, skandit, special characters, unicode, UTF-8, utf8
Comments Off on Print Special Characters as Backslash Escapes – Python3 One-liner with Unicode Support