21

The most awaited "Trivia Bot" is here, asks technical trivia on various topics, uses quizapi.io,

Source Code: https://gist.github.com/theabbie/...

You know it's written in JS, if it fucks up, not my fault.

To use, call, @trivia

Gives a question and atmost 5 options, reply with option ID.

Demo in Comments.

Comments
  • 3
  • 1
  • 3
    @theabbie Which HTML element is used to specify a footer for a document or section?

    00. <footer>
    01. <section>
    02. <bottom>
    03. <down>

    549faf121b3ca49fc36c2cfc5e1c5bbb13f4fb9916d2e2aacf76e94085e56614f3d15f9ee6bbc069218622a544355c6fk8IZlW8+NkaZouVWnrfbsA==
  • 1
  • 3
  • 1
  • 3
    @theabbie What is called if a value shouldn't be greater than 100?

    20. Integrity constraint
    21. Feasible constraint
    22. Over-defined constraint
    23. Referential constraint

    56227b704287bf52066c8a605965585a0b1b2dbcd0e340475338fda9cc7d87c1cc070e8bbe0de9a59e12460c28ff9d86Hhiju8QpikS6R1yf7yvZjg==
  • 1
  • 2
    @theabbie Sorry, correct answer is option 20
  • 2
    @F1973 Don't
  • 1
  • 2
    @theabbie you might want to increase notifs checking from 1 min for this kind of thing.
  • 4
    @theabbie What does the /etc/hosts file contains?

    40. Hostnames of all devices on the network segment
    41. The IP address of the default gateway
    42. CPU and memory info
    43. IP addresses to hostnames mappings

    51a98a794336d364e951d473aff28937d939a81fd54c5f6bfc282c3ad7c8a8a5452e2f803e9338f26f9ea4de5d6230af7HW/bcHGs1NzJ6XN8t6TDA==
  • 1
  • 1
    @C0D4 maybe, only respond when someone guesses correct, but, questions are not that hard and people can call one for themselves
  • 2
  • 2
    @F1973 don't give it malformed input
  • 3
    @theabbie you don't sanitise and validate data?
  • 2
    @F1973 I feel bad, it won't cause any error, but it won't respond
  • 3
    @C0D4 it's a huge try catch block, if any error, it won't respond
  • 1
  • 7
    @theabbie please never tag me again
  • 2
    @theabbie How can you get involved with WordPress?

    60. Attend Word Camp
    61. Edit the Codex (documentation)
    62. Help in the Forums
    63. All of these

    17ea74f97ea1dd92ba75ed7524547a38001509641732ba69109e2dcff4baeb2fdd8029aec823156e5395206489b75570SpMyvOkih2OMjrEubDy5Tg==
  • 2
    @Elyz okay, you and nomad are blacklisted
  • 1
  • 2
    @vintprox Sorry, correct answer is option 60
  • 1
  • 1
    Cool 😜👍
  • 2
    @theabbie All variables in PHP start with which symbol?

    80. &
    81. !
    82. #
    83. $

    ba1c97a03005c4f198a8701be658c0d2596bbbbe3dfce7bb7aecd4f9a8faa0ffc0cda80c6c68b0747081280f66367b1aVph+UL4Jkd03TJQ3nFNnbQ==
  • 1
  • 2
  • 2
    @theabbie hahah i steal your answer 😂😜😜😜
  • 0
    @vintprox the difficulty level is medium though, might add an option to change that
  • 0
  • 2
    @theabbie Which of the following variables is not a predefined variable?

    100. $get
    101. .$post
    102. $request
    103. $ask

    1ff5642e7e50966afb76a290a7fddb78f75a33de2655aa6a419151b83e4769621d10e04cca7273057760d995b3f4d798ox5gWMCycBUUMlM81xuHMg==
  • 0
  • 2
    @theabbie Sorry, correct answer is option 100
  • 2
    @theabbie Is such long signature really necessary though? It surely takes space.
  • 1
    @vintprox It's not a signature, it's the encrypted answer, because, I don't have a database, it can be shorter, I guess
  • 0
    I think people got bored really fast
  • 1
  • 2
    @p100sch What does the fopen() function requires for it to execute properly:

    120. It requires two arguments stating first the file name and then mode in which to operate.
    121. It requires one argument, the file name.
    122. It requires one argument, the file name. With a second argument being available if we want to use it, in which mode to oparate.
    123. It requires two arguments, the file name and the extension of the file we are opening.

    21fa913d8aa4fb23794e9d22949d95e64eba31c54676323ae9f5449a3a97c3ebd7aab6248b082e038775e5fc5a93f84c79mtp4lUK9Fk72RH6mDxSg==
  • 0
  • 0
  • 6
    @theabbie Sorry, correct answer is option NaN
  • 5
    @p100sch Sorry, correct answer is option NaN
  • 1
    @p100sch Sorry, I told you it's JS, it can fuck up
  • 4
    That's an interesting answer
  • 2
    @trivia You dumb Fuck
  • 0
  • 2
    @theabbie How to mark a node called my-node as schedulable in Kubernetes?

    150. kubectl schedulable my-node
    151. kubectl up my-node
    152. kubectl available my-node
    153. kubectl uncordon my-node

    a552819ac0c0edd637058c1dd0873e43765e376bef54fb5d1cf3ab515e0143e59fbbd30fbb59c60010a5f4f31833f553WTZRmGz/9t11YHPrbMgYKg==
  • 0
  • 2
  • 1
    ah! this is good work
  • 1
  • 0
  • 2
    @calmyourtities Which of the following is correct about constants vs variables in PHP?

    170. There is no need to write a dollar sign ($) before a constant, where as in Variable one has to write a dollar sign.
    171. Constants cannot be defined by simple assignment, they may only be defined using the define() function.
    172. Both of the mentioned
    173. None of the mentioned

    b01aee63d9ec52c9da0f1a4f41a8f8658344f988ac9da5d36759039fe1ae75e39c9cb273460fdca1442baf653f3fcc35ZCzqMUxRWuTrzytqHMQ7sA==
  • 1
  • 4
    @calmyourtities Sorry, correct answer is option NaN
  • 1
    @calmyourtities Sorry, sometimes it fucks up
  • 6
    @theabbie it's ok, NaN was my second guess
  • 3
    Nice little bot
    Wouldn't call it "most awaited", but whatever
  • 1
  • 2
    @F1973 And he's already flirting with the bot, what a guy!
  • 2
    @linuxxx MySQL does not support auto generating numbers

    190. True
    191. False

    3e712760fbd6b84b345848cdfd266ffbf9862db34fc031ce9a5f40fb9957c9a5ac647fcb068a71ffd52a88af56733186IwZ/05oVm6+EWfOelHoQkA==
  • 1
  • 2
  • 1
  • 3
    @linuxxx The syntax for adding a new column to an existing table is ALTER TABLE `table_name` ADD COLUMN `column_name` `data_type`;

    210. True
    211. False

    20e10efb706981eb3c63bd0c09b8fca25c1abbc044c4d07d1cc2f7655e2d52862e88001300a74c3679fc38a0efd233beJzskHiZlOFx7f9Yht5f0Wg==
  • 1
  • 2
  • 1
  • 3
    Damn this is addictive
  • 2
    @linuxxx How can we propagate a session id?

    230. You can propagate a session id via cookies or URL parameters.
    231. You can propagate a session id via headers and routing.

    c0ac6ba8571a2eda7aadd48ae50e21388a47a3246ab3691e3efb2b535cdfa6389bffcc62a4c175f77fef19b7b0e7163cHCvIfVK8pu/eIVOfTKxsBg==
  • 0
    @linuxxx Would be more fun if it responded instantly, but that would be bad for DevRant
  • 3
    Uhm.... Except for the routing, everything is correct 😅
  • 1
  • 2
    @linuxxx How to dump pod logs, with label name=myLabel (stdout) in Kubernetes

    240. kubectl log name=myLabel
    241. kubectl pod -l name=myLabel
    242. kubectl logs -l name=myLabel
    243. kubectl logs -l .name[*]=myLabel

    e505caf6aadf21b6ba8476a7af6994a4a935fcfba66a81baca4a67e1c660bcfab61df2a848a00c294f94880c7bccce41Oj0IA6666oc6dmE4CrGc2A==
  • 1
  • 2
    @linuxxx Sorry, correct answer is option 240
  • 2
    @trivia Yeah no surprise there, I never touched kubernetes 😅
  • 1
  • 2
    @linuxxx How do you list all the running Docker containers?

    260. $ -docker ps
    261. $ docker --ps
    262. $ docker ps

    e3c83976dda26032818c0edae92678c8300e68abce938a8c36738572873fdf8765d48fbedf880388efad2af47699af3daCWjq48yA4IIhsloZj7AYQ==
  • 1
  • 2
    @linuxxx Sorry, correct answer is option NaN
  • 2
    But I do it using "docker ps -a"😅
  • 3
  • 0
    @linuxxx Really sorry, it's JS
  • 1
  • 1
    @linuxxx I haven't put much attention to detail, the API is weird, sometimes it gives null as an answer, I had thought of creating a community contributed Trivia questions repo, but, that's too much work.
  • 0
  • 2
    @linuxxx How to list all the docker containers are running with container details.

    280. $ docker ls
    281. $ docker ps
    282. $ docker details

    87abba952d8bd227bc49f81fd066895ba264f815a15669b242e58242ade3078119d9ebc92f851967d32dd24fb485d079fbuROBS7NY1l0Rmv59ZQBQ==
  • 0
  • 2
    @linuxxx Sorry, correct answer is option 280
  • 1
    @-red Females are loved by both Genders
  • 0
    @-red Also, you can't abuse her if you're angry
  • 0
  • 2
    @p100sch Is Kubernetes open-source?

    300. True
    301. False

    5f414fc1bc62b65cc649abec97e5bfb894fe0aaebf88ab0a43d7603cc85a64c9c9df57cccb5e53c4d06163901717e384XJRaSoGs5DMWfewLg/9NwA==
  • 0
  • 2
    @p100sch Sorry, correct answer is option NaN
  • 0
    @p100sch Sorry, this NaN sucks
  • 0
    @p100sch need to find a better API for Trivia
  • 1
    @theabbie I'm getting the feeling that I'm the bug.
  • 0
  • 2
    @linuxxx How to delete all pods in Kubernetes matching the awk pattern1 or pattern2?

    320. kubectl get nodes -n myns --no-headers=true | awk '/pattern1|pattern2/{print $1}' | xargs kubectl delete -n myns pod
    321. kubectl print pods -n myns --no-headers=true | awk '/pattern1/2|pattern2/{print $1}' | xargs kubectl delete -n myns pod
    322. kubectl print pods -n myns --no-headers=true | awk '/pattern1/2|pattern2/{print $1}' | xargs kubectl remove -n myns pod
    323. kubectl get pods -n myns --no-headers=true | awk '/pattern1|pattern2/{print $1}' | xargs kubectl delete -n myns pod

    33adc3428b7e2afc92c6d31a97f5240f6f956577fc84585854f5ae3006708199c1e64ae22048fb1ad37d76a8ee0eccfawbKU1C/hSGvBQieQswjl7A==
  • 2
    @trivia Jesus fucking Christ 💀
  • 0
  • 2
    @theabbie What is the default priority of the swap partition

    👉330. 0
    👉331. -1
    👉332. 10
    👉333. 1
    👉334. There are no priorities for swap
    👉335. 100

    678ca0382c7bfecf76518e2761ecd844d4213330a36d47617afc3815dd32d23219da22335a823192247dbf5ed53e556f6g0bSVaSbAzmiOS/M24OFg==
  • 0
  • 2
    @theabbie _______ manages the assigning nodes to pods depending on resource availability.

    👉340. Etcd
    👉341. Flanneld
    👉342. Scheduler
    👉343. Kubectl

    b935c619202e2701738739e16898c18046f03d8d67c4a5b19aacfa69aa6017185bcf624da4b0b0e50b92ea8146145bbb1vtnWp9W4/9ndqWUrajJPg==
  • 0
  • 2
    @theabbie Which command will delete a table called 'test':

    🔹 350. DROP TABLE test
    🔹 351. DROP test
    🔹 352. DROP test WHERE Confirm = "YES"
    🔹 353. DELETE test WHERE Confirm = "YES"

    a799ebc1c236b8dd934704c682333249c196a2b16dc94bddf934cdeb32eb5d36769cda07e7b44af9ff0270bc180c80aeMCW7J1RnjbsHmEdeU8UGMQ==
  • 2
    @theabbie If you see a directory with the following permissions `drwxrwxrxt`, would you be able to remove it?

    🔹 350. Only the owner of the folder can remove this folder
    🔹 351. Yes, we can remove it from any user
    🔹 352. We can remove it with the root user
    🔹 353. We can remove it only using the root user
    🔹 354. No, this folder can't be remove.

    375c3d4e65158800ffdf0ed5118cebed87b5bcaca8536fd511e5ebd1da49204752f93f0607a2ed28f878ba3b17b24745HV6Q3blMjqA9hMtIGyeDlQ==
  • 4
    @trivia a’; DROP DATABASE Trivia; --
  • 0
    @Root Source Code is there, not SQL, A huge Try Catch block, no, it won't respond.
  • 3
    @theabbie Not the point 😉
  • 1
  • 3
    @ZeldaFan69-2 #!/bin/bash is commonly called as

    🔹 370. shebang
    🔹 371. hashbang
    🔹 372. Script Initialiser
    🔹 373. None of the Above

    bc55929da2a0e62b23e1df02980c3e3a404878c2f6053331fcf9396bf6a30f851aded415963c55b2c1c8eafcd14f7693xtC8kB8PNevr/O9MzGUaMA==
  • 1
  • 3
    @ZeldaFan69-2 🏆
  • 1
  • 3
    @ZeldaFan69-2 Docker containers can run on:

    🔹 390. Only Linux distributions
    🔹 391. Linux distributions and Windows systems
    🔹 392. Only Windows systems

    dd2e481d6f542de078dac768cffaaee000b9ce124b3a5b9069f03d6958640987c74a8f972a388a637b2b27c300ad3f16eeeuRipYsbkqMdc8hobqXw==
  • 0
  • 3
    @ZeldaFan69-2 🏆
  • 0
  • 3
    @ZeldaFan69-2 Which command can be used to stop the current executing process in the background?

    🔹 410. kill
    🔹 411. stop
    🔹 412. remove
    🔹 413. rm

    be13addb89f5322dc8358ccc13b8c7185aa2979d09cad1dd82e47c91f959ac29a543065d80fb3b87af32f21506173fccQBafCNFPTyywtGVzgFJL/g==
  • 1
  • 3
    @ZeldaFan69-2 Sorry, correct answer is option NaN
  • 1
  • 1
    @ZeldaFan69-2 Won't respond, This error happens
  • 0
  • 2
    @ZeldaFan69-2 What is Solaris?

    🔹 430. HP’s UNIX
    🔹 431. IBM’s UNIX
    🔹 432. Sun microsystems UNIX
    🔹 433. Microsoft’s UNIX

    0ee57ebe4843251b5b963a952d43d86667cf7185a9a801e89f5b5e921d85f7605299cd2c774120a05422d4c594978cbebn+Ry1sF6gX8m5cimWYy4A==
  • 0
  • 2
    @ZeldaFan69-2 Sorry, correct answer is option 430
  • 1
    Now it's giving wrong answers
  • 1
    @theabbie your bot is kind of buggy. But I still like her
  • 0
  • 3
    @ZeldaFan69-2 What is the correct syntax for referring to an external script called "xxx.js"?

    🔹 450. <script name="xxx.js">
    🔹 451. <script src="xxx.js">
    🔹 452. <script href="xxx.js">
    🔹 453. <script declare="xxx.js">

    fc823e5b95f7254070e0d305ff98432c3f85e5f34e2f6c3173defef8c388a2cb0c4b82dd96273f0f8feb52e44d5ad85cAmy9ZLV1Q6NxgXvVOU1MHQ==
  • 0
  • 3
    @ZeldaFan69-2 Sorry, correct answer is option 450
  • 1
    Now it's completely wrong
  • 0
  • 2
    @ZeldaFan69-2 Choose the correct HTML element to define important text

    🔹 470. <b>
    🔹 471. <i>
    🔹 472. <important>
    🔹 473. <strong>

    afe515e94ec37c09548614a21682f6d1684327bc6bb0603d9234203d150da3adc3e6c0bd93451409f6a1fed2f25f06b5ZIEvDKVQtTGTrpmh1lnJEg==
  • 0
  • 2
    @ZeldaFan69-2 🏆
  • 0
  • 2
    @ZeldaFan69-2 Which of the following is true for a Persistent Cookie?

    🔹 490. A persistent cookie is permanently stored in a cookie file on the browser's computer.
    🔹 491. A persistent cookie is temporary stored in a cookie file on the browser's computer.
    🔹 492. A persistent cookie is a data file capable of providing websites with user preferences, settings and information for future visits.
    🔹 493. Persistent cookies provide convenient and rapid access to familiar objects, which enhances the user experience (UX)
    🔹 494. A cookie that is stored on a user's hard drive until the next login
    🔹 495. The next time you visit a particular site which you have already done it will not recognise you and will treat you as a completely new visitor as long as it hasn't been more than 2 days

    212ee5bef794dffb830630ab88d884382ae7eda987b8b4f9036c003b9f6289db58c984c2281708df6e0650b4a0c7ee36JrtufuJgSrEaXpZvTnqLWw==
  • 0
  • 0
  • 2
    @ZeldaFan69-2 Which of the following is a WordPress function used to execute a database query?

    🔹 500. <?php $wpdb->run_query('query'); ?>
    🔹 501. <?php $wpdb->fetch('query'); ?>
    🔹 502. <?php $wpdb->mysql_query('query'); ?>
    🔹 503. <?php $wpdb->query('query'); ?>

    5941e1a2f516f9bd73534620454586b8b409ec5cbeabcc623c6f93d30770fd11a3c1d7ef1d80a6912628ad04190e8328cHtFERAkP7RlFB6P4xMLNg==
  • 2
    @ZeldaFan69-2 Sorry, correct answer is option 490
  • 0
  • 0
  • 2
    @ZeldaFan69-2 Docker image is created with a series of read-only layers and layer in docker represents instructions on the Dockerfile of the image.

    🔹 520. The hypervisor needs extensive hardware for proper function while docker is implemented on an actual operating system.
    🔹 521. The hypervisor needs extensive software for proper function while docker is implemented on an actual hardware system.

    b56a927b88e2def405320622333e8337c657827a51dbe09268a39a585ecdbb0ed5a2eb8f3bae4c1f2d074f432fa299abRZvQTglzUwJ4e6qCsNQuuA==
  • 2
    @ZeldaFan69-2 Sorry, correct answer is option 500
  • 0
  • 0
  • 2
    @ZeldaFan69-2 Kubernetes cluster data is stored in which of the following?

    🔹 540. Kube-apiserver
    🔹 541. Kubelet
    🔹 542. Etcd
    🔹 543. None of the above

    7220aef95c6507cadb78f0a5cb10c703556b0c0f81150893ddc6496444b713f7327fc680fd013d84236375611b4684c8f9u7gnH3LysJIWH0FSYr2Q==
  • 2
    @ZeldaFan69-2 🏆
  • 0
  • 2
    @linuxxx Once a table has been created in MySQL, its structure cannot be altered

    🔹 560. True
    🔹 561. False

    655e2c24bc426235fb6e406ffeee4f097643822c001fc164c408c2c223a8f77857d19e712f3d2a6a827bd6bfd089a1a1yKLpJoxH/0qpar6sgnOeCA==
  • 1
  • 2
    @linuxxx Sorry, correct answer is option 560
  • 1
    It's completely broken now I guess, it has started giving wrong answers lately
  • 4
    @trivia Erm, no. You can alter the structure whenever the fuck you want. Source: my past 8+ years of experience.
  • 2
    so what happens if i mix the memesbot with the trivia bot
  • 2
    @calmyourtities This thing had happened in the past and caused an infinite loop of mentions, Thus a Bot Convention was made wherein it was made mandatory for redesigning the Bots to ignore other Bots

    https://devrant.com/collabs/...

    Thus, Bots have inbuilt protection.
  • 0
    @linuxxx, it knows something we don't about mysql 😬
  • 0
  • 3
    @ZeldaFan69-2 What command is used to clear up the command prompt window?

    🔹 580. clearit
    🔹 581. clrwin
    🔹 582. clear
    🔹 583. clrscr

    928cfc5687ddee0ffe869dfa06cf1ddbadd33a1bc96795922ddc013b56a9a0c35c6fff673732fb0b1bf7e80b1df9bcabX/NbUzfa8Fb7IpzAUZ5o1Q==
  • 0
  • 2
    @ZeldaFan69-2 🏆
  • 0
  • 2
    @ZeldaFan69-2 What is the command in Docker which lists the details of all the network in the cluster.

    🔹 600. $ docker network as
    🔹 601. $ docker network ls
    🔹 602. $ docker network ps

    4615f4cd3856a3e3501555a5feabc596fb8a8a95a9c7275989c6a0268681c731d08b12ce1a75694362802400dd14dd31Es1fcdXKApHFxSf7ssshiA==
  • 0
  • 2
    @ZeldaFan69-2 Sorry, correct answer is option NaN
  • 0
  • 2
    @linuxxx Which statement is true for Replica set?

    🔹 620. Replica set is considered as a substitute to the replication controller. The prime function of replica set is to assure the number of pod replicas running.
    🔹 621. Replica set is considered as the legacy replication controller. The prime function of replica set is to remove the number of pod replicas running.

    b7ddbfc1efd75dd813fb0195faa75c7cb5d9b8731376acfe4798ad4f8d4df5d4d960402796399c759ddf1b8eb5f6ca38quStb6GhFR9sOVZeEqx0Ng==
  • 1
    @trivia No fucking clue
  • 0
  • 2
    @C0D4 Sorry, correct answer is option NaN
  • 2
    @theAbbie fix your NaNs 😬
  • 1
    Really sorry, this bot is fucked now
  • 0
    @C0D4 We need a better source of questions, If people are willing to create a trivia database, That would be better
  • 0
    @C0D4 on decrypting the key, it gives "62undefined", this is because of the API
  • 1
    @C0D4 You can see the API response, the correct answer key is null
  • 2
    @theabbie I looked at their api, it's a joke.

    Wait, it actually responds with a null 🤭
  • 0
  • 2
    @theabbie Are arrays supported in shell scripts?

    🔹 640. True
    🔹 641. False
    🔹 642. Yes but only under certain conditions

    ef74419a2787031f10d402e57e99752b4dd47c35687279e84223cbe9d472bd0338723108afcf2a7489e8b98c7100f143qYIBsNG1nmPiRp//2pJbcw==
  • 0
  • 2
  • 0
  • 2
    @theabbie Which relational database does WordPress use?

    🔹 660. Oracle
    🔹 661. MySQL
    🔹 662. PostgresSQL
    🔹 663. MSSQL SERVER

    56ba715cfd9c0331c17faabb002c8ce574fc00e082cefaeff2639c446bb7c23150633ab364964722f64c254e32f4a9eawzjscBmx2SYufodpdm7jCw==
  • 2
    @theabbie Which operator is used to check if two values are equal and of same data type?

    🔹 660. ==
    🔹 661. =
    🔹 662. ===
    🔹 663. !=

    a50701cba9453bc2cbaad8307cc645f69c7d06f5b7c96c8d76d020d3ae5ed0ef11886ec89d30ae85d5ce2b3a52f4c7a39d8LoZs+N5fYA9c1AV7ITg==
  • 0
  • 0
  • 2
    @C0D4 Sorry, correct answer is option 661
  • 2
  • 2
    @theabbie yup it's broken.
  • 1
    @C0D4 Both got same index because I Manually triggered one and other by cron job, it should be 672
  • 7
    @C0D4 I fixed the NaN issue though, shouldn't happen now
  • 0
  • 1
  • 2
    @C0D4 What is the difference between Wordpress Posts and Wordpress Pages?

    🔹 700. There is absolutely no difference between Posts and Pages.
    🔹 701. Posts are entries listed in reverse chronological order on the site homepage and Pages are static and are not listed by date.
    🔹 702. Pages are entries listed in reverse chronological order on the site homepage and Posts are static and are not listed by date.
    🔹 703. None of the above.

    21ef3862cac59152e33da0163641a0efc7620af1a0b5bbbe42d3ef921d3f88965d882a6282ac8ee44e3a7676e1c66ef2nZhcADILk+vaUZ0v+fozEg==
  • 2
    @theabbie Sorry, correct answer is option 662
  • 0
  • 2
    @theabbie Sorry, correct answer is option 701
  • 0
    Finally, no more NaN
  • 0
  • 2
    @theabbie Which of the following is correct about NULL?

    🔹 730. NULL is a special type that only has one value: NULL.
    🔹 731. The special constant NULL is capitalized by convention, but actually it is case insensitive.
    🔹 732. NULL is a special type that only has two values : NULL and NOT NULL
    🔹 733. The special constant NULL is capitalized by convention and it should be defined as such as it's case sensitive. Meaning null is different than NULL

    253013250c9b8873f3d71548dfc08a33a63eb92146f82c0de6146ae910920f5ad1108520c54a64333d932117dda90ee5VVAe98rA4+ipxe7D2CXptQ==
  • 0
  • 2
  • 0
  • 2
    @theabbie Tags and test that are not directly displayed on the page are written in _____ section.

    🔹 750. <html>
    🔹 751. <body>
    🔹 752. <title>
    🔹 753. <head>

    ec00bcfe5a06d6ad678ec85f8f992fc9eb077f0d2a2b6511eeeaa8247e59247849c92921b12afcb42dc45898d1e5e27azxEaeoRayA9qAxfWjL20Cw==
  • 0
  • 2
    @theabbie 🏆 🎉 🎊
  • 0
  • 2
    @theabbie Can a Docker container restart by itself?

    🔹 770. True
    🔹 771. False

    30c0b073b09e1a55edc01bd2b7019fbf4bf84ad604c66890ddff16ceaa9a94d49e4f041de94f55fd0a9e428a08593212hMely0wxTQ9kNv8GxnfJGw==
  • 0
  • 2
    @theabbie 🏆 🥳 🎉
  • 0
  • 2
    @theabbie Docker Toolbox is an installer for quick setup and launch of a Docker environment on Mac and Windows systems. Select all of the Docker tools that come with the Docket Toolbox

    🔹 790. Docker Machine for running docker-machine commands
    🔹 791. Oracle VirtualBox
    🔹 792. A shell pre-configured for a Docker command-line environment
    🔹 793. Docker Compose for running the docker-compose commands
    🔹 794. A shell post-configured for a Docker command-line environment
    🔹 795. Oracle RealBox Containers

    06466a5f746ba768086a7c74f64180433c5910fada38898766a7cd5da0340ee63f5c8321f3df4037cda9ce8a59c3eecamvj8rlIfpvN95suCwP4j/A==
  • 0
  • 2
    @theabbie Sorry, correct answer is option 790
  • 2
    Maybe add cybersecurity questions (or a trivia source)? 😄
  • 1
    @linuxxx Do you know any API? or, is someone interested in contributing questions?
  • 0
    @linuxxx These are the available categories
  • 0
  • 2
    @ZeldaFan69-2 Which of the following is NOT a magic predefined constant?

    🔹 810. __LINE__
    🔹 811. __FILE__
    🔹 812. __DATE__
    🔹 813. __CLASS__

    3533a09d2b1f9621c157f0b7ee7299572e8e9ffdd2dd1b9d6fb41947384a82dcba14556c05bad83df8a29fa17809e245Fga4l13dvagO8jkPg7VvbQ==
  • 0
  • 2
    @ZeldaFan69-2 Sorry, correct answer is option 812
  • 0
  • 2
    @vintprox Which the the currently accepted best practice method for hashing passwords to hash passwords?

    🔹 830. bcrypt()
    🔹 831. md5()
    🔹 832. hash()
    🔹 833. encode()

    e141b7edfb6dd294feedf0e4c7de96a4982b1e14065a12ad1630fc81e4cbb1facc4721b3fae799086ccacbbc543c4a8ePNWNaTGjqqP0NfoYcTe+CQ==
  • 0
  • 2
    @vintprox 🏆 🥳 🎉
  • 0
  • 2
    @vintprox What does 'become: yes' mean in Ansible playbooks?

    🔹 850. It means that the command must be retried until it succeeds
    🔹 851. It means that the service needs to be started once installed
    🔹 852. It means that the worker node should become a manager node
    🔹 853. It means that we would run all commands as root

    0998e231e691683a9207594df1176bc3bae0276a85cdea406622b5b3ca2396ae86cbf5c9665b7065d4843c424d6b89c376DVi716wp1f190p7GUJUQ==
  • 0
  • 1
    @vintprox You have to reply to her
  • 0
  • 2
    @vintprox 🏆 🥳 🎉
  • 0
  • 1
    @ZeldaFan69-2 Multiple inheritance is supported in PHP.

    🔹 870. True
    🔹 871. False

    d9eefcdf96fbbe8df211d0f03a6a0dfb90a9d93b5fd4dc677898a35c1bdfc74c6cf6bb2302262c383562f212b45de724L5Hu+JBZH8+P7i4G33nGzg==
  • 0
  • 1
    @ZeldaFan69-2 🏆 🥳 🎉
  • 3
    @theabbie
    What the hell is this?

    `var correct = +encryptor.decrypt(msg.rto[Math.floor(guess / 10)].text.split("\n").reverse()[0]);`

    Rhetorical question.
    Split it up and clean it.
  • 0
    @Root It's pretty much understandable, the option id is of the form {ques. no}{opt. no}

    so, option 652 means 65 th question and 2nd option. Flooring 652/10 will give 65, so, It fetches 65th comment, extracts the last line, which is the encrypted answer, decrypts it, and done. I could split it up, but that makes it more difficult to understand, atleast for me.
  • 0
    @Alice This is just a curated list gathered from various sources, you can opt out.
  • 1
    @theabbie idea: maybe encrypt question number with answer number and salt, then make bot to accept answer from 1 to last?
  • 0
    @vintprox The question number in option ID is necessary to determine which question is being answered. so, if multiple people requested questions, just option number would not be enough to determine which question is being answered. with current method, if option ID is 652, it fetches the 65th comment, and decrypts the answer. The Bot is flawless currently.
  • 0
  • 1
    @vintprox Can I generate DLL files from PHP scripts like i can in Perl ?

    🔹 890. False
    🔹 891. True

    29e36711a3f8f44579329520846039329a40fae6b6c4cf2437ee475559732149a9ce35d2487140a2ca9d4d99f26c6e7aG4R6JDo/cExa1LzMcgQUdg==
  • 0
  • 0
  • 0
  • 1
    @vintprox MySQL comes with a standard client libraries for:

    🔹 900. C Only
    🔹 901. PHP And C
    🔹 902. Perl, Java And C
    🔹 903. Java Only

    2d2fe8da83912e0bc0ecdb4462d7225e807c0f138986689265b8123369accb7d9fb3ed7690ac6101cd5056ad307e640eWCcTvoE4t4nAggSnBk+DxA==
  • 1
    @vintprox Sorry, correct answer is option NaN
  • 1
    @vintprox What are the types of links in Linux?

    🔹 900. soft and hard links
    🔹 901. open and close links
    🔹 902. in-line and external links
    🔹 903. links and highlights

    31bda135fa7dcd4843defa3c9948faea69ad2960777f2219cac209daf7836bcdc2af21b67fd436354a1703702ab664e9aYZh1aWKrfGVhZGNUpB5FA==
  • 0
    what? still NaN, I can't fix it now
  • 1
    @theabbie Can you please make it ignore questions without answers and search for next, just to be really clear it's flawless?
  • 0
  • 0
    @vintprox 🏆 🥳 🎉
  • 1
    @theabbie oh my, look, it doesn't increase question number for whatever reason. Conflict
  • 0
    @vintprox okay, I understood, It breaks if same person calls it multiple times at once in same rant
  • 0
  • 1
    @theabbie Which command is used to access a running container?

    🔹 940. docker exec -it container_id bash
    🔹 941. docker fetch container
    🔹 942. docker run container_id bash
    🔹 943. docker login container_id

    4a503e89f0b85e1db34aeb49b164c178c34e14dbb47887564f09715916f876ec91062df109238db35d5cda6601065bb3RzUbaemHhOt4WWG5xH8KTw==
  • 0
  • 1
    @theabbie Sorry, correct answer is option 940
  • 1
    @vintprox Fixed that, it keeps checking till answer exists
  • 0
  • 1
    @theabbie How do you write "Hello World" in PHP

    🔹 960. echo "Hello World";
    🔹 961. Document.Write("Hello World");
    🔹 962. "Hello World";
    🔹 963. display "Hello World";

    e66adc254cb102a2e2c646a473982f342db035e878ab4a8cb45e0ea6d8cc3a5f6f512484b36f4e62ede39867da03a2adA1DKAFOb6S3yQqH3dTTbdQ==
  • 0
  • 1
    @theabbie 🏆 🥳 🎉
  • 0
  • 1
    @ZeldaFan69-2 Inside which HTML element do we put the JavaScript?

    🔹 980. <javascript>
    🔹 981. <script>
    🔹 982. <js>
    🔹 983. <scripting>

    ac2c3e9c32bcd3699b8ede94324c64f084f4096d611ebf5b48326b71cc84556cd2216ff857c20f97dbc5a39f29e2bdbaUFFFOaon8bU2X16AxIcFtw==
  • 0
  • 1
    @ZeldaFan69-2 🏆 🥳 🎉
  • 0
  • 1
    @theabbie What are categories in WordPress.

    🔹 1000. Categories allow a user to divide its content into different sections.
    🔹 1001. Categories allow a user to merge its content from different sections.
    🔹 1002. Categories allow a user to list out all the contents

    dd324989bc445312535735ed1527a16b92c74fbdde9c4ff54149918f6ef13c2b6007344b0bf13b3c1c6a5a85f300ede8S5Kk7SJJiN+DdZRTYhHOUw==
  • 2
  • 1
    @theabbie 🏆 🥳 🎉
  • 0
  • 1
    @theabbie Which of the following adds a checkmark Icon inside an Input?

    🔹 1020. Help-block
    🔹 1021. Has-warning
    🔹 1022. Has-feedback
    🔹 1023. Has-success

    fd2f74280bc2b95a565e6fd53e978fc247fee64209756e6ceda6f7749c44b518f8094d57573810636441258e0c32174dlMCyqvBrf3Hfltprq0DdwQ==
  • 0
  • 1
    @theabbie Sorry, correct answer is option 1021
  • 0
  • 1
    @theabbie A Docker container is an instance of an image with a specific configuration.

    🔹 1040. True
    🔹 1041. False

    f48f1837c29f44cf50b1cba7aef0ed2c1db7c4dd7a7a2c155ec97250e87abe6cc765bf96f4e2a07c5f65eb068967b1cdklV6qJhmXZkBOLEq6BRV7Q==
  • 0
  • 1
    @theabbie 🏆 🥳 🎉
  • 0
  • 1
    @p100sch How to show the history of a docker image with the image name mentioned in the command.

    🔹 1060. $ docker history httpd
    🔹 1061. $ docker history http --s
    🔹 1062. $ docker history http

    858668604250909865f9166fc9ebe5fb3d6e35a61c417840a8602d6b633dca271e2308813776f26abaef24c419ebbfb4pCHupawV4XDIdp/+SOhXYg==
  • 0
  • 1
    @p100sch Sorry, correct answer is option 1060
  • 0
  • 1
    @MySlugLikesSalt Which command can you use to re-execute a previous command?

    🔹 1080. !cat
    🔹 1081. !!
    🔹 1082. !a
    🔹 1083. !3

    63e546192e99cd7de10ff6cac289fab53cf8d080b36745144ae5b93e176a31852636dfd6d671b6d3bb593c553a2a5ad0DKDpIckSSymrqUucAv+rRQ==
  • 0
  • 1
    @theabbie 🏆 🥳 🎉
  • 0
  • 1
    @epictern it's down, all my bots are down
  • 0
  • 1
    @lmddgtfy bots are down?
  • 1
Add Comment