Showing posts with label macOS High Sierra. Show all posts
Showing posts with label macOS High Sierra. Show all posts

Monday, July 9, 2018

macOS High Sierra: textutil: Converting .webarchive Format to HTML and Images

Command:

$ textutil -convert html ~/Desktop/channels.webarchive


Result:

Friday, December 8, 2017

macOS High Sierra: Installing 7-Zip & Extraction

Command:

$ brew install p7zip


Result:

==> Downloading https://homebrew.bintray.com/bottles/p7zip-16.02.high_sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring p7zip-16.02.high_sierra.bottle.tar.gz
🍺  /usr/local/Cellar/p7zip/16.02: 103 files, 4.7MB


Command:

$ 7z x ~/Downloads/zeny_bootstrap.7z


Result:

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=utf8,Utf16=on,HugeFiles=on,64 bits,4 CPUs x64)

Scanning the drive for archives:
1 file, 642388696 bytes (613 MiB)

Extracting archive: /Users/USERNAME/Downloads/zeny_bootstrap.7z
--
Path = /Users/USERNAME/Downloads/zeny_bootstrap.7z
Type = 7z
Physical Size = 642388696
Headers Size = 146
Method = LZMA2:24
Solid = -
Blocks = 1

Everything is Ok      

Size:       1105451975
Compressed: 642388696

Thursday, December 7, 2017

macOS High Sierra: Finding Exact CPU Type

Command:

$ sysctl -n machdep.cpu.brand_string


Result:

Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz

Thursday, November 30, 2017

macOS High Sierra: Ruby LoadError (oauth) & Fix

Error message:

/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- oauth (LoadError)
from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from tweet_movierole.rb:2:in `<main>'


Command (Installing OAuth):

$ sudo gem install oauth
Password:


Result:

Fetching: oauth-0.5.3.gem (100%)
Successfully installed oauth-0.5.3
Parsing documentation for oauth-0.5.3
Installing ri documentation for oauth-0.5.3
Done installing documentation for oauth after 14 seconds
1 gem installed