Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am rudym on github.
  • I am rmartynov (https://keybase.io/rmartynov) on keybase.
  • I have a public key whose fingerprint is 3ECF 5C4A F6A9 7237 9B57 8EBF E361 C7D6 0CFB B9EA

To claim this, I am signing this object:

@rudym
rudym / test.js
Created June 21, 2014 21:07 — forked from jmyrland/test.js
/**
* Modify the parts you need to get it working.
*/
var should = require('should');
var request = require('../node_modules/request');
var io = require('socket.io-client');
var serverUrl = 'http://localhost';
@rudym
rudym / gist:7465082
Last active December 28, 2015 07:29
codeviate network error report
Codeivate started v.3.0.14
reloading Packages/User/codeivate-st.sublime-settings
Reloading /C/Sublime Text Build 3047 x64/Data/Packages/User/codeivate-st.sublime-settings
Package Control: Error downloading channel. Connection refused (errno 12029) during HTTP write phase of downloading https://sublime.wbond.net/channel.json.
Package Control: Error downloading channel. Connection refused (errno 12029) during HTTP write phase of downloading https://sublime.wbond.net/channel.json.
Package Control: No updated packages
streak ended!
API request url: http://www.codeivate.com/API/index.php
API request data: b'action=26&streak_id=181&streakcount=1&version=3047&date=2013-11-14&user_token=d667ea52802c4671b3ec4a12d84a156b93c24f1e&lang=Plain&machine_id=149526957874824&streak_length=0%3A00%3A00&user_id=bac58a7aed2c508fa656ff4e94f464ae84ff3ef3&time=15%3A06%3A54&codeivate_version=3.0.14&scope_lang=text.plain&segment=181&machine_name=workmachine&platform=windows'
API request header: [('Content-type', 'application/x-www-form-
//Look for lines 71 and 112!
//Try to connect from your browser to this server
using System;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Threading;
namespace httpserver