A frog around the world |
![]() |
Un peu en retard, oui, je le sais...
Le week end précédent était pour ma copine, deux de mes meilleurs amis et moi l'occasion de découvrir Barcelone en Espagne. Je connais un peu l'Espagne pour y être aller plusieurs fois quand j'étais petit mais je n'avais jamais eu l'occasion de découvrir cette ville. Et en effet, c'est un manque que j'ai bien fait de combler.
Je ferais un petit carnet de voyage sur mon blog (pas envie d'ouvrir un site juste pour un week end).
|
Bas relief de la Cathédrale Sagrada Familia |
Pueblo Espagnol |
|
Au sommet du parc Guël |
La maison en pain d'épice du parc Guël |
|
Ruelle de la vieille ville |
|
J'étais pour l'enterrement de vie de garçon d'un ami proche. Balade entre amis avec le condamné en haut du sacrès coeurs à échanger aux touristes des bisous contre bonbons/préservatif. Après soirée openbar avec une stripteaseuse (pas vraiment mon truc mais elle a su faire ça avec humour et classe).
Un truc que l'Australie ne m'apportera pas, c'est des amis aussi proches qu'eux et que je garderais très longtemps...
Samuelle |
Boys & girls |
En bas du sacrès coeur |
|
J'avais écris un petit truc pour expliquer comment forcer debian à utiliser des packages spécifiques. Mais comme Gui ne tagge (release) plus ses packages , j'ai du changer les informations dans /etc/apt/preferences pour :
# En global Package: * Pin: origin packages.dotdeb.org Pin-Priority: 990 # Pour un package spécifique Package: php4 Pin: origin packages.dotdeb.org Pin-Priority: 990 Package: php4-common Pin: origin packages.dotdeb.org Pin-Priority: 990 Package: libapache-mod-php4 Pin: origin packages.dotdeb.org Pin-Priority: 990 [...]
Oui, ça fait pas trop "récit d'expatrié français en Australie" mais hier, j'étais avec ma copine et des amis sur les bords de Seine pour voir le fameux feu d'artifice du 14 juillet.
Un superbe feu de presque 45 minutes et qui, pour la première fois d'après certains journaux, était lancé depuis la tour Effeil avec comme thème pour cette année le Brésil (année du Brésil oblige)... Ceci étant principalement représenté par les feux de couleurs jaunes et vertes ... Les couleurs de ce pays que j'adore... Grandiose et une belle réussite !
|
Le feu d'artifice lancé de la tour |
La tour de nuit |
La place de la Concorde |
|
Just a quick memo for me and other who will get this external harddrive/card reader.
This box contains a 60 go (in fact 56) and can read a few memory card : CF I and II, MS, MS Pro, SD, MMC, IBM MicroDrive, RS-MMC, mini-SD, MS Duo and MS Pro Duo.
As I don't want to reboot under Windows each time I want to use it, here is the procedure to have it working under Linux.
You need a few modules :
- SCSI disk support (BLK_DEV_SD)
-> Device Drivers
-> SCSI device support
-> SCSI device support (SCSI [=y])
-> SCSI disk support
- Qlogic QLA 1240/1x80/1x160 SCSI support (SCSI_QLOGIC_1280)
-> Device Drivers
-> SCSI device support
-> SCSI device support (SCSI [=y])
-> SCSI low-level drivers
-> Qlogic QLA 1240/1x80/1x160 SCSI support
- USB Mass Storage support (USB_STORAGE)
-> Device Drivers
-> USB support
-> Support for Host-side USB (USB [=y])
-> USB Mass Storage support
It should be enough. Recompile kernel/modules. Reboot
Plug the two USB connectors (DON'T forget to plugin both if it is not working with only one because of the lack of energy provided by my laptop).
If you try the command lsusb, you should see that :
Bus 001 Device 008: ID 0d7d:1470 Phison Electronics Corp.
And in /var/log/kern.org, you should get messages :
Jul 8 16:34:18 zoidberg kernel: usb-storage: scsi cmd done, result=0x0 Jul 8 16:34:18 zoidberg kernel: usb-storage: *** thread sleeping. Jul 8 16:34:18 zoidberg kernel: SCSI device sda: 117210240 512-byte hdwr sectors (60012 MJul 8 16:34:18 zoidberg kernel: sda: assuming drive cache: write through
Then, you should be able to mount the /dev/sdXX (sda1 for me) partition where you want with the command :
mount -t vfat /dev/sda1 /mnt/external
Or add in the /etc/fstab this line :
/dev/sda1 /mnt/external vfat rw,user
Edit : comments are closed. Thank your spammer.
Les eurodéputés rejettent la directive sur le brevet des logiciels
Le Parlement européen a rejeté définitivement, mercredi, la directive très controversée sur les brevets des logiciels, en votant en seconde lecture contre le texte soutenu par les Etats membres et la Commission européenne avec 648 voix contre 14 !!!(AFP)
L'Europe pour laquelle j'ai voté OUI a bougé. J'en suis très heureux.
Imagine that you are dirty with your DNS server. You make some modifications very often and you are not sure when your DNS server is up, RFC and running. Here is a little script which will automatically test some domains and send emails in case of error.
In order to test domains validity, I use DNSdoctor (http://www.dnsdoctor.org/), a fork from Zonecheck (http://www.afnic.fr/outils/zonecheck), a tool developed to perform verifications on the quality of the configuration (it is mandatory with a .fr to have the domain correctly configured). DNSdoctor exists with a few GUI :
- the web interface - http://demo.dnsdoctor.org/
- a classical application using GTK
- a command line application
Of course, I am using the last one to perform the automatic testing system.
As DNSdoctor has been made using Ruby, I made this script with this language (I don't want to have to install python for this script). It will call the DNSdoctor with the appropriate parameters. If an error is detected, it will send an email associated to the domain in the configuration.
If an error occurs, this kind of email will be sent :
ZONE : ledru.info. NS <= : akira.ecranbleu.org. [195.137.249.60] NS : radium.meaweb.com. [83.217.68.103] NS : trunks.ecranbleu.org. [195.137.249.61] [> ICMP answer w> Host doesn't reply to ICMP requests (firewall?) => radium.meaweb.com./83.217.68.103 => akira.ecranbleu.org./195.137.249.60 => trunks.ecranbleu.org./195.137.249.61 [> UDP connectivity f> Server doesn't listen/answer on port 53 for UDP protocol | Ref: IETF RFC1035 (p.32 4.2. Transport) | The DNS assumes that messages will be transmitted as datagrams or in | a byte stream carried by a virtual circuit. While virtual circuits can | be used for any DNS activity, datagrams are preferred for queries due | to their lower overhead and better performance. `----- -- -- - - - => radium.meaweb.com./83.217.68.103 ==> FAILURE (and 3 warning(s))
#!/usr/bin/ruby
require 'net/smtp'
###" Parameters ###
pathCommand="export LANG=en_EN; /usr/bin/dnsdoctor"
paramCommand="-q -vn,d,x,-c "
logFile="/tmp/massDNS.log"
subject="DNS error"
from="tech@linesurf.com"
testDNS= [
{'domain'=>'ecranbleu.org',
'email'=>'email@domain.com'},
{'domain'=>'ledru.info',
'email'=>'email@mondomaine.com'}
]
def sendmail(from,to,content)
# --- Send using class methods
msg = [ "Subject: Test\n", "\n", content ]
Net::SMTP.start('localhost') do |server|
server.sendmail( msg, from , [ to ] )
end
end
### Don't edit under ###
command="#{pathCommand} #{paramCommand} "
for domain in testDNS
puts "Processing of #{domain['domain']}"
commandLine=command + domain['domain']
system(commandLine +' > '+ logFile +' 2>&1')
if ($? != 0)
content=""
IO.foreach(logFile) { |line| content+=line }
sendmail(from,domain['email'],content)
puts "Erreur"
end
File.delete(logFile)
end
Edit : comments are closed. Thank you spammer.
Mon séjour en Australie s'est terminé... Un an et demi de bonheur ! Cependant, ce blog continue. Je continue à garder le contact avec le pays et je continue à partager mes expériences.
Pour plus d'infos sur l'Australie, mon carnet de voyage est aussi disponible.
D'autres carnets de voyage sur Kikooboo !
| Lun | Mar | Mer | Jeu | Ven | Sam | Dim |
|---|---|---|---|---|---|---|
| << < | > >> | |||||
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |