Inspired by this slick shot by Phil Goodwin @ Unfold - https://dribbble.com/shots/14647423-Glass-Card-Design
For optimum performance, no SVG blur filter is used; just a blurry JPG that is masked by the card shape :)
A Pen by Tom Miller on CodePen.
Inspired by this slick shot by Phil Goodwin @ Unfold - https://dribbble.com/shots/14647423-Glass-Card-Design
For optimum performance, no SVG blur filter is used; just a blurry JPG that is masked by the card shape :)
A Pen by Tom Miller on CodePen.
I need very often to modify filenames or replace/delete their parts across huge number of files. I was using sed command for these purposes but recently I have found out that all these tasks can be easily done directly in bash (or zsh) because both of them support so called string manipulation operations.
magic incantation | what does it do? |
---|---|
${#string} |
Get string length |
/*================================================== | |
= Bootstrap 3 Media Queries = | |
==================================================*/ | |
/*========== Mobile First Method ==========*/ | |
/* Custom, iPhone Retina */ | |
@media only screen and (min-width : 320px) { | |
} |
// exporting from a bs58 private key to an Uint8Array | |
// == from phantom private key to solana cli id.json key file | |
// npm install bs58 @solana/web3.js | |
const web3 = require("@solana/web3.js"); | |
const bs58 = require('bs58'); | |
let secretKey = bs58.decode("[base58 private key here]"); | |
console.log(`[${web3.Keypair.fromSecretKey(secretKey).secretKey}]`); | |
// exporting back from Uint8Array to bs58 private key |