- Mount timemachine volume from Finder.
- Unlock Target Machine's Backup sparsebundle.
sudo chflags -R nouchg /Volumes/{TimeMachine Volume Name}/{Target Machine's Name}.sparsebundle
- Attach sparsebundle then Listing Backup Volume.
hdiutil attach -nomount -noverify -noautofsck /Volumes/{TimeMachine Volume Name}/{Target Machine's Name}.sparsebundle
- Repair backup volume.
fsck_hfs -drfy /dev/disk2s2
- Detach backup sparsebundle.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1. Create Disk Image | |
# ref: | |
# FileSystem type: https://support.apple.com/en-us/HT202784 | |
cd Desktop | |
hdiutil create -size 512g -fs "Journaled HFS+" -volname "TimeMachine" -type SPARSEBUNDLE -nospotlight -verbose volume_nas_timemachine.sparsebundle | |
# 2. Move the Disk Image File to Windows SMB Share Folder | |
# 3. Mount the Disk Image through Network | |
# 4. Enable Time Machine Not Support Network Volumes | |
defaults write com.apple.systempreferences TMShowUnsupportdNetworkVolumes 1 | |
# 5. Add Volume to Time Machine |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use Plain Text Mode as Default in TextEdit | |
defaults write com.apple.TextEdit RichText -int 0 | |
# TimeMachine backup per 30 min. (Broken) | |
# sudo defaults write /System/Library/Launch Daemons/com.apple.backupd-auto StartInterval -int 1800 | |
# use this if SSD | |
sudo pmset -a sms 0 | |
# Finder option | |
defaults write NSGlobalDomain AppleShowAllExtensions -bool true # Show All Extensions in Finder |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var path = require('path'); | |
var fs = require('fs'); | |
var yargs = require('yargs').argv; | |
var gulp = require('gulp'); | |
var less = require('gulp-less'); | |
var header = require('gulp-header'); | |
var tap = require('gulp-tap'); | |
var nano = require('gulp-cssnano'); | |
var postcss = require('gulp-postcss'); | |
var autoprefixer = require('autoprefixer'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Credit to damien_oconnell from http://forum.unity3d.com/threads/39513-Click-drag-camera-movement | |
// for using the mouse displacement for calculating the amount of camera movement and panning code. | |
using UnityEngine; | |
using System.Collections; | |
public class MoveCamera : MonoBehaviour | |
{ | |
// | |
// VARIABLES |
NewerOlder