PHP中如何實(shí)現(xiàn)crontab代碼
1. Clean up your hard drive5.清理你的硬盤
The more junk you have cluttering up your hard drive, the longer it takes for your system to access the data it needs—and that's a great reason to regularly scan your folders and toss out files and programs you don't need, or move them somewhere else to make more room.
你硬盤上積累的垃圾越多,你的系統(tǒng)找到需要數(shù)據(jù)的時(shí)間就越長——這就是定期檢查文件夾設(shè)置和移除不需要的文件和程序的原因,或者將它們放到其他地方,以給電腦留出更多空間。
One easy (and relatively cheap) solution, says Becky, is to buy an external hard drive for your music, photos, and videos, which can hog a surprisingly large amount of disk space (particularly when it comes to HD-quality TV shows and movies). You can find 500GB external hard drives
online for as little as $50, while plenty of 1TB drives (or 1,000 gigabytes) sell for south of $100. Most USB 2.0 external drives are plug-and-play, meaning you just plug them into your PC's USB 2.0 port and you're ready to start dragging and dropping.
一個(gè)簡單(又相對便宜)的解決方法,在貝奇看來,就是為你的音樂,相片和視頻購買一個(gè)去外接硬盤,它能保存讓你驚訝的大量硬盤空間(尤其是在高清電視節(jié)目和電影時(shí)代時(shí))。在網(wǎng)上,你會(huì)發(fā)現(xiàn)一個(gè)能容納500GB的外接硬盤只需要50美元,同時(shí)還有很多可容納1TB的移動(dòng)硬盤(即1000GB)正在銷售,這意味著你只需要把它們插入電腦的USB 2.0接口即可,而且還可以隨時(shí)更換它們。
Another options: online storage sites, such as Dropbox and Carbonite.另一個(gè)選擇:使用在線存儲(chǔ)網(wǎng)站,比如“Dropbox”和“Carbonite”。(譯者注:類似中文網(wǎng)站中的“115網(wǎng)盤”等)
Becky also recommends dumping any old programs that you no longer use. For Windows, click the Start menu, open the Control Panel, and select Add/Remove Programs (or "Uninstall a program" in Windows 7). Mac users can look in the Applications folder, which you can open in the Mac OS X Finder by clicking the Window menu and clicking Applications. See a program you simply never use anymore? Consider tossing it in the trash—although again, never throw away an application without knowing what it does first.
貝奇還推薦卸載一些你已經(jīng)不再使用的舊程序。對Window用戶,單擊“開始”菜單,打開“控制面板”,選擇“添加或刪除文件”(或Window7中的“卸載程序”)。蘋果機(jī)的使用者們則可以找到“應(yīng)用文件夾”,在那里,點(diǎn)擊“窗口”菜單和“應(yīng)用”按鍵后,你可以打開蘋果操作系統(tǒng)查詢。找到你一個(gè)基本不用的程序了嗎?考慮把它扔到垃圾桶吧——再次強(qiáng)調(diào),不要?jiǎng)h除一個(gè)你不知道是什么的程序。
2. Turn off Mac Dashboardwidgets6.關(guān)掉蘋果系統(tǒng)中的“儀表盤”工具
One of the more recent features in Mac OS X is the Dashboard—a layer of handy widgets that you can call up by clicking the Dashboard icon in the Dock. But while Dashboard widgets might be great for a quick check on the weather or to track the Dow, they also eat up a decent chunk of system resources.蘋果操作系統(tǒng)的一個(gè)最新特征就是“儀表盤”了——一個(gè)半透明圖層的手動(dòng)小工具,你可以隨時(shí)通過點(diǎn)擊“儀表盤”圖標(biāo)召喚它出來。但當(dāng)你通過它們快速的查看天氣或其他條目時(shí),它們也在“吞食”著你的系統(tǒng)資源。
Do yourself a favor and deactivate the widgets you don't use all that often, Becky advises. Activate the Dashboard, then click the "plus" sign in the bottom-left corner of the screen; next, click the "X" in the upper-left corner of any widgets that you won't miss.為你自己做件好事吧,貝奇建議說,把這個(gè)小工具移除,如果你用的不是那么頻繁的話。激活“儀表盤”,點(diǎn)擊屏幕底部左邊的“+”號(hào);然后點(diǎn)擊任何你可以在右
上角看到的“X”符號(hào),你不會(huì)錯(cuò)過它們的。
3. Try a new browser—or update your old one7.嘗試一個(gè)新的瀏覽器——或更新你現(xiàn)在用的
Has your browser been slowing to a crawl lately? Maybe it's time for a new one. Both Firefox and Google's Chrome Web browsers are popular—and powerful—alternatives to Internet Explorer, and don't forget that there's a Windows version of Apple's speedy Safari browser.
你的瀏覽器最近運(yùn)行很慢很慢了嗎?也許是時(shí)間換一個(gè)新的了。不論是火狐瀏覽器還是谷歌的“Chrome”瀏覽器都很流行——且很強(qiáng)大——都足以代替IE瀏覽器,哦,不要忘了,蘋果的“Safari”瀏覽器還有Windows界面呢。
Want to stick with the browser you have? Make sure you're using the latest version. For Internet Explorer, fire up the Windows Update app under the Start Menu. For Firefox, select "Check for update" under the Help menu. Got Chrome? Select "About Google Chrome" under the wrench icon in the Windows version, or under the Chrome menu in Mac OS X. For Safari, launch "Apple Software Update" under the Start menu in Windows, or select Software Update under the Apple menu on the Mac.還是想使用現(xiàn)有的瀏覽器?那就確定你用的是最新的版本吧。對于IE瀏覽器來說,打開開始菜單里的“Windows更新”應(yīng)用。對于火狐瀏覽器來說,選擇幫助菜單下的“檢查更新”項(xiàng)目。如果是Chrome瀏覽器?選擇Windows界面中的“關(guān)于谷歌Chrome”選項(xiàng),或蘋果操作系統(tǒng)中的“Chrome”菜單。對于Safari瀏覽器來說,運(yùn)行開始菜單窗口中的“蘋果軟件更新”項(xiàng)目,或選擇桌面蘋果菜單里的“軟件更新”選項(xiàng)。
One more thing: make sure you have the latest version of Adobe's Flash Player installed. Visit Adobe's Flash site to download the latest and greatest version (10.2, as of this writing).另:確保你安裝了最新的“Adobe's Flash Player”。訪問 Adobe's Flash網(wǎng)站,下載最新的版本(目前是10.2)。
4. Defragment your hard drive8. 重新整理你的硬盤
Your computer's hard drive is a lot like a closet: the more cluttered it is, the longer it takes to find stuff. One of the easiest (and most effective) ways of tidying up your hard drive is to defragment it, a process that involves consolidating scattered blocks of data into a larger chunk, resulting in bigger swaths of free disk space.你電腦中的硬盤已經(jīng)更像一個(gè)櫥柜了:它越是亂,找東西所花的時(shí)間就越長。讓你的硬盤變整潔,有一個(gè)最簡單(也是最有效率的)的方法,那就是重新整理它,幫助整合分散的數(shù)據(jù)區(qū)塊成一個(gè)大塊,使你擁有更整齊的列表和更多空間。
Luckily, defragmenting your hard drive in Windows is a snap. Select Computers from the Start menu, right-click on the icon that represents your hard drive, select Properties, click the Tools tab, and click the Defragment Now button.幸運(yùn)的是,在Windows系統(tǒng)下重新整理你的硬盤只不過是小意思。從開始菜單中進(jìn)入“我的電腦”,右鍵點(diǎn)擊需要整理的硬盤圖標(biāo),選擇屬性,然后點(diǎn)擊其中的“工具”一欄,最后單擊“開始整理”即可。
Got a Mac? Thanks to the disk optimization features built into Mac OS X, there's "little benefit" to manually fragmenting your hard drive, Apple says. But if you're feeling the need to try it anyway, there are several third-party defragmenting utilities for the Mac, including iDefrag and Drive Genius; just make sure to back up your data before giving them a go.你用的是蘋果機(jī)?那感謝蘋果操作系統(tǒng)的磁盤優(yōu)化特征吧,蘋果說,手工整理硬盤是會(huì)對你有“好處”的哦。但如果你認(rèn)為仍然值得嘗試一下自動(dòng)化,那么,這里有一些針對蘋果系統(tǒng)的第三方整理應(yīng)用,包括“iDefrag”和“Drive Genius”;只要確保在使用他們前備份好了你的數(shù)據(jù)就行。
【PHP中如何實(shí)現(xiàn)crontab代碼】相關(guān)文章:
php代碼如何實(shí)現(xiàn)命令行執(zhí)行05-21
PHP中多態(tài)如何實(shí)現(xiàn)05-06
PHP滾動(dòng)日志的代碼實(shí)現(xiàn)05-17
如何實(shí)現(xiàn)PHP靜態(tài)新聞列表自動(dòng)生成代碼04-25
如何在HTML中嵌入PHP代碼03-18
php實(shí)現(xiàn)無限級(jí)分類實(shí)現(xiàn)代碼04-10
PHP代碼如何規(guī)范02-13
php的curl實(shí)現(xiàn)get和post的代碼05-22
- 相關(guān)推薦