- HTML body is black.
- Head only has jQuery
- Create 100 li under ul - numbered 1,2,3 to 100 using jQuery
- if clicked on any li, that li will be removed using jQuery
[Unit] | |
Description=Elasticsearch | |
Documentation=http://www.elastic.co | |
Wants=network-online.target | |
After=network-online.target | |
[Service] | |
RuntimeDirectory=elasticsearch | |
Environment=ES_HOME=/usr/share/elasticsearch | |
Environment=ES_PATH_CONF=/etc/elasticsearch/elasticsearch.yml |
Array.from(document.querySelectorAll('*')) | |
.reduce(function(pre, dom){ | |
var evtObj = getEventListeners(dom) | |
Object.keys(evtObj).forEach(function (evt) { | |
if (typeof pre[evt] === 'undefined') { | |
pre[evt] = 0 | |
} | |
pre[evt] += evtObj[evt].length | |
}) | |
return pre |
version: '2' | |
services: | |
mysql: | |
image: bitnami/mysql:latest | |
container_name: MySQL | |
user: "0:0" | |
restart: always | |
environment: | |
MYSQL_ROOT_PASSWORD: "mbstf" | |
MYSQL_AUTHENTICATION_PLUGIN: mysql_native_password |
Collect all the under roots (Square Root: For instance 4 under root is 2) of all the positive integers between 1 to 100000 which are prime numbers in an array. Randomize the order of an array such that only ONE random triplet is in original order with exact same indices.
For instance, if input would have been 50, under root array would have been as following in ascending order:
$input = 50;
$ordered_output = [1, 2, 3, 5, 7];
and after randomize output would have been any one of the following but random everytime:
# Copied from https://www.reddit.com/user/secret_space_/ | |
# Updated to kind of see progress and seeing comments count as well. | |
import re | |
from collections import defaultdict | |
from youtube_comment_downloader import YoutubeCommentDownloader | |
downloader = YoutubeCommentDownloader() | |
video_url = "" | |
super_thanks_count = 0 |