Skip to content

Instantly share code, notes, and snippets.

View iamsarvagyaa's full-sized avatar
🐢
moving slower

Sarvagya Sagar iamsarvagyaa

🐢
moving slower
View GitHub Profile
@iamsarvagyaa
iamsarvagyaa / cli.md
Last active January 25, 2023 22:41
cli cheat hacks
  • update, upgrade, and install packages in ubuntu
    sudo apt-get update && sudo apt-get upgrade && sudo apt-get install vim gcc make git curl wget jq tree -y
@iamsarvagyaa
iamsarvagyaa / config
Created February 15, 2022 17:15
Newsboat configuration file ...
# Feeds {{{
auto-reload no # disable autoreload feeds
reload-time 60 # reload time in minutes
article-sort-order desc # sort articles in descending order
browser "open %u >/dev/null 2>&1" # open articles in default browser
history-limit 100 # limit history to 100
download-timeout 60 # increase downloading feed timeout
download-retries 5 # increase retries of downloading feed
max-items 100 # limit articles to 100
show-read-articles yes # show all articles i.e read articles, unread articles
@iamsarvagyaa
iamsarvagyaa / h1reports
Last active July 21, 2021 05:39
HackerOne disclosed reports
https://hackerone.com/reports/1044285
https://hackerone.com/reports/1047086
https://hackerone.com/reports/1083421
https://hackerone.com/reports/1087061
https://hackerone.com/reports/1089467
https://hackerone.com/reports/1092230
https://hackerone.com/reports/1094702
https://hackerone.com/reports/1103258
https://hackerone.com/reports/1106238
https://hackerone.com/reports/1142918
@iamsarvagyaa
iamsarvagyaa / feeds.opml
Created June 29, 2021 04:52
Exported rss feeds - newsboat
<?xml version="1.0"?>
<opml version="1.0">
<head>
<title>newsboat - Exported Feeds</title>
</head>
<body>
<outline type="rss" xmlUrl="https://iamsarvagyaa.github.io/atom.xml" htmlUrl="https://iamsarvagyaa.github.io/" title="Sarvagya Sagar Blog"/>
<outline type="rss" xmlUrl="https://github.com/iamsarvagyaa.atom" htmlUrl="https://github.com/iamsarvagyaa" title="Sarvagya Sagar's Github Activity"/>
<outline type="rss" xmlUrl="https://feeds.feedburner.com/TheHackersNews" htmlUrl="https://thehackernews.com/" title="The Hacker News"/>
<outline type="rss" xmlUrl="https://news.ycombinator.com/rss" htmlUrl="https://news.ycombinator.com/" title="Hacker News Ycombinator"/>
@iamsarvagyaa
iamsarvagyaa / hackthebox-feed.sh
Created June 16, 2021 12:36
RSS feed generator for hackthebox blog ...
#!/bin/bash
# @iamsarvagyaa
# RSS feed for hackthebox blog
# Generate {{{
feed="https://www.hackthebox.eu/blog"
mapfile -t articles < <(lynx -dump -listonly "$feed" | grep "/blog/" | awk {'print $NF'} | uniq)
# }}}
# Header {{{
@iamsarvagyaa
iamsarvagyaa / keybase.md
Created December 26, 2020 13:19
My keybase signing key :)

Keybase proof

I hereby claim:

  • I am iamsarvagyaa on github.
  • I am iamsarvagyaa (https://keybase.io/iamsarvagyaa) on keybase.
  • I have a public key ASAF7WXMQ-FcSg84ocB73Ed3B6ZaHhTFcU2MydYD8pCOGQo

To claim this, I am signing this object: