Run, Developer, Run!

Wolfram Alpha in command line

Using all power of Computational Intelligence™ in your terminal!

Wolfram Alpha in your terminal

Read More →

Remap Ctrl+C in Kitty terminal

Kitty terminal is awesome, and you should definitely try it.

Only thing I found tricky is how to bind termination of running process (sending SIGINT on Ctrl+C) to different key combination.

I like when all applications have consistent hotkeys. And different meaning of most common hotkey (copy) in terminal always bothers me. So I use ctrl+c to copy and ctrl+shift+c for process interruption.

To fix that, add to kitty.conf:

map ctrl+c  copy_to_clipboard
map ctrl+v  paste_from_clipboard
map ctrl+shift+c send_text all \x03 # SIGINT

PS: And by the way, if you want to get nice color scheme for Kitty, you could use Terminal Color Scheme Designer, export to Termite and replace = with .

Waveshare Game Hat review

Best DIY portable console

If IKEA made game consoles it would be Waveshare Game Hat. Some assembly required, but you can get it working in 10 minutes without any special skills. And no soldering!

After that, you've got all possibilities of standard Raspberry Pi (which are endless) in portable factor. Besides playing games, you could easily install Kodi, and watch videos and Youtube. And list of compatible games goes far beyond console emulators. How about Doom or Fallout?

Because this is standard Raspberry Pi running Linux, not custom chip. As you probably know Raspberry Pi 3 can handle 1080 movies and PSX games without any issues.

Awesome. Read More →

Doomwatch

Doomwatch

On a random note, if Doomguy had a watch, it would be Skmei 1301.

Quickly view source of script in Fish

If you have lots of handcrafted awesome scripts for Fish shell and constantly improving it, you also might be interested in this one.

When you type src [command] (autocompletion works here!), it will open script file in $PATH, Fish function or alias definition in your favorite text editor.

For example

src math

Source on Github

USB 3.0 cable tip

Did you know, that using cheap USB 3.0 cables could decrease performance dramatically? Lets compare Samsung EVO 850 M.2 inside Transcend CM80:

MB/s Cheap cable from Ebay Stock cable
Reads 42 438
Writes 43 388

Don't try to save money on cables. Buy something good and reasonably priced, like Anker.

Double Commander

Double Commander doesn't look as bad as at first glance if you configure it properly! Looks modern, right?

And it's still the best file manager in Linux. Tuning and configuration possibilities are endless. If you invest some time learning non-always-obvious configuration, you can make it work exactly as you want. Sweet.

Read More →

Run Fish Shell command from any app

I've implemented little script that allows to call Fish Shell prompt from any app. Very handy for running single commands from Double Commander or Sublime Text:

  • Prompts for single Fish command in left bottom corner of given application window
  • To make benefit of Fish shell autocompletion and history
  • Closes after one command is executed
  • If command fails, leaves window to inspect error message

See this animated gif for example.

For example you want execute git clone [email protected]:dmi3/bin.git in current directory from Double Commander:

  1. Press Shift+F2 and terminal window appears in left bottom corner of Double Commander window
  2. First you want git and clone to be autocompleted using Fish
  3. During clone process you want to see git command output to monitor progress
  4. If everything is ok, prompt will close
  5. In case of error you will have chance to read error message

Source on Github

Nonitrusive User Tracking Tip

What if you want to know a little about your website visitors, without full-on creepy surveillance and 1, JavaScript controlled by the third party? Or don't have JavaScript on the page at all? Just you know, to be aware if anybody is reading your blog at all.

I don't want to track every your mouse movement or know browser or resolution. Just visitor page views, please.

So almost every Web Analytics (except Google Analytics, of course) - Clicky, Yandex.Metrica or StatCounter, have an alternative image in <noscript> to track rare visitors without JavaScript enabled.

Put this image, somewhere in your template, and you will still get insights!

By the way, why does everybody need to bring tons of code to show little share button? Whats wrong with old good <a href=...?

Crash Bandicoot

Sony PlayStation 4 players

Did you know that first Sony PlayStation had an accessory called multimap that allowed to play split screen for 4 players? I knew, but neither I or my friends were never able to get this accessory :(

But there still a chance to play Crash Bandicoot with 4 friends, as Mednafen emulator supports it!

Read More →
Next→

Contact

Follow

Me on Twitter and Github

We have RSS!

© 20xx

Based on template by Rick Waalders

Hosted on surge.sh, which by the way is awesome!