Skip to content

Instantly share code, notes, and snippets.

View pitosalas's full-sized avatar

Pito Salas pitosalas

View GitHub Profile
{
"version": 1,
"variables": [{
"names": ["login"],
"values": [
[
"user_id=6026"
],
[
"user_id=6026"
{
"version": 1,
"variables": [
{
"names": [
"path"
],
"values": [
[
"/?x=6026"
(byebug) next
/Users/pitosalas/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/amq-protocol-2.0.1/lib/amq/protocol/client.rb:492: warning: assigned but unused variable - offset
/Users/pitosalas/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/amq-protocol-2.0.1/lib/amq/protocol/client.rb:558: warning: assigned but unused variable - offset
/Users/pitosalas/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/amq-protocol-2.0.1/lib/amq/protocol/client.rb:765: warning: assigned but unused variable - offset
/Users/pitosalas/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/amq-protocol-2.0.1/lib/amq/protocol/client.rb:835: warning: assigned but unused variable - offset
/Users/pitosalas/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/amq-protocol-2.0.1/lib/amq/protocol/client.rb:885: warning: assigned but unused variable - offset
/Users/pitosalas/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/amq-protocol-2.0.1/lib/amq/protocol/client.rb:939: warning: assigned but unused variable - offset
/Users/pitosalas/.rbenv/versions/2.3.1
Question 1: What does this tell you?
perftest1(master)> siege -f siege/siege_urls.txt -c 1000 -i -t 30s -q
[alert] socket: 460427264 select timed out: Invalid argument
[alert] socket: 585986048 select timed out: Invalid argument
[alert] socket: 530182144 select timed out: Invalid argument
[alert] socket: 404623360 select timed out: Invalid argument
[alert] socket: 334331904 select timed out: Invalid argument
... more of the same
.....
@import url(//fonts.googleapis.com/css?family=Telex);
.navbar-inverse {
background-color: black;
}
.navbar a.navbar-brand {
color: white;
padding-top: 7px;
}
@pitosalas
pitosalas / gist:cf70399eaa633620c9d6
Created October 13, 2014 15:29
Here's my code to display the view
brandeis.edu. 1520 IN TXT "v=spf1 ip4:129.64.0.0/17 ip4:66.179.147.160/27 -ip4:173.85.251.226/32 include:spf.dynect.net include:aspmx.googlemail.com ~all"
brandeis.edu. 252 IN MX 4 rosa.unet.brandeis.edu.
brandeis.edu. 252 IN MX 5 alba.unet.brandeis.edu.
brandeis.edu. 257 IN A 129.64.99.200
brandeis.edu. 85348 IN NS dns-auth2.brandeis.edu.
brandeis.edu. 85348 IN NS dns-auth3.brandeis.edu.
brandeis.edu. 85348 IN NS dns-auth1.brandeis.edu.
### Keybase proof
I hereby claim:
* I am pitosalas on github.
* I am pitosalas (https://keybase.io/pitosalas) on keybase.
* I have a public key whose fingerprint is 717A 57CF EF07 3703 4066 145A EF45 6A18 C1FB 502C
To claim this, I am signing this object:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bootstrap 101 Template</title>
<!-- Latest compiled and minified CSS -->
# Note to Ken: Interestng, you assume that the records after 8000 are test
# Also you add the 'test data' into both the base and the test set.
# Neither one is wrong, but they are assumptions that go beyond the specification. No need to fix.
def load_base_dataz
counter = 0
File.open(@base_path, "r").each_line do |line|
split_line = line.split # user_id, movie_id, rating, time_stamp
if counter < 80000 # read in base data first
Panic (system crashes) log:
Source: /Library/Logs/DiagnosticReports/Kernel_2013-07-25-133229_monster-6.panic
Size: 9 KB (8,803 bytes)
Last Modified: 7/25/13 1:32 PM
Recent Contents: Thu Jul 25 13:32:29 2013
Machine-check capabilities 0x0000000000001c09:
family: 6 model: 26 stepping: 5 microcode: 17
Intel(R) Xeon(R) CPU W3520 @ 2.67GHz
9 error-reporting banks