Skip to content

Instantly share code, notes, and snippets.

@Luis-Enrique1
Luis-Enrique1 / material-ui-next-js-button.js
Created June 8, 2020 04:05 — forked from herr-vogel/material-ui-next-js-button.js
Using Material-UI Button with Next.js Link
import React from 'react'
import Link from 'next/link'
import Button from '@material-ui/core/Button'
const ButtonLink = ({ className, href, hrefAs, children, prefetch }) => (
<Link href={href} as={hrefAs} prefetch>
<a className={className}>
{children}
</a>
</Link>
@Luis-Enrique1
Luis-Enrique1 / build.sh
Created December 22, 2019 02:49 — forked from lucasea777/build.sh
Python C Extension Hello World
gcc -fpic --shared $(python3-config --includes) greetmodule.c -o greet.abi3.so
# can also use $(pkg-config --cflags python-3.5)
# or
# python3 setup.py install --record files.txt --user