FILENAME=/tmp/$RANDOM
espeak -s 175 -g 3 -w $FILENAME\.wav "$(xclip -out -selection)"
lame $FILENAME\.wav -o $FILENAME\.mp3
obexftp -b 2C:D2:E7:BE:25:3E -c "Ontv. best." -p $FILENAME\.mp3
rm $FILENAME\.wav $FILENAME\.mp3
exit 0
prel vs peurvios ptyhon sicrpt
#!/usr/bin/perl
use strict;
foreach (<>)
{
foreach (split /\s+/)
{
my @letters = split //;
my $first_letter = shift @letters;
my $last_letter = pop @letters;
my $srecewdletters = join "", sort {int(rand(3))-1} @letters;
print "$first_letter$srecewdletters$last_letter ";
}
print "\n";
}
Inner process
Inner process is only found intelligent if the outcome can be used for something. The roads taken may have been created by hours of stupid thoughts leading nowhere. One can conclude thinking in circles didn't lead them anywhere - but does standing still do so?
Thoughts
Thinking upfront,
is what makes a comedian good.
A perfectly logical warped view on life,
is what makes him funny...
is what makes a comedian good.
A perfectly logical warped view on life,
is what makes him funny...
Good advice
Good advice is sometimes a result of a disaster.
The pity thing is,
you never hear about the disaster.
So the value of the advice is blown in the wind.
The pity thing is,
you never hear about the disaster.
So the value of the advice is blown in the wind.
Progress
while ((1));do for file in $(for pid in $(ps -a | grep cp | awk '{print $1}'); do ls -als /proc/$pid/fd/ | tail -n 2 | awk '{ print $12}'|tac; done); do ls -alsh $file; done; echo ""; sleep 5; done
The linux way of a progress bar
Imagine
If imagination didn't exist,
then everything we think about already exists
so we can not think of something inventive
If this would mean the evolution stopped
then we are part of the evolution
Could we be the evolution?
If not mankind is really overrated
SP S11-E10(1/3?)
then everything we think about already exists
so we can not think of something inventive
If this would mean the evolution stopped
then we are part of the evolution
Could we be the evolution?
If not mankind is really overrated
SP S11-E10(1/3?)
They say not all ltteers slhoud be in oderr to make shmnetoig radaeble... but diong it ctontnsaly ...
#!/usr/bin/python
import random
import string
import re
from sys import stdin
def Ranomzdie(hello):
if len(hello) > 1:
ret = hello[0]
else:
ret = ""
w = hello[1:-1]
i = len(w)
while i:
l = random.randint (1,i)-1;
ret = ret + w[l]
w = w[:l] + w[l+1:]
i = i - 1
ret = ret + hello[-1:]
return ret
words, k, r, b = stdin.readlines(), 0, "", 0
while k < len(words):
j, i= len(words[k]), 0
while i < j:
if words[k][i].isalpha():
b = i
while i < j and words[k][i].isalpha():
i = i + 1
r = r + Ranomzdie(words[k][b:i])
while i < j and not words[k][i].isalpha():
r, i, b = r + words[k][i], i+1, b+1
k = k + 1
print r
CenterICQ grouping solved
With the latest Gaim 0.80 (?still confused a bit about that version on gentoo), i was reading the Documentation mentioning something about problems with grouping in contact lists it sometimes faces.
Gaim fixed my problems i had with CenterICQ not saving them correct.
I love the way all the programs work together ;)
Gaim fixed my problems i had with CenterICQ not saving them correct.
I love the way all the programs work together ;)
Why i love linux
Last problem i had with my gentoo distro was a error when doing a "make oldconfig" when i wanted to compile the 2.6.7 kernel.
After a few days of not finding a quick solution i saw no other option then merging glibc again, but since my gcc was broke and could not been re-emerged this could not been done.
So i decided to merge a binary package of glibc (2.3.3 was the only tbz2 i found). All my binaries where compiled against 2.3.4 (including grep for autoconf) which kinda broke my whole distro.
There was no other way of saving my system then installing 2.3.4 from a tbz2, but where to find it?
The answer was not to find one but to create one.
One might say this is thinking in circles ;-)
But a free partition and an stage2 file from gentoo is enough to create one (even without booting)
...
After a few days of not finding a quick solution i saw no other option then merging glibc again, but since my gcc was broke and could not been re-emerged this could not been done.
So i decided to merge a binary package of glibc (2.3.3 was the only tbz2 i found). All my binaries where compiled against 2.3.4 (including grep for autoconf) which kinda broke my whole distro.
There was no other way of saving my system then installing 2.3.4 from a tbz2, but where to find it?
The answer was not to find one but to create one.
One might say this is thinking in circles ;-)
But a free partition and an stage2 file from gentoo is enough to create one (even without booting)
...
My smallest patch (ever!) made it to the credits
19 Jan 2004; Seemant Kulleen
files/1.0.7/superadduser.8 :
Removed last line to not have troff message during `man superadduser`.
Thanks to: CBke in bug #38764
source
files/1.0.7/superadduser.8 :
Removed last line to not have troff message during `man superadduser`.
Thanks to: CBke
source
Abonneren op:
Posts (Atom)
