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