diskutil erasevolume HFS+ 'RAM Disk' `hdiutil attach -nobrowse -nomount ram://XXXXX`
where XXXXX
is the size of the RAM disk in terms of memory blocks.
Notes:
// | |
// Copyright (c) 2016, 2018 Nikolai Ruhe. All rights reserved. | |
// | |
import Foundation | |
public extension FileManager { | |
/// Calculate the allocated size of a directory and all its contents on the volume. |
It's easy:
iOS-autotools
by @szanni from https://github.com/szanni/ios-autotoolslibarchive 3
from http://www.libarchive.org/cd
into the libarchive
code directoryexport ARCHS="armv7 armv7s arm64"
(or suitable for your needs and your shell of choice)autoframework ArchiveLib libarchive.a
and wait for everything to build!openssl rsa -in ~/.ssh/id_rsa -outform pem > id_rsa.pem | |
chmod 600 id_rsa.pem |
#import <SpriteKit/SpriteKit.h> | |
@interface SKTexture (Gradient) | |
/** Creates a SKTexture programatically with a vertical gradient. | |
Great suggestion for colors: http://ios7colors.com/. | |
Example: | |
(Inside a SKScene class) |
I've sniffed most of the Tinder API to see how it works. You can use this to create bots (etc) very trivially. Some example python bot code is here -> https://gist.github.com/rtt/5a2e0cfa638c938cca59 (horribly quick and dirty, you've been warned!)