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
#!/bin/bash | |
fullPATH=$1 | |
echo $fullPATH >/tmp/subtitleFIX.log | |
encode=`file -ib $fullPATH|cut -d= -f 2` | |
echo "encode is : "$encode >>/tmp/subtitleFIX.log | |
if [ "$encode" == 'unknown-8bit' ];then | |
encode="WINDOWS-1256" | |
elif [ "$encode" == "utf-8" ];then | |
notify-send "فایل مشکلی نداره" | |
exit |
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
main() { | |
# Use colors, but only if connected to a terminal, and that terminal | |
# supports them. | |
if which tput >/dev/null 2>&1; then | |
ncolors=$(tput colors) | |
fi | |
if [ -t 1 ] && [ -n "$ncolors" ] && [ "$ncolors" -ge 8 ]; then | |
RED="$(tput setaf 1)" | |
GREEN="$(tput setaf 2)" | |
YELLOW="$(tput setaf 3)" |
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
#!/bin/bash | |
#####http://jadi.net/tag/%d8%a8%d8%b3%d8%aa%d9%88%d9%86/##### | |
aria2c -o 01.mp4 "http://hw15.asset.aparat.com/aparat-video/a_nod4e325hqss4lr9n4q8qn0o232no2pp4547s0544940-164c__d4b37.mp4" | |
aria2c -o 02.mp4 "http://hw6.asset.aparat.com/aparat-video/a_jc4h68g6h487k178n9h7m1li3j0l65l2344858325055-942w__726ad.mp4" | |
aria2c -o 03.mp4 "http://hw16.asset.aparat.com/aparat-video/a_709ej5fh60j6eli07o4jh41g1g12h2gh74fh83889939-497t__47b9e.mp4" | |
aria2c -o 04.mp4 "http://hw7.asset.aparat.com/aparat-video/a_q9me6ng8roj8k58m58o50n3q99pn6950m766m5092735-619b__c94a6.mp4" | |
aria2c -o 05.mp4 "http://hw16.asset.aparat.com/aparat-video/a_b0c255fl83i516j713p5l3l0j19mk06647jk37223387-831x__8125f.mp4" | |
aria2c -o 06.mp4 "http://hw13.asset.aparat.com/aparat-video/a_b5c54hf13j80kkj462pgh5j7k18619i5hj82g8334408-942u__521af.mp4" | |
aria2c -o 07.mp4 "http://hw3.asset.aparat.com/aparat-video/a_bb65e60g2h2fc692fo7457c93305df844fbgd2778859-386q__1647e.mp4" | |
aria2c -o 08.mp4 "http://hw15.asset.aparat.com/aparat-video/a_bg5kei4g00639im2lo145i5 |
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
http://cdnmaktab.takhtesefid.org/videos/hq271221413905.mp4?name=hq-rkhosravi-ap-1.mp4 | |
http://cdnmaktab.takhtesefid.org/videos/hq986686135896.mp4?name=hq-rkhosravi-ap-2.mp4 | |
http://cdnmaktab.takhtesefid.org/videos/hq209596017493.mp4?name=hq-rkhosravi-ap-3.mp4 | |
http://cdnmaktab.takhtesefid.org/videos/hq226782908736.mp4?name=hq-rkhosravi-ap-4.mp4 | |
http://cdnmaktab.takhtesefid.org/videos/hq294023206931.mp4?name=hq-rkhosravi-ap-5.mp4 | |
http://cdnmaktab.takhtesefid.org/videos/hq155880155825.mp4?name=hq-rkhosravi-ap-6.mp4 | |
http://cdnmaktab.takhtesefid.org/videos/hq959790170274.mp4?name=hq-rkhosravi-ap-7.mp4 | |
http://cdnmaktab.takhtesefid.org/videos/hq0150971132681.mp4?name=hq-rkhosravi-ap-8.mp4 | |
http://cdnmaktab.takhtesefid.org/videos/hq987265172815.mp4?name=hq-rkhosravi-ap-9.mp4 | |
http://cdnmaktab.takhtesefid.org/videos/hq111775140958.mp4?name=hq-rkhosravi-ap-10.mp4 |
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 python3 | |
# -*- coding: utf-8 -*- | |
# | |
# Simple Bot to reply to Telegram messages. This is built on the API wrapper, see | |
# echobot2.py to see the same example built on the telegram.ext bot framework. | |
# This program is dedicated to the public domain under the CC0 license. | |
import logging | |
import telegram | |
from telegram.error import NetworkError, Unauthorized | |
from time import sleep |
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 urllib.parse, urllib.request | |
import telegram | |
import logging | |
from telegram.error import NetworkError, Unauthorized | |
from time import sleep | |
from khayyam import JalaliDatetime | |
import validators | |
import json | |
update_id = None | |
bot_started = JalaliDatetime.now() |
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
@font-face { | |
font-family: Vazir; | |
src: url('https://cdn.rawgit.com/rastikerdar/vazir-font/v8.2.1/dist/Vazir.woff') format('woff'); | |
} | |
@font-face { | |
font-family: Samim; | |
src: url('https://cdn.rawgit.com/rastikerdar/samim-font/v1.0.2/dist/Samim.woff') format('woff'); | |
} |
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
#!/bin/bash | |
#Myblog: http://sae13.ir | |
#Saber RastikerdarBlog: https://rastikerdar.blog.ir/ | |
which unzip >/dev/null 2>&1 | |
if [ $? -ne 0 ];then | |
echo "You Need Install unzip package" | |
exit | |
fi | |
which wget >/dev/null 2>&1 | |
if [ $? -ne 0 ];then |
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 python | |
# -*- coding: utf-8 -*- | |
from telegram.ext import (Updater, CommandHandler, MessageHandler, Filters) | |
import logging | |
group_admins = {} | |
# Enable logging | |
logging.basicConfig(format='%(asctime)s - %(name)s - %(levelname)s - %(message)s', | |
level=logging.INFO) |
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
@font-face { | |
font-family: Vazir; | |
src: url('https://cdn.rawgit.com/rastikerdar/vazir-font/3fce13ac/dist/Vazir.eot'); | |
src: url('https://cdn.rawgit.com/rastikerdar/vazir-font/3fce13ac/dist/Vazir.eot?#iefix') format('embedded-opentype'), | |
url('https://cdn.rawgit.com/rastikerdar/vazir-font/3fce13ac/dist/Vazir.woff2') format('woff2'), | |
url('https://cdn.rawgit.com/rastikerdar/vazir-font/3fce13ac/dist/Vazir.woff') format('woff'), | |
url('https://cdn.rawgit.com/rastikerdar/vazir-font/3fce13ac/dist/Vazir.ttf') format('truetype'); | |
font-weight: normal; | |
} |
OlderNewer