You are here: Home
Search
Search Only:

Search Keyword time

Total: 46 results found.

Page 1 of 3
Here's a little PHP command line script to do Apache Log Rotation on your web server. This script uses zip to compress the files and retains the logs for 10 days before deletion. <?php date_default_timezone_set('America/New_York'); ...
... Just no sync on the video. I figured it was an xorg.conf mis-configure. It wouldn't be the first time Ubuntu caused me such grief. So, I boot from the Live CD again, open the hard drive, and there was ...
An annoying little thing. When connecting via SSH to another machine for the first time SSH always prompts; --- The authenticity of host 'xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx)' can't be established. RSA ...
4. PHP CLI: Rsync Script
(Tech Notes/Linux)
... else $starttime=date('G:i:s', strtotime('now')); echo "Starting rsync...\r\n"; $retval=system("sudo rsync -avrl --delete ".$srcpath." ".$dstpath, $retval); if (!$retval==false) else $endtime=date('G:i:s',strtotime('now')); ...
5. Your Host...
(About/MicroSwamp)
... websites. I've been married to my soul-mate since 1980. By today's standards, that's a very long time. We have 2 great (most of the time) daughters. Kid's - what can you say?  ...
I spent more than 15 years in the data recovery business. From 1988 to 2003 I was recovering data from hard drives, CD's, other opticals, RAID, SAN and NAS systems full time. From 2003 to 2007 I just dabbled ...
7. Ubuntu: Change Hostname
(Tech Notes/Linux)
... the file /etc/hostname to read the hostname of the system at boot time and set it up using the init script /etc/init.d/hostname.sh /etc/hostname server So on a Debian based system we can edit the ...
... speaking, these are direct shots at Microsoft. Unfortunately, the view finder seems a little off as none, independently, will do major damage to Windows now or in the near future. Though each time these ...
9. Windows Under Siege
(IMHO/General)
... at the same time better and more offerings came into existence. New and technically better OS's do exist for the desktop. Not to mention the recent talk of cloud computing and the possibility that thin ...
Last weekend I decided it was time for a fresh installation of Ubuntu Linux. Upgrading from version to version sometimes leaves your system a little "off". So, I generally do a fresh installation every ...
... For example, hdparm -tT /dev/sda (replace sda with your appropriate device) performs a quick timed cache and buffer read test. This allows you to detemine if the drive has slowed which could indicate an ...
12. DDoS Defences
(Tech Notes/Linux)
... while to go all the way through to requesting a URL, which means getting handled by a resilient web server, and getting logged. After getting logged the logs are analyzed (hopefully in near real-time) ...
13. Ubuntu: Gnome or KDE
(Tech Notes/Linux)
... is a necessity for some. If you spend time administering Linux servers, then it makes sense to use a Linux desktop to do so. The same seems to hold true to Mac OS X and Windows environments. If you spend ...
14. HTTP Server Response Codes
(Development/HTML)
... the format the page is configured for. 407 The request must be authorized before it can take place. 408 The request timed out. For some reason the server took too much time processing ...
I've been using Kubuntu for some time. I don't recall when, but at some point the form controls got ugly in Firefox. Radio buttons, check boxes and the like. I tried all the stuff in the forums. The ...
16. WordPress: Remove Logo on Login Form
(Development/WordPress)
... a page that screams WORDPRESS. Frankly, I'd rather that bit of confusion didn't exists. This issue has always been an objection of mine to the WordPress login page. There was a time when that big 'ol ...
17. Javascript: Cookies
(Development/Javascript)
... = new Date( today.getTime() + (expires) ); document.cookie = name + "=" +escape( value ) + ( ( expires ) ? ";expires=" + expires_date.toGMTString() : "" ); }   function get_cookie ( cookie_name ...
... $time=time()+3600; //create-reset the cookie setcookie("sessid",$sid, $time,"/"); setcookie("sessname",$sname, $time,"/"); ?> Note: Creating cookies with PHP is problematic. See http://microswamp.com/development/java/117-javascript-cookies ...
... in which a portion of the assistant neutrons and deputy neutrons exchange places. In fact, Governmentium's mass will actually increase over time, since each reorganization will cause more morons to become ...
20. Linux: File & Directory Pruning
(Tech Notes/Linux)
... DO NOT execute these commands as the root user!!!! Note: Change to the directory (cd) you want to work in before executing  the command. Removing old files; Command: find . -mtime +90 -type f -exec ...
<< Start < Prev 1 2 3 Next > End >>