Skip to content

Instantly share code, notes, and snippets.

@TAbdiukov
TAbdiukov / locking.py
Created July 25, 2024 19:00
locking py
import threading
# Create a lock
lock = threading.Lock()
def is_free():
# Acquire the lock
with lock:
# code here
pass
@TAbdiukov
TAbdiukov / StagesDemo-strcpy.txt
Created July 24, 2024 01:10
for E2 - Stage-based programming
@name StagesDemo-strcpy
@inputs
@outputs Stage
@persist [S1 S2]:string S1_Len String_Buffer_Count
@persist STRING_BUFFER_SIZE STRING_SIMPLE_COPY_THRESHOLD Stage StringArray:array
@persist LongStringK LongStringArray:array
@trigger
@strict
runOnTick(1)
Для тех кто не в курсе, MTK8321 - это тот же MTK6580, только для планшетов

Certyfikaty AXELOS Global Best Practice nie są już dożywotnie. Niestety 😢

Od stycznia 2023 roku wszystkie certyfikaty mają 3-letni okres ważności. Dotyczy to certyfikatów #ITIL, #PRINCE2, #PRINCE2Agile, #MoR i innych.

W przypadku ITIL-a data ważności certyfikatu to nowość. W przypadku certyfikatów PRINCE2 czy MoR tak to działa od dawna.

…ale, odnawianie certyfikatów #nie #jest #obowiązkowe❗️

Nikt nie zabiera certyfikatów po 3 latach. Masz je przecież w wersji elektronicznej lub papierowej (zależnie od wyboru). Cały czas są też na Twoim koncie w PeopleCert. Wciąż możesz je też sprawdzić w publicznej bazie certyfikatów online.

overclock/underclock our MTK devices.No custom kernel or ROM is required but the problem is that the CPU can't be overclocked. Only the GPU and other components like RAM and internal memory.

  1. All you need to do is to install a MTK Engineering app from Google play store.
  2. After that go to /hardware testing/DE-sense/PLLs - you will get to a menu with some different PLLs

ARM PLL - is CPU ( but can't be overclocked ) MM PLL - is the GPU ( it's safe to OC )

I don't know about other PLLs , I don't think is safe to OC them and you will not get any boost in performance. There are the default PLLs values for my MT6582 device ( all clock speeds are in khz )

[power]
skip_suspend_process=0
skip_resume_process=0
skip_suspend_process_all=0
skip_resume_process_all=0
[interface]
shutdown_time=1
#ifdef _WIN32
#include "inttypes.h"
#else /* _WIN32 */
#include <inttypes.h>
#endif /* _WIN32 */