Skip to content

Instantly share code, notes, and snippets.

View wsdookadr's full-sized avatar
🎯
Focusing

Stefan Corneliu Petrea wsdookadr

🎯
Focusing
  • Nowhere
  • Nowhere
View GitHub Profile
# .----|-----|----.
# |37 |38 |39 |
# | | | |
# |----|-----|----|
# |40 |41 |42 | <= Back
# Left | | | |
# || |----|-----|----|
# \/ |43 |44 |45 |
# | | | |
# /\----|-----|----/\
Checking for header port.h : not found
Checking for header sys/event.h : not found
Checking for function kqueue : not found
var sys = require("sys");
var assert = require('assert');
var text = "üßüsd asff asgä äösa sagd asdg dgad sdga sßßü üasg dags öddf fgge wäßüß„«";
function validMessage(msg) {
var i;
var validMsg = "";
for(i=0;i<msg.length;i++){
-rwxr-xr-x 1 root root 306K Mar 26 2010 ./lib64/libssl.so.0.9.8e
-rwxr-xr-x 1 root root 216K Mar 28 2010 ./usr/lib64/libssl3.so
-rw-r--r-- 1 root root 65 Mar 26 2010 ./lib64/.libssl.so.0.9.8e.hmac
lrwxrwxrwx 1 root root 22 Apr 18 19:21 ./lib64/.libssl.so.6.hmac -> .libssl.so.0.9.8e.hmac
lrwxrwxrwx 1 root root 16 Apr 18 19:21 ./lib64/libssl.so.6 -> libssl.so.0.9.8e
<VirtualHost *:80>
ServerName ssfcgi
DocumentRoot "/var/www/ssssssssssss/ss/public"
<Directory "/var/www/ssssssssssss/ss/public">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
AddHandler fastcgi-script .fcgi
qx.Class.define("AutoComboBox", {
extend: qx.ui.form.ComboBox,
members: {
allItems: null,
highlightMatch: function(fullText,toHighlight) {
//TO implement
return new qx.ui.form.ListItem(fullText);
},
keyHandler: function(e) {
@wsdookadr
wsdookadr / gist:715752
Created November 25, 2010 18:15
nodejs timed out error
node.js:63
throw e;
^
Error: ETIMEDOUT, Connection timed out
at IOWatcher.callback (net:870:22)
at node.js:773:9
var client = http.createClient(80, host);
var r = client.request('GET',path,{ 'host': host});//r is request object
r.connection.setTimeout(3000);
r.on("timeout",onTimeout);
var http = require("http")
http.createServer(function (req, res) {
// let it time out
// just hold the connection open forever
}).listen(8080)
var r = http.createClient(8080, "localhost").request("GET", "/", {})
r.on("response", function (res) {
console.log("got response")
Error: ECONNRESET, Connection reset by peer
at net:304:14
at Stream._readImpl (net:358:27)
at IOWatcher.callback (net:454:24)
at node.js:757:9