What do you want to save?
Add Code snippet
New code examples
-
Other 2021-11-21 21:21:11
get data from elasticsearch to jupyter
from datetime import datetime from elasticsearch import Elasticsearch from pandas import DataFrame, Series import pandas as pd import matplotlib.pyplot as plt es = Elasticsearch(host="192.168.121.252") res = es.search(index="_all", doc... Add solution -
-
SQL 2021-11-21 04:06:23
sql order by timestamp
SELECT timestamp FROM randomTable ORDER BY timestamp ASC >2012-07-11 17:34:57 >2012-07-11 17:33:07 >2012-07-11 17:33:28 SELECT timestamp FROM randomTable ORDER BY timestamp DESC >2012-07-11 17:33:07 >2012-07-11 17:33:28 >2012-07-11 17:3... Add solution -
Javascript 2021-11-21 00:45:17
send embed with webhook in JS
const { Webhook, MessageBuilder } = require('discord-webhook-sender'); const hook = new Webhook("YOUR WEBHOOK URL"); const embed = new MessageBuilder() .setTitle('My title here') .setAuthor('Author here', 'https://cdn.discordapp.com/embed/avata... Add solution