Skip to content

Instantly share code, notes, and snippets.

View TwistingTwists's full-sized avatar
💭
Elixir | Rust

Abhishek Tripathi TwistingTwists

💭
Elixir | Rust
View GitHub Profile
[
{
"question": " India\u2019s first observatory for the Gangetic dolphins is being set up in Bihar, consider the following statements regarding Gangetic dolphins:~~~~1. It is listed as Critically Endangered in the IUCN Red List.~~~~2. It can only live in freshwater and is essentially blind.~~~~3. It is an indicator species for the river ecosystem.~~~~Which of the statements given above is/are correct?~~~~a) 1 and 2 only~~~~b) 2 and 3 only~~~~c) 1 and 3 only~~~~d) 1, 2 and 3~~~~",
"choices": [" A \n", "B \n ", "C \n", "D \n"],
"correct": "b",
"id": "1"
},
{
"question": " If the Parliament of India has made two laws regulating the functions of the police and the salaries and allowances of the ministers in the State of Madhya Pradesh, then under which of the following circumstances such a law would be considered valid?~~~~1. President\u2019s Rule is in operation in Madhya Pradesh.~~~~2. The law is necessary to give effect to an international treaty.~~~~3. India is under Financial Emerg
@TwistingTwists
TwistingTwists / Geography.txt
Created July 12, 2020 06:25
Geography NCERT questions
#the file contains questions as post by one of my friends.
Geography NCERT Questions
Tuesday, 27 March 2018
7:49 PM
GEOGRAPHY NCERT QUESTIONS
• LEARN CROP CONDITIONS 
• Revise general atmospheric circulation chapter
@TwistingTwists
TwistingTwists / macroWord.md
Last active May 13, 2020 03:40
Useful Commands for word macro
@TwistingTwists
TwistingTwists / Apr 2019 to April 2020 rau dns.md
Last active May 16, 2020 13:59
rau dns descriptions with links
@TwistingTwists
TwistingTwists / .aliases
Last active April 4, 2020 13:16
for pdfgrep functionality from terminal
pres () {
# to include all subfolder for search.
it="$2"
#pdfgrep -n -> for printing page number
case "$it" in
"y") echo "Searching Mains test series too" && find . -name "*.pdf" -print0 | xargs -0 pdfgrep -inH --cache "$1" ;;
"n") echo "Only in monthlies " && pdfgrep -inH "$1" --cache *.pdf ;;
*) find . -name "*.pdf" -print0 | xargs -0 pdfgrep -inH --cache "$1" ;;
module Simple exposing (main)
{-| This is a simple `Arborist` app showing a basic conversation flow
-}
import Arborist
import Arborist.Settings as Settings
import Arborist.Tree as Tree
import Browser
import Html exposing (div, text)
@TwistingTwists
TwistingTwists / Edutap.json
Last active November 2, 2019 05:00
edutap 25 rbi grade b phase 1 questions.
[
{
"question": "Q.1)The 1st Co-Origination partnership of Central Bank of India is with which NBFC\n\nfor Priority Sector Lending to MSME sector?\n\n[1] Bajaj Holdings & Investment Limited\n\n[2] Muthoot Capital Services Limited\n\n[3] ECL Finance Limited\n\n[4] Tata Investment Corporation Limited\n\n[5] Credila Financial Services Private Limited\n\nAns",
"choices": [
"[1] Bajaj Holdings & Investment Limited\n",
"[2] Muthoot Capital Services Limited\n",
"[3] ECL Finance Limited\n",
"[4] Tata Investment Corporation Limited\n",
"[5] Credila Financial Services Private Limited\n"
],
{
"__type__": "Deck",
"children": [],
"crowdanki_uuid": "269bb4d0-e9e8-11e9-8930-14c2130fea2c",
"deck_config_uuid": "26a00a4c-e9e8-11e9-a4f6-14c2130fea2c",
"deck_configurations": [
{
"__type__": "DeckConfig",
"autoplay": true,
"crowdanki_uuid": "26a00a4c-e9e8-11e9-a4f6-14c2130fea2c",
@TwistingTwists
TwistingTwists / RandomToTask.elm
Created October 6, 2019 11:13 — forked from JoelQ/RandomToTask.elm
Turn an Elm random generator into task, allowing it to be chained with other side effects.
-- 0.19
randomToTask : Generator a -> Task Never a
randomToTask generator =
Time.now
|> Task.map (Tuple.first << Random.step generator << Random.initialSeed << Time.posixToMillis)
-- 0.18
module ID exposing (ID(..), decodeFromString, decoder, encode, encodeAsString, fromInt, toInt, toString)
import Json.Decode as Decode exposing (Decoder)
import Json.Encode as Encode exposing (Value)
{-| This type ensures you get a type error if you for example accidentally pass a UserId in place of a CompanyId
-}
type ID phantom
= ID Int