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:
I hereby claim:
To claim this, I am signing this object:
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)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 |
// 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; |
// 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. |
function backpressureAwareCopy(srcStream, destStream) { | |
srcStream.on('data', (chunk) => { | |
const canContinue = destStream.write(chunk); | |
if (!canContinue) { | |
// if we are overflowing the destination, we stop reading | |
srcStream.pause(); | |
// once all the buffered data is flushed, we resume reading from source | |
destStream.once('drain', () => srcStream.resume()); | |
} | |
}) |
npm set init.author.name "A-J Roos" | |
npm set init.author.email "asjas@hey.com" | |
npm set init.license "MIT" |
const Headline = ({ as = 'h1', children }) => { | |
const As = as; | |
return <As>{children}</As>; | |
}; | |
const App = () => { | |
return ( | |
<> | |
<Headline>Hello React</Headline> | |
<Headline as="h2">Hello React</Headline> |
// https://github.com/muhammadghazali/mod10 | |
function LuhnAlgorithm(RSA_ID: string) { | |
let isValid = false; | |
let checkDigit; | |
let sumOfAllNumbers = 0; | |
let reversedIdentifier = []; | |
const identifierString = RSA_ID; | |
checkDigit = identifierString.charAt(identifierString.length - 1); |
// 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 { |