Skip to content

Instantly share code, notes, and snippets.

View smowtion's full-sized avatar

Smowtion smowtion

View GitHub Profile
@andrewmcodes
andrewmcodes / iOS Shortcuts Catalog.md
Created June 11, 2021 21:47 — forked from brucebentley/iOS Shortcuts Catalog.md
This is a public resource designed to help people get started with Siri Shortcuts & the Shortcuts app. It’s made up of the Shortcuts Library, a collection of over 125+ shortcuts grouped into folders, and the Action Directory, a documentation of 125+ of the actions in the Shortcuts app used to build shortcuts.

Bruce's iOS Shortcut Catalog

Hello and welcome to my Shortcuts Catalog!

This is a public resource designed to help people get started with Siri Shortcuts and the Shortcuts app.

It’s made up of the Shortcuts Library, a collection of over 125+ shortcuts grouped into folders, and the Action Directory, a documentation of 125+ of the actions in the Shortcuts app used to build shortcuts.

Enjoy!

@andrekutianski
andrekutianski / all-in-one-mail-servers-list.md
Last active October 17, 2024 07:48
All-In-One Mail Servers List

Português

Uma lista com os servidores e serviços de e-mail tudo-em-um que encontrei e parecem ser promissores para uso em ambientes reais e em produção.

Porque esta lista existe?

Esta lista vem da necessidade de compilar os serviços que podem ou poderiam ser utilizados de forma viável em um cenário real, seja para hospedar suas próprias caixas de e-mail de forma não centralizada e a baixo custo ou seja para fornecer elas como serviço, agregando em provedores de hospedagem entre outros.

Ela também vem de encontro com minha busca por boas ferramentas para gerir um servidor de e-mail além das tradicionais e monoliticas soluções como Zimbra ou cPanel por exemplo, pois estou cansado de depender de provedores tradicionais e suas limitações e também a serviços que dependam de anos de conhecimento e experiência como SysAdmin para poder gerir.

@AIAnytime
AIAnytime / disable_gpu.py
Created February 23, 2021 09:03
How to disable GPU with TensorFlow?
try:
# Disable all GPUS
tf.config.set_visible_devices([], 'GPU')
visible_devices = tf.config.get_visible_devices()
for device in visible_devices:
assert device.device_type != 'GPU'
except:
# Invalid device or cannot modify virtual devices once initialized.
pass
@brucebentley
brucebentley / iOS Shortcuts Catalog.md
Last active October 31, 2024 21:59
This is a public resource designed to help people get started with Siri Shortcuts & the Shortcuts app. It’s made up of the Shortcuts Library, a collection of over 125+ shortcuts grouped into folders, and the Action Directory, a documentation of 125+ of the actions in the Shortcuts app used to build shortcuts.

Bruce's iOS Shortcut Catalog

Hello and welcome to my Shortcuts Catalog!

This is a public resource designed to help people get started with Siri Shortcuts and the Shortcuts app.

It’s made up of the Shortcuts Library, a collection of over 125+ shortcuts grouped into folders, and the Action Directory, a documentation of 125+ of the actions in the Shortcuts app used to build shortcuts.

Enjoy!

@nfsarmento
nfsarmento / nginx-wordpress.conf
Last active November 5, 2024 05:23
Harden wordpress security nginx
############ WordPress ####################
# Disable logging for favicon and robots.txt
location = /favicon.ico {
try_files /favicon.ico @empty;
access_log off;
log_not_found off;
expires max;
}
@chrisswanda
chrisswanda / WireGuard_Setup.txt
Last active October 14, 2024 11:22
Stupid simple setting up WireGuard - Server and multiple peers
Install WireGuard via whatever package manager you use. For me, I use apt.
$ sudo add-apt-repository ppa:wireguard/wireguard
$ sudo apt-get update
$ sudo apt-get install wireguard
MacOS
$ brew install wireguard-tools
Generate key your key pairs. The key pairs are just that, key pairs. They can be
@AZcaptcha
AZcaptcha / curl.php
Last active January 27, 2021 16:52
Simple captcha curl from azcaptcha.com
<?php
/**
Curl with image captcha from AZcaptcha.com
document https://azcaptcha.com/document
*/
$file_name_with_full_path = './dataset/cap_img_1_.jpg';
echo "<img src='$file_name_with_full_path' />";
$api_url = "http://azcaptcha.com";
@Tras2
Tras2 / cloudflare-ddns-update.sh
Last active November 14, 2024 03:50
A bash script to update a Cloudflare DNS A record with the external IP of the source machine
#!/bin/bash
# A bash script to update a Cloudflare DNS A record with the external IP of the source machine
# Used to provide DDNS service for my home
# Needs the DNS record pre-creating on Cloudflare
# Proxy - uncomment and provide details if using a proxy
#export https_proxy=http://<proxyuser>:<proxypassword>@<proxyip>:<proxyport>
# Cloudflare zone is the zone which holds the record
@ansulev
ansulev / install-3proxy-debian-ubuntu.sh
Last active December 7, 2023 08:49
Install 3proxy on Debian 9 or Ubuntu 16.4
#
# Install and configure 3proxy for Ubuntu 16.04 or Debian 9
#
# Update the system and install build tools + fail2ban
apt update -y && apt upgrade -y && apt dist-upgrade -y
apt autoremove -y && apt autoclean -y && apt clean -y
apt -y install fail2ban software-properties-common
apt install -y build-essential libevent-dev libssl-dev
@mutin-sa
mutin-sa / Top_Public_Recursive_Name_Servers.md
Last active November 14, 2024 20:22
List of Top Public Recursive Name Servers

DNS:

IPv4 Addr IPv6 Addr ASn Political Region Loc Svc Org
8.8.8.8 2001:4860:4860::8888 AS15169 US Worldwide (Anycast) Google Public DNS Google
8.8.4.4 2001:4860:4860::8844 AS15169 US Worldwide (Anycast) Google Public DNS Google
1.1.1.1 2606:4700:4700::1111 AS13335 US Worldwide (Anycast) Cloudflare-DNS Cloudflare/APNIC
1.0.0.1 2606:4700:4700::1001 AS13335 US Worldwide (Anycast) Cloudflare-DNS Cloudflare/APNIC
95.85.95.85 2a03:90c0:999d::1 AS199524 EU *W