CCCPaste

Android ADB Command List

#list of adb commands

###get Services
adb shell dumpsys | grep "DUMP OF SERVICE"

Change Col-8 and Col-4 Width

/* Change Col-8 and Col-4 Width */
@media (max-width: 1024px) {
.vc_col-sm-8, .vc_col-sm-4 {
width: 100%;
}

VolumeScript

local red = Color3.fromRGB(255,0,0)
local yellow = Color3.fromRGB(255,255,0)
local green = Color3.fromRGB(0,255,0)

function Volume()

2021-12-19_stats.json

{
"ip": {
"122.154.149.36": 3194,
"162.246.16.3": 133,
"159.223.75.1": 56,

Account Page Restriction

/** Account Page Restriction */
function restrict_account_page() {
$restrict_role = array( 'customer' );
$user = wp_get_current_user();
if ( in_array( $user->roles[0], $restrict_role ) ) {

sum matrix

def sum_matrix(matrix):
tot = 0
for x in matrix:
if not isinstance(x, list):
tot += x

min or max in matrix

def min_max(matrix: list, func_check):
list_matrix = matrix.copy()
list_var = []

for item in list_matrix:

data87

{
status: 'Success',
method: 'server',
maindata: '19b34602961ddd76e3bd08bf48edbf6fce336c04e93cdfd62e6ef94859dbd78a3617f24cb0cc7ca1f91d74e46c97bbf6333ae0763636dd0754659a3461c048be2df6f1442067f3c937d404895135c0b4dd52309fbdddab7399767094f0dc83fe93e64d32709f8bc58384804d811f238b31f5c63940cfc65c217e1b9d9044c00f',
otherdata: [

Hide button 2 for not logged users

/* Hide button 2 for not logged users */
body:not(.logged-in) .jeg_nav_item.jeg_button_2 {
display: none;
}

python static type

from python_static_type import decorate_static_type, ExceptionStaticType


class Test:
pass