Archive

Archive for the ‘Uncategorized’ Category

2015 in review

December 31, 2015 Leave a comment

The WordPress.com stats helper monkeys prepared a 2015 annual report for this blog.

Here's an excerpt:

The Louvre Museum has 8.5 million visitors per year. This blog was viewed about 140,000 times in 2015. If it were an exhibit at the Louvre Museum, it would take about 6 days for that many people to see it.

Click here to see the complete report.

Categories: Uncategorized Tags: ,

LaTeX: horizontal line

December 15, 2015 Leave a comment
\newcommand\sep{\noindent\rule[0.5ex]{\linewidth}{1pt}}

Usage:

text

\sep

go on

battle test your server with siege

December 1, 2015 Leave a comment

Siege is a multi-threaded http load testing and benchmarking utility. It was designed to let web developers measure the performance of their code under duress. It allows one to hit a web server with a configurable number of concurrent simulated users. … Performance measures include elapsed time, total data transferred, server response time, its transaction rate, its throughput, its concurrency and the number of times it returned OK.” (source)

Here is a gist that shows how to use it.

Warning! Use siege only on your sites since it can be interpreted as a DDOS attack.

Categories: bash, Uncategorized Tags: , ,

free Udemy courses

November 21, 2015 Leave a comment
Categories: Uncategorized Tags: , ,

VLC hotkeys that you must know

November 14, 2015 Leave a comment
a     - cycle aspect ratio (16:9, 4:3, etc.)
b     - cycle audio track
g, h  - adjust subtitle delay (down, up)
f     - fullscreen
space - pause

Full list here.

Categories: Uncategorized Tags: ,

YouTube video to text

September 28, 2015 Leave a comment

[manjaro] Steam crashes upon start

July 31, 2015 Leave a comment

Problem
Steam is about to start but it crashes after a few seconds.

Solution
Launch “steam” in command line, thus you can see its output. One line said “STEAM_RUNTIME is disabled by the user“. Here is the cure:

export STEAM_RUNTIME=1; steam

Here is a launcher script (steam.sh):

#!/usr/bin/env bash

export STEAM_RUNTIME=1
/usr/bin/steam &
Categories: Uncategorized Tags: , ,
Follow

Get every new post delivered to your Inbox.

Join 85 other followers