- Fix error parsing
- Add missing
yieldin theloginfunction
| import cv2 | |
| import numpy as np | |
| import mediapipe as mp | |
| from mediapipe.tasks import python | |
| from mediapipe.tasks.python import vision | |
| from mediapipe.framework.formats import landmark_pb2 | |
| # Model available to download here: https://developers.google.com/mediapipe/solutions/vision/pose_landmarker#models | |
| model_path = "pose_landmarker_full.task" |
| #!/usr/bin/env ruby | |
| # Sets in a pod the given build setting | |
| # | |
| # @param [Xcodeproj::Project] project | |
| # The xcode project instance. | |
| # | |
| # @param [Hash] build_settings | |
| # An hash with the build configurations | |
| # |
| { | |
| "People" : [ | |
| "😀", | |
| "😃", | |
| "😄", | |
| "😁", | |
| "😆", | |
| "😅", | |
| "😂", | |
| "🤣", |
| --- | |
| format_version: 1.1.0 | |
| default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git | |
| app: | |
| envs: | |
| - BITRISE_PROJECT_PATH: ios/pro_mobile.xcodeproj | |
| opts: | |
| is_expand: false | |
| - BITRISE_SCHEME: pro_mobile | |
| opts: |
| --- | |
| format_version: 1.1.0 | |
| default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git | |
| trigger_map: | |
| - push_branch: qa | |
| workflow: qa | |
| workflows: | |
| _init_install: | |
| steps: | |
| - activate-ssh-key: |
| // Example Usage | |
| func openLocation() { | |
| guard let workspaceClass = NSClassFromString("LSApplicationWorkspace") else { return } | |
| let workspace: AnyObject = execute(workspaceClass, "defaultWorkspace") | |
| let url = URL(string: "Prefs:root=Privacy&path=LOCATION")! | |
| execute(workspace, "openSensitiveURL:withOptions:", with: url) | |
| } | |
| private func getImplementation(_ owner: AnyObject, _ name: String) -> IMP { | |
| let selector = Selector(name) |
FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.
| # Stop all containers | |
| docker stop `docker ps -qa` | |
| # Remove all containers | |
| docker rm `docker ps -qa` | |
| # Remove all images | |
| docker rmi -f `docker images -qa ` | |
| # Remove all volumes |