Skip to content

Instantly share code, notes, and snippets.

View Danrancan's full-sized avatar

Dan Ran Danrancan

View GitHub Profile
@Danrancan
Danrancan / Install_ImageMagick_from_source_with_HEIC_and_WebP_Support-on_Ubuntu_22.04.sh
Last active March 15, 2025 01:08 — forked from hurricup/install_imagemagic_with_heic_22_04.sh
How to install ImageMagick 7.1.1-45 with HEIC and WEBP support on Ubuntu 22.04
#!/bin/sh
# inspired by https://gist.github.com/rjnienaber/af47fccb8410926ba7ea35f96c3b87fd
# You must run this with sudo privilages.
# "sudo ./Install_ImageMagick_from_source_with_HEIC_and_WebP_Support-on_Ubuntu_22.04.sh"
### START
# remove bundled ImageMagick
sudo apt remove imagemagick imagemagick-6-common imagemagick-6.q16
# Create your build directory if it doesn't already exist
@Danrancan
Danrancan / keybase.md
Created May 6, 2024 14:32
keybase.md

Keybase proof

I hereby claim:

  • I am danrancan on github.
  • I am danran (https://keybase.io/danran) on keybase.
  • I have a public key ASBMKpxeEG0Y-WDT9XE2V1X2N7Krm13tJKFXi69dxJO5SAo

To claim this, I am signing this object:

@Danrancan
Danrancan / flasher_n900.sh
Last active January 6, 2023 08:05 — forked from glennzw/flasher_n900.sh
Automated flashing of nokia n900 to latest (nokia) maemo5 for debian
#!/bin/bash
#[email protected]
# This script will flash your N900. It assumes you want to use the MAEMO 5 GLOBAL RELEASE.
# Based on trying to understand http://wiki.maemo.org/Updating_the_tablet_firmware#N900
set -e
echo "[[ Glenn's Maemo Flasher: [email protected] / @glennzw for comments ]]"
type flasher-3.5 >/dev/null 2>&1 || { echo >&2 "I require flasher but it's not installed. Install from http://www.fladnag.net/downloads/telephone/n900/tools/
Once you have done that, you must enable i386 package in your debian based distro by entering the following command in a seperate termianl window ....
sudo dpkg --add-architecture i386" ;exit 1; }