Skip to content

Instantly share code, notes, and snippets.

:shipit:
Grinding

Jason Parraga Sovietaced

:shipit:
Grinding
View GitHub Profile
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:2390375
import org.powerbot.concurrent.Task;
import org.powerbot.concurrent.strategy.Condition;
import org.powerbot.concurrent.strategy.Strategy;
import org.powerbot.game.api.ActiveScript;
import org.powerbot.game.api.Manifest;
import org.powerbot.game.api.methods.Calculations;
import org.powerbot.game.api.methods.Widgets;
import org.powerbot.game.api.methods.input.Mouse;
import org.powerbot.game.api.methods.interactive.Players;
import org.powerbot.game.api.methods.node.SceneEntities;
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); })
}
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 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;
You can’t perform that action at this time.