Show the 10 largest files in a system
sudo du -a / | sort -n -r | head -n 10
Find all pdfs in a directory that are older than 30 days and delete them
find -name “*.pdf” -type f -mtime +30 -exec rm -rf {} \;
Show the 10 largest files in a system
sudo du -a / | sort -n -r | head -n 10
Find all pdfs in a directory that are older than 30 days and delete them
find -name “*.pdf” -type f -mtime +30 -exec rm -rf {} \;
Worlds succinctest guide to setting up a phone gap project.
Then open a browser
http://localhost:4400/platforms/browser/www/index.html?enableripple=cordova-3.0.0
Thats it! Your cordova version may be different, the important part is the URI, which is the path between / and ?
I recently purchased a new Lenovo u430 ideapad that came stock with Windows 8. Windows 8 works perfectly with the touch screen laptop, it’s pretty amazing really.
That being said, i need a development environment for ruby on rails that is portable so I setup the system to dual boot into Ubuntu 12.04
After repartitioning the C drive so that i had an extra 60 GB of space and install Ubuntu everything worked pretty-OK with the laptop, except the wireless.
I ran the following code
[code]
lshw -C network
[/code]
And my wireless network came back as unclaimed, which means that the proper drivers are not in place for it to work correctly. This is what it looked like
ubuntu@ubuntu:~$ sudo lshw -c network
*-network UNCLAIMED
description: Network controller
product: Wireless 7260
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:04:00.0
version: 63
Download the Correct Drivers
Then run the following commands
[code][/code]
cd Desktop/backports-3.11-rc3-1/
make defconfig-iwlwifi
make
sudo make install
[\code]
reboot your laptop and all should be well.