osx

via Apple Juice

 Today there are 2.6 billion smartphone subscriptions globally, and while growth has been levelling off in developed markets, it’s not stalling altogether by a long shot. By 2020, we will see a tipping point of sorts, when globally there will be 6.1 smartphone users, finally overtaking the number of fixed line subscriptions. The numbers come from the latest Mobility Report from… Read More



Like us on Facebook [ http://ift.tt/1mq3h8W ]

Follow us on Twitter [ http://twitter.com/apljz ]

Your Mac’s mobile data savior.

When TripMode is ON, it prevents all your Mac apps from accessing the Internet but those that have been whitelisted by yourself. It typically stops automatic updates, online backups, Photos syncs, and various obscure apps from consuming precious data. Both uploads and downloads are blocked.

Quite why TripMode’s features aren’t baked into every OS remains a mystery. Until they are, this looks to be an essential bit of kit for anyone who tethers their Mac to a ‘phone.

Ars Technica on a new remote exploit leaving most Macs vulnerable to permanent backdooring:

Macs older than a year are vulnerable to exploits that remotely overwrite the firmware that boots up the machine, a feat that allows attackers to control vulnerable devices from the very first instruction.

The attack, according to a blog post published Friday by well-known OS X security researcher Pedro Vilaca, affects Macs shipped prior to the middle of 2014 that are allowed to go into sleep mode. He found a way to reflash a Mac’s BIOS using functionality contained in userland, which is the part of an operating system where installed applications and drivers are executed. By exploiting vulnerabilities such as those regularly found in Safari and other Web browsers, attackers can install malicious firmware that survives hard drive reformatting and reinstallation of the operating system.

The attack is more serious than the Thunderstrike proof-of-concept exploit that came to light late last year. While both exploits give attackers the same persistent and low-level control of a Mac, the new attack doesn’t require even brief physical access as Thunderstrike did. That means attackers half-way around the world may remotely exploit it.

“BIOS should not be updated from userland and they have certain protections that try to mitigate against this,” Vilaca wrote in an e-mail to Ars. “If BIOS are writable from userland then a rootkit can be installed into the BIOS. BIOS rootkits are more powerful than normal rootkits because they work at a lower level and can survive any machine reinstall and also BIOS updates.”

This is a particularly nasty exploit, not just because it allows a persistent backdoor but primarily because it can be done remotely. Generally, flashing a BIOS needs to be accomplished through physical access to the machine. This vulnerability allows attackers to remotely install the permanent backdoor into the BIOS, and such low-level rootkits are the worst type of malware.

The post New Remote Exploit Leaves Most Macs Vulnerable to Permanent Backdooring appeared first on jark.me.

Do you heavily use Ctrl+R(search through history) to search for commands that you frequently use?

Marker lets you easily bookmark these commands and quickly retrieve them without going through Shell Aliases/Functions/Multiple Ctrl-R…

It offers the following features:

  • A UI selector that lets you easily select the desired command if more than one command is matched.
  • Fuzzy matching (rather than Ctrl-R exact match).
  • Aliases: listen port can magically be transformed into sudo netstat -nlp | grep.
  • Command templates: Marker lets you bookmark commands with place-holders and easily place the cursor at those place-holders.

Paragraphs is built for one thing and one thing only: writing. It gives you everything you need to create brilliant prose and does away with the rest.

Paragraphs’ quick context menu provides simple, easy-to-use formatting options…

You can save text written in Paragraphs as plain text, Markdown or HTML; or send it on to various apps and services via the Share Sheet.

App Store

2

During Build 2015 Microsoft announced that it had made its Visual Studio software available on OSX and Linux (as well as Windows.)

Here is Visual Studio Code 0.1.0, running on OSX and Linux Mint.

OS - compare this to that

Have you ever tried to compare 2 files on OSX? It’s possible with FileMerge, but it is not so convenient. So I tried to find a way that makes it possible to select a file in Finder as a reference file and then a second file you want to compare with it. Of course I could use the Terminal, but the goal was to do it in the GUI with the Finder. Here is how I do it. If you have a better way let me know.

1 - create a new service

Start ‘Automator’ and create a new Service.

2 - select “run shell script”

Select “Run Shell Script” from the “Utilities” category.

3 - compare this …

Make sure the settings are like in the image. Service receives selected files or folders in Finder. Shell is /bin/bash and pass input as arguments. And then echo the first parameter $1 (which will be the file you select in the active Finder window) and redirect it into a file of your choice. I use ~/.compare which would be a hidden file in my user home directory. Save this service with a proper name e.g. “compare_this”.

echo $1 > ~/.compare

4 - … to that

Repeat the steps 1, 2 and half of step 3 and then instead of the echo you call your diff/merge tool with what is selected now in Finder and compare it with what we selected before. So in case of MacVim it’s …

/usr/local/bin/mvim -d $1 `cat ~/.compare` &

Save the Service as e.g. “compare_to_that”. Explanation - /usr/local/bin/mvim is my MacVim, -d is the parameter which starts Vim in diff mode, $1 is the file we currently selected in the Finder window, cat ~/.compare means put the content of the file right here (cat is for printing files and the backticks put the output of cat right there; $(cat ~/.compare) maybe also works, I haven’t tried it), and finally the & ampersand to run MacVim in the background so the we do not wait for the process to finish.

If remember correct that’s all. Nothing more to do. The services should be now be available in the context menu in Finder. If you like you can go the keyboard settings and give hotkeys to both services.