View gist:5232765
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
package com.gmail.kleinrock; | |
//Implementation of Kleinrock's Independence Assumption | |
public class KleinrockIA { | |
private int n; // number of lines in the network | |
private int[] r; // list of offered loads | |
private int[] d; // list of edge distances | |
private double W0; // Target delay in bps |
View gist:5238013
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
package com.gmail.kleinrock; | |
//Implementation of Kleinrock's Independence Assumption | |
public class KleinrockIA { | |
//private int n; // number of lines in the network | |
//private int[] r; // list of offered loads | |
//private int[] d; // list of edge distances | |
//private double W0; // Target delay in bps |
View kleinrock.cpp
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
//#include "stdafx.h" | |
#include "KleinrockAI.h" | |
#include <iostream> | |
#include <vector> | |
#include "loaddistancepair.h" | |
int main() | |
{ |
View bio.cpp
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
#define LIGHTHOUSE | |
#define GIRL | |
#define MAN | |
#define CITY | |
#define GUARDIAN | |
#define REBEL | |
#define FOUNDER | |
#include <iostream> |
View gist:5431797
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
[Sun Apr 21 20:49:09 2013] [info] Loading certificate & private key of SSL-aware server | |
[Sun Apr 21 20:49:09 2013] [debug] ssl_engine_pphrase.c(470): unencrypted RSA private key - pass phrase not required | |
[Sun Apr 21 20:49:09 2013] [info] Configuring server for SSL protocol | |
[Sun Apr 21 20:49:09 2013] [debug] ssl_engine_init.c(465): Creating new SSL context (protocols: SSLv3, TLSv1) | |
[Sun Apr 21 20:49:09 2013] [debug] ssl_engine_init.c(676): Configuring permitted SSL ciphers [HIGH:MEDIUM:!ADH:!MD5] | |
[Sun Apr 21 20:49:09 2013] [debug] ssl_engine_init.c(760): Configuring server certificate chain (4 CA certificates) | |
[Sun Apr 21 20:49:09 2013] [debug] ssl_engine_init.c(420): Configuring TLS extension handling | |
[Sun Apr 21 20:49:09 2013] [debug] ssl_engine_init.c(807): Configuring RSA server certificate | |
[Sun Apr 21 20:49:09 2013] [info] RSA server certificate enables Server Gated Cryptography (SGC) | |
[Sun Apr 21 20:49:09 2013] [debug] ssl_engine_init.c(846): Configuring RSA server private key |
View gist:5431825
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
<VirtualHost 192.73.236.37:80> | |
ServerName www.uglounge.com | |
ServerAlias uglounge.com | |
DocumentRoot "/var/www/ugloungeforums/" | |
<IfModule mod_ssl.c> | |
ErrorLog /var/log/apache2/ssl_engine.log | |
LogLevel debug | |
</IfModule> | |
View Verbose SSH Output
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
OpenSSH_5.9p1, OpenSSL 0.9.8x 10 May 2012 | |
debug1: Reading configuration data /Users/Person/.ssh/config | |
debug1: /Users/Person/.ssh/config line 13: Applying options for mcroot | |
debug1: Reading configuration data /etc/ssh_config | |
debug1: /etc/ssh_config line 20: Applying options for * | |
debug1: /etc/ssh_config line 53: Applying options for * | |
debug2: ssh_connect: needpriv 0 | |
debug1: Connecting to bukkit.host.com [xxx.xxx.xxx.xxx] port 22. | |
debug1: Connection established. | |
debug3: Incorrect RSA1 identifier |
View gist:6187582
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
Network Class | |
-Handle connection to servers (Reddit and others) | |
-Handle the download of JSON data from Reddit | |
-Generate a signal upon completion of a given task | |
-Handle the logins for Reddit's servers | |
-Send requests (http://www.reddit.com/dev/api) to Reddit |
View gist:6233403
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
networkrequest.cpp:25:40: error: expected a class or namespace | |
request.setHeader(QNetworkRequest::KnownHeaders::ContentTypeHeader,... | |
~~~~~~~~~~~~~~~~~^ | |
1 error generated. | |
make: *** [networkrequest.o] Error 1 |
View gist:6252018
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
{"kind": "Listing", "data": {"modhash": "n4a0dpx8yo65e7ed871aae57d3431fd7b9c9e1dda32f2d8122", "children": [{"kind": "t3", "data": {"domain": "self.learnprogramming", "banned_by": null, "media_embed": {}, "subreddit": "learnprogramming", "selftext_html": "<!-- SC_OFF --><div class=\"md\"><p>The website in question pulls information from our SAP system and brings it to a searchable format everyone on the network can access. We are a project based company so every morning I would like to run a report telling me where each project stands. This is my first project so I KNOW I sound like a noob, I&#39;m just looking to be pointed in the right direction. Below is a screen shot of the UI <a href=\"http://i.imgur.com/uA42mDH.png\">http://i.imgur.com/uA42mDH.png</a></p>\n</div><!-- SC_ON -->", "selftext": "The website in question pulls information from our SAP system and brings it to a searchable format everyone on the network can access. We are a project based compan |
OlderNewer