Skip to content

Instantly share code, notes, and snippets.

View hussani's full-sized avatar

Hussani Oliveira hussani

View GitHub Profile
@clouedoc
clouedoc / Migrating from Arc to Zen Browser.md
Created September 20, 2024 08:57
Migrating from Arc to Zen Browser

A guide to leaving Arc for Zen Browser

The problem with Arc is that it doesn't allow exporting data (history, bookmarks) to a file natively.

One way to do this is to use a script but that only exports Bookmarks and not the history.

I don't really use the bookmarks feature that much; what I really liked about Arc was that it was really easy to navigate to somewhere I already visited.

So, if you're like me, follow this guide and you'll be able to import your browsing history into Zen browser!

@leomonteiro92
leomonteiro92 / cet.clj
Last active January 13, 2021 19:56
Cálculo CET em Clojure
;;CET (based on implementation of https://github.com/eduardordm/cet-java)
;; Run with inlein http://inlein.org
;; Download inlein and run ./inlein cet.clj
'{:dependencies [
[org.clojure/clojure "1.10.1"]
[clojure.java-time "0.3.2"]] }
(require '[java-time :as t])
(def CET_MAX_VALUE 10000.00)
@cpeel
cpeel / playlist-reconstructor.py
Last active December 9, 2020 22:09
Reconstruct your playlists from a Google Play Music Takeout export
#!/usr/bin/env python3
r"""
playlist-reconstructor.py will rebuild your Google Play Music (GPM) playlists
into a JSON file from a Google Takeout export.
To use this script:
1. Export your Google Play Music from https://takeout.google.com/settings/takeout
Yes, you have to download the whole thing. Google puts each playlist track into
its own individual .csv file and these are spread through the whole download
@dvf
dvf / change-codec.md
Last active July 7, 2025 11:42
Enable High Quality mode on your headphones (Updated for macOS Catalina)

If you're using a high-end bluetooth headset on your Macbook Pro it's likely your mac is using an audio codec which favors battery efficiency over high quality. This results in a drastic degradation of sound, the SBC codec is the likely culprit, read more about it here.

Find out what codec you're using

  1. Play a song on your headphones
  2. Option (⌥) click the Bluetooth button at the top of your screen Inspect the Bluetooth Coded
  3. If you're using AAC or aptX, you can stop here—those are the highest quality codecs.

Change your codec to AAC or aptX

@thecodenation
thecodenation / MentorGoCodenation.md
Created March 29, 2019 18:19
Está buscando por oportunidades de contribuir com a comunidade?

A Codenation está buscando tutores e mentores na comunidade de desenvolvimento com experiência em Go!

Trabalhamos com a capacitação de profissionais de tecnologia, usando metodologias de ensino baseadas em desafios (challenge-based learning). Oferecemos oportunidades de aprendizado online e presencial através da nossa plataforma, todas 100% gratuitas às pessoas selecionadas para a turma. Nossos próximos programas de aceleração necessitam de pessoas que tenham experiência de mercado com Go e que possuam boa comunicação para ministrar aulas e mentorar a turma.

As atividades são remuneradas, sendo que tanto as atividades de mentoria quanto as de tutoria exigem um tempo de dedicação aproximado de 6 a 8 horas por semana. Abaixo, destacamos as principais atribuições.

Mentoria:

  • Suporte nas atividades semanais (desafios, projeto final, dúvidas, etc.), conforme necessidade, via chat;
  • Realização do acompanhamento semanal com cada pessoa mentorada (cerca de 10 por mentor(a)). Essas
@hussani
hussani / ca.md
Created February 22, 2018 21:15 — forked from soarez/ca.md
How to setup your own CA with OpenSSL

How to setup your own CA with OpenSSL

For educational reasons I've decided to create my own CA. Here is what I learned.

First things first

Lets get some context first.

@klaaspieter
klaaspieter / ASS.md
Created June 22, 2017 07:59 — forked from anonymous/ASS.md
Acronyms Seriously Suck - Elon Musk

From time to time, Musk will send out an e-mail to the entire company to enforce a new policy or let them know about something that's bothering him. One of the more famous e-mails arrived in May 2010 with the subject line: Acronyms Seriously Suck:

There is a creeping tendency to use made up acronyms at SpaceX. Excessive use of made up acronyms is a significant impediment to communication and keeping communication good as we grow is incredibly important. Individually, a few acronyms here and there may not seem so bad, but if a thousand people are making these up, over time the result will be a huge glossary that we have to issue to new employees. No one can actually remember all these acronyms and people don't want to seem dumb in a meeting, so they just sit there in ignorance. This is particularly tough on new employees.

That needs to stop immediately or I will take drastic action - I have given enough warning over the years. Unless an acronym is approved by me, it should not enter the SpaceX glossary.

@ivanrosolen
ivanrosolen / vagaphp.md
Last active July 19, 2021 19:21
Vaga Dev PHP Pleno/Sênior

Descrição da vaga

Estamos com vagas para backend aqui na Arizona

Temos uma stack bem variada e gostamos de pensar fora da caixa, utilizando coisas inovadoras para facilitar o dia-a-dia.

Local

Presencial ou Remoto, Zona Sul, São Paulo - Rua Castro Verde, 98

@bdpwebdesign
bdpwebdesign / key_mapping.md
Last active November 16, 2024 05:48
Apple Magic Keyboard mapping for Linux Mint

Map an Apple Magic Keyboard to a Linux machine

Configured for a Mac-like experience

Apple Magic Keyboard 2: Model A1644 (same as MLA22LL/A ?)

Mapping for Linux Mint 18 Cinnamon 64-bit

xmodmap source

@muendelezaji
muendelezaji / bash-to-zsh-hist.py
Created October 5, 2016 14:18 — forked from op/bash-history-to-zsh-history.py
Convert Bash history to Zsh history
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# This is how I used it:
# $ cat ~/.bash_history | python bash-to-zsh-hist.py >> ~/.zsh_history
import sys
import time