Skip to content

Instantly share code, notes, and snippets.

View Arlus's full-sized avatar
💭
Stateless

Aurlus Ismael Arlus

💭
Stateless
View GitHub Profile
#include <stdio.h>
int main()
{
int n, i;
unsigned long long factorial = 1;
printf("Enter an integer: ");
scanf("%d",&n);
// show error if the user enters a negative integer
if (n < 0)
printf("Error! Factorial of a negative number doesn't exist.");
@Arlus
Arlus / BBOL1
Created January 14, 2021 08:07
Example Remote Procedure Call(RPC)
import rpyc
conn = rpyc.classic.connect("localhost")
conn.execute("print('Hello from Tutorialspoint')")
Example SOAP
SOAP used XML to encode a message and HTTP as a transport.
<SOAP-ENV:Envelope