Skip to content

Instantly share code, notes, and snippets.

View raghu-icecraft-fullstack's full-sized avatar

Raghu raghu-icecraft-fullstack

  • Bangalore, India
View GitHub Profile
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"data-dic-app": {
"projectType": "application",
"schematics": {},
"root": "",
"sourceRoot": "src",
@raghu-icecraft-fullstack
raghu-icecraft-fullstack / twitter_scrape.py
Last active March 9, 2025 23:20
Twitter scraping example
"""
Original code is from pythoncircle.com
https://www.pythoncircle.com/post/522/python-script-7-scraping-tweets-using-beautifulsoup/#new_comment_522
Modern python is good to go with Python 3.*
Python 2.7 is nearing End of Life soon.
Error Observed
"bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: lxml. Do you need to install a parser library?
"
@raghu-icecraft-fullstack
raghu-icecraft-fullstack / config.nginx-pomerium.yaml
Last active October 15, 2019 19:02
nginx-pomerium combined example from pomerium docs, Reference from https://www.pomerium.io/docs/reference/examples.html#docker
##### Main reference is https://www.pomerium.io/docs/reference/examples.html#docker
# Main configuration flags : https://www.pomerium.io/docs/reference/reference/
#
# address: ":8443" # optional, default is 443
pomerium_debug: true # optional, default is false
# service: "all" # optional, default is all
# log_level: info # optional, default is debug
authenticate_service_url: https://authenticate.company.com
@raghu-icecraft-fullstack
raghu-icecraft-fullstack / config.yaml
Created October 14, 2019 20:01
nginx standalone with certbot for automatic certs renewal, pomerium-proxy at port 9001 with Google IDP
authenticate_service_url: https://authenticate.company.com:9001
idp_provider: google
idp_client_id: Some generated id
idp_client_secret: some secret
policy:
- from: https://internal.company.com:9001