Skip to content

Instantly share code, notes, and snippets.

View Xhendos's full-sized avatar

Youri Klaassens Xhendos

View GitHub Profile
#include <stdlib.h>
#include <unistd.h>
#include <linux/i2c-dev.h>
#include <sys/ioctl.h>
#include <fcntl.h>
#include <string.h>
#include <stdio.h>
#include <iostream>
#include </home/pi/Programming/C++/I2C/include/I2C.h>
#include <stdlib.h>
#include <unistd.h>
#include <linux/i2c-dev.h>
#include <sys/ioctl.h>
#include <fcntl.h>
#include <string.h>
#include <stdio.h>
#include <iostream>
#include </home/pi/Programming/C++/I2C/include/I2C.h>
package org.utils;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.net.URL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
class Program
{
static void Main(string[] args)
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
class Program
{
static void addNumbers(int a, int b, out int i)
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProjectEV3
{
class Program
{
var buttons = document.getElementsByClassName("btn");
for(var i = 0; i <= buttons.length; i++){ buttons[i].click(); }
@Xhendos
Xhendos / socket_output
Created July 2, 2017 11:57
Outputs socket
[SL] Integer of socket is 3
[SL] Succesfully assigned information. Attempting to connect to 84.106.40.114
[SL] Succesfully connected to 84.106.40.114 on port 80.
[SL] Succesfully send to 84.106.40.114
[SL] Succesfully received from 84.106.40.114
HTTP/1.1 200 OK
Date: Sun, 02 Jul 2017 11:56:21 GMT
Server: Apache/2.4.6 (CentOS) PHP/5.4.16
X-Powered-By: PHP/5.4.16
Content-Length: 7282
#include <stdlib.h>
#include <stdio.h>
/*
* Describes getnameinfo()
* Used to get the IPv4 or IPv6 address from an interface.
*/
#include <netdb.h>
#include <stdlib.h>
#include <stdio.h>
#include <netdb.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <netinet/in.h>
int main(int argc, char* argv[])
{