Skip to content

Instantly share code, notes, and snippets.

View Aminejvm's full-sized avatar
🥑
wowie

Amine Aminejvm

🥑
wowie
View GitHub Profile
@Aminejvm
Aminejvm / start-slate-extension-workspace.sh
Created September 15, 2022 10:15
Raycast script used to start my workspace as a tmux session
#!/bin/bash
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Start Slate Extension
# @raycast.mode silent
# Optional parameters:
# @raycast.icon 🪨
@Aminejvm
Aminejvm / shadow.css
Created August 24, 2019 02:08
[shadows depth] #css #shadow
box-shadow: 0px 1px 3px rgba(0,0,0,0.2); /* notice but not dominate*/
box-shadow: 0px 4px 6px rgba(0,0,0,0.1); /* bit further the ui */
box-shadow: 0 15px 35px rgba(0,0,0,0.2); /* large shadows = capture user's attention */
@Aminejvm
Aminejvm / gatspy-stripe-plugin.js
Created August 24, 2019 01:24
[Gatsby stripe integration] #stripe #gatsby
//Infos
Skus = multiple types of the same product.
// yarn
yarn add gatsby-plugin-stripe
//gatsby-config
plugins: [
''gatsby-plugin-stripe
]
//Configuring checkout
const stripe = window.Stripe("apikey")