This file contains hidden or 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
/* | |
Javscript snippet inteded to make it a bit easier to obtain list of tezos addresses | |
in Twitter comments, usually for Reserve Lists in fxhash and other marketplaces. | |
Also includes function to run random raffle. | |
How to use: | |
Just open the twitter page listing all the RL requests, zoom out + scroll to get full list, then open | |
devTool's console and run the script to get the functions declared. Then call the main function as needed, i.e: | |
raffle( getTezosAddresses(), 50 ); | |
*/ |
This file contains hidden or 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
function logFxHashToken(){ | |
let pastTokens = localStorage.getItem("fxhash_tokens"); | |
if( pastTokens ){ | |
pastTokens = JSON.parse( pastTokens ); | |
}else{ | |
pastTokens = []; | |
} | |
let newToken = { token:fxhash, date:new Date() } ; | |
pastTokens.unshift( newToken ); | |
localStorage.setItem( "fxhash_tokens", JSON.stringify( pastTokens ) ); |
This file contains hidden or 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
I am attesting that this GitHub handle protozoo is linked to the Tezos account tz1MzY6y6RZTpmk4FUHcvt4H4Ckznb3eMNYc for tzprofiles | |
sig:edsigterykHR3Drj2ufWcWmRu1jXXnDs7UFAqYxCi2nm8jUFyCCjAHMvgbxm2KJxhtE1C5QuxuE6uyS9cUYN8CWmAhKzozgwLEH |
This file contains hidden or 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
;Run in a Turtle interpreter such as https://www.calormen.com/jslogo/# | |
to cenefa :startX :startY :color | |
setpencolor :color | |
setpensize 5 | |
penup | |
setxy :startX :startY | |
pendown | |
repeat 8 [ fd 40 lt 90 fd 20 lt 90 fd 20 rt 90 fd 20 rt 90 fd 40 rt 90 fd 30 lt 90 fd 20 lt 90 fd 20 rt 90 fd 20 rt 90 fd 30 lt 90] | |
penup | |
fd 10 |
This file contains hidden or 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
<?php namespace App\Http\Middleware; | |
use Closure; | |
use Illuminate\Contracts\Routing\Middleware; | |
use Illuminate\Http\Response; | |
class CORS implements Middleware { | |
/** | |
* Handle an incoming request. |
This file contains hidden or 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
// Required libraries. In OSX you may also need terminal-notifier (sudo gem install terminal-notifier) | |
var opener = require('opener'); | |
var request = require('request'); | |
var cheerio = require('cheerio'); | |
var notifier = require('node-notifier'); | |
// Settings | |
var url = 'http://www.beachhousebaltimore.com/'; | |
var town = "Barcelona"; | |
var timeIntervalInSeconds = 60; |
This file contains hidden or 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
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "PublicReadForGetBucketObjects", | |
"Effect": "Allow", | |
"Principal": "*", | |
"Action": "s3:GetObject", | |
"Resource": "arn:aws:s3:::BUCKET_NAME_HERE/*" | |
} |
This file contains hidden or 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
a | b | c | |
---|---|---|---|
1 | 2 | 3 | |
4 | 5 | 6 |
This file contains hidden or 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
hi another |
NewerOlder