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 os import popen | |
lang = [ | |
'us', | |
'ar' | |
] | |
def check(): | |
v = popen('setxkbmap -query | grep layout').read() | |
return v.split(':')[1].replace(' ','').rstrip() |
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
# Please see http://i3wm.org/docs/userguide.html for a complete reference! | |
set $mod Mod4 | |
set $alt Mod1 | |
# Configure border style <normal|1pixel|pixel xx|none|pixel> | |
new_window pixel 1 | |
new_float normal | |
# Hide borders | |
hide_edge_borders none |
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
# i3 config file (v4) | |
# | |
# Please see https://i3wm.org/docs/userguide.html for a complete reference! | |
# | |
# This config file uses keycodes (bindsym) and was written for the QWERTY | |
# layout. | |
# | |
# To get a config file with the same key positions, but for your current | |
# layout, use the i3-config-wizard | |
# |
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
"set laststatus=2 " | |
call plug#begin('~/.vim/plugged') | |
Plug 'https://github.com/junegunn/vim-github-dashboard.git' | |
Plug 'junegunn/vim-easy-align' | |
Plug 'arcticicestudio/nord-vim' | |
set nocompatible " be iMproved, required | |
filetype off " required | |
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" => Vundle For Managing Plugins |
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
ffmpeg -i $1 -vcodec dnxhd -acodec pcm_s16le -s 1920x1080 -r 30000/1001 -b:v 36M -pix_fmt yuv422p -f mov imhere.mov |
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
#!/usr/bin/env python3 | |
# author: Khaled Nassar @knassar702 | |
# from scant3r project - https://github.com/knassar702/scant3r | |
from requests import get,post,put,packages # http request module | |
from fake_useragent import UserAgent # random useragents module | |
from requests_toolbelt.utils import dump # dump request/response body/header | |
import sys # system module | |
ua = UserAgent(verify_ssl=False,use_cache_server=True) | |
packages.urllib3.disable_warnings() |
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
#!/usr/bin/env python3 | |
import socket | |
from threading import Thread | |
# Config | |
#------------ | |
host = 'localhost' | |
port = 4649 | |
#------------ |
NewerOlder