https://freegeoip.app/ - basic https://ipgeolocation.io/ - with currency, flag and timezone https://iplist.cc/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import requests, re, sys | |
| [[ [open('jamal.txt', 'w+', encoding='utf-8').write("\n".join(re.findall(r, txt, re.I|re.S|re.U))) for r in ['b>ID:.*?b>(.*?)<b', 'b>.*?zverejnenia:.*?span.*?>(.*?)<\/span', 'b>Lokalita:.*?a.*?>(.*?)<\/', 'b>Poz.cia(?:(.*?))<\/div', 'b>Spo.*?:.*?<a.*?">(.*?)<\/a']] for txt in ((requests.get('http://www.PROC.sk/' + offer, headers={'User-agent': 'Mozilla/5.0'}).text) for offer in page)] for page in (re.findall('itemscope.*?href="(.*?)"', requests.get('http://www.PROC.sk/praca/?page_num=' + str(n), headers={'User-agent': 'Mozilla/5.0'}).text) for n in range(int(re.findall('page_num=(.*?)"', requests.get('http://www.PROC.sk/praca/', headers={'User-agent': 'Mozilla/5.0'}).text)[-2])))] | |
| # thanks to python generators. Without them, I won't be able to write this ugly code. | |
| # mini-contest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {"lastUpload":"2018-08-16T09:52:43.156Z","extensionVersion":"v3.0.0"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { load } from "cheerio"; | |
| type QueryData = { | |
| [property: string]: Select | List<any>; | |
| }; | |
| type Select = { | |
| // --- Internal --- | |
| type: "SELECT"; | |
| result: string; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { ObjectID } from "mongodb"; | |
| import { ObjectIDToString } from "./types"; | |
| interface PersonModel { | |
| _id?: ObjectID; | |
| created: number; | |
| lastLogin: number; | |
| profiles: Array<{ | |
| profileId: ObjectID; | |
| title: string; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "typescript.tsdk": "client/node_modules/typescript/lib", | |
| "search.exclude": { | |
| "**/.git": true, | |
| "**/node_modules": true, | |
| "**/bower_components": true, | |
| "**/dist": true, | |
| "**/build": true, | |
| "**/client/maps": true | |
| }, |
I hereby claim:
- I am dderevjanik on github.
- I am dderevjanik (https://keybase.io/dderevjanik) on keybase.
- I have a public key ASAu_hC5FKzwvnBI1zkey4GWbnzSbneFoXpZls7-7XGIIAo
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="utf-8"?> | |
| <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> | |
| <xs:element name="empire"> | |
| <xs:complexType> | |
| <xs:sequence> | |
| <xs:element name="ornament" minOccurs="0" maxOccurs="unbounded"> | |
| <xs:complexType> | |
| <xs:attribute name="type" type="enum_ornament" use="required" /> | |
| <xs:attribute name="x" type="xs:int"/> | |
| <xs:attribute name="y" type="xs:int"/> |
To play Dawn of the Tiberium Age on Linux, follow these steps:
Download latest version fo DTA https://www.moddb.com/mods/the-dawn-of-the-tiberium-age/downloads
Unzip it somewhere.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM ubuntu:24.04 | |
| WORKDIR /chaosforgeorg | |
| # Install necessary packages | |
| RUN apt update | |
| RUN apt install -y \ | |
| git \ | |
| curl \ | |
| unzip | |
| RUN git clone https://github.com/chaosforgeorg/doomrl.git \ |
OlderNewer