Generate professional placeholder images with profile photos, names, titles, and company logos.
pip install -r requirements.txt| --- | |
| title: "NYPD Shooting Incidents" | |
| author: "P. Foti" | |
| date: "2025-05-13" | |
| output: | |
| pdf_document: default | |
| html_document: default | |
| --- | |
| # Introduction |
| #!/bin/bash | |
| set -e | |
| xcodeproj=`find . -maxdepth 1 -name "*.xcodeproj"` | |
| proj_name=`echo $xcodeproj | sed 's/.\///g' | sed 's/.xcodeproj//g'` | |
| xcworkspace=`find . -maxdepth 1 -name "$proj_name.xcworkspace"` | |
| if [[ ! -z $xcworkspace && -e $xcworkspace ]]; then | |
| open $xcworkspace |
| #!/usr/bin/env python3 | |
| def lambda_handler(event, context): | |
| iterator = event['iterator'] | |
| index = iterator['index'] | |
| step = iterator['step'] | |
| count = iterator['count'] | |
| items = iterator['items'] | |
| index += step |
| #!/usr/bin/env python3 | |
| def lambda_handler(event, context): | |
| count = len(event['input_data']['items']) | |
| index = -1 | |
| step = 1 | |
| items = event['input_data']['items'] | |
| return {'index': index, 'count': count, 'step': step, 'items': items} |
| import Foundation | |
| protocol PJPageControlUsable { | |
| var indicatorType: PJPageControl.Indicator { get } | |
| } | |
| protocol PJPageControlDelegate: class { | |
| // | |
| // PJNotificationCenter.m | |
| // NotificationSample | |
| // | |
| // Created by Peter Foti on 6/21/16. | |
| // Copyright © 2016 Peter Foti. All rights reserved. | |
| // | |
| #import "PJNotificationCenter.h" | |
| #import "PJNotificationKey.h" |
| #!/bin/bash | |
| set -e | |
| xcodeproj=`find . -maxdepth 1 -name "*.xcodeproj"` | |
| proj_name=`echo $xcodeproj | sed 's/.\///g' | sed 's/.xcodeproj//g'` | |
| xcworkspace=`find . -maxdepth 1 -name "$proj_name.xcworkspace"` | |
| if [[ ! -z $xcworkspace && -e $xcworkspace ]]; then | |
| open $xcworkspace |
| import Foundation | |
| // Localized string struct that has single static method which accepts a `Localizeable` value. | |
| struct LocalizedString { | |
| // Usage: LocalizedString.localizedStringForValue(NavBarTitle.Home) | |
| static func localizedStringForValue<T: Localizeable>(localizeableValue: T) -> String { | |
| return NSLocalizedString(localizeableValue.localizedString, comment: localizeableValue.localizedStringComment) |
| #!/bin/bash | |
| set -e | |
| read -e -p "Enter path to Xcode project: " FILES | |
| eval FILES=$FILES | |
| find "$FILES" -type f \( -name "*.h" -or -name "*.m" \) | while read -r f; | |
| do |