Install TeamViewer On Fedora 28, Easy setup

Installing rpm package can be tricky, sometimes dependecies that required are not met. I’ve experienced this when installing TeamViewer for fedora 28. Here’s just another snippet to installing the TeamViewer on fedora 28 with nice and easy. Download teamviewer from the source: $ wget https://download.teamviewer.com/download/linux/teamviewer.x86_64.rpm Install the dependencies and the rpm target: $ sudo dnf … Read more

Setup scrot on Ubuntu

Simple trick to setup simple command to spawn screenshot utility using scrot: $ sudo apt-get install scrot $ sudo touch /usr/bin/sel $ sudo chmod +x /usr/bin/sel $ vim /usr/bin/sel #!/bin/bash scrot -s -e ‘mv $f ~/Pictures/’

How to delete stucked Route53 zone created by ECS service discovery

It happens when I tried to delete the NS that created by ECS service directory, then this error shows up: The resource hostedzone/Z1OWcan only be managed through servicediscovery.amazonaws.com (arn:aws:servicediscovery:us-east-1:561660628307:namespace/ns-c6lvlchj2gbcsobc) If there are services hanging around the in the NS you can’t delete then you could try: $ aws servicediscovery list-services $ aws servicediscovery delete-service –id= … Read more

pip error after upgrade: ImportError: cannot import name ‘main’

Sometimes pip can be problematic, after upgrade the pip version, then you call it afterwards, it will fail somehow. $ pip install –user –upgrade pip Collecting pip Using cached https://files.pythonhosted.org/packages/0f/74/ecd13431bcc456ed390b44c8a6e917c1820365cbebcb6a8974d1cd045ab4/pip-10.0.1-py2.py3-none-any.whl Installing collected packages: pip Successfully installed pip-8.1.1 You are using pip version 8.1.1, however version 10.0.1 is available. You should consider upgrading via the ‘pip … Read more

NerdTree command cheatsheet

Install NerdTree : http://chrisstrelioff.ws/sandbox/2014/05/29/install_and_setup_vim_on_ubuntu_14_04.html ctrl+ww move cursor back to list directory gt next tab gT previous tab Enable html syntax: au BufReadPost *.ezt set syntax=html Nerdtree setup alike: let g:netrw_banner = 0 let g:netrw_liststyle = 3 let g:netrw_browse_split = 4 let g:netrw_altv = 1 let g:netrw_winsize = 25 augroup ProjectDrawer autocmd! autocmd VimEnter * :Vexplore augroup … Read more