Instant one line setup FTP server

One line setup FTP server by The Swiss File Knife

  • I just found it … I needed to run some ftp server and do not waist time for setting all complicated configs for any popular FTP server
  • I wanted to have something similar to python -m SimpleHTTPServer 9191
  • I found The Swiss File Knife which provides ftp server
./sfk-linux.exe ftpserv -user=foo -pw=bar ./FTP_ROOT_DIRECTORY/
note : cannot bind on port 21, using alternative port 2121.
SFK Instant FTP 105. For help, type "sfk ftpserv -help".
waiting on port 2121, IP 10.10.10.10 or 11.11.11.11.
only read allowed. 60 sec timeout.

  • SFK is available for Windows, Linux, Mac
Advertisements

Markdown

This is a test of highlight level 1 with markdown

More about markdown you can find here

Level 2

List
* item 1
* item2

Tables

head 1 Head 2
1×1 1×2
2×2 2×2

 

The code for this is:

 

# This is a test of highlight level 1 with markdown 

More about markdown you can find [here](https://en.support.wordpress.com/markdown/)

## Level 2

List 
* item 1 
* item2

# Tables 

|head 1| Head 2|
|------|-------|
| 1x1 | 1x2 |
|2x2 |2x2 |

SSH login without password

a@A:~> cat .ssh/id_rsa.pub | ssh b@B 'cat >> .ssh/authorized_keys'
b@B's password: 

or other example:
kowalczy@localhost:~$ cat ~/.ssh/id_rsa.pub | ssh svc_hes_user@psw-jenkins 'cat >> ~/.ssh/authorized_keys'
svc_hes_user@psw-jenkins's password:
kowalczy@localhost:~$ ssh svc_hes_user@psw-jenkins
Welcome to Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-32-generic x86_64)


more info at: http://www.linuxproblem.org/art_9.html

 

How to fix not properly displayed icons of known applications at Start menu, Desktop, Taskbar

It happened few times for my computer that some application icons were not displayed properly: Firefox, Virtualbox, JetBrains PyCharm, GoProStudio, Google Chrome.

Here is the solution I found at :

http://www.tomshardware.co.uk/forum/15251-63-icons-displaying-properly

Here’s a slightly quicker version of the instructions.
1. Press Ctrl-Shift-Escape to get the task manager.
2. In the Processes tab, click on explorer.exe and click End Process. You’ll get a confirmation dialog. Click “End Process” to confirm.
3. From the File menu (still in the task manager), choose New Task (Run…).
4. Copy/paste/enter the following command in the run box:
Code:
cmd /c del %userprofile%\AppData\Local\IconCache.db /a
5. Open the Run box again with File –> New Task (Run…). This time, enter this command:
Code:
explorer.exe
6. All should be okay now. Open the Start Menu and confirm that your icons are fixed now.