this script will generate routing files for ocserv and iproute2 based on MaxMind's GeoLite2
usage: generate.py [-h] [-i] [-g] [-cc]
optional arguments:
-h, --help show this help message and exit
-i CSV Dir
| import Foods.* | |
| import Sports.* | |
| import Superpowers.* | |
| enum class Foods { pizza, fesenjoon } | |
| enum class Sports { football, volleyball } | |
| enum class Superpowers { fly, disappear } | |
| data class Person(val name: String) | |
| infix fun Person.like(food: Foods) = println("${name} likes ${food}.") |
| package com.mrezanasirloo.ganjeh | |
| import android.util.SparseArray | |
| import androidx.activity.ComponentActivity | |
| import androidx.annotation.MainThread | |
| import androidx.fragment.app.Fragment | |
| import androidx.fragment.app.createViewModelLazy | |
| import androidx.lifecycle.LifecycleOwner | |
| import androidx.lifecycle.ViewModel | |
| import androidx.lifecycle.ViewModelLazy |
| <?xml version='1.0'?> | |
| <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> | |
| <fontconfig> | |
| <match target="pattern"> | |
| <test name="family" qual="any"> | |
| <string>sans serif</string> | |
| </test> | |
| <edit mode="assign" binding="same" name="family"> | |
| <string>IranSans</string> | |
| </edit> |
| // This is a documented version of the build.gradle file from RemotePreferences: | |
| // https://github.com/apsun/RemotePreferences/blob/master/library/build.gradle.kts | |
| // | |
| // It aims to explain exactly WTF is going on when you inevitably copy-paste | |
| // someone's build.gradle from the internet and can't figure out why it's not | |
| // working. | |
| // | |
| // It contains, to the best of my knowledge, the best practices as of Oct 2023 for | |
| // building an Android library and publishing it to OSSRH (Maven Central). | |
| // |
| import { PropsWithChildren, useEffect, useState } from "react"; | |
| import { Container } from "~/components/container"; | |
| import { ArrowLeft, ArrowRight } from "lucide-react"; | |
| import { range } from "~/utils/range"; | |
| const IMAGES = [ | |
| { | |
| id: 1, | |
| url: "https://images.pexels.com/photos/1366919/pexels-photo-1366919.jpeg", | |
| }, |
Request:
curl --request GET \
--url 'https://account-api.shatel.ir/connect/authorize?redirect_uri=com.shatel.myshatel%3A%2F%2Fredirect&client_id=AppMyShatel&response_type=code&state=STATE&nonce=NONCE&scope=openid%20offline_access%20shatel.gateway.apiscope%20idsrv.local.apiscope&code_challenge=CODE_CHALLENGE&code_challenge_method=S256' \
--compressed \
--header 'host: account-api.shatel.ir' \
--header 'referer: android-app://com.shatel.myshatel/' \
--header 'sec-ch-ua-mobile: ?1' \