Skip to content

Instantly share code, notes, and snippets.

Benargee Benargee

  • Ontario, Canada
Block or report user

Report or block Benargee

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
Benargee / simple_websocket.html
Created Oct 30, 2017 — forked from SadatAnwar/simple_websocket.html
A working implementation of the super simple websocket python server
View simple_websocket.html
<!DOCTYPE html>
<html lang="en">
<title>WebSocket Client</title>
#output {
border: solid 1px #000;
Benargee / simple_websocket_client.html
Created Oct 30, 2017 — forked from geoffb/simple_websocket_client.html
Super simple websockets client/server using Python. Compatible with the draft 76 challenge/response.
View simple_websocket_client.html
<!DOCTYPE html>
<html lang="en">
<title>WebSocket Client</title>
#output {
border: solid 1px #000;
Benargee /
Last active Oct 29, 2017 — forked from bradmontgomery/
a minimal http server in python 3. Responds to GET, HEAD, POST requests, but will fail on anything else.
#!/usr/bin/env python
Very simple HTTP server in python.
./ [<port>]
Send a GET request::
curl http://localhost
Benargee / Breath.ino
Last active Aug 21, 2017
Controller for 24v LED lightbar driven by IRFZ44 MOSFET
View Breath.ino
Breathing Led bar
By: Benargee
int ledPin = 9; // LED connected to digital pin 9
int count = 2;
int inerval = 1; //interval in miliseconds between loops
int order = 1; //indicates order of decreasing or increasing intensity. 1: increasing -1:decreasing
const int minVal = 1;
View cpuRamUsage.cs
//CPU&RAM counter by Sharpy
using System;
using System.Windows.Forms;
using System.IO.Ports;
using System.Diagnostics;
namespace WindowsFormsApplication14
public partial class Form1 : Form
Benargee / fn_taskHint.sqf
Last active Jan 17, 2016
BIS_fnc_taskHint fix
View fn_taskHint.sqf
Author: Jiri Wainar
Revised by: Benargee
Display a task hint.
_this select 0: STRING - Task name
_this select 1: STRING - Task state (optional)
Benargee / Flash R LED KEY.cpp
Last active Dec 6, 2015
Simple extension that should flash the R key when called after it initializes
View Flash R LED KEY.cpp
#include "stdafx.h"
#include "Include\LogitechLEDLib.h" // "LED ILLUMINATION SDK"
#include <string>
#include <thread>
using namespace std;
bool SDK_initOK, SDK_verOK;
int majVer, minVer, BuildNum;
Benargee / client.cpp
Created Nov 23, 2015 — forked from whoo24/client.cpp
Basic Winsock Program
View client.cpp
#include "stdafx.h"
#include <WinSock2.h>
#include <ws2tcpip.h>
#pragma comment(lib, "Ws2_32.lib")
void run_client()
WSADATA wsaData;
WSAStartup( MAKEWORD(2,2), &wsaData );
You can’t perform that action at this time.