Using Macaw its pretty straight forward to use SVG images in your iOS and macOS apps.
Install via CocoaPods or Carthage. It doesn't support SPM at the time of writing but its pretty easy to fork their repo and add it.
import json | |
import os | |
import boto3 | |
def lambda_handler(event, context): | |
try: | |
s3 = boto3.client('s3') | |
"""Downlod video from private S3""" | |
s3.download_file('serverless-test-2020', 'Big_Buck_Bunny_1080_10s_1MB.mp4', '/tmp/test-video.mp4') | |
#!/usr/bin/env bash | |
set -e | |
# See also: https://github.com/frost-nzcr4/find_forks (same thing but in python) | |
origin_url="$(git remote show origin | grep 'Fetch URL:' | sed 's+.*: ++')" | |
full_repo_name="$(echo "$origin_url" | sed 's+.*github.com/++ ; s+\.git$++')" | |
forks_url="https://api.github.com/repos/${full_repo_name}/forks" |
Using Macaw its pretty straight forward to use SVG images in your iOS and macOS apps.
Install via CocoaPods or Carthage. It doesn't support SPM at the time of writing but its pretty easy to fork their repo and add it.
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>StringsTable</key> | |
<string>Root</string> | |
<key>PreferenceSpecifiers</key> | |
<array> | |
<dict> | |
<key>Type</key> |
$ xcrun scntool --verbose
| Current SceneKit version is 4.560000
| Running scntool (compiled on Jul 1 2018 01:01:55)
usage: scntool --convert file --format format [--output file]
000084a8: 7363 7269 7074 696f 6e00 2d2d 7461 7267 6574 2d70 6c61 7466 :scription.--target-platf
#!/usr/local/bin/python | |
# Jonathan Cardasis, 2018 | |
# | |
# Cleans up a collada `dae` file removing all unnessasary data | |
# only leaving animations and bone structures behind. | |
# Combines multiple animation sequences into a single animation | |
# sequence for Xcode to use. | |
import sys | |
import os | |
import re |
#!/bin/bash | |
# See: https://docs.microsoft.com/en-us/sql/linux/tutorial-restore-backup-in-sql-server-container | |
SA_PASSWORD=<YourStrong!Passw0rd> | |
function show_info { | |
tput setaf 6; echo $1; tput sgr 0 | |
} | |
show_info 'Pulling the container image...' |
/* | |
AUTO-COMPLETE SNIPPETS FOR GLSL WITHIN VISUAL CODE STUDIO | |
Lewis Lepton | |
https://lewislepton.com | |
useful places that i grabbed info from | |
http://www.shaderific.com/glsl | |
https://www.khronos.org/opengl/wiki/OpenGL_Shading_Language | |
plus various other papers & books | |
*/ |
// Mixamo Animation downloadeer | |
// | |
// Author: Antonio Aloisio <[email protected]> | |
// Contributions: kriNon | |
// | |
// The following script make use of mixamo2 API to download all anims for a single character that you choose. | |
// The animations are saved with descriptive long names instead of the short ones used by default by mixamo UI. | |
// | |
// This script has been written by [email protected] and the author is not responsible of its usage | |
// |
# Node | |
nodesize() { | |
find . -name "node_modules" -type d -prune -print | xargs du -chs | |
} | |
nodenuke() { | |
echo "This command will recursively delete node_modules from your current directory." | |
echo "Continue (y/n)?" | |
read CONT |