Rabin.IO Blog

0

Speed up a MySQL restore from a dump file

This is a small snippet I found to speed up importing MySQL dumps, it’s is almost as fast as coping the DB files directly. Pre INSERT Put the commands at the top of the...

1

Dynamic DNS with CloudFlare

This is a simple hack I found for my self to have a “Dynamic DNS” for my home IP. I’m using CloudFlare as my name server to manage the zone file for my domain,...

1

Setup Xdebug for remote debug over SSH

If you have PHP application you need to debug, and there is a firewall between you and the hosting server, One can use SSH to tunnel the traffic from the remote site to the...

pulseaudio-logo 0

Toggle Audio Output Between Several Devices

With PulseAudio one can choose the output (in PA syntax, it’s called “sink-input”) device for each audio stream, for example, I can listen to my music on my headphone (USB sound card in my...

Secure WordPress 24

Make a WordPress site work on both HTTP & HTTPS

Since Google started including sites which server under HTTPS in their ranking, and CloudFlare came out with their Universal SSL service, I was thinking to add a native SSL support to my WP blog....

0

כיצד להשתמש בסיסמאות בתוך סקריפטים

מאוד לא מומלץ להשתמש בסיסמאות ישירות בסקריפטים, אלא לשמור אותם בקובץ נפרד שאפשר להגן עליו על הרשאות שונות וכן הגדרות שונות לגבי אופן הגיבוי שלו. למשל בהפצות על בסיס Debain כשרוצים לכתוב\להשתמש בסקריפט שמבצע...

fail2ban apache 0

fail2ban + Apache

אני מעלה בכתב כאן כמה שורות של פילטרים שיצא לי להרכיב עבור fail2ban אחרי ניתוח קבצי ה-error של השרת. אולי הם גם יעזרו לאנשים אחרים. הסיבה שה-REGEX שלי טיפה מורכב יותר מהרגיל זה בגלל...