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 | 3 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

Posted in Uncategorized | Tagged , | 4 Comments

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 | Leave a comment

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 , , , , , , , , , , , , | Leave a comment

Commands in GoldenDict – Offline Dictionary of man, grep, pupppet help and your commands

NEW: There is a new, better version of this article and program. Add Python reference, man pages and your own commands to dictionary. This example shows how to add commands as dictionaries to GoldenDict. Commands show information for the exact … Continue reading

Posted in Uncategorized | Tagged , , , , , , , | Leave a comment

pydoc3 str – Python Reference in Your Command Line – Airplane & Cottage Entertainment

You can read Python documentation offline with pydoc3. It’s installed automatically with Python, and it always shows documentation for the version of Python you have installed. $ pydoc3 str You can see reference for a library ‘pydoc3 re’ or a single … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , | Leave a comment

Python RegEx One-Liner in a Pipe – Remove Hard Line Wrapping – No Perl

Just put Python in your pipe and let Perl rest in peace. Python can be used as a one-liner in a pipe. Replacing text with a regular expression used to be the last holdout of perl, but now you can … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , | Leave a comment
  • Picks

  • Boxing Clock for AndroidOcton8 Diving T-ShirtsShaking Tower Panda Android GameLearn Chinese with Android
  • Student projects