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
| r = requests.get(url = "https://api.telegram.org/bot723425973:AAHrDLj-bFxSoy2ncAwGSkq22iuFMjT6sO8/sendMessage?chat_id=@osama_channel&text="+message) |
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
| 723425973:AAHrDLj-bFxSoy2ncAwGSkq22iuFMjT6sO8 |
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 | |
| import json, os | |
| from threading import Timer | |
| currentBookingInfo = ""; | |
| currentLocation = [1,1]; | |
| def getNextBookingDetails(currentBookingId): | |
| URL = "http://ventoms.com/anomoz/swift/post/read_new_booking.php?currentBookingId="+str(currentBookingId) | |
| r = requests.get(url = URL) |
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
| DECLARE @i int = 0 | |
| WHILE @i < 50 | |
| BEGIN | |
| SET @i = @i + 1 | |
| insert into Fuel (Fuel_type, price, Data_modified) values ('High-Octane',(FLOOR(RAND()*(200-50+1)+50)), CONCAT((FLOOR(RAND()*(12-1+1)+1)),'/', (FLOOR(RAND()*(30-1+1)+1)), '/', (FLOOR(RAND()*(2019-2000+1)+2000)))) | |
| END | |
| /** |
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 subprocess as sp | |
| import time | |
| for i in range (0, 500): | |
| for j in range (0, 500): | |
| child = sp.Popen('C:/Program Files (x86)/Google/Chrome/Application/chrome.exe %s --incognito' % "https://www.youtube.com/watch?v=SmVy3iPm-_g&feature=youtu.be") | |
| time.sleep(48) | |
| child.terminate() | |
| child = sp.Popen('C:/Program Files (x86)/Google/Chrome/Application/chrome.exe %s --incognito' % "https://www.youtube.com/watch?v=trRLkiMpYAo&feature=youtu.be") | |
| time.sleep(50) |
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
| > library(dplyr) | |
| > library(ggplot2) | |
| > library(statsr) | |
| > data(nycflights) | |
| //ggplot | |
| > ggplot(data = nycflights, aes(x= dep_delay)) +geom_histogram() | |
| //mean | |
| > nycflights %>% summarise(mean_dd = mean(dep_delay)) |
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
| hey! this is my first gist! bye! |