Skip to content

Instantly share code, notes, and snippets.

View iosifnicolae2's full-sized avatar

Iosif Nicolae iosifnicolae2

View GitHub Profile
@iosifnicolae2
iosifnicolae2 / Readme.md
Last active June 23, 2022 18:35
Scraping Google Play Reviews

Installation

python3 -m pip install google-play-scraper

Run

python3 main.py

Open the output CSV file by dropping it on Google Drive.

@iosifnicolae2
iosifnicolae2 / Readme.md
Last active March 12, 2024 19:42
Youtube is Boring

How To Make Youtube Less Boring

Tutorial: https://www.youtube.com/watch?v=hIqMrPTeGTc
Paste the below code in your browser console (F12 > Console):

(()=>{
    markAllVideosAsNotBeingInteresting({
        iterations: 1
    });
})();

This script might work only on Linux Mint.
If you notice a problem with the script, please send me an email to iosif@mailo.dev

Instructions:

wget https://gist.githubusercontent.com/iosifnicolae2/510af583cffffbd755ef1fb747f769ad/raw/0c2709127d201816e4b37584fcab42e29095a5de/setup_linux.sh
chmod +x ./setup_linux.sh
./setup_linux.sh
@iosifnicolae2
iosifnicolae2 / index.html
Last active April 15, 2024 02:26
Whatsapp Floating Button
<a href="https://wa.me/40123456789?text=hi" style="
position: fixed;
width: 60px;
height: 60px;
bottom: 32px;
right: 33px;
background-color: #25d366;
color: #FFF;
border-radius: 50px;
text-align: center;
# install homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install git
brew install node
brew install wget
brew install watchman
brew install yarn
brew install openssl
  1. Make sure to include dj-database-url==0.5.0 in your requirements.txt file.
  2. Add the following line at the bottom of settings.py file:
    import os
    import dj_database_url
    if 'DATABASE_URL' in os.environ:
        DATABASES = {
            'default': dj_database_url.parse(os.environ['DATABASE_URL'], conn_max_age=600)
        }
@iosifnicolae2
iosifnicolae2 / Dockerfile
Last active March 2, 2020 16:48
Django Dockerfile example
FROM python:3.6.5-alpine
WORKDIR /src
RUN apk upgrade --update-cache --available
RUN apk update
# Install bash
RUN apk add bash
#include <avr/interrupt.h>
//COMMON CATHODE
// define the way to activate 7 Segment leds
byte segment7code[] = {
0b00111111, // 0
0b00000110, // 1
0b01011011, // 2
#include <avr/interrupt.h>
//COMMON CATHODE
byte segment7code[] = {
0b00111111, // 0
0b00000110, // 1
0b01011011, // 2
0b01001111, // 3
## Simple Vitamin week
12/31 - 01/06
01/07 - 01/13
01/14 - 01/20
01/21 - 01/27
01/28 - 02/03
02/04 - 02/10
02/11 - 02/17
02/18 - 02/24
02/25 - 03/03