Skip to content

Instantly share code, notes, and snippets.

View foufrix's full-sized avatar

foufrix foufrix

View GitHub Profile
# Set the base image to Node 18
FROM node:18
# File Author / Maintainer
# Update the repository sources list
RUN apt-get update && apt-get upgrade -y
# Install Chromium
foufrix / bash
Last active June 13, 2022 15:18
Ohmyzsh Antigen config
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See
foufrix /
Last active October 13, 2017 07:35
Algolia Firebase Python Import
#Install algoliasearch, pyrebase and use Python 3
from algoliasearch import algoliasearch
import pyrebase
import json
import time
# Algolia config
client = algoliasearch.Client("Id", "Apikey")
index = client.init_index('YourIndex')