Skip to content

Instantly share code, notes, and snippets.

View Dixzz's full-sized avatar
💭
I may be slow to respond.

Satyam Sharma Dixzz

💭
I may be slow to respond.
View GitHub Profile
//@version=5
// ══════════════════════════════════════════════════════════════════════════════════════════════════ //
//# * ══════════════════════════════════════════════════════════════════════════════════════════════
//# *
//# * Study : Day Trading Booster
//# * Author : © dgtrd
//# * Author : 1 Satyam
//# *
//# * Revision History
//# * Release : Dec 29, 2022 : Initial Release
@Dixzz
Dixzz / app.gradle
Created December 7, 2023 10:06
Auto build, sign and upload to slack bot for further process (can be changed as per your favorite client)
// add to bottom of your app gradle config file
apply from: 'uploader.gradle'
CHAT_ID="<your_tg_id>"
number_reg='^[1-9]+$'
function message(){
for chat in $CHAT_ID
do
curl -s "https://api.telegram.org/bot471977941:AAG76tYc8jCmQgcqGbVVF0KYyBQiYPb-DOE/sendmessage" --data "text=${*}&chat_id=$CHAT_ID&parse_mode=Markdown" > /dev/null
done
echo -e
}
@Dixzz
Dixzz / AdbCommands
Created May 13, 2021 18:27 — forked from Pulimet/AdbCommands
Adb useful commands list
adb help // List all comands
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader
WSGIScriptAlias / /home/${CURRENT_USER}/nssweb/nssweb/wsgi.py
#WSGIPythonPath /home/${CURRENT_USER}/nssweb:/home/${CURRENT_USER}/nssweb/venv/lib/python3.8/site-packages
#WSGIPythonPath /home/${CURRENT_USER}/nssweb/nssweb/
WSGIPythonHome /home/${CURRENT_USER}/nssweb/venv/
WSGIPythonPath /home/${CURRENT_USER}/nssweb
#WSGIPythonPath /home/${CURRENT_USER}/nssweb/venv/bin/python3
WSGIPassAuthorization On
<VirtualHost *:80>
ServerAdmin [email protected]
#!/bin/bash
# shellcheck disable=1091,2004,2034
# SC2034: chat appears unused. Verify use (or export if used externally).
# SC1091: Not following: build/envsetup.sh was not specified as input (see shellcheck -x).
# SC2004: $/${} is unnecessary on arithmetic variables.
#echo "Enter "exec" without "" if want log or nothing if you want see what happen but no log"
#read exec
#$exec &> build.log
@Dixzz
Dixzz / audit2allow-sepolicy-android
Created December 28, 2018 18:27 — forked from Nihhaar/audit2allow-sepolicy-android
Addressing selinux denials using audit2allow for android using logcat
# Goto android source code root and then execute following commands
# Keep the logcat.log in the root
export ANDROID_BUILD_TOP=$(pwd)
./external/selinux/prebuilts/bin/audit2allow -p out/target/product/{devicename}/root/sepolicy < logcat.log
# Copy the generated rules in respective files in the device tree
--------- beginning of system
03-22 06:24:58.324 727 774 I QISL : QSEE Interrupt Service Listener Thread is started
03-22 06:24:58.329 727 774 I QISL : QSEE Interrupt Service Listener was activated successfully
03-22 06:24:58.448 460 460 I vold : Vold 3.0 (the awakening) firing up
03-22 06:24:58.448 460 460 V vold : Detected support for: ext4 f2fs vfat
03-22 06:24:58.451 460 460 W vold : Failed to LOOP_GET_STATUS64 /dev/block/loop1: No such device or address
03-22 06:24:58.451 460 460 W vold : Failed to LOOP_GET_STATUS64 /dev/block/loop7: No such device or address