Skip to content

Instantly share code, notes, and snippets.

View rcaetano's full-sized avatar

Richard Caetano rcaetano

View GitHub Profile
@rcaetano
rcaetano / README.md
Last active August 24, 2023 20:51
A gallery script for photos stored in your Akord Vault.

Creating and Deploying a Vault in Akord

Akord provides a decentralized platform for users to securely store and share their digital assets. One of its features is the ability to create a Vault, which can be thought of as a secure container for your digital files. In this article, we'll walk you through the steps to set up a Vault in Akord, upload files, and publish a manifest to make your content accessible via the Permaweb.

Step 1: Setting Up Your Vault

  1. Navigate to Akord: Open your web browser and head to v2.akord.com.
  2. Create a New Public Vault: Once on the platform, initiate the process to create a new 'public' vault. This vault will be accessible to anyone on the permaweb, making it perfect for sharing content like photo galleries.

Step 2: Uploading Your Content

@rcaetano
rcaetano / index.js
Created February 10, 2023 14:08
Create manifest from Akord Vault
{
"name": "manifest",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"type": "module",
"dependencies": {
"@akord/akord-js": "^3.2.0"
}
}
@rcaetano
rcaetano / package.json
Last active October 7, 2022 11:29
vault2ipfs - script to push your Akord Stacks to IPFS
{
"name": "vault-dump",
"version": "0.1.0",
"private": true,
"type": "module",
"dependencies": {
"@akord/akord-js": "^1.4.1",
"dotenv": "^16.0.3",
"ipfs-http-client": "^58.0.1"
},
@rcaetano
rcaetano / package.json
Last active October 6, 2022 15:36
Akord Vault, Extract Permalinks
{
"name": "vault-dump",
"version": "0.1.0",
"private": true,
"dependencies": {
"@akord/akord-js": "^1.4.1"
},
"scripts": {
"run": "node vault-dump.js",
"clean": "rm -rf node_modules yarn-error.log yarn.lock"

Keybase proof

I hereby claim:

  • I am rcaetano on github.
  • I am arsy (https://keybase.io/arsy) on keybase.
  • I have a public key whose fingerprint is F075 2C36 8BAD 0E29 63AE 9594 9F8B 8C69 3B9F E36A

To claim this, I am signing this object:

@rcaetano
rcaetano / gist:5999184
Last active January 16, 2024 18:46 — forked from cluePrints/gist:2521535
Configure Amazon Linux EC2

Steps

  • Build tools:

      sudo yum groupinstall "Development Tools"
      sudo yum install openssl openssl-devel
      sudo yum install git-core
    
  • Dependencies:

//
// VivaceLogoView.h
// zeon
//
// Created by Richard Caetano on 4/2/12.
// Copyright (c) 2012 Modal Software Corporation. All rights reserved.
//
#import <UIKit/UIKit.h>
@rcaetano
rcaetano / Description
Created February 10, 2012 13:29
BTC Bounty: 3BTC - Extract links/text from twitter and group by hashtag
Bounty: 3BTC
Expires: Feb 17, 2012
Submission and questions: caetano@gmail.com
Notes: Please post your source code using a public github:gist
Using Node.js, render links/text as HTML from a twitter feed and group by hashtag in alphabetical order
(All solutions submitted and winner will be listed below)
@rcaetano
rcaetano / AppDelegate
Created June 14, 2011 00:38
iAd Modified Implementation
#define SharedAdBannerView ((btcreportAppDelegate *)[[UIApplication sharedApplication] delegate]).adBanner
@interface btcreportAppDelegate : NSObject <UIApplicationDelegate> {
UIWindow *window;
UINavigationController *navigationController;
ADBannerView *adBanner;
}
@rcaetano
rcaetano / gist:993501
Created May 26, 2011 16:48
.gitignore file for xcode
#----------------------------------------------------------------------
# Mac OS X noise
#----------------------------------------------------------------------
.DS_Store
profile
#----------------------------------------------------------------------
# XCode (and ancestors) per-user config (very noisy, and not relevant)
#----------------------------------------------------------------------
*.mode1