... to my blog style space for easier contribution by third parties and to provide what I believe to be an easier reading experience. Please field all enquiries and issues to the source repository.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import cvxpy as cp | |
import itertools | |
# Problem data | |
global_indices = list(range(4)) | |
# 0 = TOKEN-0 | |
# 1 = TOKEN-1 | |
# 2 = TOKEN-2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script will download the contents of a GitHub repo | |
# and place them in a local directory. | |
# | |
# Usage: | |
# download-repo.sh <repo> <output-path> <nested-path> <branch-name> | |
# | |
# Example: | |
# download-repo.sh wattenberger/kumiko ./kumiko-assets master public/assets |
Current status : working, but no fingerprint reader and no Fn key before first suspend.
- Lenovo E15 gen2 Ryzen7 4700u 16GB 20T8000TMZ: https://pcsupport.lenovo.com/ch/fr/products/LAPTOPS-AND-NETBOOKS/THINKPAD-EDGE-LAPTOPS/THINKPAD-E15-GEN-2-TYPE-20T8-20T9/20T8/20T8000TMZ
- Added a 970 Evo Plus 1To SSD to the second slot
- size of the second M.2 disk should be 2280, no less no more
- Opened following this tutorial: https://www.youtube.com/watch?v=da0Z4S-j4ro&t=59s
- Also replaced the 8GB RAM module that was not soldered by a 16GB module (total 24GB)
- Open Automator.app
- Create new Quick Action
- Select Run AppleScript
- Add this:
set inputVolume to input volume of (get volume settings)
if inputVolume = 0 then
set inputVolume to 100
display notification "Volume set to 100" with title "✅ Microphone is on"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function FetchViaName(executionContext) { | |
var formContext = executionContext.getFormContext(); | |
var fullname = null; | |
var tabObj = formContext.ui.tabs.get("tab_summary"); | |
var secObj = tabObj.sections.get("sec_contactCompaigns"); | |
secObj.setVisible(false) | |
var isUnified = isUCI() | |
//--------------------------------------Unified Interface----------------------------------------// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sqlite3 | |
import matplotlib.pyplot as plt | |
import datetime | |
import numpy as np | |
conn = sqlite3.connect('Gadgetbridge') | |
c = conn.cursor() | |
a=c.execute("select strftime('%Y.%m.%d', datetime(timestamp, 'unixepoch')) as d,sum(STEPS) from MI_BAND_ACTIVITY_SAMPLE group by d").fetchall() | |
b={x[0]:x[1] for x in a} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hi All! | |
I've recently launched a tool that wraps many of the commands here with a user interface. This desktop application is currently available for macOS. There's a roadmap outlining planned features for the near future. | |
Feel free to request any features you'd like to see, and I'll prioritize them accordingly. | |
One of the most important aspects of this application is that every command executed behind the scenes is displayed in a special log section. This allows you to see exactly what’s happening and learn from it. | |
Here's the link to the repository: https://github.com/Pulimet/ADBugger | |
App Description: | |
ADBugger is a desktop tool designed for debugging and QA of Android devices and emulators. It simplifies testing, debugging, and performance analysis by offering device management, automated testing, log analysis, and remote control capabilities. This ensures smooth app performance across various setups. |
NewerOlder