Skip to content

Instantly share code, notes, and snippets.

Verifying my Blockstack ID is secured with the address 1KcajFC1xmw6bEBdXBcyG5xTfuUFkGNW4F https://explorer.blockstack.org/address/1KcajFC1xmw6bEBdXBcyG5xTfuUFkGNW4F
@josecelano
josecelano / currency_symbols.php
Created November 16, 2017 09:37 — forked from gibbs/currency_symbols.php
An array of currency symbols as HTML entities
<?php
$currency_symbols = array(
'AED' => '&#1583;.&#1573;', // ?
'AFN' => '&#65;&#102;',
'ALL' => '&#76;&#101;&#107;',
'AMD' => '',
'ANG' => '&#402;',
'AOA' => '&#75;&#122;', // ?
'ARS' => '&#36;',
'AUD' => '&#36;',
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#ifndef FRACT_STDLIB_H_
#define FRACT_STDLIB_H_
#ifdef __cplusplus
@josecelano
josecelano / github-workflow-deploy-to-gh-pages.txt
Last active September 10, 2021 12:06
GitHub Workflow to deploy Svelte apps to GitHub Pages
# This is a basic workflow to automatically build a Svelte app and deploy it to GitHub Pages
name: Deploy to GitHub Pages
on:
push:
branches: [ master ]
workflow_dispatch:
jobs:
@josecelano
josecelano / keybase.md
Last active October 15, 2024 10:26
Prrof

Keybase proof

I hereby claim:

  • I am josecelano on github.
  • I am josecelano (https://keybase.io/josecelano) on keybase.
  • I have a public key ASA6nwb4qqa8gSA5lHoCFaIKCBPKwzS9z4iwYf4S-eZBcAo

To claim this, I am signing this object:

@josecelano
josecelano / be2json.c
Created September 11, 2024 09:05 — forked from camilleoudot/be2json.c
Bencode to JSON converter
/* converts Bencoded data on stdin to JSON on stdout */
#include <stdio.h>
#include <ctype.h>
#include <stdlib.h>
int pos = 0;
int c;
char stack[1024], *sp = stack;