This file contains hidden or 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
| // DISCLAIMER: This script automates actions on Facebook which may violate their Terms of Service. | |
| // Use at your own risk. Aggressive use may result in temporary or permanent account restrictions. | |
| // This is provided for educational purposes only. | |
| // Facebook makes it very difficult to bulk remove friends. This should help. | |
| // | |
| // The goal here was not to completely automate this process, but to automate | |
| // like 85% of it so it would take minutes and not hours with a little bit of hand-holding. | |
| // | |
| // To get this to work: |
This file contains hidden or 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
| # This file is generated from information provided by the datasource. Changes | |
| # to it will not persist across an instance reboot. To disable cloud-init's | |
| # network configuration capabilities, write a file | |
| # /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following: | |
| # network: {config: disabled} | |
| network: | |
| version: 2 | |
| wifis: | |
| renderer: networkd | |
| wlan0: |
This file contains hidden or 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
| Make rounded images in Golang |
This file contains hidden or 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
| module mongo-changestream | |
| go 1.17 | |
| require ( | |
| github.com/icrowley/fake v0.0.0-20180203215853-4178557ae428 | |
| go.mongodb.org/mongo-driver v1.8.3 | |
| ) |
This file contains hidden or 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
| { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "title": "Envoy Proxy config schema", | |
| "description": "JSON Schema for Envoy Proxy config", | |
| "type": "object", | |
| "properties": { | |
| "admin": { | |
| "type": "object", | |
| "description": "Configuration for the local administration HTTP server", | |
| "properties": { |
This file contains hidden or 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
| #server side: | |
| #server live directory: /var/www/domain.com | |
| #server repository: /var/repo/site.git | |
| 1. clone project from git/bitbucket into /var/www/domain.com or init the folder by "git init". | |
| 2. go to /var/repo/site.git and init the folder as git bare | |
| $git init --bare | |
| --bare means that our folder will have no source files, just the version control. |
This file contains hidden or 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
| # duti settings file | |
| # src: https://gist.github.com/apfelchips/0073cb3e8d186115f590d318998c1025 | |
| # mkdir -p "${XDG_CONFIG_HOME:-$HOME/.config}/duti/" && curl -L "https://git.io/JRtzH" -o "${XDG_CONFIG_HOME:-$HOME/.config}/duti/default.duti" | |
| # duti-apply wrapper: alias duti-apply='duti -v "${XDG_CONFIG_HOME:-$HOME/.config}/duti"' | |
| ## duti documentation https://web.archive.org/web/20180901095433/http://duti.org/documentation.html | |
| ## see also: https://github.com/Lord-Kamina/SwiftDefaultApps#readme | |
| # List of MIME Types: |
This file contains hidden or 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
| ## Bitwarden Export Parser | |
| Parses and reorganise exported credentials from Bitwarden | |
This file contains hidden or 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 -xe | |
| export DEBIAN_FRONTEND=noninteractive | |
| apt-get -y update | |
| # Install Apache and PHP | |
| apt install -y apache2 php libapache2-mod-php | |
| mv /var/www/html/index.html /var/www/html/index.orig.html | |
| echo "<h1>Azure Resource Deployment confirmed.</h1> |
This file contains hidden or 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
| Full list of countries with official state name, aplha-2 and aplha-3 code, and ccTLD. |
NewerOlder