Hello everyone i want to share how to reorder row data table through drag and drop and update data to server.

First you need embed this js & css

// js

// css


Next add paramrowReorder to DataTable

dataSrc is mean field you wanna to order
selector is mean area when you drag and drop

var dataTable = $('#data-table').DataTable( {      rowReorder: {
dataSrc: 'question_order',
selector: 'tr'

Next you need add DT_RowId to your response data table, the goal is get row ID when you move it.

"data": […

Hello everyone,

I want share how to generate random string into text field, i’m using selenium IDE 3.17.0

don’t use store command because deprecated using execute script and using return in column target.

call your variable using ${variable}

This example how to generate random string :

sampe command generate random string

Follow This Step

  1. Create Variable Ticket
Command : execute script
Target : return Math.random(). toString(36).substring(2,12)
Value : ticket

2, Call Variable Ticket into text field

Command : type
Target : name=code
Value : ${ticket}

Hopefully this can help and be useful, Bye :)

create file sonarqube-docker-compose.yml

after that run docker-compose

sudo docker-compose -f sonarqube-docker-compose.yml up

Download Sonar scanner and extract

set variable environment in your bashrc

vim ~/.bashrcexport PATH=$PATH:/your_folder_sonar_scanner/sonar-scanner/bin

Create a file sonar-project.properties in folder what u want to scan

to scan your script folder with this


Welldone, u already finished the step :)

Hello Guys,

I want share about method array javascript what different map, filter, find, forEach & Push with easy example to learn.

Example Function Push

Push will add value to end of array

const characters = ["Ninja Ken", "Baby Ben", "Guru Domba"];console.log(characters);// Add the string "Birdie" to the character array with push method
// Print array characters

Example Function ForEach

forEach will loop array and return all value

const characters = ["Ninja Ken", "Baby Ben", "Guru Domba", "Birdie"];// Print all elements in the character array by using the forEach method
characters.forEach((character) => {

It’s possible call getInitialProps in layout? this answer it’s nope. But you need change method when you want load something in yout layout.

In my application i want to read cookie for all page but just once how it’s work? concept using custom app.

first u need create custom app, bypass props to your layout and read in your layout

next call as props in layout

this full code you can read here :


Hello, Good People

I recommend this repo because very easy to config :


if you use docker-compose you must set localtime same as your host

- "/etc/localtime:/etc/localtime:ro"

This example code :

from airflow.operators import PythonOperator
from airflow.models import DAG
from datetime import datetime, timedelta
import pendulum
args = {
'owner': 'airflow',
'email_on_failure': True,
'email_on_retry': False,
'retries': 1,
'retry_delay': timedelta(minutes=5),
'depends_on_past': False,
# Set-up DAG
test_dag = DAG(
start_date=pendulum.datetime(year=2019, month=4, day=4, tzinfo='Asia/Jakarta'),
schedule_interval='28 14 * * *',
# modelling
def modelling(**kwargs):
print('Now ?')
getDailyTask = PythonOperator(
# Check initial schedule
execution_date = test_dag.start_date


You need following configuration for ubuntu

  1. Modify file .bashrc

vim ~/.bashrc

2. add the following script

export PATH=$PATH:/usr/local/go/bin
export GOPATH=$HOME/go;
export PATH=$PATH:$GOPATH/bin;

3. Also don’t forget to reload the configuration once its changed with

source ~/.bashrc

Mari kita lanjutkan belajar membuat bot slack, yang saya bahas kali ini adalah menggunakan fitur yang terdapat dislack yaitu slash command

Klik Create New Command

Bismillah Kali ini saya mau berbagi tutorial cara membuat bot di slack. Pastikan teman2 sudah buat workspace ya dislack.

Create Apps

Buat apps dislack https://api.slack.com/apps

klik Create New Apps

Lalu muncul tampilan seperti dibawah

Recently my laptop very slow i trace in proses ubuntu i got proses very big process and make slow my laptop, my way i find to solve and nothing happen :(. Daily i must kill proses deja-dump it’s like daily habits.

Deja dump monitor running automatically when start system, very annoying and then how to resolve this problem?

in ubuntu you can found process when start (deja dump monitor)


you can delete this file and done! everything has been clear :D

Derry Berni Cahyady

Data & Security Enthusiast | Software Engineer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store