Skip to content

Instantly share code, notes, and snippets.

View 0xKayvan's full-sized avatar
💻
In code we trust.

Kayvan Nouri 0xKayvan

💻
In code we trust.
  • Mordor
View GitHub Profile
@0xKayvan
0xKayvan / gist:d8056919ac4f529f98b050ce73a7254c
Created April 16, 2021 14:53
Fix iphone connection issue in mac
sudo killall -STOP -c usbd
import axios, { AxiosRequestConfig } from 'axios'
const domainName = 'example.com'
const auth = 'Bearer POT_YOUR_TOKEN_HERE';
(async () => {
try {
let requestConfig: AxiosRequestConfig = {
import SwiftUI
@main
struct Medium: App {
var body: some Scene {
WindowGroup {
ContentView()
}
}
}