Skip to content

Instantly share code, notes, and snippets.

View YugalXD's full-sized avatar
💭
yugalxd@github:~$ profile

Yugal Yadav YugalXD

💭
yugalxd@github:~$ profile
View GitHub Profile

Option 1: Command-line download extension as zip and extract

extension_id=jifpbeccnghkjeaalbbjmodiffmgedin   # change this ID
curl -L -o "$extension_id.zip" "https://clients2.google.com/service/update2/crx?response=redirect&os=mac&arch=x86-64&nacl_arch=x86-64&prod=chromecrx&prodchannel=stable&prodversion=44.0.2403.130&x=id%3D$extension_id%26uc" 
unzip -d "$extension_id-source" "$extension_id.zip"

Thx to crxviewer for the magic download URL.

@YugalXD
YugalXD / Readme.md
Created November 2, 2018 08:00
Simple Task 1
@YugalXD
YugalXD / README.md
Created March 9, 2018 20:32 — forked from leonardofed/README.md
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.

OP: @leonardofed founder @ plainflow.


@YugalXD
YugalXD / readme.md
Last active March 3, 2018 18:17
how to install popper in ubuntu

First install all these prerequisites for compiling:

sudo apt install g++ autoconf libfontconfig1-dev pkg-config libjpeg-dev libopenjpeg-dev gnome-common libglib2.0-dev gtk-doc-tools libyelp-dev yelp-tools gobject-introspection libsecret-1-dev libnautilus-extension-dev

First download the encoding files (no need to compile these) to the current working directory

wget https://poppler.freedesktop.org/poppler-data-0.4.7.tar.gz
@YugalXD
YugalXD / keybase.md
Created November 3, 2017 13:06 — forked from HyphenSam/keybase.md
Keybase proof.

Keybase proof

I hereby claim:

  • I am HyphenSam on github.
  • I am hyphensam (https://keybase.io/hyphensam) on keybase.
  • I have a public key whose fingerprint is F87A 01FD 74B6 4C9D 380C AAB9 E6EE EB28 86F1 2EBA

To claim this, I am signing this object:

@YugalXD
YugalXD / README.md
Created October 29, 2017 19:27 — forked from hofmannsven/README.md
My simply Git Cheatsheet
@YugalXD
YugalXD / s3bucketsize.py
Created June 6, 2017 14:26 — forked from robinkraft/s3bucketsize.py
Simple python script to calculate size of S3 buckets
import boto
s3 = boto.connect_s3(aws_id, aws_secret_key)
# based on http://www.quora.com/Amazon-S3/What-is-the-fastest-way-to-measure-the-total-size-of-an-S3-bucket
def get_bucket_size(bucket_name):
bucket = s3.lookup(bucket_name)
total_bytes = 0
n = 0
for key in bucket:
@YugalXD
YugalXD / send-receive-sqs.php
Last active April 18, 2017 17:41 — forked from fbrnc/send-receive-sqs.php
Sending and receiving messages from/to AWS SQS via PHP
<?php
// curl -sS https://getcomposer.org/installer | php
// php composer.phar require aws/aws-sdk-php
// export AWS_ACCESS_KEY_ID=...
// export AWS_SECRET_ACCESS_KEY=...
$queueUrl = '<INSERT_URL_OF_EXISTING_QUEUE_HERE>';
@YugalXD
YugalXD / LetsEncrypt.md
Created March 16, 2017 07:52 — forked from davestevens/LetsEncrypt.md
Let’s Encrypt setup for Apache, NGINX & Node.js

Let's Encrypt

Examples of getting certificates from Let's Encrypt working on Apache, NGINX and Node.js servers.

Obtain certificates

I chose to use the manual method, you have to make a file available to verify you own the domain. Follow the commands from running

git clone https://github.com/letsencrypt/letsencrypt
cd letsencrypt
@YugalXD
YugalXD / s3_rackspace_migrate.py
Created February 22, 2017 12:21 — forked from tony-landis/s3_rackspace_migrate.py
Migrate from S3 to Rackspace Cloud Files
#!/usr/bin/python
"""
S3 to Rackspace Cloud Files Migration
This script will copy the contents of a S3
bucket to to a Rackspace Cloud Files container.
Depends on the boto and python_cloudfiles python libraries.