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
var text= `Hello. | |
This is Reza, former WorldSkills Competitor and Khwarizmi Award winner. | |
It's an honor to connect with you here on Linkedin.com. | |
Best regards, | |
Tayyebi.`; | |
$('.pv-s-profile-actions--connect').click(); |
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 socket | |
client = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
client.connect(('192.168.0.111', 8080)) | |
while True: | |
command = raw_input("Enter command> ") | |
client.send(command) | |
from_server = client.recv(4096) | |
print (from_server) | |
client.close() |
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
sudo chmod -R 755 /var/www/html/Site | |
sudo chown -R www-data: /var/www/html/Site |
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
#include<iostream> | |
using namespace std; | |
#define a int | |
#define b main | |
#define c ( | |
#define d ) | |
#define e { | |
#define much cout | |
#define you << |
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 | |
payload = { | |
'Username': 'tayyebi', | |
'Password': '123', | |
'Login': '', | |
} | |
with requests.Session() as s: | |
p = s.post('http://sariab.pressz.ir/ajax/log/in', data=payload) |
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
a = [True, True, True, False, True, True] | |
X = lambda n : a[n] if n < 1 else X(n-1) and a[n] | |
def explore (): | |
print ('hi') | |
while X(len(a) - 1): | |
continue | |
explore() | |
explore() |
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
Trim | |
> https://www.ostechnix.com/20-ffmpeg-commands-beginners/ | |
$ ffmpeg -i input.mp4 -ss 00:00:00 -codec copy -t 600 output.mp4 | |
Rotate | |
> https://stackoverflow.com/questions/3937387 | |
$ ffmpeg -i input.mp4 -metadata:s:v rotate="-90" -codec copy output.mp4 |
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
pyuic5 -x file.ui -o output.py |
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
VBoxManage modifyvm "Mavericks" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff | |
VBoxManage setextradata "Mavericks" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3" | |
VBoxManage setextradata "Mavericks" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0" | |
VBoxManage setextradata "Mavericks" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple" | |
VBoxManage setextradata "Mavericks" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" | |
VBoxManage setextradata "Mavericks" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1 | |
source https://github.com/osmdroid/osmdroid |
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
drop function dbo.G2J | |
drop table DateDimension | |
drop table #dim | |
/* | |
CopyRight | |
http://rastan.parsiblog.com/Posts/381/%D8%AA%D8%A8%D8%AF%D9%8A%D9%84+%D8%B3%D8%A7%D8%AF%D9%87+%D8%AA%D8%A7%D8%B1%D9%8A%D8%AE+%D9%85%D9%8A%D9%84%D8%A7%D8%AF%D9%8A+%D8%A8%D9%87+%D8%B4%D9%85%D8%B3%D9%8A+%D8%AF%D8%B1+SQL+Server/ |