Skip to content

Instantly share code, notes, and snippets.

View MehmetUzel's full-sized avatar
💻
Open For Source

Mehmet Uzel MehmetUzel

💻
Open For Source
View GitHub Profile
@dduan
dduan / SwiftChartPong.swift
Last active May 30, 2024 11:20
Pong Game implemented with Swift Charts.
import SwiftUI
import Charts
import Combine
import Foundation
final class GameState: ObservableObject {
struct Player {
var position: Int
var halfSize: Int = 150
@joshdholtz
joshdholtz / ATinySampleApp.swift
Last active March 29, 2024 23:27
Super basic SwiftUI app (70 lines of code) with paywall using RevenueCat
import SwiftUI
import RevenueCat
struct Constants {
static let apiKey = "<your_api_key>" // Will look like: appl_bunchofotherstuffhere
static let entitlementName = "<your_entitlement_name>" // I use something like "pro"
}
@main
struct ATinySampleApp: App {
**Privacy Policy**
Yusuf Önder built the app as a Commercial app. This SERVICE is provided by Yusuf Önder and is intended for use as is.
This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service.
If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy.
The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which are accessible at Weightly unless otherwise defined in this Privacy Policy.
@jova
jova / data.json
Created March 10, 2020 13:14
Tüm iller ve ilçeler için sıralanmış json dosyası.
[
{
"il": "İstanbul",
"ilceler": [
"Adalar",
"Arnavutköy",
"Ataşehir",
"Avcılar",
"Bağcılar",
"Bahçelievler",
@yougg
yougg / proxy.md
Last active June 20, 2024 00:39
complete ways to set http/socks/ssh proxy environment variables

set http or socks proxy environment variables

# set http proxy
export http_proxy=http://PROXYHOST:PROXYPORT

# set http proxy with user and password
export http_proxy=http://USERNAME:PASSWORD@PROXYHOST:PROXYPORT

# set http proxy with user and password (with special characters)