Skip to content

Instantly share code, notes, and snippets.

View phani92's full-sized avatar

Phanindra Kumar Yellapu phani92

View GitHub Profile
@phani92
phani92 / gist:c4e52f5b8026bf56a74d109844b272ad
Created April 21, 2023 14:19
VS code launch.json with openocd and stlink
{
"configurations": [
{
"cwd": "${workspaceFolder}",
"executable": "<build_binary>.elf",
"name": "<Debug config name>",
"request": "launch",
"type": "cortex-debug",
"runToEntryPoint": "main",
"showDevDebugOutput": "raw",
@phani92
phani92 / get_intermediate_certificate.rb
Last active August 18, 2024 07:44
Fix (action) for the fastlane's issue of downloading intermediate certificate with match [issue](https://github.com/fastlane/fastlane/issues/20902)
require 'tempfile'
require 'open3'
INTERMEDIATE_CERTIFICATES = [
{
OU: 'G1',
url: 'https://www.apple.com/certificateauthority/DeveloperIDCA.cer'
},
{
OU: 'G2',