Skip to content

Instantly share code, notes, and snippets.

Yaseen M. Twati YaseenTwati

Block or report user

Report or block YaseenTwati

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@YaseenTwati
YaseenTwati / IoT_1.ino
Last active Dec 11, 2018
Blinking a LED with Bluetooth
View IoT_1.ino
void setup()
{
pinMode(6, OUTPUT);
Serial.begin(9600);
}
void loop()
{
char r = Serial.read();
@YaseenTwati
YaseenTwati / Socks5.cpp
Last active Dec 21, 2017
Socks5 Connecting Demonstration
View Socks5.cpp
// Yaseen M. Twati
#ifdef _WIN32 // Windows
#include <winsock2.h>
#include <ws2tcpip.h>
#define MSG_NOSIGNAL 0
#else // Linuc + Max
#include <sys/types.h>
#include <sys/socket.h>
View stupid_code.cpp
#include <iostream>
int main()
{
int i = 0;
for(i = 1; i < 100; i++)
{
if (i > 5)
continue;
i*=i;
You can’t perform that action at this time.