Skip to content

Instantly share code, notes, and snippets.

View JulyIghor's full-sized avatar
🇺🇦

Ighor July JulyIghor

🇺🇦
View GitHub Profile
@JulyIghor
JulyIghor / firetv_firmware.md
Last active November 13, 2024 02:10
Amazon Fire TV Stick 4K Firmware and apps. Official Cloud Front direct links only

FireTV 2nd gen Cube Firmware
github.com/Pro-me3us/raven_firmware

Fire TV Stick 4K Firmware

Date Version Download MD5
2019-05-24 Fire OS 6.2.6.4 (NS6264/1995) update-kindle-mantis-NS6264_user_1995_0002449984388.bin bfd8358014e3d36e8fa6f06fbf9ec0e4
2019-08-20 Fire OS 6.2.6.5 (NS6265/2157) update-kindle-mantis-NS6265_user_2157_0002852679044.bin 09289b141c8339fe675cb0204689071f
2019-10-09 Fire OS 6.2.6.6 (NS6266/2292) [update-kindle-mantis-NS6266_user_2292_0003054040196.bin](https://d1s31zyz7dcc2d.cloudfront.net/0136f0aae52d9777b27399ed9ea7d13e/update-kindle-mantis-NS6266_use
@kdubau
kdubau / macOS-ISO-howto.md
Created September 24, 2018 17:57
How to create a bootable ISO of macOS install application.

Download

First download the install app bundle. Older versions can be hard to find but the current version of the time you read this, can be found in the App Store.

Create and attach a drive wtih hdiutil

To create a drive run this command: hdiutil create -o /tmp/Mojave.cdr -size 6200m -layout SPUD -fs HFS+J.
Next you will need to mount that drive hdiutil attach /tmp/Mojave.cdr.dmg -noverify -mountpoint /Volumes/install_build.

Create installation media in the new drive

Use the downloaded app bundle to create the media: sudo /Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/install_build.

function show(x) { console.log(Automation.getDisplayString(x)) }
function showByApp(text) {
app = Application.currentApplication()
app.includeStandardAdditions = true
app.displayDialog(Automation.getDisplayString(text))
}
function getDockInfo() {
apps = Application("System Events").processes()
for (app of apps) {
if (app.name() != "Dock") continue
@eguven
eguven / brew-list.sh
Last active November 14, 2024 23:48
List all packages installed using Homebrew and their sizes
# this original one uses values returned from 'brew info'
brew list --formula | xargs -n1 -P8 -I {} \
sh -c "brew info {} | egrep '[0-9]* files, ' | sed 's/^.*[0-9]* files, \(.*\)).*$/{} \1/'" | \
sort -h -r -k2 - | column -t
# faster alternative using 'du'
du -sch $(brew --cellar)/*/* | sed "s|$(brew --cellar)/\([^/]*\)/.*|\1|" | sort -k1h
@adamawolf
adamawolf / Apple_mobile_device_types.txt
Last active November 14, 2024 18:34
List of Apple's mobile device codes types a.k.a. machine ids (e.g. `iPhone1,1`, `Watch1,1`, etc.) and their matching product names
i386 : iPhone Simulator
x86_64 : iPhone Simulator
arm64 : iPhone Simulator
iPhone1,1 : iPhone
iPhone1,2 : iPhone 3G
iPhone2,1 : iPhone 3GS
iPhone3,1 : iPhone 4
iPhone3,2 : iPhone 4 GSM Rev A
iPhone3,3 : iPhone 4 CDMA
iPhone4,1 : iPhone 4S