software, tips »

[02 sierpnia, 2009 | Dodaj komentarz | Poziom: 1 ]
#!/bin/bash

killall firefox
find $HOME/.mozilla/ \( -name "*.sqlite" \) -exec sqlite3  {} "vacuum" \;

programming »

[01 sierpnia, 2009 | Dodaj komentarz | Poziom: 1 ]

Aby wymusić przekierowanie na bezpieczne połączenie wystarczy do .htaccess dodać:

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}