|
|
articles
Posted by Catalin Negraru on Fri, 22 Mar 2013
Setup root password for MySQL:
/usr/local/mysql/bin/mysqladmin -u root -p password... » Read more...
Posted by Catalin Negraru on Wed, 27 Feb 2013
How to add Expires headers
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 1 month"
ExpiresByType image/x-icon "access plus 1 year”
# Images
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/jpg "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
# CSS
ExpiresByType text/css "access 1 month”
# Javascript
ExpiresByType text/javascript "access plus 1 week"... » Read more...
Posted by Catalin Negraru on Sat, 16 Feb 2013
Fix for "Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName" Error
sudo /etc/init.d/apache2 restart
Reloading web server config: apache2apache2:
Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
To fix this problem, you need to edit the httpd.conf file.
Open your terminal and type:
sudo gedit /etc/apache2/httpd.conf
Add the following line to httpd.conf:
ServerName localh... » Read more...
Posted by Catalin Negraru on Sun, 10 Feb 2013
Problem
When updating the Debian based system, apt-get may display an error message like:
W: GPG error: http://download.webmin.com sarge Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D97A3AE911F63C51
Solution
Type the following commands:
gpg --keyserver pgpkeys.mit.edu --recv-key D97A3AE911F63C51
gpg -a --export D97A3AE911F63C51 | sudo apt-key add -
... » Read more...
Posted by Catalin Negraru on Sun, 20 Jan 2013
The CIRA whois response don't contain 'AVAIL' any longer, all available domain name for registration will contain: 'Domain Status: available'
Please note that you need to add 9 spaces between the colon of 'status:' and the word 'available'
whois.cira.ca|Domain status: available
... » Read more...
Posted by Catalin Negraru on Sun, 2 Dec 2012
# apt-get install libfuse2
# apt-get install ntfs-3g
# fdisk -l | grep NTFS
sample: /dev/sdb1 1 121601 976760001 7 HPFS/NTFS
# mkdir /media/YOUR-FOLDER
# mount -t ntfs-3g /dev/sdb1 /media/YOUR-FOLDER
To auto mount it whenever the system starts, modify the file fstab located in etc in your text editor of choice. Be careful! If you damage this file it will not boot.
# vi /etc/fstab
and add the line
/dev/sdb1 /media/YOUR-FOLDER ntfs-3g defaults 0 0
Save... » Read more...
Posted by Catalin Negraru on Tue, 13 Nov 2012
The tcpdump command displays out the headers of packets on a network interface that match the boolean expression.
To drop ssh traffic from dumping and monitoring operation using the following syntax:
tcpdump -i eth1 -s 1500 port not 22
... » Read more...
Posted by Catalin Negraru on Fri, 21 Sep 2012
The following steps will get you an iTunes account without entering your credit card info.
Log into iCloud on your iPhone, tap: Account / Payment information;
Change Credit Card to NONE;
Than go to App Store and download free apps without entering your credit card.
... » Read more...
Posted by Catalin Negraru on Fri, 10 Aug 2012
Open Terminal and enter the following command (make sure you have administrative rights)
Flush DNS Cache - Mac OS X 10.7, Mac OS X 10.8
sudo killall -HUP mDNSResponder
Flush DNS Cache - Mac OS X 10.5, Mac OS X 10.6
dscacheutil -flushcache
Flush DNS Cache - Mac OS X 10.4 Tiger
lookupd -flushcache
... » Read more...
Posted by Catalin Negraru on Thu, 9 Aug 2012
netstat -alpn | grep :80 | awk '{print $5}' |awk -F: '{print $(NF-1)}' |sort | uniq -c | sort -n
... » Read more...
Posted by Catalin Negraru on Wed, 4 Apr 2012
Open terminal, type
cd /Volumes
and then
ls
to display all volumes and
cd Time Machine Backups
to go into the Time Machine volume.
Because Trashes is hidden type
ls -a
to display all files
To delete the trashes folder type
sudo rm -rf .Trashes
... » Read more...
Posted by Catalin Negraru on Thu, 26 Jan 2012
Fotoshop by Adobé from Jesse Rosten on Vimeo.... » Read more...
Posted by Catalin Negraru on Tue, 27 Sep 2011
Is this iPhone5 holographic thing real or fake?
... » Read more...
Posted by Catalin Negraru on Tue, 13 Sep 2011
It looks like Gmail is going down. In the last period of time, my Gmail account (Google Apps) had numerous errors and bugs. This are just couple of errors in the last five minutes:Here is what they have to say:
We feel your pain, and we're sorry
Monday, August 11, 2008 | 6:05 PMPosted by Todd Jackson, Gmail Product ManagerMany of you had trouble accessing Gmail for a couple of hours this afternoon, and we're really sorry. The issue was caused by a temporary outage in our contacts system that w... » Read more...
Posted by Catalin Negraru on Sun, 28 Aug 2011
Danny MacAskill, April 2009
... » Read more...
Posted by Catalin Negraru on Mon, 1 Aug 2011
Printing Tips for OS X / Firefox 5
Enter in your browser address bar about:config
Search in header into the filter bar and delete any info these value settings
Search in footer into the filter bar, again delete the values, do NOT the entire line!
... » Read more...
Posted by Catalin Negraru on Sat, 16 Jul 2011
The simplest way to to generate QR Codes using Google API
<?php
$urlToEncode="http://www.negraru.com";
generateQRwithGoogle($urlToEncode);
function generateQRwithGoogle($chl,$widhtHeight ='150',$EC_level='L',$margin='0') {
$url = urlencode($url);
echo '<img src="http://chart.apis.google.com/chart?chs='.$widhtHeight.
'x'.$widhtHeight.'&cht=qr&chld='.$EC_level.'|'.$margin.
'&chl='.$chl.'" alt="QR code" widhtHeight="'.$size.
'"... » Read more...
Posted by Catalin Negraru on Fri, 15 Jul 2011
I use the following PHP script to retrieve data from my AdSense account (impressions, clicks, ctr, ecpm, earnings).
It's great to be used with a Cron Job to receive daily emails or SMS alerts.
Thanks to Alexander Makarow!
<?php
/* ------ CHANGE THIS -------- */
$username = 'USERNAME@gmail.com';
$password = 'PASSWORD';
/*
* PHP class that can retrieve data from AdSense account
* It's based on PHP AdSense account monitor class (http://www.webtoolkit.info/php-adsense-a... » Read more...
Posted by Catalin Negraru on Thu, 14 Jul 2011
... » Read more...
Posted by Catalin Negraru on Wed, 26 Jan 2011
How to use .htaccess 301 redirect?
To prevent getting 404 File Not Found error (traffic coming from links, bookmarks and search engines), .htaccess redirect is better than the meta refresh or redirect tag because there is no delay as the browser reads the .htaccess file first.
Go to your site's root folder (public_html or www), download the .htaccess file to your local computer and edit it with a plain-text editor.
If you are using FTP Client software and you don't see any .htaccess file ... » Read more...
Posted by Catalin Negraru on Mon, 17 Jan 2011
Access your reports from your Android phone, iPhone, iPod or iPad from www.dental-web-sites.com/analytics
Powered by Piwik Mobile
Download Piwik Mobile for iOs
Download Piwik Mobile for Android
Piwik Mobile gives you access to all reports: Referers, Best keywords, Websites, Top Page URLs, Page Titles, Goals, etc. all you need is an Internet connection.
You can see at a glance how all your websites are doing using the 'All Websites' dashboard.The app is available in more th... » Read more...
Posted by Catalin Negraru on Fri, 7 Jan 2011
... » Read more...
Posted by Catalin Negraru on Wed, 15 Dec 2010
Kissing Family
Show Clips The Vogelchecks have no problem showing their affection around the holidays.
Comments
TO EVERY PERSON WHO IS INSULTED BY THIS VIDEO: although I dont love all of snl's skits especially because it is very liberal, people also need to learn how to take a joke the ridiculousness is what makes it funny and sorry they didnt research every Romanian custom its not like any of you know about America because all you think we have are fat people and Walmart which is j... » Read more...
Posted by Catalin Negraru on Tue, 14 Dec 2010
... » Read more...
Posted by Catalin Negraru on Sat, 11 Dec 2010
... » Read more...
Posted by Catalin Negraru on Mon, 8 Nov 2010
Perversa ca pe Targu Ocna intr-o apostare din Rahova timp de 3600 secunde.
In Puii Mei "Perversa ca pe Targu Ocna"
In puii mei - Perversa ca pe Targu Ocna la Bacalaureat
... » Read more...
Posted by Catalin Negraru on Thu, 4 Nov 2010
Prietenii "telecomande" la doctor.
Prietenii "telecomande" la agentia matrimoniala.
O Telecomanda Doua...Nu stiu d-astea - La tribunal
O Telecomanda Doua...Nu stiu d-astea - Bianca lu' Bote
O Telecomanda Doua...Nu stiu d-astea - Dj Alex D. Remix
O Telecomanda Doua...Nu stiu d-astea - Mondenii
... » Read more...
Posted by Catalin Negraru on Tue, 26 Oct 2010
... » Read more...
Posted by Catalin Negraru on Sat, 23 Oct 2010
Twitter’s Creative Director Doug Bowman says: To anyone curious about #NewTwitter proportions, know that we didn’t leave those ratios to chance.”
... » Read more...
Posted by Catalin Negraru on Sat, 23 Oct 2010
Use this simple PHP script to send direct messages or to receive alerts (SMS, email) through Twitter:
<?php$result = shell_exec('curl -u TWITTER_USER_SENDER:TWITTER_PASSWORD -d "text=Testing a remote direct message via CURL&user=TWITTER_USER_RECEIVER" http://twitter.com/direct_messages/new.xml'); ?>... » Read more...
Posted by Catalin Negraru on Fri, 22 Oct 2010
In order to take an innovative idea from the embryo of a concept to market, you need to have the determination to push through failure. The odds are against you no matter the idea and statistics say you are going to fail a few times on your road to success. Knowing this, you have to hedge your bets more effectively so you can adjust your path and continue forward.
Don’t be intimidated by the perceived brilliance of innovative designs, because you are typically seeing the last iteratio... » Read more...
Posted by Catalin Negraru on Tue, 19 Oct 2010
Video from a camera attached to a weather balloon that rose into the
upper stratosphere and recorded the blackness of space.
Homemade Spacecraft from Luke Geissbuhler on Vimeo.... » Read more...
Posted by Catalin Negraru on Mon, 11 Oct 2010
Pull down the address bar typed URLs history list, use cursor or mouse to point the URL or link that you want to delete, and then press SHIFT-DELETE keys. The URL or link will be removed from the address bar history.... » Read more...
Posted by Catalin Negraru on Sun, 26 Sep 2010
Google announced today that they've purchased ITA, a Boston-based company speciailzing in airline data, for $700 million, as rumored a few months back. ITA had been the subject of a hot little bidding war, with Microsoft, Expedia, and Kayak all rumored to be fighting for the company. But Google snagged it. So what does this mean?In short, it means Google Flight Planner. I don't know if that'll be the actual title, but it's safe to say Google will announce some variation on it in the coming month... » Read more...
Posted by Catalin Negraru on Fri, 20 Aug 2010
As technology changes, design changes to adapt. Consider screen resolutions over time. In the past decade, designs have moved from accommodating 640 x 480 (still over 10% of users in 2000) to 800 x 600, and now to at least 1024 x 768 pixels (with around 75% of users having higher resolutions).In the same time period, the physical size of displays has also generally increased but now includes a lot more variety. A decade ago, 15” desktop screens were common, and 20” screens were a... » Read more...
Posted by Catalin Negraru on Sun, 8 Aug 2010
Once you sign up your domain for Google Apps, you will have to change the MX records for your domain in order to use it in Gmail. If you are using cPanel, this can be easily done by using the MX Entry option. There find the domain you will be pointing to Google Apps Mail and delete all of its MX records. Then add the following MX records with the corresponding priority for your domain: Priority Mail server -------------------------------------- 1 ASPMX.L.G... » Read more...
Posted by Catalin Negraru on Fri, 23 Jul 2010
Kseniya Simonova - Sand Animation
... » Read more...
Posted by Catalin Negraru on Fri, 23 Jul 2010
The ie6-upgrade-warning is a little script (7.9kb) that displays a warning message politely informing the user to upgrade the browser to a newer version (links to newest IE, Firefox, Opera, Safari, Chrome are provided).
The webpage is still visible behind a transparent background, but access to it is prevented. The idea is to force users to upgrade from IE6 and avoid the website from a bad reputation that website is not rendering correctly in IE6.
The script is completely translatable... » Read more...
Posted by Catalin Negraru on Fri, 23 Jul 2010
Are you shopping for a payment processing company so that you can accept credit card payments? Before you sign on the dotted line consider this. Most Canadian small business owners don't know what questions to ask payment processing companies before choose a provider and are shocked by the true costs when bills begin to arrive.The best way to avoid being surprised is to ask the right questions. This article identifies 17 questions that will make a difference, by arming you with the information y... » Read more...
Posted by Catalin Negraru on Mon, 19 Jul 2010
Google, with 65% market share. Google is so powerful the second player, Yahoo, just bailed out of the market. And third place Microsoft is throwing billions of dollars around just to get in the game.We’ve seen Wikia, Cuil and other well backed startups try and fail at search. Now Blekko is preparing to launch. Will they find success where everyone else has failed?
Blekko was founded in 2007 by the same team that built the open directory (DMOZ) and Topix.
Investors:
USVP, CMEA Capit... » Read more...
Posted by Catalin Negraru on Tue, 13 Jul 2010
CSS Conditional comments for IE are a perfect way of hiding this hacky code from the good browsers. Here is a way to bring in the CSS for only IE 6 and below:
< ! -- [if lte IE 6] >
< link rel="stylesheet" type="text / css" href="pngfix.css" / >
< ! [endif] -->
pngfix.css
* html img,
* html .png{
position:relative;
behavior: expression((this.runtimeStyle.behavior="none")&&(this.pngSet?this.pngSet=true:(this.nodeName == "IMG" && this.src.toLowerCase().indexOf('.png')>-1?(thi... » Read more...
Posted by Catalin Negraru on Wed, 23 Jun 2010
Apple just released iOS4 for the iPhone and iPod touch, and now that you've downloaded and upgraded to the much-hyped iDevice update, here's a look at the new shortcuts, settings, and features you'll need to know—and want to use.
The New Shortcuts
On a little device with just one button and no major forms of interaction beyond tapping a screen, shortcuts can be serious timesavers. Here are the new shortcuts in iOS4 you'll want to know:
Hold then drag-and-drop to create app folde... » Read more...
Posted by Catalin Negraru on Mon, 31 May 2010
Source: StatCounter Global Stats - Browser Version Market Share... » Read more...
Posted by Catalin Negraru on Tue, 11 May 2010
Apple has a long relationship with Adobe. In fact, we met Adobe’s founders when they were in their proverbial garage. Apple was their first big customer, adopting their Postscript language for our new Laserwriter printer. Apple invested in Adobe and owned around 20% of the company for many years. The two companies worked closely together to pioneer desktop publishing and there were many good times. Since that golden era, the companies have grown apart. Apple went through its near death exp... » Read more...
Posted by Catalin Negraru on Mon, 26 Apr 2010
Speaker: Scott Berkun
Taken from the “From Business to Buttons” Conference, Scott Berkun talks about design failure and its causes. Sometimes it’s problems in our design process or how we carry it out that cause failure. But in many cases, it’s the other stuff, the non-design stuff, the business stuff that causes failure. Scott argues the need to consider these other aspects — pitching ideas, learning to talk the language of business, and so on — as design problems too.
... » Read more...
Posted by Catalin Negraru on Fri, 16 Apr 2010
Logorama by Marc Altshuler - Human Music
... » Read more...
Posted by Catalin Negraru on Tue, 6 Apr 2010
Sometime today the layout changed for Google. Here are the differences:
... » Read more...
Posted by Catalin Negraru on Sat, 3 Apr 2010
Designers Rahul Mahtani & Yofred Moik from the Industrial Design program at Syracuse University came up with this concept called Google Envelopes. Wouldn’t it be great to be able to map the course of mail and how it can tell a story? They came up with Google Envelopes, which can be sent through G-Mail itself. It’s only a concept, but totally viable and something people can immediately understand.
... » Read more...
Posted by Catalin Negraru on Fri, 2 Apr 2010
Google Inc. says Bell Canada Inc. is breaking Canadian telecommunications law by slowing certain internet traffic, and is urging the CRTC to take action against the company."Bell claims its throttling of peer-to-peer applications is a reasonable form of network management. Google respectfully disagrees. Network management does not include Canadian carriers’ blocking or degrading lawful applications that consumers wish to use," the company wrote in a 15-page submission to the Canadian Radio... » Read more...
Posted by Catalin Negraru on Thu, 1 Apr 2010
Ana Zidarescu - Evenimentul Zilei
AZ: Cand ai ajuns in Canada? Care au fost motivele pentru care ai ales aceasta tara?CN: Am plecat din tara in 2004. Frecusurile de zi cu zi care imi umpleau nepermis de mult viata, nepasarea si atitudinea unora au fost principalele motivele pentru care am decis doar sa vizitez Romania.AZ: Ai o diploma in arte vizuale. Cum ai facut pasul spre web design?CN: Dupa ce am terminat studiile la Universitatea de Arte Bucuresti - Sectia Grafica, am lucrat la mai m... » Read more...
Archives By Month
|
|
|