Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am lancespeelmon on github.
  • I am speelmon (https://keybase.io/speelmon) on keybase.
  • I have a public key ASCAhoF2V0y7XXfz03KZmQyAYMpZ9paJdcR7nlYN897-HQo

To claim this, I am signing this object:

@lancespeelmon
lancespeelmon / ELK dynamic map numbers to strings.json
Last active September 22, 2015 17:23
ELK dynamic map numbers to strings
{
"mappings": {
"asn": {
"dynamic_templates": [
{
"all_strings": {
"mapping": {
"type": "string",
"index": "analyzed",
"fields": {
@lancespeelmon
lancespeelmon / ELK nested tuple mapping.json
Created August 3, 2015 04:03
ELK nested tuple mapping
{
"mappings": {
"typename": {
"properties": {
"tuples": {
"type": "nested",
"properties": {
"field_name": { "type": "string" },
"text_value": { "type": "string" },
"num_value": { "type": "long" }
@lancespeelmon
lancespeelmon / foo.txt
Created July 17, 2015 17:20
.fsjlksfjgkldfjgkdlfjg
"ns0:ShowShipment"."ns0:DataArea"."ns0:Shipment".{
SAPDeliveryNumber29: "ns0:ShipmentHeader"."ns0:DocumentID"."ns0:ID"
RouteReferenceDescription79: "ns0:ShipmentHeader"."ns0:CarrierRouteReference"."ns0:Description"
DeliveryDate81: "ns0:ShipmentHeader"."ns0:ActualDeliveryDateTime"
NetWeight82: "ns0:ShipmentHeader"."ns0:NetWeightMeasure"
GrossWeight86: "ns0:ShipmentHeader"."ns0:GrossWeightMeasure"
TotalVolume90: "ns0:ShipmentHeader"."ns0:TotalVolumeMeasure"
ShipFromPartyCategory96: "ns0:ShipmentHeader"."ns0:ShipFromParty"."@category"
OwnerI113: "ns0:ShipmentHeader"."ns0:ShipFromParty"."ns0:Name"[0]."#text"
PotentialScacI123: "ns0:ShipmentHeader"."ns0:ShipFromParty"."ns0:Name"[2]."#text"
@lancespeelmon
lancespeelmon / joi error during upgrade.txt
Created May 27, 2015 17:07
joi error during upgrade
"dependencies": {
"boom": "^2.7.2",
"good": "^6.1.3",
"good-console": "^5.0.1",
"good-winston": "^1.0.0",
"hapi": "^8.5.2",
"hapi-swagger": "^0.7.3",
"hoek": "^2.12.0",
"joi": "^6.4.2",
"js-yaml": "^3.3.1",
AcctNumVendBlng: ACCT_NUM_VEND_BLNG
AlBlng1-4: in FRGHT_BL
AlCityOrg/Dest/Remit: FRGHT_BL.AlCityDest , FRGHT_BL.AlCityRemit
AlCntryCodeOrg/Dest/Remit: in FRGHT_BL
AlPostCodeOrg/Dest/Remit: in FRGHT_BL
AlRemit1-4: in FRGHT_BL
AlStateProvOrg/Dest/Remit: in FRGHT_BL
DimFactor: FRGHT_BL_EXT.DIM_FACTOR
ExchDate: FRGHT_BL_EXT.EXCH_DATE
ExchRate: FRGHT_BL_EXT.EXCH_RATE
AcctNumVendBlng: ACCT_NUM_VEND_BLNG
AlBlng1-4: in FRGHT_BL
AlCityOrg/Dest/Remit: FRGHT_BL.AlCityDest , FRGHT_BL.AlCityRemit
AlCntryCodeOrg/Dest/Remit: in FRGHT_BL
AlPostCodeOrg/Dest/Remit: in FRGHT_BL
AlRemit1-4: in FRGHT_BL
AlStateProvOrg/Dest/Remit: in FRGHT_BL
DimFactor: FRGHT_BL_EXT.DIM_FACTOR
ExchDate: FRGHT_BL_EXT.EXCH_DATE
ExchRate: FRGHT_BL_EXT.EXCH_RATE
@lancespeelmon
lancespeelmon / kc6_mysql6_errors.txt
Last active August 29, 2015 14:11
KC6_master MySQL 5.6 SQL errors
mysql < rice/KR_RICE_01_2.3.5-2.4.0_2014-01-09_B000.sql
ERROR 1832 (HY000) at line 21: Cannot change column 'attr_defn_id': used in a foreign key constraint 'krms_typ_attr_fk1'
mysql < rice/KR_RICE_02_2.3.5-2.4.0_2014-03-20_B000.sql
mysql < rice/KR_RICE_03_2.3.5-2.4.0_2014-04-09_B000.sql
mysql < rice/KR_RICE_04_2.3.5-2.4.0_2014-04-09_B000.sql
mysql < rice/KR_RICE_05_2.3.5-2.4.0_2014-04-09_B000.sql
mysql < rice/KR_RICE_06_2.3.5-2.4.0_2014-04-09_B000.sql
mysql < rice/KR_RICE_08_2.4.0-2.5.0_2014-05-10_KULRICE-10653_B000.sql
mysql < rice/KR_RICE_09_2.4.0-2.5.0_2014-05-22_KULRICE-6281_B000.sql
mysql < rice/KR_RICE_10_2.4.0-2.5.0_2014-06-02_KULRICE-12767_B000.sql
@lancespeelmon
lancespeelmon / .gitconfig
Last active August 29, 2015 14:09
global git config
[user]
email = foo@bar.com
name = Foo Bar
[color]
diff = auto
status = auto
branch = auto
interactive = auto
ui = auto
[gc]
@lancespeelmon
lancespeelmon / COMM_SCHEDULE_ATTACHMENT_ID.sql
Last active August 29, 2015 14:06
KRAFDBCK-11191 KRAFDBCK-11230
DELIMITER /
CREATE TABLE COMM_SCHEDULE_ATTACHMENT_ID (
id bigint(19) not null auto_increment, primary key (id)
) ENGINE MyISAM
/
ALTER TABLE COMM_SCHEDULE_ATTACHMENT_ID auto_increment = 1
/