Skip to content

J-sephB-lt-n/useful-code-snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

useful-code-snippets

A searchable collection of useful little pieces of code

I'm saving any sort of useful fragment of code in this repo.

You can do a basic keyword search across all of the scripts using search.py, for example:

python search.py "google cloud bigquery to cloud storage"

Your query is compared against the script tags (tags are at the top of each code snippet script).

Words joined by underscore in the search query are considered a single phrase e.g. google_cloud_storage is interpreted by the search as "google cloud storage"

Current code snippets available:

── snippets
│   ├── bash
│   │   └── gcp
│   │       └── setup_python_on_ec2_virtual_machine.sh
│   └── python
│       ├── dashboard
│       │   ├── dash
│       │   │   ├── dash_basic_auth.py
│       │   │   ├── dash_element_tiling.py
│       │   │   └── dash_multi_tab_app.py
│       │   └── streamlit
│       │       ├── streamlit_layout_tiling_example.py
│       │       └── streamlit_on_gcp_cloud_run.md
│       ├── data
│       │   └── native_groupby_agg.py
│       ├── gcp
│       │   ├── all_bigquery_tables_to_cloud_storage_jsonl.py
│       │   ├── bigquery_to_local_jsonl.py
│       │   └── upload_file_to_cloud_storage_bucket.py
│       ├── graph
│       │   └── find_connected_node_paths.py
│       ├── misc
│       │   ├── code_section_timer.py
│       │   └── dict_pretty_print.py
│       ├── nlp
│       │   └── text_to_bag_of_words_nltk.py
│       └── spark
│           └── html_word_counter_gcp_dataproc_gcp_cloud_storage_bs4_pyspark.md