Skip to content

Instantly share code, notes, and snippets.

View hassanrazahasrat's full-sized avatar
🤓
Exploring Opportunities 🌏

Hassan Raza Hasrat hassanrazahasrat

🤓
Exploring Opportunities 🌏
View GitHub Profile
@hassanrazahasrat
hassanrazahasrat / readme.MD
Last active October 26, 2023 20:18
Python nested dict deep get utility method

Python dictionary utility method to get nested values

Supports nested dict, list within a dict

Usage Example:

data = {
  'name': 'Hassan',
  'detail': {
 'country': 'Pakistan',
@hassanrazahasrat
hassanrazahasrat / Fastfile
Last active October 17, 2022 01:42
SonarQube for iOS project (Swift)
# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
default_platform(:ios)
platform :ios do
desc "Description for the lane"
lane :metrics do
scan(scheme: "Yummy",
code_coverage: true,
@hassanrazahasrat
hassanrazahasrat / ios-deployment
Last active October 16, 2022 13:24
iOS Automation | Build and Deploy
#!/bin/bash
#
# .env must exist in this format OR define these keys in this file
# PROJECT_NAME=testproject
# IOS_KEY_NAME=
# IOS_ISSUER=
#
WORKSPACE="."