Getting started:
Related tutorials:
Getting started:
Related tutorials:
| # Notes | |
| # Using iCloud Drive, you can sync your Sublime Text 3 | |
| # plugins and prefs so you can always have the same setup | |
| # Prerequisites | |
| # Make sure both machines have the latest version of OSX 10.10.x with | |
| # Yosemite or higher and iCloud Drive turned on | |
| # Quit ST3 |
| ; | |
| ; ------------------------------------------------------------ | |
| ; | |
| ; PureBasic - Gadget example file | |
| ; | |
| ; (c) Fantaisie Software | |
| ; | |
| ; ------------------------------------------------------------ | |
| ; | |
| IncludeFile "anchor.pbi" |
| Usage: diskutil coreStorage list | |
| Usage: diskutil coreStorage info[rmation] [-plist] | |
| Usage: diskutil coreStorage convert | |
| Usage: diskutil coreStorage revert | |
| Usage: diskutil coreStorage create lvgName | |
| Usage: diskutil coreStorage delete lvgUUID | |
| Usage: diskutil coreStorage addDisk lvgUUID NewMemberDeviceName | |
| Usage: diskutil coreStorage removeDisk pvUUID | |
| Usage: diskutil coreStorage deleteVolume lvUUID | |
| Usage: diskutil coreStorage resizeVolume lvUUID size |
| # -*- coding: utf-8 -*- | |
| #------------------------------------------------------------------------- | |
| # Name: The-Swift-Programming-Language | |
| # Purpose: Web crawler of Swift, Python is slow------- | |
| # | |
| # Author: [email protected] | |
| # | |
| # Created: 10/27/2014 | |
| # Copyright: (c) muxuezi 2014 | |
| # Licence: <All licence> |
| #!/bin/sh | |
| # This is forked to fit MY needs. Please read through and edit at will. | |
| # Alot of these configs have been taken from the various places | |
| # on the web, most from here | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # Set the colours you can use | |
| black='\033[0;30m' | |
| white='\033[0;37m' |
| import SystemConfiguration | |
| prefs = SystemConfiguration.SCPreferencesCreate(None, "SystemConfiguration", None) | |
| print SystemConfiguration.SCPreferencesGetValue(prefs, "System")["System"]["ComputerName"] |
| import objc, re, os | |
| from Foundation import * | |
| from AppKit import * | |
| from PyObjCTools import NibClassBuilder, AppHelper | |
| # poach one of the iSync internal images to get things rolling | |
| status_images = {'idle':'/Users/tehnix/Desktop/dropboxstatus-pause-lep.png'} | |
| start_time = NSDate.date() |
| #!/bin/bash | |
| # Script: cocoaDialogTests.sh | |
| # Author: Mark Carver | |
| # Created: 2011-09-23 | |
| # Updated: 2012-07-24 | |
| # Copyright (c) 2012 Mark Carver. All rights reserved. | |
| cocoaDialog(){ | |
| # Replace this with your path if it isn't installed in the applications folder. | |
| /Users/Shared/Applications/cocoaDialog.app/Contents/MacOS/cocoaDialog "${@}"; |
| #! /usr/bin/env python | |
| """ | |
| Sort CSV file by multiple columns, writing output to sorted CSV file. | |
| Recommended for files saved in Windows CSV format. | |
| Useful for situations where data file is too large for Excel. | |
| : param source_file.csv : source csv file. Must end in .csv | |
| : param sort column 1 : first sort in Excel-like column number (i.e., 1 ... N) | |
| Use negative number to indicate descending sort, | |
| Positive number to indicate ascending sort_step |