Skip to content

Instantly share code, notes, and snippets.

:shipit:
Grinding

Jason Parraga Sovietaced

:shipit:
Grinding
Block or report user

Report or block Sovietaced

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Example.java
package org.projectfloodlight.db;
import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertThat;
import org.junit.After;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.projectfloodlight.test.RepeatRule;
View example.java
package org.projectfloodlight.db;
import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertThat;
import org.junit.After;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.projectfloodlight.test.RepeatRule;
View example.java
package org.projectfloodlight.db;
import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertThat;
import org.junit.After;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.projectfloodlight.test.RepeatRule;
View example.java
package org.projectfloodlight.db;
import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertThat;
import org.junit.After;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.projectfloodlight.test.RepeatRule;
View example.java
package org.projectfloodlight.db;
import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertThat;
import org.junit.After;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.projectfloodlight.test.RepeatRule;
View example.java
package org.projectfloodlight.db;
import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertThat;
import org.junit.After;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.projectfloodlight.test.RepeatRule;
View gist:973c4f24d05ac72c1926
Stacktrace:
, [2014-10-07T02:00:24.360586 #13077] INFO -- : Started GET "/admin/subscription" for 173.227.38.50 at 2014-10-07 02:00:24 +0000
I, [2014-10-07T02:00:24.362749 #13077] INFO -- : Processing by RailsAdmin::MainController#index as HTML
I, [2014-10-07T02:00:24.362832 #13077] INFO -- : Parameters: {"model_name"=>"subscription"}
E, [2014-10-07T02:00:24.382861 #13077] ERROR -- : Mysql2::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'desc LIMIT 20 OFFSET 0' at line 1: SELECT `subscriptions`.* FROM `subscriptions` ORDER BY subscriptions. desc LIMIT 20 OFFSET 0
I, [2014-10-07T02:00:24.384894 #13077] INFO -- : Rendered /var/www/hosted-trial/shared/bundle/ruby/2.0.0/gems/rails_admin-0.6.0/app/views/rails_admin/main/index.html.haml within layouts/rails_admin/application (13.8ms)
I, [2014-10-07T02:00:24.385148 #13077] INFO -- : Completed 500 Internal Server Error in 22ms
F, [2014-10-07T02:00:24.393284 #13
View gist:8343022
struct of_bsn_aux_cxn_request : of_bsn_header {
uint8_t version;
uint8_t type == 4;
uint16_t length;
uint32_t xid;
uint32_t experimenter == 0x5c16c7;
uint32_t subtype == 58;
};
struct of_bsn_aux_cxn_reply : of_bsn_header {
View gist:7700609
// Generates block data in hex
function generateDiskData(activity, t, s, b, data)
{
// Convert values to strings, map get ASCII calues to hex strings
return (activity.toString() + t.toString() + s.toString() + data.toString()).split ('').map (function (c) { return c.charCodeAt(0).toString(16); })
}
You can’t perform that action at this time.