[21-05-2019]

And Now for Something Completely Different – Wieczny Grunwald

Potrafi wciągnąć.


[19-05-2019]

And Now for Something Completely Different – Modern Java in Action

If you have stuck with pre 1.8 Java but you have to go back to the future, it’s definitely worth it!


[19-05-2019]

And Now for Something Completely Different – Serotonina

Po taniości :(


[08-05-2019]

VNC – The first attempt to start Xvnc failed

At some point I was struggling with the strange issue. It came out of nowhere. VNC simply stopped working. Eventually, it turned out that reason was completely awkward. Missing directory on LD_LIBRARY_PATH. Yes, I know how it sounds, but it’s true. You can try it by yourself


[08-05-2019]

Stopping node.js – an elegant way

If you want to stop node.js you have basically two ways: – brute force (⌃ – C), – gentle way, via socket inside your application. I will show you how to do that using simple code (https://nodejs.org/en/about/). /* app.js */ const http = require(‘http’); const hostname = ‘127.0.0.1’; const port = 3000; const server = […]


[07-05-2019]

What kind of programmer are you…
take this simple C based ‘loop’ test

You still remember good old days with your Atari/Commodore machine. You like to annotate the code and you miss line numbers so much void main() { loop: printf("Hello\n"); goto loop; } You like it ‘low level’ style. In high school you were the master of assembler. There is nothing wrong about working with bare metal, […]


[30-04-2019]

Invalid CSS after “body”: expected 1 selector or at-rule, was “{ “

This error drove me crazy for a while. Find one difference :) @import ‘~@angular/material/prebuilt-themes/deeppurple-amber.css’ body { padding: 0; } @import ‘~@angular/material/prebuilt-themes/deeppurple-amber.css’; body { padding: 0; }


[26-04-2019]

find without .git and .svn

> find . -not -iwholename ‘*.svn*’ -type f -name "*" > find . -not -iwholename ‘*.git*’ -type f -name "*"


[16-04-2019]

Apple keyboard symbols – how to type them

⌘ – U+2318 ⌥ – U+2325 ⇧ – U+21E7 ⌃ – U+2303 ⌫ – U+232B If you don’t know how to type Unicode characters in mac OS, take a look here: Unicode frames in macOS.


[16-04-2019]

Capture whole HTML page into PNG

1. Start Chrome 2. Open the page 3. Open DevTools (⌥⌘I) 4. Open the Command Menu (⇧⌘P) 5. Choose Capture full size screenshot


[06-04-2019]

Python 3 Programming Specialization – Coursera

If you want to learn Python 3, I definitely suggest this specialization: Python 3 Programming Specialization. It consists of five courses, each focusing on different aspects of programming. It will guide you through the basics of Python 3 programming and will let you learn lost of various aspects of Python 3 based development: Python basics […]


[28-03-2019]

List all shared libraries loaded by the process

> cat /proc/PROC_ID/maps | sed ‘s/\s\s*/ /g’ | cut -f6 -d’ ‘ | grep ‘\.so’ | sort -u or > lsof -p PROC_ID | grep "\.so" | sed ‘s/\s\s*/ /g’ | cut -f9 -d’ ‘ | sort -u


[25-03-2019]

Unicode frames in macOS

If you want to type in Unicode character on macOS, it’s very simple. Just add new layout System Preferences -> Keyboard -> Input Sources. Now, you can type the hex number of Unicode character while keeping option (⌥) key pressed. For example, to get ╒═╕ type: ⌥+2552, ⌥+2550, ⌥+2555.


[14-03-2019]

It was fun, but no, thanks …


[27-02-2019]

And Now for Something Completely Different – e-Deklaracje 2019 macOS

Jeżeli walczysz z e-Deklaracjami na macOS, jest duża szansa że widziałeś komunikat jak poniżej: “Failed to load an application resource (internal error).” Na szczęście, jest rozwiązanie tej patowej sytuacji. Winę za całość ponosi integracja e-Deklaracji i Adobe Acrobat Reader DC. Nie wiem jak u innych, ale u mnie e-Deklaracje nie współpracują z najnowszą wersją Adobe […]


[20-02-2019]

Scanning remote machines in macOS

If you have issues while testing your remote services, it’s very convenient to use Network Utility in macOS. You can start it either using Spotlight Search (⌘-space) or you can call it directly from CLI > /System/Library\ /CoreServices/Applications/\ Network\ Utility.app/Contents/\ MacOS/Network\ Utility All you have to do is to scan your target machine using Prot […]


[20-02-2019]

Quotes like this make my day ;)

So the svd and the principle components, and principle components analysis is essentially the same thing. And so if you hear, you know, you’re in a cocktail party and you hear two people talking about the svd and pca you can rest assured that they’re basically doing the same thing. source: Exploratory Data Analysis One […]


[19-02-2019]

And Now for Something Completely Different – Reputacje


[17-02-2019]

How do I work with development build on macOS – NetBeans 11.0

Whenever you download NetBeans 11.0 (development version) from the official page here: Download, you end up with a zip file that contains working copy of NetBeans. It looks like this netbeans |– CREDITS.html |– DEPENDENCIES |– DISCLAIMER |– LICENSE |– NOTICE |– README.html |– apisupport |– bin |– enterprise |– ergonomics |– etc |– extide […]


[14-02-2019]

macOS and VMware Tools for Ubuntu
– sharing files between host and guest system

You can share your macOS directories between your host system and guest system while running VMFusion. In my case, the easiest way to do it was as follows. Download VMware Tools You can download it here: VMware tools Unpack the archive After unpacking the archive you will find structure like this VMware-Tools-core-10 |– floppies | […]