NOTHING WORKED, postfix does not want to throttle outgoing emails.NO MORE
This will delay sending emails and put extra load on the cpu
nohup find . -name '*.pdf' | xargs -n 1 -P 8 -I % sh -c 'ps2pdf "%" - | sponge "%";echo "%"' & |
aspell --lang el dump master | aspell --lang el expand | tr ' ' '\n' > el.dic |
#!/bin/bash | |
# Find the current encoding of the file | |
# place in $HOME/bin | |
# to mass use it | |
# find "$PWD" -type f -name "*" -exec recodeifneeded utf-8 {} \; | |
encoding=$(uchardet "$2") | |
if [[ "$1" != "${encoding}" ]] && [[ "${encoding}" != "UTF-8" ]] && [[ "${encoding}" != "unknown" ]] | |
then |
$(function(){ | |
//refresh && link | |
var hash = window.location.hash; | |
hash && $('.nav a[href="' + hash + '"]').tab('show'); | |
//back - forward | |
window.onpopstate = function(event) { | |
if(window.location.hash == ''){ | |
//no hash in url show the tab you like! | |
$('.nav a[href="#nav-home"]').tab('show'); |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); | |
/** | |
* @file application/libraries/Image_autorotate.php | |
*/ | |
class Image_autorotate | |
{ | |
function __construct($params = NULL) { | |
if (!is_array($params) || empty($params)) return FALSE; |
NOTHING WORKED, postfix does not want to throttle outgoing emails.NO MORE
This will delay sending emails and put extra load on the cpu
This script is use to optimize image for web
./imgoptim