Skip to content

Instantly share code, notes, and snippets.

@leocomelli
leocomelli / git.md
Last active May 9, 2024 01:22
Lista de comandos úteis do GIT

GIT

Estados

  • Modificado (modified);
  • Preparado (staged/index)
  • Consolidado (comitted);

Ajuda

@ideoforms
ideoforms / sox-cheat-sheet.sh
Last active May 9, 2024 01:19
sox cheat sheet
################################################################################
# sox cheat sheet
################################################################################
# Example commands for the sox command-line audio processing tool,
# for manipulating or batch processing audio files.
################################################################################
# Daniel Jones <dan-web@erase.net>
################################################################################
################################################################################
@irazasyed
irazasyed / outbound-email-with-cloudflare.md
Last active May 9, 2024 01:14
Using Gmail SMTP with Cloudflare Email Routing: A Step-by-Step Guide

Using Gmail SMTP with Cloudflare Email Routing: Step-by-Step Guide

Learn how to send emails through Gmail SMTP with Cloudflare Email Routing in this comprehensive guide.

Step 1: Enable 2-Factor Authentication

To proceed with this method, ensure that you have enabled two-factor authentication for your Google account. If you haven't done so already, you can follow the link to set it up → Enable 2FA in your Google account.

Step 2: Create an App Password for Mail

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active May 9, 2024 01:14
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This no longer works in browser!

Note

This no longer works if you're alone in vc! Somebody else has to join you!

How to use this script:

  1. Accept the quest under User Settings -> Gift Inventory
@aperfect
aperfect / CloudKit.swift
Created April 13, 2023 08:52
CloudKit server-to-server Swift authentication example
// Swift example for Apple CloudKit server-to-server token authentication
// See: https://developer.apple.com/library/archive/documentation/DataManagement/Conceptual/CloudKitWebServicesReference/SettingUpWebServices.html#//apple_ref/doc/uid/TP40015240-CH24-SW6
import Foundation
import CryptoKit
import Network
// Set up your body JSON
@smching
smching / app_mqtt_mysql_completed.js
Last active May 9, 2024 01:12
Node.js application: Store messages from Mosquitto MQTT broker into SQL Database (completed)
var mqtt = require('mqtt'); //https://www.npmjs.com/package/mqtt
var Topic = '#'; //subscribe to all topics
var Broker_URL = 'mqtt://192.168.1.123';
var Database_URL = '192.168.1.123';
var options = {
clientId: 'MyMQTT',
port: 1883,
//username: 'mqtt_user',
//password: 'mqtt_password',
@Danga1963
Danga1963 / WRP IPTV.m3u
Last active May 9, 2024 01:12
WRP IPTV.m3u
#EXTM3U
#EXTINF:-1 tvg-id="" tvg-name="BigBrotherBrasil 2018" tvg-logo="http://bbb2018.net/wp-content/uploads/2017/08/bbb-2018.png" group-title="VARIEDADES",BigBrotherBrasil 2018
http://painel.iptvmove.com:25461/live/danga07/1963/1116.m3u8
#EXTINF:-1 tvg-id="" tvg-name="BigBrotherBrasil 2018 [Alter]" tvg-logo="http://bbb2018.net/wp-content/uploads/2017/08/bbb-2018.png" group-title="VARIEDADES",BigBrotherBrasil 2018 [Alter]
http://painel.iptvmove.com:25461/live/danga07/1963/3128.m3u8
#EXTINF:-1 tvg-id="A&E [Brazil]" tvg-name="A&E" tvg-logo="http://i.imgur.com/7NKeRuh.png" group-title="DOCUMENTARIOS",A&E
http://painel.iptvmove.com:25461/live/danga07/1963/1354.m3u8
#EXTINF:-1 tvg-id="" tvg-name="ALL Sports HD" tvg-logo="https://i0.wp.com/www.simpletvbrasil.tv/cliente/logo/4366c67d4d4be3381abe034e7c15b80e.png" group-title="CANAIS ESPORTE",ALL Sports HD
http://painel.iptvmove.com:25461/live/danga07/1963/1215.m3u8
#EXTINF:-1 tvg-id="" tvg-name="AMC" tvg-logo="http://i.imgur.com/JYislkb.png" group-title="FILMES/SERI
@martijnvermaat
martijnvermaat / nixos.md
Last active May 9, 2024 01:11
Installation of NixOS with encrypted root
@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
@jonilsonds9
jonilsonds9 / Instalar-zsh-e-componentes-ubuntu-22.04.md
Last active May 9, 2024 01:11
ZSH + Oh My Zsh + powerlevel10k + Fonts no Ubuntu 22.04

ZSH + Oh My Zsh + powerlevel10k + Fonts no Ubuntu 22.04

1. Instalar ZSH:

sudo apt-get install zsh

2. Instalar via curl, instale o mesmo se não tiver:

sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"