I hereby claim:
- I am asjas on github.
- I am asjas (https://keybase.io/asjas) on keybase.
- I have a public key whose fingerprint is 47C2 2148 2FA1 588B AF6D E764 4315 6461 0C72 F39D
To claim this, I am signing this object:
[filter "lfs"] | |
clean = git-lfs clean -- %f | |
smudge = git-lfs smudge -- %f | |
process = git-lfs filter-process | |
required = true | |
[user] | |
name = A-J Roos | |
email = [email protected] | |
signingkey = 469CC0CAEEA7DB94 | |
[alias] |
npm set init.author.name "A-J Roos" | |
npm set init.author.email "[email protected]" | |
npm set init.license "MIT" |
I hereby claim:
To claim this, I am signing this object:
user www-data; | |
worker_processes auto; | |
worker_rlimit_nofile 8192; | |
error_log /var/log/nginx/error.log warn; | |
pid /var/run/nginx.pid; | |
events { | |
worker_connections 8000; | |
} |
// https://hugogiraudel.com/2016/10/13/css-hide-and-seek/ | |
.sr-only { | |
border: 0 !important; | |
clip: rect(1px, 1px, 1px, 1px) !important; | |
-webkit-clip-path: inset(50%) !important; | |
clip-path: inset(50%) !important; | |
height: 1px !important; | |
overflow: hidden !important; | |
padding: 0 !important; |
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
sudo nano ~/.bash_profile
export PATH=/path/to/depot_tools:"$PATH"
(it's important that depot_tools comes first here)// Use a font size that makes lowercase | |
letters half the specified font size | |
@supports (font-size-adjust: 1;) { | |
article { | |
font-size-adjust: 0.5; | |
} | |
} | |
// optimal line height | |
p { |
FROM node:10.16.2-stretch | |
EXPOSE 3000 | |
ENV NODE_ENV production | |
# Create work environment and set up app | |
RUN mkdir /app && chown -R node:node /app | |
WORKDIR /app | |
USER node |
import { fileURLToPath } from 'url'; | |
import { dirname } from 'path'; | |
console.log(`import.meta.url: ${import.meta.url}`); | |
const __filename = fileURLToPath(import.meta.url); | |
const __dirname = dirname(__filename); | |
console.log(`dirname: ${__dirname}`); | |
console.log(`filename: ${__filename}`); |
// This query returns a list of tables, in alphabetical order, with a count of the columns. | |
SELECT table_name | |
,COUNT(column_name) | |
FROM information_schema.columns | |
WHERE table_schema = 'myschema' -- put your schema here | |
GROUP BY table_name | |
ORDER BY table_name; | |
// This query returns a list of tables, in alphabetical order, with a count of the rows. |