I hereby claim:
- I am leonardocardoso on github.
- I am leocardz (https://keybase.io/leocardz) on keybase.
- I have a public key ASBs8fvDkGu3xRc1wSo88cqv7PVcNOKQInTQSQrppHJKJQo
To claim this, I am signing this object:
import SwiftSyntax | |
// swift-syntax v509.0.0-swift-DEVELOPMENT-SNAPSHOT-2023-08-15-a | |
extension SyntaxProtocol { | |
var token: TokenSyntax? { self.as(TokenSyntax.self) } | |
var accessorBlock: AccessorBlockSyntax? { self.as(AccessorBlockSyntax.self) } | |
var accessorDeclList: AccessorDeclListSyntax? { self.as(AccessorDeclListSyntax.self) } | |
var accessorDecl: AccessorDeclSyntax? { self.as(AccessorDeclSyntax.self) } | |
var accessorEffectSpecifiers: AccessorEffectSpecifiersSyntax? { self.as(AccessorEffectSpecifiersSyntax.self) } | |
var accessorParameters: AccessorParametersSyntax? { self.as(AccessorParametersSyntax.self) } |
I hereby claim:
To claim this, I am signing this object:
--- | |
layout: null | |
permalink: /feed.json | |
--- | |
{ | |
"version": "https://jsonfeed.org/version/1", | |
"title": "{{ site.title }}", | |
"description": "{{ site.description }}", | |
"home_page_url": "{{ '/' | absolute_url }}", | |
"feed_url": "{{ page.url | absolute_url }}", |
--- | |
layout: null | |
permalink: /feed.xml | |
--- | |
{% assign feed_url = page.url | absolute_url %}<?xml version="1.0" encoding="utf-8"?> | |
<feed xmlns="http://www.w3.org/2005/Atom"> | |
<title>{{ site.title }}</title> | |
<subtitle>By {{ site.author.name }}</subtitle> | |
<link rel="alternate" type="text/html" href="{{ site.url }}" /> | |
<link rel="self" type="application/atom+xml" href="{{ feed_url }}" /> |
defaults write com.apple.iphonesimulator AllowFullscreenMode -bool YES |
#!/usr/bin/env bash | |
PRODUCTS_PATH=$1 | |
PROJECT_NAME=$2 | |
VERSION=$3 | |
if (( $# != 3 )); then | |
echo "Wrong usage. Please pass the correct arguments. | |
>> ./bind-frameworks PRODUCTS_PATH PROJECT_NAME VERSION" | |
else |
function updateversion() { | |
OLD="$1" | |
NEW="$2" | |
grep -rl "$OLD" . --exclude-dir={"Build","libs","Pods",".git"} --exclude={"Podfile.lock","CHANGELOG.md","update-version.sh"} | xargs sed -i.bak "s/$OLD/$NEW/g"; | |
find . -type f -name '*.bak' -delete | |
} |
#!/bin/bash | |
### Functions | |
trim() { | |
local trimmed="$1" | |
# Strip leading space. | |
trimmed="${trimmed## }" | |
# Strip trailing space. | |
trimmed="${trimmed%% }" |
for i in **/*.mp3; do afinfo "$i" |grep "bit rate" ; done |
for f in *; do | |
if [[ -d $f ]]; then | |
cd $f | |
for i in **/*.mp3; do ffmpeg -i "$i" -codec:a libmp3lame -b:a 192k "0-$i" ; done | |
cd ../ | |
else | |
for i in **/*.mp3; do ffmpeg -i "$i" -codec:a libmp3lame -b:a 192k "0-$i" ; done | |
fi | |
done |