Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env bash
# This script will install Cutie or Phosh on a device
# already running Droidian. This is an alternative to
# using one of the Cutie Droidian images that need to
# be flashed.
# Use at your own risk, odds are it will break things.
# Authors: Kabouik (@bouic), Erik (@eriki73)
# https://t.me/CutieShellProject
@Kabouik
Kabouik / Droidian-SFOS_dual_boot.md
Last active April 20, 2024 15:14
Dual-booting Droidian and SailfishOS on the F(x)tec Pro1

Dual-booting Droidian and SailfishOS on the F(x)tec Pro1

Author: kabouik but all credits to g7


Known issues related to dual-booting, as of 2023-09-10:

  • Switching from Droidian to SailfishOS can be done directly on the phone, but from SailfishOS to Droidian requires a computer.
  • Nothing else so far, yay.

Foreword

@g7
g7 / sfos_backup.md
Last active June 8, 2021 09:41
Backup SailfishOS data

Transfer data to another SailfishOS phone

Recently I had to move my data between two SailfishOS phones.
I don't really like the new Backup application available since 2.0.2, so I mostly moved things by hand.

This document contains scattered thoughts about this process.

Dumping the image (from recovery)

@plembo
plembo / vmwp-no3d-avail.md
Last active March 31, 2024 22:51
VMware Player: No 3d support available from the host

VMware Player: "No 3d support is available from the host"

Facts: VMware Player on Ubuntu 18.04 LTS with the standard Gnome desktop running an AMD WX-2100 graphics card. Both glxinfo and glxgears show 3d acceleration is enabled and working on the host. In addition to VMware Player, the host is also running the qemu-kvm/libvirtd stack from Ubuntu's official repositories. My use case for 3d accelerated graphics in a Windows guest is to occasionally play a Windows-only game.

Issue: Player barks this warning during installation of... anything.

Solution: This askubuntu post, Powered by StackExchange[TM], provides the solution:

check if exist
/dev/anbox-binder
if it doesn't, anbox-binder don't work
sudo apt install anbox-ubuntu-touch
sudo wget -q --show-progress -O /home/phablet/anbox-data/android.img http://cdimage.ubports.com/anbox-images/android-armhf-64binder.img
touch /home/phablet/anbox-data/.enable
chmod -R o+wrx /home/phablet/anbox-data/data
@boreycutts
boreycutts / i3-gaps_installation_guide.md
Last active January 30, 2024 19:05
A simple installation guide for i3-gaps

Installing i3-gaps

Dependencies

i3-gaps has some packages that are required for it to work so install these things:

sudo apt install libxcb1-dev libxcb-keysyms1-dev libpango1.0-dev libxcb-util0-dev libxcb-icccm4-dev libyajl-dev libstartup-notification0-dev libxcb-randr0-dev libev-dev libxcb-cursor-dev libxcb-xinerama0-dev libxcb-xkb-dev libxkbcommon-dev libxkbcommon-x11-dev autoconf xutils-dev libtool automake

You also need to install libxcb-xrm-dev, but I got Unable to locate package libxcb-xrm-dev when trying to install from the apt repositories on Ubuntu 16.04. If this happens to you, just install it from source using these commands:

mkdir tmp
@nzec
nzec / README.MD
Last active February 23, 2024 01:08
DeezLoader Offical Page

Thanks to /u/zpoo32 for reporting several issues in this list!

Deemix

  • deemix: just the cli and the library
  • deemix-pyweb: the app with a GUI
  • deemix-server: just the server part of deemix-pyweb
anonymous
anonymous / unicode.txt
Created February 24, 2018 01:50
This file has been truncated, but you can view the full file.
space
! exclamation mark
" quotation mark
# number sign
$ dollar sign
% percent sign
& ampersand
' apostrophe
( left parenthesis
) right parenthesis
@guyzmo
guyzmo / nm-wifi-fzf.sh
Created May 28, 2017 09:09
Connect to Wifi networks using network manager listed by fzf
wl(){
local ssid
local conn
nmcli device wifi rescan > /dev/null
ssid=$(nmcli device wifi list | tail -n +2 | grep -v '^ *\B--\B' | fzf -m | sed 's/^ *\*//' | awk '{print $1}')
if [ "x$ssid" != "x" ]; then
# check if the SSID has already a connection setup
conn=$(nmcli con | grep "$ssid" | awk '{print $1}' | uniq)
@nikhita
nikhita / update-golang.md
Last active April 26, 2024 04:46
How to update the Go version

How to update the Go version

System: Debian/Ubuntu/Fedora. Might work for others as well.

1. Uninstall the exisiting version

As mentioned here, to update a go version you will first need to uninstall the original version.

To uninstall, delete the /usr/local/go directory by: