Function's Service Account should have role logging.writer
context.function_name DOES contain function id
Thanks to https://github.com/mcode-cc/python-yandex-cloud-logging library
Function's Service Account should have role logging.writer
context.function_name DOES contain function id
Thanks to https://github.com/mcode-cc/python-yandex-cloud-logging library
| #!/bin/bash | |
| # sudo apt install gcc-aarch64-linux-gnu g++-aarch64-linux-gnu | |
| # sudo apt install gcc-arm-linux-gnueabi g++-arm-linux-gnueabi | |
| # sudo apt install gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf | |
| dpkg-query -l gcc-aarch64-linux-gnu > /dev/null || sudo apt install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu | |
| dpkg-query -l aria2 > /dev/null || sudo apt install -y aria2 | |
| export LOCAL_PATH=$(pwd) |
| # CMakeLists.txt for dual-core STM32H7xx MCUs and CLion IDE | |
| # | |
| # DISCLAIMER: Experimental version, based on undocumented assumptions how STM32CubeMX works | |
| # DISCLAIMER: THIS FILE IS PROVIDED UNDER "The Unlicense" LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTY OF ANY KIND | |
| # | |
| # Requirements: | |
| # Toolchain binaries have to be in system path | |
| # STM32CubeMX field "Project Manager | Code Generator | Target IDE" must be set to "STM32CubeIDE" | |
| # | |
| # Tested under environment: |
| lib/lib.h: | |
| lib/lib_private.h: | |
| lib/lib.c: | |
| # | |
| # Assume some C library that makes use of OpenSSL | |
| # | |
| lib/CMakeLists.txt: | |
| # | |
| # Test executables |
| import { useState } from "react"; | |
| export function useLocalStorage<T>(key: string, initialValue: T): [T, (s: T) => void] { | |
| // State to store our value | |
| // Pass initial state function to useState so logic is only executed once | |
| const [storedValue, setStoredValue] = useState<T>(() => { | |
| try { | |
| // Get from local storage by key | |
| const item = window.localStorage.getItem(key); | |
| // Parse stored json or if none return initialValue |
| # MIT License | |
| # | |
| # Copyright (c) 2019 Cristian Adam | |
| # | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy | |
| # of this software and associated documentation files (the "Software"), to deal | |
| # in the Software without restriction, including without limitation the rights | |
| # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| # copies of the Software, and to permit persons to whom the Software is | |
| # furnished to do so, subject to the following conditions: |
| /* Android ssl certificate pinning bypass script for various methods | |
| by Maurizio Siddu | |
| Run with: | |
| frida -U -f <APP_ID> -l frida_multiple_unpinning.js [--no-pause] | |
| */ | |
| setTimeout(function() { | |
| Java.perform(function() { | |
| console.log(''); |