==== Unix command line cheat sheet ======
<code>
File Commands
ls - directory listing
ls -a - directory... t directory
mkdir dir - create a directory dir
rm file - delete file
rmdir dir - delete empty directory dir
rm -r dir - recursively delete directory dir (use with caution)
rm -f file - force remove file; no error output if file does
is behavior can be enabled in the [[doku>config]] file. Hint: If DokuWiki is a link, then it's enabled.
... ?php
/**
* Customization of the english language file
* Copy only the strings that needs to be modifie... ats. To mitigate the problem, you can upload your file in different formats for maximum browser compatib... filename as the video and be either a jpg or png file. In the example above a ''video.jpg'' file would
en termed as cron jobs.
Crontab (CRON TABle) is a file which contains the schedule of cron entries to be... u can execute crontab if your name appears in the file
/usr/lib/cron/cron.allow. If that file does not exist, you can use
crontab if your name does not appear in the file
/usr/lib/cron/cron.deny.
If only cron.deny exists
asic Configuration =====
DavMail's configuration file does not exist by default. Create one with your f... ldavPort=8443
Save and close the configuration file.
===== Create A SSL Certificate =====
Use the L... and convert the letsencrypt certificates to a p12 file using this script. You must use a PASSWORD on the file!
<code bash>
#!/bin/bash
sudo openssl pkcs12 -ex
plan or sales report (or whatever else the excel file has) with colleagues, we remove the other 2 sheet... low in order to let the receivers quickly get the file. Sometimes excel files can be very huge depending... f 96dpi instead of standard 200dpi. In the Menu > File > Save As dialog box, click on “Compress pictures... ut somehow the formatting is not preserved or the file is too huge. Here is a simple hack that you may a
udo cp ~/aws /usr/bin/
Create then an .awssecret file and open it in a text editor like nano:
nano .... GAHKWG3+1wxcqyhpj5b1Ggqc0TIxj21DKkidjfz
Save the file and change its permissions:
chmod 600 .awssecr... mkdir BUCKET
===== Create and upload the backup file =====
Next, create an encrypted tarball of the d... p it carefully. The above command will generate a file called todays_backup.tgz.aes-256-cbc. This file c
desktop background for day and night, using batchfile ======
Having a bright, blue wallpaper for day u... thout any add-on software. To use, copy-paste the file and store it to your scripts directory (e:\etc in... match your screen). You can't directly use a jpg file as a windows wallpaper (the settings dialog creates a bmp file behind your back!).
* Configuration is by chang
igure the apache2 for awstats
Copy configuration file for apache2.
cp /usr/share/doc/awstats/example... nf.d/awstats
Then edit /etc/awstats/awstats.conf file and make sure the file contains (double check the apache2 word)
LogFile="/var/log/apache2/access.log"
SiteDomain="mysite
ave binary encoded Type1 fonts (a .pfb and a .pfm file) here is how to create the afm files for then:
Right clicking the .pfb file in KDE let's you install the font, but it doesn't... at OpenOffice in Linux needs an accompanying .afm file, and here's how to create the .afm file from the .pfb file:
* Install t1lib, a library for generatin
version, the iCord HD supports FTP access to its file system. If you copy a .ts file to your pc, you can play it using VLC. However, my favorite video cuttin... dard format without loss of information.
- Copy file to pc using ftp or usb drive
- Variant 1: Use SUPER to convert to mpg type 2 file
* Output MPG (Video MPEG-I, Audio MPEG-II)
thout any add-on software. To use, copy-paste the file and store it to your scripts directory (e:\etc in... by changing the times in the case, and the image file names in the gconf...
* Test by calling the sc... re available.
* add a cron task (see below)
<file bash changedesktop.sh>
#!/bin/bash ...
</file>
Note: gconftool needs some environment variable
powerpoint:
* select media-convert
* add your file into the file selection
* select [convert]
* enter the name of the destination file
* Select profile Video-MPEG-2+MPGA(TS)
* Edit-selected profile using the tool icon:
* Video cod
ip or auth based access ======
Create a password file with a hard to guess name like ''~/.htpass87s9adf... commands
htpasswd -B USERNAME PASSWORD PASSWORDFILE
chmod o+r PASSWORDFILE
Create a file ''.htaccess'' using and adapting the following content. In the lines ''Allow from'' yo
easy, just add the following line to you ~/.vimrc file:
au BufNewFile,BufRead *.ctp set filetype=php
How and why this works, you find in the vim help:
... t Vim will execute automatically on {event} for a file matching {pat}.|
| :help BufNewFile |When starting to edit a file that doesn't exist.|
| :help BufRead