PatchLogPatchLoga blog about Unix, Linux, open source, system administration, programming, patches and daily hacks Articles
This week on twitter 2009-09-20
2009-09-20 19:15:00 goosh.org - the unofficial google shell. http://ff.im/84SRG # change your business name, don't let me know about it and then send me a newsletter months/years after. What do I see? spam # I just applied for @suretymail accreditation for the email marketing service I'm going to launch soon # @mihaibrehar cred ca nu au auzit de "eat ...This is a post from Mihai Secasiu's PatchLog - Patches 'n Hacks. This week on twitter 2009-09-20 More About: Week , Twitter
Fast page insert in wordpress
2009-09-20 14:54:00 You want to create a lot of pages in wordpress using a script to populate a blog with content you might have. To make sure your script will be compatible with future versions of wordpress you want to use wp_insert_post The Problem The more pages you add the slower your script will be. With about 700 pages ...This is a post from Mihai Secasiu's PatchLog - Patches 'n Hacks. Fast page insert in wordpress More About: Wordpress , Page
This week on twitter 2009-09-13
2009-09-13 19:15:00 Why Nobody Reads Your Blog http://ff.im/7LDOA # just upgraded an etch ami to lenny, thanks: http://bit.ly/Ynpvl # json_decode was buggy on php 5.2.0 (etch ) # Email Marketing Works Because... http://ff.im/7Peue # I got a lot of followers in the last few minutes. I wonder why... Please drop me a reply if you just started following me. # if you're ...This is a post from Mihai Secasiu's PatchLog - Patches 'n Hacks. This week on twitter 2009-09-13 More About: Week , Twitter
Qmail Big concurrency
2009-09-12 22:27:00 Wanna send messages faster with your qmail server? Everyone will tell you to increase the remote concurrency. Till you find out that it can only go as high as 255. If you want more then that you have to apply the big concurrency patch The Problem Applying the patch and setting concurrency ( conf-spawn ) bigger then ...This is a post from Mihai Secasiu's PatchLog - Patches 'n Hacks. Qmail Big concurrency
php tail
2009-09-09 18:18:00 The Problem You want the functionality of tail(1) in a php function. The Solution Bellow is a php function that gives you the last N lines from a file. It doesn't do everything tail(1) does ( like following, retrying, etc ) but just the basic stuff: function tail($file, $num_to_get=10) { $fp = fopen($file, ...This is a post from Mihai Secasiu's PatchLog - Patches 'n Hacks. php tail More About: Tail
This week on twitter 2009-09-06
2009-09-06 19:15:00 Anyone tried SponsoredTweets yet? How is it working for you? http://bit.ly/VCcIx # Computer Programming Algorithms Directory http://ff.im/7xb8x # Molecular Expressions: The Silicon Zoo - Runaway Train http://ff.im/7xb8y # http://whattheinternetknowsaboutyou.com/ http://ff.im/7yTRF # Clean Your SQLite Databases to Speed up Firefox | Firefox Facts http://ff.im/7yTRG # @divinewrite Thanks mate! You have a lot of great info in those articles. ...This is a post from Mihai Secasiu's PatchLog - Patches 'n Hacks. This week on twitter 2009-09-06 More About: Week , Twitter
This week on twitter 2009-08-30
2009-08-30 19:15:00 WordPress Threaded Comments the Easy Way http://ff.im/74dgG # Let me Show You Inside a Secret Blogging Alliance http://ff.im/75RHB # new spam strategy: email saying that parts of my site's content are on some amazon astore ( with link ). Now to make... http://ff.im/77tp9 # Add some {brackets} http://ff.im/77OES # @bobbyvoicu tot nu sunt asa nebuni ca aia care si-a ...This is a post from Mihai Secasiu's PatchLog - Patches 'n Hacks. This week on twitter 2009-08-30 More About: Week , Twitter
This week on twitter 2009-08-23
2009-08-23 19:15:00 Open Source Cookbook Homepage http://ff.im/6J56k # Why Is Gravatar Still Not Mainstream? http://ff.im/6Jxj9 # Root / jailbreak any shipping android phone with one click. http://ff.im/6MEnS # price for pixma mp 830 printhead at local supplier 165 euro, if I get it from amazon it's only $69.95 http://tinyurl.com/pve55j # Context Switches are Bad, but Stack Traces are Worse - Ted ...This is a post from Mihai Secasiu's PatchLog - Patches 'n Hacks. This week on twitter 2009-08-23 More About: Week , Twitter
This week on twitter 2009-08-16
2009-08-16 19:15:00 http://bit.ly/nouBt wordpress as twitter/friendfeed/facebook # Small Tip - make your tab completion case insensitive http://ff.im/6ujgH # Are You an Implementor or an Enabler? http://ff.im/6umRZ # I know google did the unsubscribe thing wrong but I can now see how it might be useful to report some mailers. # I hate it when forums send newsletters, it's so annoying ...This is a post from Mihai Secasiu's PatchLog - Patches 'n Hacks. This week on twitter 2009-08-16 More About: Week , Twitter
This week on twitter 2009-08-09
2009-08-09 19:15:00 Google's a threat to you, not Microsoft http://ff.im/69tZn # TG Daily (c) - Firefox, IE. Tech journalists are a disgrace http://ff.im/69uon # 55 Ways to Bring Open Source into Education http://ff.im/69D3X # Inequalities with imaginary numbers? on IRC everything is possible RT: @tudormoldovan: http://bit.ly/2mnQ7t ) # WordPress Version 2.8.3 Security Release http://ff.im/6bYbU # Using Varnish in front ...This is a post from Mihai Secasiu's PatchLog - Patches 'n Hacks. This week on twitter 2009-08-09 More About: Week , Twitter
This week on twitter 2009-08-02
2009-08-02 19:15:00 @mihaibrehar is that really Linus? not like a fake Jobs blog ? in reply to mihaibrehar # spammers are everywhere... I just got a "follow" on backtype from someone following over 2k accounts with no comment # @khelo cauti? in reply to khelo # RT: @CommentLuv: dammit, Vista crashes when i listen to mp3's . I'm threatening it ...This is a post from Mihai Secasiu's PatchLog - Patches 'n Hacks. This week on twitter 2009-08-02 More About: Week , Twitter
Ask me questions
2009-07-30 23:53:00 Have a question about unix, linux, freebsd. Or maybe you want some advice about configuring apache, mysql,an email server like exim, qmail, postfix, a proxy server like squid cache or antinat, dns or anything else similar. Want some help with php programming or maybe you want to create a wordpress plugin? Feel free to ask and ...This is a post from Mihai Secasiu's PatchLog - Patches 'n Hacks. Ask me questions More About: Linux , Questions
This week on twitter 2009-07-26
2009-07-26 19:15:00 He's doing his best http://ff.im/5sGHW # Turns out twitter tools only tweets the blog posts with the date after it's install date. # did wp stats become public? or how else am I able to view the stats of a different account when being logged into my own? # myc4 plugin updated, now it can also tweet for ...This is a post from Mihai Secasiu's PatchLog - Patches 'n Hacks. This week on twitter 2009-07-26 More About: Week , Twitter
This week on twitter 2009-07-19
2009-07-19 19:15:00 Why you should limit login attempts http://ff.im/5g8sm # setting up pppoe in ubuntu/network manager just a few clicks. Huge improvement since last time I had to do this (a few years ago ) # reset thunderbird's master password: thunderbird -chrome chrome://pippki/content/resetpassword.xul # Mowing the lawn http://ff.im/5iwc1 # I wish I could merge more then 10 contacts in gmail # finally ...This is a post from Mihai Secasiu's PatchLog - Patches 'n Hacks. This week on twitter 2009-07-19 More About: Week , Twitter
ddiwrapper on ubuntu 9.04
2009-07-17 18:09:00 I have a Canon Pixma MP830 printer. This printer supports high resolution printing up to 9600x2400 dpi, but the gutenprint driver only supports 600x600 dpi. So what do I do to make it print with higher resolution? I wanted to use ddiwrapper, a system that would let you use the native win2k/winxp drivers from the manufacturer. ...This is a post from Mihai Secasiu's PatchLog - Patches 'n Hacks. ddiwrapper on ubuntu 9.04 More About: Ubuntu
MySQL and SSL
2008-05-17 14:04:00 I have been setting up a few mysql servers with SSL support for replication . I used the script provided in the the official mysql documentation for creating the ssl certificates cause I needed to do it on more then one server and it made more sense to use it then actually creating each certificate one ... More About: Mysql
Problem transferring a mysql database with rsync
2008-05-05 11:51:00 A little more then a year ago I wrote a post presenting three different methods to transfer a mysql database. The third method suggested in that post was copying the mysql database files directly from one server ( or location ) to another. This involved locking the tables with a read lock or even shutting ... More About: Database , Problem , Mysql
Xml Sitemaps pligg module v0.9
2008-04-28 16:46:00 This one is a quick release just like the previous one that fixes just one thing. All previous versions had this problem that the urls were not urlencoded so those urls that contained special characters like those with an accent or diacritics were invalid and of course google would show an error on those sitemaps. Version 0.9 ... More About: Sitemaps , Module
Xml Sitemaps pligg module v0.9
2008-04-28 16:46:00 This one is a quick release just like the previous one that fixes just one thing. All previous versions had this problem that the urls were not urlencoded so those urls that contained special characters like those with an accent or diacritics were invalid and of course google would show an error on those sitemaps. Version 0.9 ... More About: General , Sitemaps , Module
Xml Sitemaps pligg module v0.8
2008-04-26 17:12:00 It seems my last version of the Xml Sitemaps module for pligg didn't really fixed the date format problem with the generated sitemaps. Back when this module was created google had less strict rules about the date format in the lastmod section. My module generated a date and time string with this format YYYY-mm-ddTHH:MM:SS and it ... More About: Module
wordpress 2.5.1
2008-04-26 16:42:00 I have just upgraded to wordpress 2.5.1. My upgrade routine worked well without any problem. The new release seems to bring a few bug fixes to some annoying issues and a security fix as well as some performance enhancements. Unfortunately the automatic plugin updater still fails at times and doesn't save the ftp password and the media ... More About: Wordpress
vim arrows in MacOSX
2008-04-25 17:51:00 I know vim gurus would criticize me for using arrows in vim's insert mode but it's really hard to give them up. I have this problem when I connect from my linux box to a Mac OSX or FreeBSD box over ssh. I find it one of the most annoying things when using vim. When you are ...
xml sitemap for pligg v0.7
2008-04-17 10:22:00 This is a quick fix for a bug introduced in a previous version because I tried to make it compatible with php4 date(). This bug may have made your sitemap invalid because the lastmod date contained the timezone between the date and time. This version also brings a new feature that could be useful for larger sites. The ... More About: Sitemap
MacOSX: Automount external drives at boot
2008-04-16 15:06:00 After spending about an hour trying to figure out why I can't mount disks from /etc/fstab in Mac OSX 10.4 I finally figured it out. MacOSX 10.4 ( and maybe lower ) doesn't use fstab anymore. Well not just fstab. The stupidest thing about this is that fstab is referenced in every man page related to ... More About: External , Boot
xml sitemap for pligg update v0.6
2008-04-15 19:01:00 Last year I have released a pligg module that creates XML sitemaps for better SEO. The module was tested and working on pligg 0.9.7. Since that time pligg was updated two times and is now at 0.9.9. In pligg 0.9.8 they removed the clear_cache function that the my module's install code was using to clear the ... More About: Update , Sitemap
change hostname on MacOSX
2008-04-14 16:28:00 here's a quick tip about how you can change the hostname on your Mac OSX and keep it changed after a reboot: scutil --set HostName your.server.name Of course you have to type that as root. It seems there is also possible to set in it /etc/hostconfig but that file on it's own will not work. You have ... More About: Change , Hostname
Permissions on HFS+ volumes
2008-04-10 15:18:00 This post will show you how to enable or disable permissions on a HFS+ volume and also how to check if a volume had the permissions enabled or not. By default when you create a HFS+ filesystem it will have the permissions/owners disabled. I'm using a macmini for backing up files from a linux system and ... More About: Mac , Volumes
How to create a dmg image
2008-04-09 14:58:00 In a previous post I showed you how to mount a .dmg image from the command line. Have you ever wondered how you can create such an image? Continue reading if you want to know. Let's assume you want to create an image with a size of 10Mb that is formatted with a case sensitive ... More About: Mac , Image , Create
Webmin pptp user synchronization
2008-04-09 01:32:00 Webmin has this great feature that it can add users in several modules when a system user is added ( of course only when added from webmin ). This feature can really be useful if you want for example to automatically add a system user to samba, mysql or other modules. In order for this to work ... More About: User , Synchronization
Proftpd: listen on single ip
More articles from this author:2008-04-07 10:56:00 I don't use ftp, I always use sftp/scp/rsync over ssh or even a fuse remote filesystem for transferring files but wordpress 2.5 comes with this nice feature to upgrade plugins automatically from the web admin interface that needs ftp. the problem is I don't want to enable the ftp service and make it available to the ... More About: Listen , Single 1, 2, 3, 4 |



