August 10, 2014

[SOLVED] Fixed: Lossy operations are not currently supported

kinda fixed

if you getting

Warning: Running "imagemin:dist" (imagemin) task
Warning: Command failed: ** Error: Lossy operations are not currently supported
Use --force to continue.


just uninstall optipng

  sudo apt-get remove optipng
 

Source: http://subdigit.com/blog/project-bootstrapping/

July 23, 2014

[SOLVED] Remove Untagged Images From Docker


Remove all stopped containers.
docker rm $(docker ps -a -q)

Remove all untagged images
docker rmi $(docker images | grep "^<none>" | awk "{print $3}")

July 12, 2014

[SOLVED]Google Cloud Print and the Raspberry Pi

# sudo apt-get update
# sudo apt-get install build-essential python-dev libcups2-dev

# install cups on raspberry http://www.howtogeek.com/169679/how-to-add-a-printer-to-your-raspberry-pi-or-other-linux-computer/

# sudo apt-get install python-setuptools
# sudo easy_install pip

# sudo pip install cloudprint pycups

# cloudprint

# sudo cp .cloudprintauth .cloudprintauth.sasl /root

# sudo nano /etc/init.d/gcloudprint

Paste
#! /bin/bash
# /etc/init.d/gcloudprint

### BEGIN INIT INFO
# Provides:        cloudprint
# Required-Start:    $remote_fs $syslog
# Required-Stop:    $remote_fs $syslog
# Default-Start:    2 3 4 5
# Default-Stop:        0 1 6
# Short-Description:    System service to run cloud print connector
# Description:        System service to run cloud print connector
### END INIT INFO

# Carry out start/stop/restart actions
case "$1" in
    start)
        echo "Starting cloud print connector"
        sudo -u pi cloudprint >> /var/log/cloudprint.log &
        ;;
    stop)
        echo "Stopping cloud print connector"
        killall cloudprint
        ;;
    restart)
        echo "Restart connector"
        echo "Stopping cloud print connector"
        killall cloudprint
        echo "Starting cloud print connector"
        sudo -u pi cloudprint >> /var/log/cloudprint.log &
        ;;
    *)
        echo "Usage: /etc/init.d/gcloudprint {start|stop|restart}"
        exit 1
        ;;
esac

exit 0


# sudo chmod +x /etc/init.d/gcloudprint
# sudo update-rc.d gcloudprint default




Sourcehttp://blog.onslow-web.co.uk/?p=71

May 9, 2014

[SOLVED] Reset unity on Ubuntu

I misconfiguret my unity on ubuntu. Can't move windows. No Title on windows.
This here helped 
  • dconf reset -f /org/compiz/
  • setsid unity
your windows will flicker a bit

restart your ubuntu


Source: https://www.youtube.com/watch?v=QoCmnLCY558

April 30, 2014

April 3, 2014

[SOLVED] Install jenkins on debian


wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -
Then add the following entry in your /etc/apt/sources.list:
deb http://pkg.jenkins-ci.org/debian binary/
Update your local package index, then finally install Jenkins:
sudo apt-get update
sudo apt-get install jenkins
Source: http://pkg.jenkins-ci.org/debian/