apt-transport-https
ca-certificates
curl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias ..='cd ..' | |
alias c='clear' | |
alias process='ps -eaf | grep ' | |
alias q='exit' | |
alias l='ls' | |
alias ll='ls -l' | |
alias ss='source ~/.bash_aliases' | |
alias path='echo -e ${PATH//:/\\n}' | |
alias ports='netstat -tulanp tcp' | |
alias meminfo='free -m -l -t' |
⛔️ Commands might be for older version. Please check software versions before running ⛔️
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const URLS = { | |
states: "https://cdn-api.co-vin.in/api/v2/admin/location/states", | |
vaccinationCenters: "https://cdn-api.co-vin.in/api/v2/appointment/sessions/public/calendarByDistrict" | |
} | |
async function api(url) { | |
const options = { | |
url: url, | |
method: "GET", | |
headers: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
touch app.js | |
npm init | |
npm install --save express |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "String", | |
"creditCardNumber": "String", | |
"expiryDate": "Date", | |
"cvv": "String", | |
"bank": "String", | |
"billingAddtess": { | |
"line1": "String", | |
"line2": "String", | |
"state": "String", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"context" | |
"fmt" | |
"log" | |
"go.mongodb.org/mongo-driver/mongo" | |
"go.mongodb.org/mongo-driver/mongo/options" | |
"go.mongodb.org/mongo-driver/x/bsonx" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const MongoClient = require('mongodb').MongoClient; | |
const assert = require('assert'); | |
var url = 'mongodb://localhost:27017'; | |
const dbName = 'test'; | |
const client = new MongoClient(url, { useUnifiedTopology: true }); | |
client.connect(function(err) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: testpod | |
namespace: appveen | |
spec: | |
containers: | |
- name: test-container | |
image: k8s.gcr.io/busybox | |
args: [/bin/sh, -c, 'i=0; while true; do echo "$i: $(date)"; i=$((i+1)); sleep 1; done'] |
alias ..='cd ..'
alias c='clear'
alias process='ps -eaf | grep '
alias q='exit'
alias l='ls'
alias ll='ls -l'
alias ss='source ~/.bash_aliases'
alias path='echo -e ${PATH//:/\\n}'
alias ports='netstat -tulanp tcp'
NewerOlder