- Open a Terminal window, which you’ll find in the Utilities folder of the Applications list in Finder.
- Type the following two commands, one after the other, giving each
time to finish. Note that you’ll be prompted for your login password.
This is fine.
sudo update_dyld_shared_cache -debug sudo update_dyld_shared_cache -force
- Reboot your Mac.
Sunday, May 29, 2016
Speeding-up Microsoft Office 2016 startup times On Macs
Monday, May 23, 2016
Saturday, April 9, 2016
ASCII Symbols
Friday, April 1, 2016
FireFox Extension DownThemAll
extensions.dta.ntask //for max concurrent downloads
extensions.dta.serverlimit.perserver //for max concurrent downloads per server
extensions.dta.maxchunks //for max segments per download
(the "preferences" menu will show the values incorrectly if over the "max value" but it should work)
Tuesday, March 15, 2016
Apple External Monitor Blurry Fonts Fix El Capitan
Read Font Smoothing Setting
defaults read NSGlobalDomain AppleAntiAliasingThresholdSet a Softer Font Smoothing Setting
defaults -currentHost write -globalDomain AppleFontSmoothing -int 2Return to the Default Font Smoothing Setting
defaults -currentHost write -globalDomain AppleFontSmoothing -int 4defaults -currentHost delete -globalDomain AppleFontSmoothingSet Font Smoothing Globally or Per Application
defaults -currentHost write .GlobalPreferences AppleSmoothFontsSizeThreshold -int 16defaults -currentHost write .GlobalPreferences AppleFontSmoothing -int 0defaults -currentHost write com.apple.safari AppleAntiAliasingThreshold -int 16Friday, October 2, 2015
Apple OSX 10.11 El Capitan Tweaks (defaults write)
OSX El Capitan Tweaks (defaults write)
# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false
# Set a shorter Delay until key repeat
defaults write NSGlobalDomain InitialKeyRepeat -int 12
# Set a blazingly fast keyboard repeat rate
defaults write NSGlobalDomain KeyRepeat -int 0
# Disable window animations ("new window" scale effect)
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false
# Turn on dashboard-as-space
defaults write com.apple.dashboard enabled-state 2
# Use plain text mode for new TextEdit documents
defaults write com.apple.TextEdit RichText -int 0
# Make top-right hotspot start screensaver
defaults write com.apple.dock wvous-tr-corner -int 5 && \
defaults write com.apple.dock wvous-tr-modifier -int 0
# Set default Finder location to home folder (~/)
defaults write com.apple.finder NewWindowTarget -string "PfLo" && \
defaults write com.apple.finder NewWindowTargetPath -string "file://${HOME}"
# Expand save panel by default
defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true
# Disable ext change warning
defaults write com.apple.finder FXEnableExtensionChangeWarning -bool false
# Check for software updates daily, not just once per week
defaults write com.apple.SoftwareUpdate ScheduleFrequency -int 1
# Use current directory as default search scope in Finder
defaults write com.apple.finder FXDefaultSearchScope -string "SCcf"
# Show Path bar in Finder
defaults write com.apple.finder ShowPathbar -bool true
# Show Status bar in Finder
defaults write com.apple.finder ShowStatusBar -bool true
# Show icons for hard drives, servers, and removable media on the desktop
defaults write com.apple.finder ShowExternalHardDrivesOnDesktop -bool true && \
defaults write com.apple.finder ShowHardDrivesOnDesktop -bool true && \
defaults write com.apple.finder ShowMountedServersOnDesktop -bool true && \
defaults write com.apple.finder ShowRemovableMediaOnDesktop -bool true
# Avoid creating .DS_Store files on network volumes
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true
# Disable disk image verification
defaults write com.apple.frameworks.diskimages skip-verify -bool true && \
defaults write com.apple.frameworks.diskimages skip-verify-locked -bool true && \
defaults write com.apple.frameworks.diskimages skip-verify-remote -bool true
# Trackpad: map bottom right corner to right-click
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadCornerSecondaryClick -int 2 && \
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadRightClick -bool true && \
defaults -currentHost write NSGlobalDomain com.apple.trackpad.trackpadCornerClickBehavior -int 1 && \
defaults -currentHost write NSGlobalDomain com.apple.trackpad.enableSecondaryClick -bool true
# Enable the Develop menu and the Web Inspector in Safari
defaults write com.apple.Safari IncludeInternalDebugMenu -bool true && \
defaults write com.apple.Safari IncludeDevelopMenu -bool true && \
defaults write com.apple.Safari WebKitDeveloperExtrasEnabledPreferenceKey -bool true && \
defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2DeveloperExtrasEnabled -bool true && \
defaults write NSGlobalDomain WebKitDeveloperExtras -bool true
# Show the ~/Library folder
chflags nohidden ~/Library
# Show absolute path in finder's title bar.
defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES
# Enable text copying from Quick Look
defaults write com.apple.finder QLEnableTextSelection -bool YES
# Auto-play videos when opened with QuickTime Player
defaults write com.apple.QuickTimePlayerX MGPlayMovieOnOpen 1
# Enable AirDrop over Ethernet and on unsupported Macs
defaults write com.apple.NetworkBrowser BrowseAllInterfaces -bool true
# Disable WebkitNightly.app's homepage
defaults write org.webkit.nightly.WebKit StartPageDisabled -bool true
Monday, September 21, 2015
Fix Frozen App Store Updates and High softwareupdated CPU in OSX
softwareupdate -lsoftwareupdate -i [package name]softwareupdate -i -asoftwareupdate -i -rsoftwareupdate --ignore [package name]softwareupdate --helpsudo softwareupdate -i -rDisplay Your Download HIstory on a Mac OSX with a Terminal Command
sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV* 'select LSQuarantineDataURLString from LSQuarantineEvent'
sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV* 'delete from LSQuarantineEvent'
Sunday, September 20, 2015
Optimizing SSD Access-Time (noatime)
Terminal commands:
echo '<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> <string>com.noatime</string> <key>ProgramArguments</key> <array> <string>mount</string> <string>-vuwo</string> <string>noatime</string> <string>/</string> </array> <key>RunAtLoad</key> <true/> </dict> </plist>' | sudo tee /Library/LaunchDaemons/com.noatime.plist sudo chown root:wheel /Library/LaunchDaemons/com.noatime.plist
Reboot
Friday, September 11, 2015
Control Your OSX Power/Performance With pmset
Active Profiles:
Battery Power -1
AC Power -1*
Currently in use:
standbydelay 4200
standby 1
womp 0
halfdim 1
hibernatefile /var/vm/sleepimage
darkwakes 0
gpuswitch 1
networkoversleep 0
disksleep 0
sleep 60
autopoweroffdelay 14400
hibernatemode 0
autopoweroff 1
ttyskeepawake 1
displaysleep 10
acwake 0
lidwake 1
womp: wake on ethernet magic packet, 1 to enable or 0 to disable
autorestart: automatic restart on power loss, 1 to enable or 0 to disable
halfdim: display sleep will use an intermediate half-brightness state between full brightness and fully off, 1 to enable or 0 to disable
sms: use Sudden Motion Sensor to park disk heads on sudden changes in G force, 1 to enable or 0 to disable
hibernatefile: change hibernation image file location. Image may only be located on the root volume.
gpuswitch: which GPU you are using (0 for integrated GPU, 1 for dedicate gpu)
disksleep: disk spindown timer (value in minutes, or 0 to disable)
sleep: system sleep timer (value in minutes, or 0 to disable)
hibernatemode: change hibernation mode. Please use caution. (value = integer)
ttyskeeepawake: prevent idle system sleep when any tty (e.g. remote login session) is ‘active’. A tty is ‘inactive’ only when its idle time exceeds the system sleep timer. (value = 0/1)
displaysleep: display sleep timer (value in minutes, or 0 to disable)
acwake: wake the machine when power source (AC/battery) is changed, 1 to enable or 0 to disable
lidwake: wake the machine when the laptop lid (or clamshell) is opened, 1 to enable or 0 to disable
For the new Macs, the most important ones are ( hibernatemode and gpuswitch). If your Mac come with SSD, then disksleep is also important. Make sure you set them as they appear above for the best performance.
Monday, August 17, 2015
FireFox / Chrome Error: An error occurred during a connection to X.X.X.X SSL received a weak ephemeral Diffie-Hellman key in Server Key Exchange handshake message. (Error code: ssl_error_weak_server_ephemeral_dh_key)
about:config
Here in this config page, you will find a list of boolean entries. Search for below two entries,
security.ssl3.dhe_rsa_aes_128_sha security.ssl3.dhe_rsa_aes_256_sha
By default, these are set to TRUE. But you have to set them to FALSE in order to allow the less secured pages.
For Chrome and Opera users, instead of using HTTPS try using HTTP.
Saturday, August 15, 2015
Using WhatsApp Web on Apple iPad and iOS
Sunday, March 29, 2015
Disable CPU Throttling in Mac OSX
Adjusting the speed of the CPU also called "dynamic frequency scaling", CPU throttling is commonly used to slow down the computer whenever possible to use less energy and conserve battery. It is also used to make the system quieter, but slower. The below will force all the CPU cores in Mac to be online:
- Enable Root user
- System Preferences
- Users & Groups
- Login Options
- Network Account Server: Join
- Open Directory Utility
- Edit -> Enable Root User
- Open Terminal
- Execute:
- su - root
- nano /Library/Preferences/SystemConfiguration/com.apple.Boot.plist
- add the following string
- <string>idlehalt=0</string>
- Exist and Save
- Reboot
Tuesday, February 10, 2015
Import eMails & Mailbox From Apple Mail to Microsoft Outlook 2011 OSX
The issue is due to the FSTypeCode not being set by Apple Mail.app, which is actually really easy to fix.
First, in Mail.app, export the mailbox(s) you want to import in Microsoft Outlook 2011.
In my case, after I select my Archive mailbox, I get:
$ ls -1 Inbox2007.mbox
The Apple mbox format is actually a folder that contains a few files inside:
$ ls -1 Inbox2007.mbox Info.plist
mbox
table_of_contents
Where mbox is the real mbox and only tfile we need to import into Outlook, but if we try now (Import -> Contacts or messages from a text file -> Import messages from an MBOX-format text file) we’ll see the mbox file in the Finder is greyed out. This is because the FSTypeCode is not set:
$ mdls Inbox2007.mbox/mbox | grep 'FSTypeCode' kMDItemFSTypeCode = ""
What we need to do is to change the code to TEXT. We can do this with a simple command (I used find since I exported several mboxes at once):
$ find . -name '*.mbox' -exec SetFile -t 'TEXT' {}/mbox \; -print ./Inbox2007.mbox
If we now test for the FSTypeCode, we verify it’s correctly set as TEXT
$ mdls Inbox2007.mbox/mbox | grep 'FSTypeCode'
kMDItemFSTypeCode = "TEXT"
We can now finally go back to Outlook and import the mbox file: Import - > Contacts or messages from a text file -> Import messages from an MBOX-format text file.
Thats it!!!
Search Keywords:
Import Apple Mail Mail.app eMail eMails Microsoft Outlook 2011 OSX Mac Lion Mountain Yosemite
i-tweak@hotmail.com
Friday, February 6, 2015
STC Bands
1 (2100 MHz) STC
2 (1900 MHz)
3 (1800 MHz) STC
4 (AWS)
5 (850 MHz)
7 (2600 MHz)
8 (900 MHz)13 (700c MHz)
17 (700b MHz)
18 (800 MHz)
19 (800 MHz)
20 (800 DD)
25 (1900 MHz)
26 (800 MHz)
28 (700 APT MHz)
29 (700 de MHz)
Samsung S5 LTE-A @ 2100 (Band 1) on STC
Wednesday, January 28, 2015
25 Hidden Nexus 5 Features
The Nexus 5 is an extremely powerful device all for a great price, making it one of the most popular Nexus smartphones to date. With so many buyers enjoying the new smartphone you’re probably wondering if there’s some tips, tricks, or hidden features under that stock version of Android 4.4.2 KitKat.
With a new Google experience launcher and tons of little features hidden under settings menus, quick toggles, long press combinations and more you’ll be happy to know we’ve uncovered 25 hidden features you all should know about. Many may be obvious to some, but the vast majority of consumers could go months, if not a year using the device without unearthing some of these.
You won’t have to root (Android’s version of Jailbreak) your smartphone, flash custom software or ROMs, or even download apps. All these features and tricks are right on the device out of the box, and will make using the Nexus 5 and KitKat that much more enjoyable.
Lockscreen
The lockscreen is as powerful as ever in Android 4.4 KitKat and as a result there’s tons of options for widgets, quick access to Google Now, quick launch for the camera, and even music controls all like never before. The first thing you see when you hit the power button is the lockscreen, so here’s a few things you can do without even unlocking your device.Lockscreen Widgets
For security reasons lockscreen widgets are disabled out of the box, because users can have Gmail info in widgets, calendar details, and other sensitive information. Go ahead and enable lockscreen widgets, then add clocks, Gmail notifications, calender widgets, SoundHound music search and more all to your lockscreen. Enabling tons of features without ever unlocking your device.Settings > Security > Enable Widgets (second option) and that’s it. All set!
DashClock is an app on the Play Store full of extensions and features for the lockscreen widgets, and many app developers have updated their apps with support for lockscreen widgets. Tap the add (+) button and throw whatever you’d like on that screen, then long press and drag to rearrange or remove.
Lockscreen Camera & Music Controls
With previous versions of Android sliding from right to left on the lockscreen would quickly access the camera, which is one of my favorite features, but many users didn’t know about it. With KitKat and the Nexus 5 it’s still available, but there’s also a dedicated camera button on the bottom left of the lockscreen to remind you.As you saw above, a simple swipe from anywhere on the right side will quick-launch the camera app, or you can drag the camera icon to the left and get right into shooting photos with the 8 megapixel camera.
Then, the lockscreen music controls have been enhanced. You’ll now get fullscreen album art as you see in the video above, but there’s a little hidden feature. Long press the Pause button and the forward and back controls disappear and become a slider, allowing users to seek through songs with speed and precision. The more you know!
HDR Camera
Speaking of the camera, the Nexus 5 has an 8 megapixel shooter with optical image stabilization. Overall the camera is quite good, but only excels in an environment with good lighting. If you aren’t snapping photos of a moving object or an action-shot, enable HDR mode in settings for the best photo experience.HDR (High Dynamic Range) photography with the Nexus 5 takes two photos. One with a high exposure and one with a lower, then combines the two giving you the shadows, and brights all in one better photo than you’d get with regular options. This is the only way I use my camera, unless I’m taking action shots.
Photos While Recording
Another neat feature that many don’t know about, that’s so simple we don’t need a video to explain, is taking photos while recording video. On the Nexus 5 and most stock Android 4.4 KitKat devices you can easily snap photos while recording a video.While recording video simply tap the screen and it will automatically take a photo and add it to your gallery. It’s the same high resolution as most photos, and will likely be in perfect focus. This is a quick way to snap photos while also recording a special moment.
Lockscreen Google Now
Before we get away from the lockscreen we have to talk about Google Now. Google’s search app (Google Now) is the most powerful feature of Android, and does so many things that’s another story all-together. However, to quickly access Google Now right from your lockscreen to search for a nearby store, look up directions, ask Google a question, and anything else here’s how to do it quickly.There’s a small arrow on the bottom middle of the lockscreen, something that replaced an odd circle in previous versions of Android. This little icon is a reminder that a quick slide up from the bottom edge will launch Google Now. It’s that easy. Now right from the lockscreen say “Ok Google” (which fires up voice controls) and search for whatever you’d like. Try saying, “Ok Google, Go to GottaBeMobile.com”
Turn Off Google Now
Google Now is a powerful tool that I’d never live without now that Google’s integrated it into Android. We’re not sure why anyone would ever want to disable Google Now, but if you’d like to, here’s how.Open Google Now with the quick setting above, or swipe to the left and enter Google Now on the Nexus 5. Scroll to the bottom and tap the three dots on the bottom left (menu) > tap settings > and simply tap the On/Off switch at the top to disable Google Now.
Wireless Charging
Unlike some smartphones that require a secondary battery cover or unique case that’s expensive, the Nexus 5 has wireless QI charging built-in. This enables users to buy a wireless charging dock (like Google’s own Nexus Charger) and simply drop the phone on to charge without hassling with cables. It’s a drop and go system.This can be yours for just $49 right from the Google Play Store.
Smart Dialer & Caller ID
With Android 4.4 KitKat Google changed the dialer and phone app completely. While I’m not a fan of the redesign and confusion with finding call history, everything else about the new dialer is awesome. Google Search and caller ID is essentially built-in with KitKat and the Nexus 5.Instead of a number start typing a business name and Google Search finds it for you, nearest to your location, and you can call it within seconds. There’s no need for the yellow pages. Then, if possible it will even pull up location information, and an image from the web if available. Anything from the Post Office, Best Buy, to a nearby Restaurant and more. It’s the little things that make a difference, and this is one of them.
Hangouts & Default SMS App
With Android 4.4 KitKat Google Hangouts is now the new default text message app instead of Messenger. As a result all your online chats and texts and combined into one. Many love this new option, but with hundreds of customizable 3rd party SMS apps for Android you may want to disable it. I use Textra, but Chomp SMS, Evolve SMS, and Handcent are all popular alternatives.In Settings > Wireless & Networks tap more, then the second option listed as “default SMS app” is where you’ll be able to quickly toggle from Hangouts, Handcent, GO SMS, or any other text message application of choice. Disable Hangouts as the stock SMS app, and use something else more customizable.
Supercharge the Keyboard
You can count this as one hidden feature or trick, but below is a video showing you five tips to type faster on Android using the stock Google Keyboard found on the Nexus 5. Things like gesture typing, next-word suggestions, and even text expansion support all can make you faster when it comes to typing on a smartphone.There’s tons of little tricks and features hidden inside Google’s keyboard that will make you a faster typist on a keyboard. I disable next word prediction as it’s too intrusive, but the video above should give you plenty of ideas.
Disable Blocking Offense Words
Google disables swearing when you use Google voice-to-text features, and the stock keyboard won’t suggest curse words. As a result, here’s how to swear on Android. You’ll want to uncheck the “block offense words” in the Google keyboard settings from the video above or image below, and the same goes for Google Now voice controls.Head into Google Now (if you didn’t disable it as shown above) and tap settings > voice > and also uncheck the block offense words feature here. This will allow swearing to go through with voice-to-text instead of getting a S*** or other stars in the way of letters.
Take A Screenshot
Sometimes you want to share what’s on your screen with others. Whether that be a hilarious text message you received, an auto-correct fail like we all see on Buzzfeed, or even sharing a small excerpt from an email. You can tap a few key commands and instantly capture a screenshot of exactly what’s on your display.Simply long-press volume down and the power button at the exact same time. Slightly longer than a tap and then release, and it instantly captures the screen. Then the notification pulldown bar shows its been saved and you can instantly share it with Android’s built-in share feature.
Quick Settings Tricks & Toggles
When you pull down from the top of the screen you get what’s called the notification drawer. This shows the date and time, lets you clear notifications, and even access a quick settings menu. The grid-looking button on the top right is Quick Settings, but there’s a few other things you can do here.Pulling down with one finger opens the notification tray, pulling down with two fingers instantly launches the quick settings menu. Here you can access your Google account, change settings and brightness on the fly, check battery stats, and even toggle WiFi on and off in a matter of seconds. The video above shows this, as well as how you can long press WiFi, Bluetooth, or Airplane mode to instantly turn it on/off, rather than heading into that particular setting with a single tap.
Enable Developer Options
Developer options is a hidden menu that Google’s completely removed so average users don’t mess with important system settings. However, there’s a few things many users need from this menu, including the setting to enable USB debugging for things like using the Nexus 5 as a hotspot, which we’ll explain further down, so here’s how to enable developer options.Tap settings and scroll down to about phone, and at the very bottom you’ll see the Android build number. Tap the build number quickly seven (7) times. Weird we know. You’ll get a prompt after a few saying you’re close, and after seven taps the developer menu will appear back in the original settings menu, just above the “About phone” menu you were just in.
ART Runtime
ART is a new feature that’s coming soon and still in the testing phases by Google in Android 4.4 that stands for Android Runtime. It’s the new runtime that will replace Dalvik, which is a bit technical for average users. Essentially dalvik runs the code and launches an app as it’s needed, each time, and ART does it ahead of time, which makes your phone faster and more smooth. This is a very vanilla explanation, but lets just say in the future it will make all Android devices much faster. Here’s how to enable this test feature (which could be unstable for some apps) if you’d like.In the newly discovered developer options mentioned above the fourth option is “Select Runtime” which is where you can go from Dalvik to ART. Your phone will reboot, probably take 10-20 minutes to compile and prepare all your apps, and then restart. Performance should be better, as should battery life.
Improve Nexus 5 Battery Life
ART brings us to another topic, improving the Nexus 5 battery life. Everything from screen brightness and sleep times, WiFi and Bluetooth, Location services and GPS, and much more is all explained in the link above.Changing the location and GPS services is a new feature in Android 4.4 KitKat that is hidden to most. Head into that through settings > location > and select battery saving as shown above. Or select high accuracy if you use Google Maps and navigation daily, but this may lower battery life.
Enable 3rd Party App Installs
While it’s recommended you download and install apps ONLY from the Google Play Store, there’s other safe areas users can get apps and games for Android. The Amazon AppStore is one, not to mention some users may get app APK install files from friends, while beta testing apps, or for 3rd party keyboards, and you’ll need to enable the phone to install apps from unknown sources. This is a security feature you can disable if you need to.Again head to Settings > Security > and tap “Unknown sources” which will allow the phone to download apps that aren’t directly from the Google Play Store. Remember to use caution and be smart with what you install, and where you get it.
Multitasking
This is a simple one that’s right in every users face, but some people don’t use this extremely powerful tool. The Nexus 5 on-screen keys are back, home, and two squares that is multitasking! This shows you all the previously opened apps, and lets you switch back and forth with ease.It saves your place, so if you leave an app and return nothing is lost. You’re right where you were, and I use this daily to improve my experience and be more efficient. This is absolutely nothing new to Android, but with an awesome Nexus 5 being only $349 many newcomers to Android have one, and will love the multitasking feature.
Add & Remove Home Screens
This is another one that should be self explanatory, but with the Nexus 5 running Google’s “experience launcher” adding new home screens is different than before. Out of the box there’s only Google Now to the left, and one screen to the right with some Google apps, Gmail, YouTube, and Google Music. You’ll want another screen to the side with more apps, widgets, and other things so here’s how to add and remove them.Sadly there’s no easy way to remove an entire home screen. And you’ll have to seriously remove each app icon and widget until there’s none left, and then that screen will disappear. Google will likely address this in Android 4.4.3 KitKat, or 4.5, but for now this is the only way unless you use a custom launcher like Nova.
Use the Nexus 5 as a Hotspot
Many smartphone owners don’t know they can use their smartphone as a hotspot, essentially sharing the internet and data connection to a tablet or a laptop. Just like you sign into WiFi at Starbucks or a hotel, you can make your phone transmit its connection for nearby devices.You’ll want to head into Settings > More (under wireless & networks) > Tethering & portable hotspot and hit enable. This will share the internet and data connection like a wireless network, but make sure you configure it first and secure the connection with a password, otherwise others at the park on on a bus ride can use it too. For a full rundown you’ll want to check out the How to guide below.
KitKat Easter Egg
Last but certainly not least is a little hidden trick, but not necessarily a feature. In every version of Android if you quick tap the Android version in the phone settings you’ll get a hidden graphic or treat from Google. KitKat has a spinning K that you can long press to see a huge red Android 4.4 KitKat splash screen, but we can take it one step further.Tap that again and as you see in the video above Google’s hidden a mosaic of sorts showing an icon or graphic of every version of Android. There’s donuts, cupcake, eclair, honeycomb, jelly bean, and all the other fun dessert names of Android. Tap around to have some fun with it. There’s no added value, but it’s still fun to play around with.
We hope you enjoyed the many new tricks and features detailed here today, and check out our review after owning Google’s device for over a month below.
Fix OSX Yosemite Wi-Fi Issues with a Terminal Command
sudo ifconfig awdl0 down
Friday, September 5, 2014
Install Google Chrome Without Google's Pushy Updater (Standalone)
It downloads a full offline installation package for Chrome. The downside: It won't automatically update when Google Updater pushes out new versions of Chrome. But don't worry, we'll keep you updated
Link: Google Chrome Standalone Installer
Sunday, February 23, 2014
Rooted Android Phones: Force All CPUs Active
!Get Root Acces
#su
!Read CPU information
#cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
#cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
#cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
#cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq
#cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq
!Make the files writable
#chmod 666 /sys/devices/system/cpu/cpu0/online
#chmod 666 /sys/devices/system/cpu/cpu1/online
#chmod 666 /sys/devices/system/cpu/cpu2/online
#echo 1 > /sys/devices/system/cpu/cpu0/online && chmod 444 /sys/devices/system/cpu/cpu0/online
#echo 1 > /sys/devices/system/cpu/cpu1/online && chmod 444 /sys/devices/system/cpu/cpu1/online
#echo 1 > /sys/devices/system/cpu/cpu2/online && chmod 444 /sys/devices/system/cpu/cpu2/online
#echo 1 > /sys/devices/system/cpu/cpu3/online && chmod 444 /sys/devices/system/cpu/cpu3/online
Good Luck.
Apple Mac Cleaning Utilities
- OnyX.app
- Yasu
- Cache Out X.app
- MainMenu Pro.app
- Trash It!.app
- CleanMyMac.app
- Lion Cache Cleaner.app
- TinkerTool.app
- iTweaX.app
Rooted Android Phones: Force All CPUs Active
!Get Root Acces
#su
!Read CPU information
#cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
#cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
#cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
#cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq
#cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq
!Make the files writable
#chmod 666 /sys/devices/system/cpu/cpu0/online
#chmod 666 /sys/devices/system/cpu/cpu1/online
#chmod 666 /sys/devices/system/cpu/cpu2/online
#echo 1 > /sys/devices/system/cpu/cpu0/online && chmod 444 /sys/devices/system/cpu/cpu0/online
#echo 1 > /sys/devices/system/cpu/cpu1/online && chmod 444 /sys/devices/system/cpu/cpu1/online
#echo 1 > /sys/devices/system/cpu/cpu2/online && chmod 444 /sys/devices/system/cpu/cpu2/online
#echo 1 > /sys/devices/system/cpu/cpu3/online && chmod 444 /sys/devices/system/cpu/cpu3/online
Good Luck.
Wednesday, February 5, 2014
Organize Things On OSX With Symbolic Links
- Ensure that you are working within your home folder, type
cd - Move the Downloads folder to your second drive, replacing
Data(the name of my second drive) with whatever yours is called. You may be prompted for your OS X password.sudo mv ~/Downloads /Volumes/Data/Downloads - Create a symlink to allow you to access your new Downloads folder in the old location. Again, replace
Datawith the name of your second drive.ln -s /Volumes/Data/Downloads ~/Downloads
Saturday, February 1, 2014
Speed Up Apple MacBook/Pro CPUs (Disable Throttling) and Overall Performance via EFI Settings
The below are command combinations I've tested and have found to speed up any MacBook/Pro (x86). Execute each line from the terminal then reboot.
Boot Args
sudo nvram boot-args="arch=x86_64"
Allows Mac OS X to boot into 64-bit mode. Mac OS X Snow Leopard (and all versions beyond it) will boot into 64-bit mode by default. Nowadays, this boot flag is mainly used on AMD Hackintoshes, where choosing between 32-bit mode and 64-bit mode is actually important.
sudo nvram boot-args="idlehalt=0"
Setting idlehalt=0 causes the kernel to stop halting a CPU core if no other thread in that core is active, idlehalt=1 causes the core to go into a low-power mode. An x86-only argument.
sudo nvram boot-args="UseKernelCache=Yes"
Mac OS X Lion and Mountain Lion can use the kernel cache to install kexts, allowing Mac OS X to boot faster. However, the kernel cache is turned off by default, and you have to enable it by using the boot flag "UseKernelCache=Yes" (without quotation marks). Installing Easybeast or UserDSDT with Multibeast will automatically turn the kernel cache on for you. If Mac OS X is booting extremely slow on your Hackintosh, the kernel cache might be malfunctioning. In addition, some laptops have trouble with the kernel cache feature. In these cases, you can turn the cache off with "UseKernelCache=No" (without quotation marks). Turning off the kernel cache is equivalent to using the "-f" bootflag in Snow Leopard.
sudo nvram boot-args="darkwake=0"
The DarkWake feature in Mac OS X Lion and Mountain Lion allows you to wake up certain parts of your Mac from sleep, while leaving other parts in sleep mode. Unfortunately, this feature often messes up sleep on Hackintoshes. Enter this bootflag to turn it off (enter darkwake=1 to turn it on, if turning it off doesn't do the trick). Additionally, if your verbose bootup is freezing at a bunch of commands that mention "SleepEnabler.kext", entering darkwake=0 should be able to turn SleepEnabler.kext off. (Once you boot into OS X, be sure to remove SleepEnabler.kext completely by deleting it from either /Extra/Extensions or /System/Library/Extensions in your hard drive.)
Thursday, January 23, 2014
Using the OS X Terminal instead of the Finder to copy files effectively
The Finder's abilities to copy files is usually adequate, but sometimes when managing large data transfers it can introduce some burdensome quirks.
While in OS X people often copy individual files or small groups of files between locations using the Finder, there are times when you might copy hundreds if not thousands of files at a time, especially for the purposes of backing up or migrating data from one drive to another. For the most part, the Finder's copying process is perfectly adequate for moving these files; unfortunately it does have some drawbacks that can hinder the copying process.
When the Finder copies files, it first catalogs all files to be copied and then treats the copy process as one all-or-nothing copy routine. Because of this, if you copy multiple files and there is an error in accessing one, then the system will cancel the entire process and revert the system to its state before the files were moved. This setup is good from some standpoints since it ensures that all files were copied properly; however, it can be frustrating if you are trying to recover as many files as possible from one location such as a hard drive with bad sectors.
One approach to overcoming errors that prevent a full copy process is to copy in smaller batches, but this can be time-consuming and impede on organization. Another approach that may be more successful is to use the OS X Terminal to perform the copy. There are several commands that can be used to copy files from one location to the next in the Terminal, and using them is fairly straightforward.
First ensure that you have both the source files and your copy destination mounted and available on your system so you can see them in the Finder. Then open the OS X Terminal and perform the following steps:
1. Enter your copy command and options.
There are many commands that can copy files, but the three most common ones are "cp" (copy), "rsync" (remote sync), and "ditto." As with any terminal command, each of these is a separate program that can take optional flags to tailor its behaviors for your needs, such as allowing it to preserve permissions on the copied files, or allow it to copy recursively into directories, and so on. These options can be looked up in the manual pages for each program, which can be done by typing "man cp" or "man ditto" in a Terminal window (or doing a Google search), but for most purposes the following options should be adequate:
cp -av
rsync -av
ditto -v
2. Specify your source files
With one of the above commands and flags typed, continue by typing a single space and then drag the parent folder of your source files to the Terminal window. When you do this the full path to the folder will be input at the cursor along with a single space. Remove this space by pressing the delete key once, and then type "/*" to tell the command to specify all items within the parent folder (otherwise the parent folder itself will be the target). At this point the command should look similar to the following:
rsync -av /path/to/source/*
3. Specify your destination folder
After you have entered the slash and asterisk characters, enter a space and then locate the folder where you would like to copy the files and drag it to the Terminal window. As with the source folder this should enter the full path to the destination folder. This time instead of adding a slash and an asterisk to the end, only add a single slash so the command looks like the following:
rsync -av /path/to/source/* /path/to/destination/
This command now tells the computer to run the "rsync" command (or other copy command you've chosen), and use the "a" and "v" options for this command (in this case they are for "archiving" and "verbose" mode to ensure all files are copied as-is and list them as they are being copied). It then tells the system to target all files within the source directory and put them within the destination directory. At this point, pressing Enter will run the command, and copy the files.
Unlike the Finder's copy process, if an error occurs, then these commands will leave the successfully copied files and likely output a warning or other reason why the error occurred, and also provide an active list of the files that were copied so you can both determine what was successful and what caused any errors, and be able to address the problem only for the faulty files instead of having to copy everything over and over again.