This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://stackoverflow.com/questions/13708132/not-able-to-change-text-color-and-text-background-of-output-in-visual-studio-201 | |
// color your text in Windows console mode | |
// colors are 0=black 1=blue 2=green and so on to 15=white | |
// colorattribute = foreground + background * 16 | |
// to get red text on yellow use 4 + 14*16 = 228 | |
// light red on yellow would be 12 + 14*16 = 236 | |
// a Dev-C++ tested console application by vegaseat 07nov2004 | |
#include <stdio.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var http = require("http"); | |
var url = require("url"); | |
var proxy = http.createServer(function(request, response) { | |
request.headers.connection = "close"; | |
delete request.headers["proxy-connection"]; | |
delete request.headers["upgrade-insecure-requests"]; | |
delete request.headers['accept-encoding']; | |
var ori_url = url.parse(request.url); | |
var options = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* object.watch polyfill | |
* | |
* 2012-04-03 | |
* | |
* By Eli Grey, http://eligrey.com | |
* Public Domain. | |
* NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. | |
*/ |