- Adjust your app for best and faster debugging: do not pop alerts about push notifications registration failure if it's a simulator (you can check it!)
if (ObjCRuntime.Runtime.Arch == ObjCRuntime.Arch.DEVICE)
1. https://developer.oculus.com/documentation/unity/unity-enable-device/ | |
2. Remove ~/.android folder before connecting | |
3. Add vendor to ~/.android/adb_usb.ini (see https://stackoverflow.com/a/7136003/883738) | |
4. Install QuietCast https://www.reddit.com/r/OculusQuest/comments/c0ub6k/cast_quest_to_a_mac_instructions/ or run manually | |
``` | |
adb connect 192.168.0.105 && scrcpy --crop 1280:720:100:400 -b4M -m720 | |
``` | |
5. https://assetstore.unity.com/packages/tools/integration/oculus-integration-82022 |
ffmpeg -i input.mp4 -vcodec libx264 -crf 23 output1.mp4 | |
ffmpeg -i input.mp4 -vcodec libx264 -crf 23 -vf "scale=iw/2:ih/2" output2.mp4 |
#!/usr/bin/env bash | |
# <bitbar.title>WiFi level</bitbar.title> | |
# <bitbar.version>v1.0</bitbar.version> | |
# <bitbar.author>Alex Sorokoletov</bitbar.author> | |
# <bitbar.author.github>alexsorokoletov</bitbar.author.github> | |
# <bitbar.desc>TX rate/Link speed of the connected WiFi</bitbar.desc> | |
# <bitbar.dependencies></bitbar.dependencies> | |
# <bitbar.abouturl>https://sorokoletov.com/</bitbar.abouturl> |
sh bind.sh POD=Braintree/PayPalUtils VERBOSE POD_VERSION=4.11.0 ROOT_HEADER_FILE=PayPalUtils.h | |
Checking Paket version (downloading latest stable)... | |
Paket.exe 5.148.0 is up to date. | |
Paket version 5.148.0 | |
Skipping resolver for group Auto since it is already up-to-date | |
Skipping resolver for group Main since it is already up-to-date | |
/Users/alex/work/dt/objc-automatic/paket.lock is already up-to-date | |
Installing into projects: | |
- Creating model and downloading packages. | |
Performance: |
if (ObjCRuntime.Runtime.Arch == ObjCRuntime.Arch.DEVICE)
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration> | |
<system.webServer> | |
<staticContent> | |
<mimeMap fileExtension="." mimeType="text/plain" /> | |
<mimeMap fileExtension=".nupkg" mimeType="application/octet-stream" /> | |
<mimeMap fileExtension=".exe" mimeType="application/octet-stream" /> | |
<mimeMap fileExtension=".zip" mimeType="application/x-zip-compressed" /> | |
</staticContent> | |
</system.webServer> |
W/WhetstoneService(4090): Process { PackageName :de.codenauts.hockeyapp Pid: 8540 Uid: 0 Start by: activity Score:50 Old score:50 state:0 mBackgroundTimeInMillis:1482477503307 WakelockCount:0 wakelogsize:0 ActivityDestroied:false Activity size: 0 PackageInfo:{WhetstonePackageInfo#PacakgeName:de.codenauts.hockeyappFlag:1073747008 [,TRIMHEAPS,SOFT_RESET,FLAG_DEAL_SCHEDULE] Type:0[] } tasknum:64} not exist! |
Building: FirebaseTestApp (Debug|iPhoneSimulator) | |
Build started 12/13/2016 3:05:26 AM. | |
__________________________________________________ | |
Project "/Users/alex/work/dt/Xamarin.Firebase.iOS/FirebaseTestApp/FirebaseTestApp.csproj" (Build target(s)): | |
Initial Properties: | |
__CF_USER_TEXT_ENCODING = 0x1F5:0x0:0x0 | |
Apple_PubSub_Socket_Render = /private/tmp/com.apple.launchd.XSllxxC1th/Render |
#!/bin/bash | |
# based on http://stackoverflow.com/questions/755382/i-want-to-delete-all-bin-and-obj-folders-to-force-all-projects-to-rebuild-everyt | |
find . -iname "bin" -type d | xargs rm -rf | |
find . -iname "obj" -type d | xargs rm -rf | |
# clear VS4Mac temporary downloads | |
echo ~/Library/Caches/VisualStudio/7.0/TempDownload/ | |
for f in ~/Library/Caches/VisualStudio/7.0/TempDownload/* ; do | |
sudo rm -rf $f | |
done |
/// <summary> | |
/// Converts source image file to jpeg of defined quality (0.85) | |
/// </summary> | |
/// <param name="sourceFile">Source StorageFile</param> | |
/// <param name="outputFile">Target StorageFile</param> | |
/// <returns></returns> | |
private async Task<StorageFile> ConvertImageToJpegAsync(StorageFile sourceFile, StorageFile outputFile) | |
{ | |
//you can use WinRTXamlToolkit StorageItemExtensions.GetSizeAsync to get file size (if you already plugged this nuget in) | |
var sourceFileProperties = await sourceFile.GetBasicPropertiesAsync(); |