26 Matching Annotations
  1. May 2021
  2. Jan 2021
  3. Dec 2020
  4. Nov 2020
    1. docker stack deploy -c docker-compose.yml dev

      I wasn't able to get the mysql image to build right unless I ran this from within the same directory containing docker-compose.yml.

    2. apache/vhosts.conf

      The crucial thing here is making sure the directory paths in your Apache vhosts file take into account the local to container mapping you made earlier.

  5. Oct 2020
    1. Their trailer said "A video game for the home computer". Not sure why they said that instead of PC, but it was a refreshing new term for it.

  6. Jul 2020
  7. Apr 2020
  8. Feb 2020
  9. Jan 2020
  10. Sep 2019
  11. Oct 2017
  12. Sep 2017
  13. Aug 2017
  14. May 2017
    1. Calling from Python As of 10.10, AppleScript can use Cocoa frameworks in any Script Editor-based script. This makes it easy for Python and other languages that have Objective-C bridges to call AppleScript directly, without having to package everything as an Xcode app. Stick one or more compiled .scpt files containing AppleScript-ObjC "classes" into a folder, e.g.: use framework "Foundation" use scripting additions script MyASClass property parent : class "NSObject" -- on test() activate display dialog "Hello from AppleScript!" end test end script then just use it from Python like this: from Foundation import NSBundle, NSClassFromString import AppleScriptObjC NSBundle.alloc().initWithPath_(FOLDERPATH).loadAppleScriptObjectiveCScripts() MyASClass = NSClassFromString(u"MyASClass") # get the ASOC class... MyASClass.alloc().init().test() # ...then instantiate and call it

      Given that appscript is deprecated, I'm looking at how to call AppleScript directly from Python. This section is a "hello world" demonstration of how.

  15. Nov 2016
  16. Sep 2016
    1. The P. tetraurelia MAC genome [1] was assembled from 13× Sanger sequencing reads from different insert size librairies of strain d4-2 DNA. Strain d4-2 only differs from strain 51 at a few loci.

      SRA accession ERR138952

  17. Jan 2015
    1. Bluetooth—so simple and yet so troublesome. For a subsection of users, Yosemite is causing problems with Bluetooth accessories and connectivity. One solution proffered by iDigitalTimes is to disconnect all USB preferences, shut the Mac off for several minutes and then try again from the beginning. You may have to teach Yosemite about your Bluetooth accessories afresh instead of relying on what Mavericks has passed on. Over on the official Apple forums, it looks like resetting your machine's PRAM (Parameter Random Access Memory) once or twice might fix the problem. PRAM is where all of the core information about your system is stored, and you reset it by booting up, then holding down the Cmd+Option+P+R keys right after you've hit the power button. When you hear the startup sound for the second time, you can let go.

      I may need to try this solution.

  18. Dec 2014
    1. Paste Out Overview Share your cloud clipboard within your devices and computers What can Paste Out do for you? You can rapidly paste out your content from your mobile device to your computer cursor. We have an impressive use case for you: Free voice recognition on your desktop.

      Paste out is a very productive system for sharing clipboard

  19. Dec 2013
    1. launchctl load ~/Library/LaunchAgents/homebrew.mxcl.elasticsearch.plist

      assuming this is for < OSX ML

    2. npm -g install coffee-script

      sudo

    3. npm -g install handlebars

      this worked in sudo, too.

    4. npm -g install uglify-js

      had to install this as sudo

    5. go

      ...go/install")