Skip to content

Instantly share code, notes, and snippets.

View dapi's full-sized avatar
🌴
Open for offers

Danil Pismenny dapi

🌴
Open for offers
View GitHub Profile
{"SERVER_DATETIME":"2020-04-06 08:37:18","REMOTE_IP":"85.234.0.52","COUNTRY":"RU","CITY":"Cheboksary","REGION":"Chuvashia","AS":34892,"ORG":"Infolink LLC","USER_AGENT":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0 Safari/605.1.15","SERVER_NAME":"CHEB-1","CDNStatus":false,"caching":true}
@dapi
dapi / playlist.json
Last active April 17, 2020 06:37
playlist_user_agent_android.json
{
"channels":[
{
"id":31,
"name_es":"TV3",
"name_ca":"TV3",
"url":"http://hls.mejor.tv/p/ciT3tdaXsDic9XrSX8zyUg,1587190164/streaming/tv3def/324/variable.m3u8",
"url_sound":"http://cache.mejor.tv/tv3def/tv3def/mono.m3u8",
"url_archive":"http://cache.mejor.tv/tv3def/",
"image":"https://vls.iptv2022.com/images/playlist_tv3def.png",
nginx_remove_default_vhost: true
nginx_extra_http_options: |
# "{\x22platform\x22:\x22android\x22,\x22app\x22:\x22limehd.ru.lite\x22,\x22version_name\x22:\x221.8.5.0\x22,\x22version_code\x22:\x22125\x22,\x22sdk\x22:\x2229\x22,\x22name\x22:\x22YAL-L21HRU+YAL-L21\x22,\x22device_id\x22:\x22e4e9abee529f5323\x22}"
map "$http_user_agent" $version_code {
~version_code":"(?<d>[^"]+)" $d;
}
map "$http_user_agent" $version_name {
~version_name":"(?<d>[^"]+)" $d;
}
map "$http_user_agent" $platform {
#
# This file is managed by ansible, don't make changes here - they will be overwritten. Contact [email protected] if you want to modify it
#
server {
listen 194.35.48.49:443 ssl backlog=16384;
server_name limehd.tv;
create_table "epg", id: :integer, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8", force: :cascade do |t|
t.timestamp "timestart"
t.timestamp "timestop"
t.string "title", limit: 256
t.text "desc"
t.integer "epg_id"
t.date "date"
t.boolean "cdnvideo", default: false
t.integer "rating", limit: 2
t.integer "director_id"
CREATE TABLE `epg` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`timestart` timestamp NULL DEFAULT NULL,
`timestop` timestamp NULL DEFAULT NULL,
`title` varchar(256) DEFAULT NULL,
`desc` text,
`epg_id` int(11) DEFAULT NULL,
`date` date DEFAULT NULL,
`cdnvideo` tinyint(1) DEFAULT '0',
`rating` smallint(6) DEFAULT NULL,
## mysqldiff 0.50
##
## Run on Wed Oct 21 18:42:45 2020
## Options: tolerant, debug=0
##
## --- db: wordpress_reproduction
## +++ db: test_wordpress
ALTER TABLE aej_bwf_actions CHANGE COLUMN recurring_interval recurring_interval int(11) NOT NULL DEFAULT '0'; # was int(10) NOT NULL DEFAULT '0'
ALTER TABLE aej_bwf_actions CHANGE COLUMN status status int(11) NOT NULL DEFAULT '0' COMMENT '0 - Pending | 1 - Running'; # was int(1) NOT NULL DEFAULT '0' COMMENT '0 - Pending | 1 - Running'
@dapi
dapi / head.html
Last active October 29, 2020 08:07 — forked from klondaiker/head.html
<html>
<head>
<meta content="v2.5.0" name="kiosk_version">
<meta content="constructor-app1" name="response_server">
<meta charset="utf-8">
<meta name="csrf-param" content="authenticity_token">
<meta name="csrf-token" content="1phb2sw63JbThGKYa9No8czwr6sfU6JBVpkv3QMaLYZHIKtVADDeTEy4Ec3pxZu4y7jRukOxHKb5+a4Q2dibQg==">
<title>constructor.avalab.io: Cash &amp; Bank Accounts</title>
<link rel="shortcut icon" link="/images/fallback/favicon.ico">
<link rel="apple-touch-icon" sizes="57x57" link="/images/fallback/apple-touch-icon-57x57.png">
[Eth]
NetworkId = 56
NoPruning = false
NoPrefetch = false
LightPeers = 100
UltraLightFraction = 75
TrieTimeout = 100000000000
EnablePreimageRecording = false
EWASMInterpreter = ""
EVMInterpreter = ""
- hosts: all
tasks:
- name: Create users systemd subdirectories
become: yes
become_user: "{{ app_user }}"
file:
path: "/home/{{ app_user }}/.config/systemd/user"
state: directory
mode: 0775