Friday, 20. May 2016
Friday, 20. May 2016
Friday, 29. April 2016
#kde #neon is not a fullblown distribution by now. It is based on a minimal installation of ubuntu 16.04 LTS and delivers nothing but a plain ubuntu base with an up2date plasmashell on it. no applications and other usefull additions whatsoever!!
you will have to install everything by hand – starting with “konsole” and “gtk3-breeze-engines” or things like “kate” and other stuff.
Therefore it’s probably a good idea to just use plain #kubuntu and add the neon package archive.
this is how you do it:
get the key for the package archive..
wget -q -O - http://archive.neon.kde.org/public.key | sudo apt-key add -
add the following line to your /etc/apt/sources.list
deb http://archive.neon.kde.org/release xenial main
and update/upgrade your system
sudo apt updatesudo apt full-upgrade
or (instead of the last line)
sudo apt-get dist-upgrade -o dpkg::options::="--force-overwrite"
if you break something on your first upgrade attempt don’t worry.. just “sudo apt-get -f install” or “sudo dpkg –configure -a ” and run the upgrade again
Thursday, 3. December 2015
sudo apt-get install proftpd
Add this line in /etc/shells file (sudo nano /etc/shells)
Create the folders an the user
sudo mkdir /home/www/userdir
sudo useradd userftp -p your_password -d /home/www/userdir -s /bin/false -G ftpusers
sudo passwd userftp /home/www/userdir
sudo chown userftp:ftpusers
Change your configuration according to your needs
DisplayChdir .message true
# Lock all the users in home directory, ***** really important *****
Umask 022 022
Thursday, 3. December 2015
copied from the Ubuntu Wiki:
First, determine which NIC will be used, and then check whether it supports the Magic Packet™ using
sudo ethtool <NIC>
where <NIC> is the device name of your NIC, e.g. eth0. This command will output some information about your the capabilities of your NIC. If this output contains a line similar to the following:
Supports Wake-on: <letters>
where <letters> contains the letter g, the NIC should support the WoL Magic Packet™ method (for the other letters look at man ethtool).
To check whether WoL is enabled in the NIC, one could use
sudo ethtool <NIC>
and look for
If <letters> contains g and not d, then Magic Packet™ is enabled. However, if <letters> does contain d, WoL needs to be enabled by running the following command:
sudo ethtool -s <NIC> wol g
On most systems, issuing this command is required after each boot. If the system’s networking is configured via ifupdown, then it is easy to add the line up ethtool -s <NIC> wol g below the interface’s configuration stanza in /etc/network/interfaces. For example:
shahar@shahar-backup:~$ cat /etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet static address 10.0.0.1 netmask 255.255.255.0 gateway 10.0.0.138 up ethtool -s eth0 wol g
This will ensure that WoL is enabled in the NIC on each boot. Fore more information see the interfaces manual.
Test WoL by powering off the system and trying to send it the magic packet using:
Tuesday, 14. April 2015
i just released my first html5 android game (ever)
it is called “cool cows on ice” and features a cow (obviously) and some crazy kamikaze penguins that may, or may not help you finish a level…
you can touch and hold the cow and then throw it as precisely as you can into the target area.
the game is build completely with the amazing phaser.js framework and p2 physics
i used crosswalk 10 and intel xdk to package it
it also has ads (one interstitial in the menu – only once) and non-intrusive banners in the score screen – and the option to remove them
almost all the graphics and animations are created in gimp
the audio tracks are composed by good friend of mine (dj körner)
here is a screenshot:
and here the promo video :
cool cows on ice (google playstore)
thx for downloading and rating 🙂
Tuesday, 7. April 2015
closure-compiler is part of every modern linux distribution. if it’s not installed hit “sudo apt install closure-compiler” in a terminal and press enter 🙂
to minimize your js file you can now write:
closure-compiler --js game.js --js_output_file game.min.js --language_in ES5 --compilation_level SIMPLE_OPTIMIZATIONS
the –language part makes sure that it runs through (in my case) even with some “reserved” names as custom variable names.. (i am using the phaser framework and “static” for example is a common (otherwise not allowed) name for an attribute)
using advanced_optimations instead of simple_optimations would lead to a more obfuscated output but is not working properly if you include several other js files because it’s heavily renaming everything – starting with classes, methods, attributes, etc.
Thursday, 5. March 2015
Adobe reader is no longer available for linux via the adobe website.
if you need for example pdfs with forms working properly you are unfortunately still going to need the original.
the version 9.5.5 is still available in old canonical repositories and it works 🙂
sudo add-apt-repository 'deb http://archive.canonical.com/ precise partner' sudo apt-get update sudo apt-get install acroread
after installing adobe reader remove the repository again!
sudo add-apt-repository -r 'deb http://archive.canonical.com/ precise partner' sudo apt-get update
Tuesday, 24. February 2015
This is meant as response to all those Blogs that constantly repost the bullshit-comparison-chart that GFI “invented” – especially to this one. http://mywindows8.org/ios-os-x-beats-windows-become-vulnerable-operating-systems-2014/
Here is a more accurate chart:
FYI – bugs like shellshock (bash) seem to be included in the linux-kernel numbers which is of course total nonsense but i managed to resist adding the Internet Explorer vulnerabilities (242) to the numbers. I didn’t want to offend windows users. ; )
Please stop comparing public vulnerabilities of different importance of opensource systems to closed source systems. Guess why the number of LOW vulnerabilities is ? (or 0 in the original chart) – because the author doesn’t know… did you really think there wasn’t even ONE single unimportant flaw in windows fixed in 2014 ?
This reminds me of the “average zero-day response time” chart of 2012 where they just happened to include already fixed bugs in linux just because the current ones were related to them to tweak the numbers…
planned or accidentally – this totally fits in to microsofts strategy to control the mindshare: http://techrights.org/2015/02/21/corruptible-press-on-eee/
quote from an internal MS document:
“[t]o control mental output you have to control mental input. Take control of the channels by which developers receive information, then they can only think about the things you tell them. Thus, you control mindshare!”
Sunday, 19. October 2014
- OGG/Theoraavconv -i input.mov \ -acodec libvorbis -ac 2 -ab 96k -ar 44100 \ -b 345k -s 640x360 output.ogv
- WebM/vp8avconf -i input.mov \ -acodec libvorbis -ac 2 -ab 96k -ar 44100 \ -b 345k -s 640x360 output.webm
Video are resized to 640×360 with a bitrate of 345k.
Sunday, 3. August 2014
sudo apt-get install git
this installs git on your pc
git clone -b dev https://github.com/photonstorm/phaser.git
do this to get the latest phaser source of the dev branch
sudo apt-get install npm
sudo npm install -g grunt-cli
install grunt commandline interface
in your phaser directory to pick up the node packages that phaser uses
sudo ln -s /usr/bin/nodejs /usr/bin/node
do this to compensate for a ubuntu naming error
build phaser and grab your new phaser js file(s) under ./dist/ 🙂