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 serial as sl | |
| import time | |
| class Sensor(): | |
| def __init__(self, txt): | |
| self.txt = txt | |
| def sensorData(self): |
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 sensor | |
| import thread | |
| from time import sleep | |
| txt12 = [] | |
| sen = sensor.Sensor(txt12) | |
| def thread_metot(ad): | |
| i = 0 |
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
| <!DOCTYPE html> | |
| <html> | |
| <style> | |
| body {background-color: powderblue;} | |
| .center { | |
| display: block; | |
| margin-left: auto; | |
| margin-right: auto; | |
| width: 30%; |
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
| # -*- coding: utf-8 -*- | |
| #!/usr/bin/env python | |
| """ | |
| May 10, 02:49AM | |
| Amphetamine Levels : Critically Low | |
| https://youtu.be/3HSpWQH4iRs | |
| """ |
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
| # -*- coding: utf-8 -*- | |
| from __future__ import print_function | |
| import time,math | |
| from dronekit import connect, VehicleMode, LocationGlobalRelative | |
| import dronekit_sitl | |
| sitl = dronekit_sitl.start_default() #dronekit-sitl'i default ayarlarda baslattik. |
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
| # -*- coding: utf-8 -*- | |
| from __future__ import print_function | |
| import time | |
| from dronekit import connect, VehicleMode, LocationGlobalRelative | |
| import dronekit_sitl | |
| sitl = dronekit_sitl.start_default() #dronekit-sitl'i default ayarlarda baslattik. |
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
| # -*- coding: utf-8 -*- | |
| from __future__ import print_function | |
| import time | |
| from dronekit import connect, VehicleMode, LocationGlobalRelative | |
| import argparse | |
| parser = argparse.ArgumentParser(description='Cok simple bir drone goto seysi') | |
| hedef_adresi = "127.0.0.1:14550" | |
| vehicle = connect(hedef_adresi, wait_ready=True) | |
| def arm_and_takeoff(hedef_yukseklik): |
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
| --Script by Cpt_ShockV-- | |
| -- 04/04/2019 for Roblox to Discord Chatting Script for Renaissance Inn-- | |
| local url = "https://discordapp.com/api/webhooks/562651991957045252/6hB19eqd1LTLJkD-0L7olfLHZ_dKpnoNvuGb34DkreRdCFYQMLoUWbVbDmauZSYgIqLM" | |
| local http = game:GetService("HttpService") | |
| game.Players.PlayerAdded:Connect(function(player) | |
| player.Chatted:Connect(function(msg) | |
| local messageData = { | |
| ['username'] = player.Name, |
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
| kacKisi = input("") | |
| kisiler = [] | |
| kisiPuan = {'ata mert': (310, 440),} # | |
| mostNefret = {} | |
| am = "ata mert".split() | |
| kisiler.append(am) | |
| for x in range(0,kacKisi): | |
| kisiInput = raw_input("").split() |
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
| kacKisi = input("Kac kisi var? \n") | |
| print("Kisi sayisi = ",kacKisi,"\n") | |
| kisiler = [] | |
| kisiPuan = {} #kisileri ve puanlarini tutmak icin | |
| mostNefret = {} #maks nefretli kisiler ve puanlarini tutmak icin | |
| for x in range(0,kacKisi): | |
| print("X = ",x,"\n") | |
| kisiInput = raw_input("Isim soyisim giriniz ->").split() | |
| print(kisiInput) | |
| kisiler.append(kisiInput) |