Skip to content

Instantly share code, notes, and snippets.

View przemek-jablonski's full-sized avatar
🏠
Working from home

Przemek Jabłoński przemek-jablonski

🏠
Working from home
View GitHub Profile
jobs:
build:
runs-on: macos-11 #or macos-10.15 for older
- name: Build and test ( macOS 12.0 Monterey)
run: xcodebuild test -scheme Earendil -destination 'platform=macOS,arch=x86_64,id=4666018E-420F-C1B5-9525-B145CECA79EB'
- name: Build and test ( mac Catalyst 12.0)
run: xcodebuild test -scheme Earendil -destination 'platform=macOS,arch=x86_64,variant=Mac Catalyst,id=4666018E-420F-C1B5-9525-B145CECA79EB'
- name: Build and test ( tvOS 15.0)
run: xcodebuild test -scheme Earendil -destination 'platform=tvOS Simulator,OS=15.0,name=Apple TV 4K (2nd generation)'
- name: Build and test ( iOS 15.0)
run: xcodebuild test -scheme Earendil -destination 'platform=iOS Simulator,OS=15.0,name=iPhone 12 Pro'
- name: Build and test ( watchOS 8.0)
run: xcodebuild test -scheme Earendil -destination 'platform=watchOS Simulator,OS=8.0,name=Apple Watch Series 6 - 40mm'
- name: Show eligible build destinations for Earendil
run: xcodebuild -showdestinations -scheme Earendil
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule: #triggering the jobs according to predefined schedule
- cron: 0 0 * * * #trigger once a day, according to the cron syntax
@przemek-jablonski
przemek-jablonski / default_github_action.yml
Last active August 25, 2021 21:59
Default Github Action using the Swift template
#name of your config
name: Swift
#when to trigger the jobs
on:
push:
branches: [ master ] #trigger on each push to master
pull_request:
branches: [ master ] #trigger on each PR for master
@przemek-jablonski
przemek-jablonski / iterm2-solarized.md
Created August 2, 2020 21:21 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k

Shader "Custom/WavingDoublePass" {
Properties {
_WavingTint ("Fade Color", Color) = (.7,.6,.5, 0)
_MainTex ("Base (RGB) Alpha (A)", 2D) = "white" {}
_WaveAndDistance ("Wave and distance", Vector) = (12, 3.6, 1, 1)
_Cutoff ("Cutoff", float) = 0.5
_Cutoff2 ("Cutoff2", float) = 0.5
}
SubShader {
background: linear-gradient(213deg, #d3b7d5, #d5b7b7, #d5cfb7, #bbe1de, #ddb9c0, #c5c5c5);
background-size: 1200% 1200%;
-webkit-animation: GradientBackgroundAnimation 60s ease infinite;
-moz-animation: GradientBackgroundAnimation 60s ease infinite;
-o-animation: GradientBackgroundAnimation 60s ease infinite;
animation: GradientBackgroundAnimation 60s ease infinite;
@-webkit-keyframes GradientBackgroundAnimation {
0%{background-position:50% 0%}
50%{background-position:50% 100%}
100%{background-position:50% 0%}
@przemek-jablonski
przemek-jablonski / RiderUnityIntegration.cs
Created July 9, 2016 00:02 — forked from van800/RiderUnityIntegration.cs
Unity JetBrains Rider Integration
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text.RegularExpressions;
using UnityEditor;
using UnityEngine;
using Debug = UnityEngine.Debug;