C++ links: Coroutines
https://github.com/MattPD/cpplinks / C++ Standard / C++20 / Coroutines
(draft; work in progress)
#coroutines (C++ Slack): https://cpplang.slack.com/archives/C5JS5JXT5
Gromacs local install | |
--------------------- | |
FFTW3 compile for older gromacs version | |
--------------------------------------- | |
./configure --enable-threads --enable-float --with-pic | |
./configure --prefix=/home/rohit/bin/gromacs-4.5.6/ | |
For Newer versions | |
----------------- |
https://github.com/MattPD/cpplinks / C++ Standard / C++20 / Coroutines
(draft; work in progress)
#coroutines (C++ Slack): https://cpplang.slack.com/archives/C5JS5JXT5
// Contact Form 7 & Convertkit integration | |
add_action( 'wpcf7_mail_sent', 'action_subscribe_to_convertkit', 10, 2 ); | |
function action_subscribe_to_convertkit( $contact_form ) { | |
$title = $contact_form->title; | |
$submission = WPCF7_Submission::get_instance(); | |
if ( $submission ) { | |
$posted_data = $submission->get_posted_data(); | |
} | |
$first_name = $posted_data["your-name"]; | |
$email = $posted_data["your-email"]; |
## Ignore Visual Studio temporary files, build results, and | |
## files generated by popular Visual Studio add-ons. | |
# User-specific files | |
*.suo | |
*.user | |
*.sln.docstates | |
# Build results |
export GITHUB_USER=magickatt | |
export GITHUB_TOKEN=secret | |
export GITHUB_REPOSITORY=magickatt/ContainerisingLegacyApplicationsTalk | |
git clone https://${GITHUB_USER}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY} |
Det här receptet ger en rejäl laddning av linser och ris som passar bra att servera till tofu, ha i en wrap eller kanske bara till stekta grönsaker. Ursprungsreceptet hittade jag här.
import { decode } from "blurhash" | |
export function blurHashToDataURL(hash: string | undefined): string | undefined { | |
if (!hash) return undefined | |
const pixels = decode(hash, 32, 32) | |
const dataURL = parsePixels(pixels, 32, 32) | |
return dataURL | |
} |