Skip to content

Instantly share code, notes, and snippets.

Petr Kuška arenaq

  • Freelancer
  • Prague, Czech Republic
Block or report user

Report or block arenaq

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
wojteklu /
Last active Sep 21, 2019
Summary of 'Clean code' by Robert C. Martin

Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.

General rules

  1. Follow standard conventions.
  2. Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
  3. Boy scout rule. Leave the campground cleaner than you found it.
  4. Always find root cause. Always look for the root cause of a problem.

Design rules

shawnrice /
Created Apr 19, 2014
A template to write a quick daemon as a bash script
# This is a skeleton of a bash daemon. To use for yourself, just set the
# daemonName variable and then enter in the commands to run in the doCommands
# function. Modify the variables just below to fit your preference.
phoboslab /
Created Jun 26, 2012
Python script to move the mouse cursor in windows with constant speed
import sys
import time
import win32api
if (len(sys.argv) < 4):
print "Usage: python dx dy speed"
current = win32api.GetCursorPos()
cx = sx = current[0]
You can’t perform that action at this time.