https://support.cloudflare.com/hc/en-us/articles/200168236-What-does-Cloudflare-IP-Geolocation-do-
RewriteEngine on
| #!/bin/bash | |
| while [ "$name" != "exit" ] | |
| do | |
| # Get the Domain Name from User | |
| echo "What domain name do you want?: [Enter]" | |
| read name | |
| # Check if the input is not empty or just spaces | |
| if [[ -z "${name// }" ]]; then |
| // created this flow file to archive my starred repos | |
| // it prints the list of starred repos by github user | |
| // you can get TagUI here (macOS / Windows / Linux) | |
| // https://github.com/kelaberetiv/TagUI#set-up | |
| // usage #1 - copy or download this file, then run | |
| // tagui stars github_userid quiet chrome | |
| // usage #2 - if you want to run this gist directly |
| #!/bin/bash | |
| # Depends on the gxmessage package | |
| # This is a script that will check all git repos in the location array | |
| # Then it will check the output length of git diff | |
| # If there's output in any of them it will show a red warning with their location | |
| # If not it will show an "All good" message in green | |
| # This is useful to keep various git repos in check with a simple command (or keypress if you map it) |
| #!/usr/bin/python3 | |
| __copyright__ = "Copyright (c) 2018 Gianni Tedesco" | |
| __licence__ = "GPLv3" | |
| __doc__ = "Tool for sending secret messages using ssh keys" | |
| from argparse import ArgumentParser | |
| try: | |
| import nacl.utils | |
| from nacl.signing import SigningKey,VerifyKey |
Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.
Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.
Here's a list of mildly interesting things about the C language that I learned over time. There are many more mildly interesting features of C++, but the language is literally known for being weird, whereas C is usually considered smaller and simpler, so this is (almost) only about C.
struct foo {
struct bar {
int x;
} baz;
};| #!/bin/bash | |
| for file in $(git diff --cached --name-only | grep -E '\.(js|jsx)$') | |
| do | |
| git show ":$file" | node_modules/.bin/eslint --stdin --stdin-filename "$file" # we only want to lint the staged changes, not any un-staged changes | |
| if [ $? -ne 0 ]; then | |
| echo "ESLint failed on staged file '$file'. Please check your code and try again. You can run ESLint manually via npm run eslint." | |
| exit 1 # exit with failure status | |
| fi | |
| done |