https://zapier.com/pricing https://www.twilio.com/sms/pricing/fr https://fr.sendinblue.com/tarifs/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Open current folder from terminal into the finder | |
open . | |
https://support.apple.com/en-us/HT201372 | |
https://eshop.macsales.com/guides/Mac_OS_X_Compatibility |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import json | |
import argparse | |
def read_json(args): | |
"Reads and unminifies the JSON input" | |
with open(args.filename) as json_data: | |
data = json.load(json_data) | |
data_unminified = json.dumps(data, indent=4) | |
print(data_unminified) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
curl -fqsSL gist.githubusercontent.com/trolologuy/c290ac3edc46fe6bc2b69ccc497cd4bc/raw/53f038f266bbbbff342c549e77c10f4fc401f2a9/telegram-notifier.sh | bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Open in new tab any link on google meet | |
// @namespace http://userscripts.org/users/4294 | |
// @description Makes links open in a new window | |
// @include https://meet.google.com/* | |
// @grant window.close | |
// ==/UserScript== | |
(function() { | |
'use strict'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vagrant.require_version ">= 2.2.3" | |
Vagrant.configure("2") do |config| | |
config.vm.provider "virtualbox" do |v| | |
v.memory = 2048 | |
v.cpus = 2 | |
end | |
config.vm.box = "ubuntu/bionic64" | |
config.vm.hostname = "cli-tools" | |
config.vm.provision "ansible", type: "ansible" do |ansible| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tail -n 5000 /var/log/access.log | awk '{print $9}' | sort | uniq -c | sort -nr | head -n15 | |
# Example of output: | |
# 2625 499 | |
# 1433 500 | |
# 569 200 | |
# 243 401 | |
# 108 404 | |
# 16 301 | |
# 6 302 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tail -n 5000 /var/log/access.log | awk '{print $9}' | sort | uniq -c | sort -nr | head -n15 | |
# Example of output: | |
# 2625 499 | |
# 1433 500 | |
# 569 200 | |
# 243 401 | |
# 108 404 | |
# 16 301 | |
# 6 302 |