sudo touch /usr/local/bin/audio-restart
sudo chmod +x /usr/local/bin/audio-restart
#generic routes | |
172.17.0.1 admin.localplugins.online | |
172.17.0.1 workflow.localplugins.online | |
172.17.0.1 appprocess.localplugins.online | |
172.17.0.1 formbuilder.localplugins.online | |
172.17.0.1 notifications.localplugins.online | |
172.17.0.1 autoemails.localplugins.online | |
172.17.0.1 breathehr.localplugins.online | |
172.17.0.1 jobstatus.localplugins.online | |
172.17.0.1 jobapprovalprocess.localplugins.online |
port=53 | |
domain-needed | |
bogus-priv | |
strict-order | |
log-queries | |
server=/aws/10.0.0.2 | |
address=/localvacancies.online/172.18.0.1 | |
address=/localplugins.online/172.18.0.1 | |
address=/localdevops.online/172.18.0.1 |
======== To invoke use this:
npm install
AWS_PROFILE=prod AWS_REGION=eu-west-1 \
DEAD_LETTER_QUEUE_URL=https://sqs.eu-west-1.amazonaws.com/1234567/dead_letter_prod_process_formbuilder_data \
QUEUE_URL=https://sqs.eu-west-1.amazonaws.com/12345678/prod_process_formbuilder_data node send_message.js
#!/bin/bash | |
docker run -it -v $PWD:/home/jovyan --rm -p 8888:8888 alpine:3.6 jupyter notebook |
1. https://frontend.task-manager-ewr.com/delay/getrecord/2 | |
GET | |
Response: | |
[ | |
{ | |
"deliver_after": "1235549874", | |
"id": "3", | |
"payload": "{}", | |
"request_code": "SEND_MAIL", | |
"task_id": "None" |
Jan 28 23:51:47 : com.orientechnologies.orient.core.sql.parser.TokenMgrError: Lexical error at line 1, column 40. Encountered: "\n" (10) | |
Jan 28 23:51:47 : at com.orientechnologies.orient.core.sql.parser.OrientSqlTokenManager.getNextToken(OrientSqlTokenManager.java:6 | |
Jan 28 23:51:47 : at com.orientechnologies.orient.core.sql.parser.OrientSql.jj_scan_token(OrientSql.java:27385) | |
Jan 28 23:51:47 : at com.orientechnologies.orient.core.sql.parser.OrientSql.jj_3R_297(OrientSql.java:24151) | |
Jan 28 23:51:47 : at com.orientechnologies.orient.core.sql.parser.OrientSql.jj_3R_116(OrientSql.java:24182) | |
Jan 28 23:51:47 : at com.orientechnologies.orient.core.sql.parser.OrientSql.jj_3R_146(OrientSql.java:20884) | |
Jan 28 23:51:47 : at com.orientechnologies.orient.core.sql.parser.OrientSql.jj_3R_341(OrientSql.java:22005) | |
Jan 28 23:51:47 : at com.orientechnologies.orient.core.sql.parser.OrientSql.jj_3R_138(OrientSql.java:22189) | |
Jan 28 23:51:47 : at com.orientechnologi |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
/* | |
Inspired from the Perl example on the API documentation page | |
*/ | |
const crypto = require('crypto'); | |
const _ = require('lodash'); | |
const api_key = '7e94901a-f6a2-4b97-a1df-0bafdeba3b99'; | |
const character_array = api_key.split(''); | |
const new_array = _.pullAt(character_array, [6,7,4,5,2,3,0,1,11,12,9,10,16,17,14,15,19,20,21,22,24,25,26,27,28,29,30,31,32,33,34,35]); |
CREATE TABLE `admin_settings` (
`id` bigint(20) UNSIGNED NOT NULL,
`record_id` varchar(255) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`resource_id` varchar(255) NOT NULL,
`black_box` blob,
`created_date_time` datetime DEFAULT NULL,
`modified_date_time` datetime DEFAULT NULL