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 | |
from socket import * | |
serverName='127.0.0.1' | |
serverPort=12002 | |
clisock=socket(AF_INET,SOCK_DGRAM) | |
mesg=input('Input lowercase sentence:') | |
clisock.sendto(mesg.encode(),(serverName, serverPort)) | |
modifiedMessage, serverAddress = clisock.recvfrom(2048) | |
print(modifiedMessage.decode()) |
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<stdio.h> | |
int main () | |
{ | |
int i=0; | |
while(i<5) { | |
printf("Hello\n"); | |
i++; | |
} | |
return(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
#include<stdio.h> | |
int main () | |
{ | |
int i=0; | |
do { | |
printf("Hello\n"); | |
i++; | |
}while(i<5); | |
return(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
#include<stdio.h> | |
int main () | |
{ | |
int i=0; | |
for(i=0;i<5;i++) { | |
printf("Hello\n"); | |
} | |
return(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
#include<stdio.h> | |
int main () | |
{ | |
int N=5; | |
int i=1; | |
int sum=0; | |
while( ___ <= ___ ){ | |
sum=sum+___ ; | |
___++; |
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> | |
<head> | |
<meta charset="UTF-8"> | |
<title>แข่งขันพิมพ์เร็วครั้งที่ 1</title> | |
<link href="static/img/favicon.png" rel="icon" type="image/png"> |
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> | |
#include<fstream> | |
using namespace std; | |
int printhex(char c){ | |
if(int(c) < 0) { | |
printf("%02x",int(c^0xffffff00)); | |
}else{ | |
printf("%02x",int(c)); |
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
/* --------------------------------------------------------------------------------------------------------------------------------- | |
* Configuration for OnStepX | |
* | |
* For more information on setting OnStep up see http://www.stellarjourney.com/index.php?r=site/equipment_onstep | |
* and join the OnStep Groups.io at https://groups.io/g/onstep | |
* | |
* *** Read the compiler warnings and errors, they are there to help guard against invalid configurations *** | |
* | |
* --------------------------------------------------------------------------------------------------------------------------------- | |
* ADJUST THE FOLLOWING TO CONFIGURE YOUR CONTROLLER FEATURES ---------------------------------------------------------------------- |
OlderNewer