Getting started:
Related tutorials:
# -*- 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> |
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 |
; | |
; ------------------------------------------------------------ | |
; | |
; PureBasic - Gadget example file | |
; | |
; (c) Fantaisie Software | |
; | |
; ------------------------------------------------------------ | |
; | |
IncludeFile "anchor.pbi" |
# 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 |
Getting started:
Related tutorials:
# | |
# Reboot into recovery mode (cmd +r ) and in the terminal | |
# | |
nvram boot-args="serverperfmode=1 ncl=262144" | |
#reboot | |
# | |
# In regular mode |
# http://technet.microsoft.com/en-us/library/ee692685.aspx | |
# F7 = history | |
# Alt+F7 = history -c | |
# F8 = Ctrl+R | |
Set-Location C: | |
# Easier navigation | |
Set-Alias o start | |
function oo {start .} |
/* | |
Original code: https://golangcode.com/download-a-file-with-progress/ | |
I added Filesize field to WriteCounter struct, and set that | |
field to the ContentLength of the file to download. | |
Changed download file to 100MB test file | |
Changed status to show amount downloaded and total size of download | |
*/ |
// LINUX - MACOS ONLY | |
package main | |
import ( | |
"fmt" | |
"log" | |
"os/exec" | |
"strings" | |
) |