Skip to content

Instantly share code, notes, and snippets.

View keremcankabadayi's full-sized avatar

keremcankabadayi keremcankabadayi

  • 11:45 (UTC +03:00)
View GitHub Profile
@keremcankabadayi
keremcankabadayi / arista_medium_article_content_id.csv
Last active January 3, 2024 20:52
arista_medium_article_content_id.csv
contentId listingId
111 listingId1
222 listingId2
333 listingId3
key definition example
content main 'product' that can sell multiple seller a pen
listing a product that selling by spesific seller pen selling by Abc Ltd.
supplierId id of the seller 2
sudo apt -y --yes --no-install-recommends update < /dev/null
# Docker
wget https://gist.github.com/wdullaer/f1af16bd7e970389bad3/raw/4a5a72aece57e1deca926894e5919f90350c706d/install.sh
bash install.sh
# Portainer
sudo docker volume create portainer_data
sudo docker run -d -p 8000:8000 -p 9000:9000 -p 9043:443 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer --admin-password '$2y$05$JxNXO.H8jC2/Mp5pBA3uGe9h/G4lmlqUVjxhXYo79jPAxBXFIs06G'
# My IP
myip="$(dig +short myip.opendns.com @resolver1.opendns.com)"
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
var _ = require("lodash");
var builder = require('xmlbuilder');
const consts = require('./constants');
var xml = builder.create("epConfiguration", {version: '1.0', encoding: 'UTF-8'});
var newVar;
function addChild(sqName, sqValue){
{
"swagger": "2.0",
"info": {
"description": "## TMF API Reference : TMF 673 - Geographic Address Management\n### Release : 17.5 - January 2018\n\nThe Geographic Address API provides a standardized client interface to an Address management system.\nIt allows looking for worldwide addresses.\nIt can also be used to validate geographic address data, to be sure that it corresponds to a real address.\nFinally, it can be used to look for an address by: searching an area as a start (city, town …), then zooming on the streets of this area, and finally listing all the street segments (numbers) in a street.\n\n### Resources\n- GeographicAddress\n\n### Operations\nGeographic Address Management API performs the following operations :\n- Retrieve a geographic address or a collection of geographic addresses",
"version": "1.6",
"title": "API GeographicAddress"
},
"host": "serverRoot",
"basePath": "/geographicAddressManagement/v1/",
"schemes": [
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
@keremcankabadayi
keremcankabadayi / last.json
Last active May 10, 2018 11:48
Elastic-Percolator Research - Issues
GET /_cat/indices?v
DELETE *
PUT /my-index
{
"settings": {
"analysis": {
"analyzer": {
"standard_lowercase_example": {
## filebeat.yml
- type: log
# Change to true to enable this prospector configuration.
enabled: true
# Paths that should be crawled and fetched. Glob based paths.
paths:
- /home/tez/anaweb3/access.log.*
{
"query": {
"match": {
"title": "tevfik"
}
},
"highlight" : {
"fields" : {
"title" : {}
}