Skip to content

Instantly share code, notes, and snippets.

@viras34
viras34 / gist:1eed4c8acb2d8996cb5af376644e021f
Created November 17, 2016 07:36
Automated backups to FTP server using rsync and curlftpfs
Using curlftpfs and FUSE, a ftp site is mapped to the local file system and rsync will backup files to the ftp server automatically.
1. Install required packages
apt-get install curlftpfs rsync
2. Create directory to mount the ftp site
mkdir /mnt/ftpbackup
@viras34
viras34 / Ext.ux.form.HtmlLintEditor.js
Created April 11, 2016 05:36 — forked from iguigova/Ext.ux.form.HtmlLintEditor.js
ExtJS HtmlEditor extension to support copy and paste from MS Word
/*!
* Ext JS Library 3.2.1
* Copyright(c) 2006-2010 Ext JS, Inc.
* licensing@extjs.com
* http://www.extjs.com/license
*/
Ext.ns('Ext.ux.form');
/**