-
set "ControllerMode = bredr" in /etc/bluetooth/main.conf
-
sudo /etc/init.d/bluetooth restart
-
pair again.
#!/bin/bash | |
set -e | |
# libev version | |
LIBEV_VER=4.27 | |
# mbedTLS version | |
MBEDTLS_VER=2.16.2 | |
# libsodium version |
#!/usr/bin/python3 | |
""" | |
Copyright 2021 Mygod | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 |
#!/bin/bash | |
# | |
# This script processes events from smsd. | |
# It mainly will converts SMS encoded with UCS2 encoding to UTF-8 format expected by many other applications. | |
# To use it, edit your /etc/smsd.conf and add the following line: | |
# | |
# eventhandler = /path/to/smstools-eventhandler.sh | |
# | |
# When a new message is received in /var/spool/incoming/, message files with following header line will be converted: | |
# |
#!/bin/bash | |
# (c) 2016 nanpuyue <[email protected]> | |
# usage:sudo ./live_initrd_on_exfat.sh deepin-15.3-amd64.iso | |
NAMESERVER="1.2.4.8" | |
EXFAT_BIN="sbin/mount.exfat" | |
FILE_LIST="sbin/mount.exfat sbin/mount.exfat-fuse lib/x86_64-linux-gnu/libfuse.so.*" | |
ISO=$(readlink -f "$1") |
Git for Windows comes bundled with the "Git Bash" terminal which is incredibly handy for unix-like commands on a windows machine. It is missing a few standard linux utilities, but it is easy to add ones that have a windows binary available.
The basic idea is that C:\Program Files\Git\mingw64\
is your /
directory according to Git Bash (note: depending on how you installed it, the directory might be different. from the start menu, right click on the Git Bash icon and open file location. It might be something like C:\Users\name\AppData\Local\Programs\Git
, the mingw64
in this directory is your root. Find it by using pwd -W
).
If you go to that directory, you will find the typical linux root folder structure (bin
, etc
, lib
and so on).
If you are missing a utility, such as wget, track down a binary for windows and copy the files to the corresponding directories. Sometimes the windows binary have funny prefixes, so
#!/bin/sh | |
# Author: Senorsen <[email protected]> | |
# Prerequisites: adb, fastboot, unzip | |
# Flash Nexus Device (especially approriate for unlocked & rooted devices), which cannot be upgraded with OTA | |
# First download nexus factory image from: | |
# https://developers.google.com/android/nexus/images | |
set -e | |
FILE="$1" |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |