Skip to content

Instantly share code, notes, and snippets.

@alexadark
alexadark / History|-118c5881|entries.json
Created April 13, 2024 12:31
Visual Studio Code Settings Sync Gist
{"version":1,"resource":"file:///Users/alexaspalato/DEV/projects/madridshades/src/pages/index.astro","entries":[{"id":"mLuO.astro","timestamp":1703324703734},{"id":"CwQy.astro","timestamp":1703325042765},{"id":"HLbl.astro","timestamp":1703326529442},{"id":"hiYo.astro","timestamp":1703326552342},{"id":"luL1.astro","timestamp":1703335947961},{"id":"ZVcs.astro","timestamp":1703336142084},{"id":"A4bA.astro","timestamp":1703418987324},{"id":"GjiA.astro","timestamp":1703419779397},{"id":"W7n2.astro","timestamp":1703420060820},{"id":"hJG3.astro","timestamp":1703434943864},{"id":"tA1S.astro","timestamp":1703434972882},{"id":"s74G.astro","timestamp":1703434989445},{"id":"TXmE.astro","timestamp":1703435742766},{"id":"f0vx.astro","timestamp":1703435794925},{"id":"R2qW.astro","timestamp":1703435895188},{"id":"4Hgc.astro","timestamp":1703437257100},{"id":"DP7m.astro","timestamp":1703437320417},{"id":"fQuM.astro","timestamp":1703437340105},{"id":"3AQn.astro","timestamp":1703437367783},{"id":"iMXA.astro","timestamp":1703437
{
"public_identifier": "alexandraspalato",
"profile_pic_url": "https://s3.us-west-000.backblazeb2.com/proxycurl/person/alexandraspalato/profile?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=0004d7f56a0400b0000000001%2F20240329%2Fus-west-000%2Fs3%2Faws4_request&X-Amz-Date=20240329T154952Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=d1b2bf747d019c0c07635328f7f545b3e5b1bee1975a568f6ee2704471ac5bb9",
"background_cover_image_url": null,
"first_name": "Alexandra",
"last_name": "Spalato",
"full_name": "Alexandra Spalato",
"follower_count": 1431,
"occupation": "Developer Relations Engineer at Storyblok",
"headline": "Developer relation engineer",
//this is the one that works, which the one that was in copy yesterday
curl https://api.langbase.com/beta/generate \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer cee91a08-db3a-467e-aad4-67bca954b078' \
-d '{ "prompt": "" }'
//the one that you wrote me, and that is in the website and in copy today, doesn't work
curl https://api.langbase.com/beta/generate \
-H 'Content-Type: application/json' \
@alexadark
alexadark / History|-10271cb9|entries.json
Last active April 13, 2024 12:28
Visual Studio Code Settings Sync Gist
{"version":1,"resource":"file:///Users/alexaspalato/DEV/projects/blackwood-remix/app/components/storyblok/forms/QuoteForm.jsx","entries":[{"id":"ET97.jsx","timestamp":1677926467750},{"id":"yPYJ.jsx","timestamp":1677926500046},{"id":"t4rh.jsx","timestamp":1677926536863},{"id":"Oe2B.jsx","timestamp":1677926561665},{"id":"PMW7.jsx","timestamp":1677926615277},{"id":"7upk.jsx","timestamp":1677926644402},{"id":"Do3n.jsx","timestamp":1677928079211},{"id":"DA8c.jsx","timestamp":1677928094333},{"id":"n8xz.jsx","timestamp":1677928118812},{"id":"5H7p.jsx","timestamp":1677928137864},{"id":"2nVZ.jsx","timestamp":1677928160365},{"id":"wl4e.jsx","timestamp":1677928182121},{"id":"vC09.jsx","timestamp":1677928193175},{"id":"lcdj.jsx","timestamp":1677928478686},{"id":"OY29.jsx","timestamp":1677928559249},{"id":"fOvQ.jsx","timestamp":1677928756816},{"id":"y4Eh.jsx","timestamp":1677928808589},{"id":"MdvQ.jsx","timestamp":1677928856377},{"id":"P4Ua.jsx","timestamp":1677928972350},{"id":"IFYH.jsx","timestamp":1677928997003},{"id":
@alexadark
alexadark / class-custom-featured-post.php
Created July 20, 2017 18:49 — forked from srikat/class-custom-featured-post.php
Custom Featured Post Widget plugin: Skeleton for amending the output of the Genesis Featured Post widget.
<?php
/**
* Plugin Name
*
* @package Custom_Featured_Post_Widget
* @author Gary Jones
* @license GPL-2.0+
* @link http://gamajo.com/
* @copyright 2013 Gary Jones, Gamajo Tech
*/
add_action( 'beans_uikit_enqueue_scripts', 'example_enqueue_uikit_assets' );
function example_enqueue_uikit_assets() {
// Enqueue extra UIkit components.
beans_uikit_enqueue_components( array( 'modal' ) );
// Add style.less to the compiler.
beans_compiler_add_fragment( 'uikit', get_stylesheet_directory_uri() . '/style.less', 'less' );
<?php
//template for restaurants
//query arguments
return array(
'post_type' => 'post',
'post_status' => 'publish',
'posts_per_page' => -1,
'meta_key' => 'wst_long_lat',
'orderby' => 'meta_value_num',
/* -- |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
add to functions.php in a Genesis child theme
||||||||||||||||||||||||||||||||||||||||||||||||||||||| -- */
/**
============================================================
@alexadark
alexadark / SassMeister-input-HTML.html
Created January 3, 2016 13:25
Generated by SassMeister.com.
<div class="container">
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
@alexadark
alexadark / SassMeister-input-HTML.html
Created May 3, 2015 08:42
Generated by SassMeister.com.
<main class="content" role="main" itemprop="mainContentOfPage" itemscope="itemscope" itemtype="http://schema.org/Blog"><div class="archives-intro"><h1>Products</h1><p>Maecenas faucibus mollis interdum. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Donec id elit non mi porta gravida at eget metus. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p>
</div><article class="post-1668 products type-products status-publish has-post-thumbnail category-life-science-components category-precision-machining-manufacturing entry" itemscope="itemscope" itemtype="http://schema.org/CreativeWork"><header class="entry-header"></header><div class="entry-content" itemprop="text"><div class="product-image">
<a href=" http://alexandras-imac.local:5757/products/controlled-fluidics