Skip to content
View AwsLambdaToDynamoSample.js
console.log('Loading event');
var AWS = require('aws-sdk');
var dynamodb = new AWS.DynamoDB();
exports.handler = function(event, context) {
console.log("Request received:\n", JSON.stringify(event));
console.log("Context received:\n", JSON.stringify(context));
var tableName = "SigfoxStore";
var datetime = new Date().getTime().toString();
View drawer.js
var DRAWER = {
CARS: {
drawTd: function (element) {
var td = document.createElement('td');
td.innerText = element;
return td;
cells['td'].style.backgroundColor = "#CCC";
},
View query.json
{
"delivery": {
"uuid": "43944c48-d2b1-472b-9050-c8f160c90037",
"status": {
"shipping_problems": [],
"pickup_problems": [],
"global": "pre_ordered"
},
"secondary_order_reference": "",
"route": [
View query.json
{
"delivery": {
"uuid": "43944c48-d2b1-472b-9050-c8f160c90037",
"status": {
"shipping_problems": [],
"pickup_problems": [],
"global": "confirmed"
},
"secondary_order_reference": "",
"route": [
View findjump.cpp
/*
Findjmp.c
written by Ryan Permeh - ryan at eeye - Summarily modified by I2S-LaB.com
http://www.eeye.com
Findjmp2.c (pop/pop/ret scanner, logging to file)
version by A.D - class101 at hat-squad
http://class101.org, http://www.hat-squad.com
View gist:fbd7ef547ff39486a7bbd4d99085dd2c
esb-b-test:~# docker logs -f abs2gcal
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v1.3.2.RELEASE)
View gist:6feff02dcd89b137df3f2646e258013d
public static void main(String[] args) {
Properties prop = new Properties();
FileInputStream propFile = new FileInputStream("C:/Users/leanovia/workspace-jboss/fatec/src/my.properties");
prop.load(propFile);
String myRequest = prop.getProperty("my.request");
System.out.println(myRequest);
try{
Class.forName("oracle.jdbc.OracleDriver");
Connection myConnection = DriverManager.getConnection("jdbc:oracle:thin:@//10.192.69.2:1521/TSTLEASE.PROD", "autoself", "autoself");
Statement mySatement = myConnection.createStatement();
View index.js
Math.randomBetween = function (a, b) {
return Math.floor(Math.random() * (b - a + 1) + a);
}
View kill-resque.sh
kill -9 `ps aux | grep [r]esque | grep -v grep | cut -c 10-16`
View components.select-component.js
import Ember from 'ember';
export default Ember.Component.extend({
content: null,
selectedValue: null,
didInitAttrs(attrs) {
this._super(...arguments);
var content = this.get('content');
Something went wrong with that request. Please try again.