This file contains 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 tkinter as tk | |
from tkinter import ttk | |
from threading import Thread | |
import subprocess | |
import time | |
import os | |
import pyclip |
This file contains 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 sys | |
map = dict() | |
map[162] = "—" | |
map[163] = ":" | |
map[164] = ")" | |
map[165] = "(" | |
map[166] = "»" | |
map[167] = "«" | |
map[168] = "և" |
This file contains 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
# Run command in background without using ampersand | |
coproc vlc . | |
# Run command in background and close terminal | |
coproc vlc . ; exit | |
# Note: coproc command works in bash but not works in shell |
This file contains 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
#!/usr/bin/env bash | |
prefix='https://live-5tvam.cdnvideo.ru/5tvam/5tvam/' | |
chunklistData=$(curl -s ${prefix}'playlist.m3u8') | |
declare -a chunks=('-', '-', '-') | |
appends=0 | |
targetTime=15 | |
out='out.ts' |
This file contains 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
https://yoyo.am | |
Կայք մտնելուց երբեմն redirect ա անում դեպի spam կայք, սա հիմնականը լինում ա երբ | |
google -ի որոնման արդյունքից կամ facebook -ում դրած գովազդի լինկով են մտնում։ | |
Եթե մի անգամ արդեն արել ա redirect, դրանից հետո մոտ մեկ օր էլ չի անում նույնիսկ եթե incognito-ով են կայքը բացում։ | |
ip -ներով ա user ին որոշում. երբ wifi ից փոխում եմ մոբայլի նորից redirect անում ա incognito-ով։ | |
database ի մեջ կար wp_bv_ip_store դրա վերջում 111 եմ ավվելացրել, չի ազդել խնդիրը շարունակվել ա |
This file contains 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
const http = require('http') | |
const qs = require('querystring') | |
const {exec} = require('child_process') | |
const PASSWORD = 'your secure password' | |
const PORT = 8080 | |
const PATH = '/' | |
let server = http.createServer(function(req,resp) { | |
if(req.method == 'GET'){ |
This file contains 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
function getSign(year){ | |
let devider = 12 | |
let signNames = [ | |
'կապիկ', 'աքլոր', 'շուն', 'խոզ', | |
'մուկ', 'ցուլ', 'վագր', 'կատու', | |
'վիշապ', 'օձ', 'ձի', 'այծ', | |
] | |
return signNames[year % devider] |
This file contains 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
package main | |
import ( | |
"fmt" | |
"os" | |
"os/exec" | |
"strconv" | |
) | |
func main() { |
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Post maker</title> | |
<style> | |
*{ | |
font-size: 18px; |
This file contains 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
package main | |
import ( | |
"os/exec" | |
"time" | |
) | |
const work = 40 | |
const rest = 5 |
NewerOlder