I hereby claim:
- I am petercossey on github.
- I am petercossey (https://keybase.io/petercossey) on keybase.
- I have a public key ASCMOfde1I0sGduLMPWLc-WWEvkBIMTJXCV11cDgO0zoxwo
To claim this, I am signing this object:
{{#partial "page_bottom"}} | |
<script> | |
// Get product IDs for GraphQL query on product prices. | |
const pickListProductIds = [] | |
{{#each product.options}} | |
{{#if partial '===' 'product-list'}} | |
pickListProductIds.push({{pluck values 'data'}}) | |
{{/if}} | |
{{/each}} | |
const storefrontCartUrl = "https://peters-everything-store.mybigcommerce.com/api/storefront/carts" | |
const getCart = async (url) => { | |
try { | |
const response = await fetch(url, { | |
"method": "GET", | |
"headers": { | |
"Content-Type": "application/json" | |
}}); | |
const json = await response.json(); | |
return json; |
const myStorefrontUrl = "http://my-storefront.com" | |
findAndDeleteCart(myStorefrontUrl); | |
function findAndDeleteCart(storefrontUrl) { | |
fetch(storefrontUrl + "/api/storefront/carts", { | |
"method": "GET", | |
"headers": { | |
"Content-Type": "application/json" | |
} | |
}) |
chia plotters madmax -r 24 -t /mnt/fastdisk1 -2 /mnt/fastdisk2 -d /home/ubuntu/chia-plots -f <farmer-public-key> -c <pool-contract-address> | |
Multi-threaded pipelined Chia k32 plotter - 2092041 | |
Network Port: 8444 | |
Final Directory: /home/ubuntu/chia-plots/ | |
Number of Plots: 1 | |
Crafting plot 1 out of 1 (2022/06/19 06:28:02) | |
Process ID: 2186 | |
Number of Threads: 24 | |
Number of Buckets P1: 2^8 (256) | |
Number of Buckets P3+P4: 2^8 (256) |
[ | |
{ | |
"type": "tab", | |
"label": "Content", | |
"sections": [ | |
{ | |
"label": "Product cards", | |
"settings": [ | |
{ | |
"type": "boolean", |
tick(); // start the game loop. | |
function tick() { | |
requestAnimationFrame(tick); // this will create the loop | |
// add functions/expressions which need to be in the game loop here. | |
} | |
// add game objects + code here. |
I hereby claim:
To claim this, I am signing this object:
<?php | |
/** | |
* @file | |
* Ctewls module | |
*/ | |
/** | |
* Implementation of hook_menu(). | |
*/ | |
function ctewls_menu() { |
Please note: there is an APT package called "fonts-powerline" which is tested and working for Ubuntu 20.04 which achieves the same outcome. Try "sudo apt install fonts-powerline"
If you're using Z Shell and a special prompt theme designed with Powerline fonts in mind, you'll need to install them on your machine. These are the most clear and cut-down instructions that I've found to work with Ubuntu 16.10 (also confirmed working for 17.04, 17.10, 18.04, 19.10) and all credit goes to renshuki's Ubuntu 14.04 + Terminator + Oh My ZSH with Agnoster Theme gist. I've extracted just the Powerline font instructions - my personal setup uses Prezto instead of Oh My ZSH (not included here).
cd ~
# paste the following content into sublime.desktop | |
[Desktop Entry] | |
Version=1.0 | |
Name=Sublime Text 2 | |
GenericName=Text Editor | |
Exec=sublime | |
Terminal=false | |
Icon=/opt/Sublime Text 2/Icon/48x48/sublime_text.png | |
Type=Application | |
Categories=TextEditor;IDE;Development |