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
console.log('Starting Launch Sequence...'); | |
(function launchSequence (i) { | |
setTimeout(function () { | |
console.log(i); | |
if (--i){ | |
launchSequence(i); | |
} | |
else { | |
setTimeout(console.log('BLAST OFF!'), 1000); | |
} |
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
[{:action=>"update", :item=>{:track_id=>"4RL77hMWUq35NYnPLXBpih"}}, | |
{:action=>"update", :item=>{:track_id=>"2kOTgiY7BlXF7wKo65mL7a"}}, | |
{:action=>"update", :item=>{:track_id=>"5crHvEPQ13FbQGQSscm5Ns"}}, | |
{:action=>"update", :item=>{:track_id=>"3rhnT5RoN7bvPUpMHt1aM9"}}, | |
{:action=>"skip", :item=>{:track_id=>"7F06kkQg868sTJRoUWq1d6"}}] |
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
HTTParty.post('http://developer.echonest.com/api/v4/tasteprofile/create', | |
:body => {:api_key => '#############', | |
:type => 'general', | |
:name => 'tester testy' | |
} | |
) | |
=> {"response"=>{"status"=>{"version"=>"4.2", "code"=>0, "message"=>"Success"}, "type"=>"general", "name"=>"tester testy", "id"=>"CAIGHXV147163258A7"}} | |
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
class MessagingController < JSQMessagesViewController | |
alias :'super_collectionView:cellForItemAtIndexPath' :'collectionView:cellForItemAtIndexPath' | |
attr_accessor :messages, :incomingBubbleImageData, :outgoingBubbleImageData, :garyAvatar | |
JSQ_MESSAGES_COLLECTION_VIEW_CELL_LABEL_HEIGHT = 20.0 | |
def viewDidLoad | |
super |
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
require 'twitter' | |
require 'csv' | |
handle = ARGV[0] | |
list = ARGV[1] | |
client = Twitter::REST::Client.new do |config| | |
config.consumer_key = "YOUR KEY" | |
config.consumer_secret = "YOUR SECRET" |
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
{ | |
"timings": [ | |
{ | |
"Flash": 2, | |
"round": 0, | |
"time": 0, | |
"Playing": false, | |
"Watching": false, | |
"Countdown": 4 | |
}, |
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 * as fs from 'fs'; | |
import * as path from 'path'; | |
import 'dotenv/config'; | |
import { NFTStorage, File } from "nft.storage"; | |
async function main() { | |
const storage = new NFTStorage({ token: process.env.NFT_STORAGE_KEY }); | |
const directory = []; |
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
<?xml version='1.0' encoding='UTF-8'?> | |
<feed xmlns='http://www.w3.org/2005/Atom' xmlns:apps='http://schemas.google.com/apps/2006'> | |
<title>Mail Filters</title> | |
<id>tag:mail.google.com,2008:filters:z0000001630333632397*6447181831119360404</id> | |
<updated>2021-08-30T23:44:15Z</updated> | |
<author> | |
<name>Sam Bauch</name> | |
<email>[email protected]</email> | |
</author> | |
<entry> |
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 'dotenv/config'; | |
import {ethers} from 'hardhat'; | |
import RandomOrg from 'random-org'; | |
import { | |
abi as arenaAbi, | |
address as arenaAddress, | |
} from '../deployments/matic/WrasslingArenaV2.json'; | |
import { |