Skip to content

Instantly share code, notes, and snippets.

View w-i-n-s's full-sized avatar
🏠
Working from home

Sergey Vinogradov w-i-n-s

🏠
Working from home
  • Varna, Bulgaria
View GitHub Profile
file:///System/Library/Audio/UISounds/3rd_party_critical.caf,
file:///System/Library/Audio/UISounds/Modern/camera_shutter_burst.caf,
file:///System/Library/Audio/UISounds/Modern/camera_shutter_burst_begin.caf,
file:///System/Library/Audio/UISounds/Modern/camera_shutter_burst_end.caf,
file:///System/Library/Audio/UISounds/New/Anticipate.caf,
file:///System/Library/Audio/UISounds/New/Bloom.caf,
file:///System/Library/Audio/UISounds/New/Calypso.caf,
file:///System/Library/Audio/UISounds/New/Choo_Choo.caf,
file:///System/Library/Audio/UISounds/New/Descent.caf,
file:///System/Library/Audio/UISounds/New/Fanfare.caf,
@w-i-n-s
w-i-n-s / restartCoreAudio.sh
Created May 30, 2019 16:45 — forked from adrienjoly/restartCoreAudio.sh
Mac Os X command to restart the core audio. I needed to use this in order to fix my AirPlay issue.
# You have to restart the core audio be pasting the following line into termnal
sudo kill `ps -ax | grep 'coreaudiod' | grep 'sbin' |awk '{print $1}'`
@w-i-n-s
w-i-n-s / BasicAuth.playground
Created June 7, 2019 18:51
Boilerplate for Basic auth
import Foundation
import PlaygroundSupport
PlaygroundPage.current.needsIndefiniteExecution = true
struct WebPage {
let user: String
let password: String
let urlString: String
}
@w-i-n-s
w-i-n-s / keybase.md
Last active December 13, 2019 20:15

Keybase proof

I hereby claim:

  • I am w-i-n-s on github.
  • I am w_i_n_s (https://keybase.io/w_i_n_s) on keybase.
  • I have a public key ASAfAgeYghcRjorMz0tjptfZYBm6hHcVEooxVF0Pb56uNQo

To claim this, I am signing this object:

@w-i-n-s
w-i-n-s / ContentView.swift
Last active June 16, 2021 20:52
SwiftUI Multidestination NavigationLink
// Edited by me. Cos I need custom back button
// Origin https://www.hackingwithswift.com/articles/216/complete-guide-to-navigationview-in-swiftui
// Adult router https://functionalgibberish.com/2020-06-03-RoutingInSwiftUI/
enum NavigationTag {
case Second
case Third
}
struct ContentView: View {