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
<?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> |
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 |
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}.") |