View airdrop.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#location to the holders file, one per line | |
input="/home/0xbanana/holders.txt" | |
#example metadata, use your own | |
metadatauri="https://bafkreiflfy44ytewrhyzxyly3y42s6j5rhcbw63ha4bvpcrm34fh7fpv3a.ipfs.dweb.link/" | |
#funded solana wallet | |
wallet="/home/0xbanana/wallet.json" |
View findNft.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Metaplex as Metaplex } from "@metaplex-foundation/js-next"; | |
import { Connection, clusterApiUrl, PublicKey } from "@solana/web3.js"; | |
const connection = new Connection(clusterApiUrl("mainnet-beta")); | |
const metaplex = new Metaplex(connection); | |
let mint = new PublicKey("D2ZJKaWvS3FnvdxgNKcvbnRWgouuBsChEaJTtQ6dgmNH"); | |
let nft = await metaplex.nfts().findNft({ mint }); | |
console.log(nft); | |
/* | |
Output: |
View For Frakt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://storage.googleapis.com/0xbanana/hr/frakt_airdrop/0.mp4 | |
https://storage.googleapis.com/0xbanana/hr/frakt_airdrop/1.mp4 | |
https://storage.googleapis.com/0xbanana/hr/frakt_airdrop/2.mp4 | |
https://storage.googleapis.com/0xbanana/hr/frakt_airdrop/3.mp4 | |
https://storage.googleapis.com/0xbanana/hr/frakt_airdrop/4.mp4 | |
https://storage.googleapis.com/0xbanana/hr/frakt_airdrop/5.mp4 | |
https://storage.googleapis.com/0xbanana/hr/frakt_airdrop/6.mp4 | |
https://storage.googleapis.com/0xbanana/hr/frakt_airdrop/7.mp4 | |
https://storage.googleapis.com/0xbanana/hr/frakt_airdrop/8.mp4 | |
https://storage.googleapis.com/0xbanana/hr/frakt_airdrop/9.mp4 |
View index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Gmail loading animation Fall 2020</title> | |
<meta name="description" content="This is the HTML and CSS for Google's Gmail loading icon, Fall 2020."> | |
<style> | |
body { | |
margin: 0; | |
width: 100%; | |
height: 100% |
View main.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
variable "project_name" { | |
type = string | |
} | |
variable "sensor_machine_type" { | |
type = string | |
} | |
variable "sensor_startup_script" { | |
type = string |
View google.tokengen.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
provider "google" { | |
version = "~> 2.0, >= 2.5.1" | |
alias = "tokengen" | |
} | |
data "google_client_config" "default" { | |
provider = "google.tokengen" | |
} | |
data "google_service_account_access_token" "sa" { | |
provider = "google.tokengen" | |
target_service_account = "terraform@my-project-id.iam.gserviceaccount.com" |
View main.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### VARIABLE DECLARATIONS | |
variable "project_name" { | |
type = string | |
} | |
variable "region_name" { | |
type = string | |
} | |
variable "zone_name" { | |
type = string | |
} |
View twitter_update_username_w_followers.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import tweepy | |
from flask import Flask | |
# Authenticate to Twitter | |
auth = tweepy.OAuthHandler("API KEY", "API SECRET") | |
auth.set_access_token("TOKEN", "SECRET") | |
# Create API object |
View App.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import withFirebaseAuth from 'react-with-firebase-auth' | |
import * as firebase from 'firebase/app'; | |
import 'firebase/auth'; | |
import 'firebase/database'; | |
import 'firebase/firestore'; | |
import ProtectedApp from './components/ProtectedApp' | |
const firebaseConfig = { | |
apiKey: process.env.REACT_APP_API_KEY, |
NewerOlder