Skip to content

Instantly share code, notes, and snippets.

View data4sci's full-sized avatar

Robert Samarek data4sci

  • VSB - Technical University of Ostrava
  • Ostrava, Czech Republic
View GitHub Profile
@data4sci
data4sci / ray-ban-meta-vpn.md
Last active October 26, 2025 11:54
Ray-Ban-Meta

How to Activate the Ray-Ban Meta Smart Glasses Outside the US or Canada

A comprehensive guide to setting up a secure VPN tunnel to a VPS in the cloud in the US or Canada to activate the full feature set of the Meta Ray-Ban smart glasses.

Disclaimer

This guide is not intended to violate Meta’s terms of service. If you do not meet their geographic requirements, please follow the applicable rules. The instructions here can be used for those who are genuinely eligible (e.g., U.S. or Canadian residents temporarily abroad) or for educational purposes to understand how VPNs work.

Introduction

@data4sci
data4sci / table_names.sql
Created August 18, 2022 11:34
get table names from postgres database
SELECT table_name
FROM information_schema.tables
WHERE table_schema='public'
AND table_type='BASE TABLE';
@data4sci
data4sci / change_gitignote.md
Created August 18, 2022 07:38
change .gitignore
  1. Make changes in .gitignore file.
  2. git rm -r --cached .
  3. git add .
  4. git commit -m "Commit message"
from pytube import YouTube
YouTube('yt_URL').streams.filter(progressive=True, file_extension='mp4').order_by('resolution').desc().first().download()
less -N +F <filename>
@data4sci
data4sci / compade_df.py
Created June 10, 2021 09:35
porovnání dvou df
df.compare(df2, align_axis=0)
@data4sci
data4sci / enumerate.sh
Created June 10, 2021 09:35
očíslovat/spočítat řádky na stdout pomocí grep
cat file.txt | grep -n ""
#nebo
neco_s_vystupem | cat -n
@data4sci
data4sci / find.sh
Created June 10, 2021 09:34
find a file recursively by name
find . -name "foo*"
@data4sci
data4sci / gdrive
Created June 10, 2021 09:33
připojení Google Drive do systému (Linux Mint / Ubuntu)
# <https://www.reallinuxuser.com/how-to-install-and-setup-google-drive-on-linux-mint/>
@data4sci
data4sci / mac.sh
Created June 10, 2021 09:31
MAC address #bash
cat /sys/class/net/wlo1/address
cat /sys/class/net/*/address #všechny adaptéry