| ########################### | |
| # Phone apps and services # | |
| ########################### | |
| adb shell "cmd package install-existing com.android.stk" # SIM toolkit | |
| adb shell "cmd package install-existing com.android.stk2" # SIM toolkit (maybe for dual-sim devices) | |
| adb shell "cmd package install-existing com.sec.android.app.simsettingmgr" # SIM card manager, maybe required, contains configuration and settings for handling dual SIM (give a SIM an icon, a name, and so on) | |
| adb shell "pm uninstall -k --user 0 com.samsung.android.smartcallprovider" # The 4th tab in the Phone app for 'local places' | |
| adb shell "pm uninstall -k --user 0 com.sec.vsim.ericssonnsds.webapp" # NSDSWebApp. The Non Sim Device Solution (NSDS) is linked to VoLTE and VoWifi (Wifi Calling). NSDS allows connecting non sim devices to IMS core: https://uk.linkedin.com/in/hemant-kumar-dewnarain-2b779679 | |
| adb shell "pm uninstall -k --user 0 com.android.cts.ctsshim" # Part of the Android Compatibility Test Suite: https://source.android.com/compatibility/cts/setu |
| - This page is a collection of some of the Advanced queries from the [[Datalog]] channel on the [[Logseq/Discord]] server. #datalog | |
| id:: 61db13f4-75e8-4f87-ad60-3ac3479c5fc8 | |
| - ### Resources | |
| - [link: The first message on the datalog channel](https://discord.com/channels/725182569297215569/743139225746145311/743139795865174119) | |
| - [link: Logseq docs - Advanced queries](https://docs.logseq.com/#/page/advanced%20queries) | |
| - [link: Logseq datascript schema](https://gist.github.com/tiensonqin/9a40575827f8f63eec54432443ecb929) | |
| - [link: Logseq frontend db model](https://github.com/logseq/logseq/blob/master/src/main/frontend/db/model.cljs) | |
| - [link: How to Graph Your Data - talk by Paula Gearon](https://youtu.be/tbVwmFBnfo4) | |
| - [link: Domain modelling with datalog - talk by Norbert Wojtowicz](https://youtu.be/oo-7mN9WXTw) | |
| - [link: Athens Research ClojureFam](https://github.com/athensresearch/ClojureFam) |
| { | |
| config, | |
| pkgs, | |
| options, | |
| ... | |
| }: let | |
| hostname = "oatman-pc"; # to alllow per-machine config | |
| in { | |
| networking.hostName = hostname; |
This is documentation for myself in hope of helping others. I do not accept any responsibility. Follow the instruction at your own risk. I tested it with Ubuntu 18.04 and it worked. This was also a practice for myself to automate something in Linux.
My freebuds 3 had a very low volume on Ubuntu 18.04 until I saw this answer. So running the following command 4 times resolved the issue
dbus-send --print-reply --system --dest=org.bluez /org/bluez/hci0/dev_<mac_address_of_headphones> org.bluez.MediaControl1.VolumeUp
Just note that the mac address should be seperated with _ underscore rather than : which you may find in the bluetooth settings.
Tuning Intel Skylake and beyond for optimal performance and feature level support on Linux:
Note that on Skylake, Kabylake (and the now cancelled "Broxton") SKUs, functionality such as power saving, GPU scheduling and HDMI audio have been moved onto binary-only firmware, and as such, the GuC and the HuC blobs must be loaded at run-time to access this functionality.
Enabling GuC and HuC on Skylake and above requires a few extra parameters be passed to the kernel before boot.
Instructions provided for both Fedora and Ubuntu (including Debian):
Note that the firmware for these GPUs is often packaged by your distributor, and as such, you can confirm the firmware blob's availability by running:
This is a full guide for people who wanted to setup Windows 10/11 VM with QEMU/KVM hypervisor for laptops that configured with hybrid graphics card like Intel/AMD + NVIDIA. This process will take about 1 to 2 hours, depending on your system's performance.
- This guide is exclusively for Fedora because this distro is quite different to set up than other distro such as Arch. I would say Arch is easier to setup than Fedora, but sometimes your prefer Fedora than Arch in terms of its usage & features.
- This tutorial mostly focus on laptops with NVIDIA Optimus MUXed configuration when dGPU (dedicated GPU) can connect directly to HDMI/DP output. If in doubt, search "VR-Ready laptops", as those are definitely MUXed.
- For MUXless configuration which the dGPU share display alongside with iGPU (integrated GPU), you may need to extract your system's vBIOS for your card to avoid getting no output from your screen. Refer [here](#blank-screen-output-when-i-passthrough
| # WARNING: This is not how you should use a CI/CD plaftform, use privately and at your own risk | |
| name: URL uploader | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| LINK: | |
| type: string | |
| required: true | |
| FILENAME: | |
| type: string |
| # ############################################################################################################################################# | |
| # This script KILLS all linux processes that match specific pattern provided by the user: | |
| # Ver 1.0 | |
| # # # # | |
| # Author: Mahmmoud ADEL # # # # ### | |
| # Created: 08-05-23 # # # # # | |
| # Modified: | |
| # ############################################################################################################################################# | |
| # Terminate the Script if the OS is not Linux: |