Skip to content

Instantly share code, notes, and snippets.

View Gladkov-Art's full-sized avatar

Artem Gladkov Gladkov-Art

View GitHub Profile
<?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>Label</key>
<string>ssh.add</string>
<key>ProgramArguments</key>
<array>
<string>/usr/bin/ssh-add</string>
<string>--apple-use-keychain</string>
@Gladkov-Art
Gladkov-Art / firestore-persistance-error.tsx
Created September 25, 2021 17:27
Firestore persistence enabling error
////////// Index.tsx
import { FirebaseAppProvider } from 'reactfire';
import FIREBASE_CONFIG from './firebase-config';
ReactDOM.render(
<FirebaseAppProvider firebaseConfig={FIREBASE_CONFIG}>
<React.StrictMode>
<AppWithFirebase />
</React.StrictMode>
require 'optparse'
require 'xcodeproj'
options = {}
OptionParser.new do |opts|
opts.banner = " This script fills \"Compile sources\" and add headers to the project section. \n
Usage: fill_sources_headers.rb [options]"
opts.on("-s [sources_path]", "--sources [sources_path]", "Path to the sources files (required)") do |sources_path|
Pod::Spec.new do |s|
s.name = "FFmpegBin"
s.version = "0.1.0"
s.summary = "The latest version of FFmpeg for iOS"
s.description = "FFmped libraries for iOS"
s.homepage = "https://ffmpeg.org"
s.license = 'MIT'
s.author = { "iOS" => "[email protected]" }
s.source = { :http => "https://downloads.sourceforge.net/project/ffmpeg-ios/ffmpeg-ios-master.tar.bz2" }
s.platform = :ios, '8.0'