Hot answers tagged

2

It is very common to create such text interface application using the ncurses library. You can use ncurses from Swift programs by importing it: import Darwin.ncurses Then you can follow ordinary ncurses tutorials to get a grasp on how to build up user interfaces using ncurses. In particular, you'll probably find the following tutorial helpful. It is on ...


2

The list of spaces is stored in the following file. /Users/YOURUSERNAME/Library/Preferences/com.apple.spaces.plist For example on a machine with the dashboard and three desktops: <key>Spaces</key> <array> <dict> <key>ManagedSpaceID</key> <integer>3</integer> <key>id64</...


1

There is a large highlighted first line of the installation instructions "You must have Java 7+ installed on your system in order to run Alda." So install the JDK (not JRE) from Oracle as per Oracle's comment The Java Runtime (JRE) that you download from java.com or oracle.com contains a plugin to run Java content from your browser. In order to use the ...


1

There are several possible explanations for negative ping times: You are running OS X on a PC with a AMD Athlon™ 64 X2 Dual Core Processor which has a bug in the power management which may not only effect Windows but also OS X installations. Google is tired of getting pinged 38325 times and is sending erroneous timestamps in the ICMP echo replies - ...


1

It is likely that your Torch installer complained with the following message: Not updating your shell profile. You might want to add the following lines to your shell profile: . ~/torch/install/bin/torch-activate You should manually add the suggested line to your profile. If you use bash (which is default on OS X) you can do it by: echo . ~/torch/...


1

I know that this is quite an old post, but I just stumbled upon it from Google while searching for something similar (mostly just wanting to list active fonts via Terminal.) I ended up remembering that activated fonts are listed in System Information which can be pulled from the system_profiler command. That being said here's the command to pull font ...


1

Typing open . in Terminal will open the current working directory in a Finder window. But there is also an alternative version open `pwd`


1

For those using iTerm, the AppleScript syntax has change in iTerm version 3. Here's the full procedure to follow to create a shortcut in the Finder. Launch Automator. Select "Application" : Choose "run Applescript" : Paste the code below: -- get the current directory in Finder on run {input, parameters} tell application "Finder" set ...



Only top voted, non community-wiki answers of a minimum length are eligible