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
# This lecture based on Stanford' Python Numpy Tutorial | |
def quicksort(arr): | |
if len(arr) <= 1: | |
return arr | |
pivot = arr[len(arr) // 2] | |
left = [x for x in arr if x < pivot] | |
middle = [x for x in arr if x == pivot] | |
right = [x for x in arr if x > pivot] | |
return quicksort(left) + middle + quicksort(right) |
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
**HEADER FILES** | |
deprecated.h | |
libvlc.h | |
libvlc_events.h | |
libvlc_media.h | |
libvlc_media_discoverer.h | |
libvlc_media_library.h | |
libvlc_media_list.h | |
libvlc_media_list_player.h | |
libvlc_media_player.h |
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 socket | |
import time | |
import datetime | |
IPADDR = '192.168.1.141' | |
PORTNUM = 5600 | |
PACKETDATA = "f1a525da11f6".encode() | |
while(True): | |
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, 0) |
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
using System; | |
using System.Text; | |
using System.Net; | |
using System.Net.Sockets; | |
namespace Server | |
{ | |
class Program | |
{ |
NewerOlder