This file contains 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
FROM alpine | |
RUN apk add stress-ng | |
ENTRYPOINT ["stress-ng"] |
This file contains 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
javascript:(function () { | |
if (document.getElementsByTagName("head")[0].textContent.includes("Drone")) { | |
var style = document.createElement('style'), | |
styleContent = document.createTextNode('html{filter:invert(.85)}[class^=\"sidebar_wrapper\"],[class^=\"log-view\"]{filter:invert(1)}'); | |
style.appendChild(styleContent); | |
document.getElementsByTagName('head')[0].appendChild(style); | |
} else { | |
window.location = "https://drone.domain.com/"; | |
} | |
})(); |
This file contains 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
from lxml import etree | |
from datetime import datetime as dt | |
def parseTwo(node, n, key1, key2, tup=False): | |
ns = {"namespaces": node.nsmap} | |
_key1 = node.find(f"{n}:{key1}", **ns).text | |
_key2 = node.find(f"{n}:{key2}", **ns).text | |
return {_key1: _key2} if not tup else (_key1, _key2) | |
def parseCommodity(node, tup=False): |
This file contains 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
{ | |
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json", | |
"basics": { | |
"name": "Adyanth Hosavalike", | |
"label": "Software Development Engineer", | |
"image": "https://adyanth.dev/images/dp.webp", | |
"email": "me@adyanth.dev", | |
"phone": "+1 (858) 933-7214", | |
"url": "https://adyanth.site/", | |
"summary": "A passionate software engineer and tech enthusiast with profound knowledge in the field of computer programming, software architecture and networking and a developed sense of inquisitiveness in the Linux kernel and orchestration.", |
This file contains 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: Docker Image CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: |
This file contains 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
from cryptography.hazmat.primitives import serialization | |
from cryptography.hazmat.primitives.asymmetric import rsa | |
from cryptography import x509 | |
from cryptography.hazmat.primitives import hashes | |
from cryptography.x509.oid import NameOID | |
import datetime | |
from base64 import b64encode | |
from typing import Tuple, List |
This file contains 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
FROM ubuntu | |
RUN apt update && apt install wget unzip expect socat -y | |
WORKDIR /filite | |
RUN wget https://github.com/raftario/filite/releases/latest/download/Linux.zip && \ | |
unzip Linux.zip && \ | |
rm Linux.zip && \ | |
mv Linux/filite . && \ |
This file contains 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
version: "3.8" | |
services: | |
mongo-db: | |
image: mongo | |
environment: | |
MONGO_INITDB_ROOT_USERNAME: root | |
MONGO_INITDB_ROOT_PASSWORD: root_password | |
mongo-ui: | |
image: mongo-express |