An example related to question on Twitter https://twitter.com/drewdaraabrams/status/1359933543619547137
Try curl https://entreprise.data.gouv.fr/api/sirene/v1/full_text/MONTPELLIERAIN
Among result, look at
"total_results": 161,
| # Temporarily add a normal upstream DNS resolver | |
| /ip dns set servers=1.1.1.1,1.0.0.1 | |
| # CA certificates extracted from Mozilla | |
| /tool fetch url=https://curl.se/ca/cacert.pem | |
| # Import the downloaded ca-store (127 certificates) | |
| /certificate import file-name=cacert.pem passphrase="" | |
| # Set the DoH resolver to cloudflare |
An example related to question on Twitter https://twitter.com/drewdaraabrams/status/1359933543619547137
Try curl https://entreprise.data.gouv.fr/api/sirene/v1/full_text/MONTPELLIERAIN
Among result, look at
"total_results": 161,
| filename='yourfilename' | |
| filetype='text/csv' | |
| token='my oauth token' | |
| url='http://localhost/upload' | |
| curl "$url" \ | |
| --form "data=@$filename;type=$filetype" \ | |
| --form "name=somename" \ | |
| -H "Authorization: Bearer $token" | |
This an ordered version of the original gist located at https://gist.github.com/marcanuy/06cb00bc36033cd12875
Directories on host machine:
/data/certbot/letsencrypt
/data/certbot/www
Nginx server in docker container
docker run -d --name nginx \
Some thoughts I've gathered over the years on what I think about GraphQL. All of this is subject to change of course, and some of it may be "hot-take"-ish, but at the end of the day, I've made decisions regarding GraphQL with my customers, users, and fellow developers in mind and with the mantra that if it ultimately doesn't make a big difference for any of those people and justify the work that it requires, it's not the best investment of time. It's more important to please your users, ship products in a timely manner, and use tools that keep processes simple and familiar.
| 1/ Replace any mention of 'jessie' in /etc/apt/sources.list by 'stable'. It should look more or less like this : | |
| deb http://http.us.debian.org/debian stable main | |
| deb-src http://http.us.debian.org/debian stable main | |
| deb http://security.debian.org/ stable/updates main | |
| deb-src http://security.debian.org/ stable/updates main | |
| deb http://http.us.debian.org/debian stable-updates main | |
| deb-src http://http.us.debian.org/debian stable-updates main | |
| 2/ |
| I was drawn to programming, science, technology and science fiction | |
| ever since I was a little kid. I can't say it's because I wanted to | |
| make the world a better place. Not really. I was simply drawn to it | |
| because I was drawn to it. Writing programs was fun. Figuring out how | |
| nature works was fascinating. Science fiction felt like a grand | |
| adventure. | |
| Then I started a software company and poured every ounce of energy | |
| into it. It failed. That hurt, but that part is ok. I made a lot of | |
| mistakes and learned from them. This experience made me much, much |
| diskutil list | |
| diskutil unmountDisk /dev/disk2 | |
| diskutil eraseDisk FAT32 SANDISK /dev/disk2 |
| #!/usr/bin/env bash | |
| # script was taken from https://gist.github.com/innovia/fbba8259042f71db98ea8d4ad19bd708 and adjusted with "apply_rbac" function and colorized output | |
| set -e | |
| set -o pipefail | |
| # Colors | |
| RED="\e[01;31m" |