__ _
o'')}____//
`_/ )
(_(_/-(_/
View copy.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
""" | |
Add copy to clipboard from IPython! | |
To install, just copy it to your profile/startup directory, typically: | |
~/.ipython/profile_default/startup/ | |
Example usage: | |
%copy hello world | |
# will store "hello world" |
View expected-response.json
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
{ | |
"mint_address": "DFnBmD4HvuEq2DuefNjJQmeamBwR3QjCbFjSwnd5meyz", | |
"name": "Christmas Crate 2021", | |
"symbol": "", | |
"uri": "https://arweave.net/Kdj8ISa58PStAQgUj6vUvlxvfuotcOW0LaX6iJIEuu4", | |
"seller_fee_basis_points": 1000, | |
"creators": [ | |
{ | |
"address": "6jHbPEmLFuixLmyTDBzjwPDiTcWGbdJ3P9ewCtBP9dW9", | |
"verified": true, |
View VICTOR.md
View gist:84b79108c4ffacbcf146e5bf6e77661e
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
diff --git a/next/utils/upload-file-to-s3.ts b/next/utils/upload-file-to-s3.ts | |
index c8374943b..5e9d4ef37 100644 | |
--- a/next/utils/upload-file-to-s3.ts | |
+++ b/next/utils/upload-file-to-s3.ts | |
@@ -1,4 +1,4 @@ | |
-import { S3Bucket, S3FolderName } from "@luma-team/shared"; | |
+import { S3Bucket, S3FolderName, sleep } from "@luma-team/shared"; | |
import axios from "axios"; | |
import { ZmClient } from "./ZmClient"; |
View substack-body.json
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
{ | |
"type": "doc", | |
"content": [ | |
{ | |
"type": "paragraph", | |
"content": [ | |
{ | |
"type": "text", | |
"text": "Somehow I stopped writing this update. One week, I decided not to send an update and that cascaded for over two months. So after not missing a week for nearly 2 years, I missed 10 of them… Oh well. " | |
} |
View quine.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
A = [ | |
"A = [", | |
"]", | |
"def f():", | |
" print(A[0])", | |
" for v in A:", | |
" print(chr(34) + v + chr(34) + ',')", | |
" print(A[1])", | |
" for v in A[2:]:", | |
" print(v)", |
View strobe_light.htm
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>Strobe</title> | |
<script> | |
function toggleBgColor() | |
{ | |
document.bgColor = document.bgColor == '#ffffff' ? '#000000' : '#ffffff'; | |
setTimeout('toggleBgColor()', 75); //in milliseconds | |
} | |
</script> |
View lets_rev_testing.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
from httplib import HTTPConnection | |
import json | |
if __name__ == '__main__': | |
base_url = '/challenge.json' | |
url = base_url | |
count = 0 | |
conn = HTTPConnection('www.letsrevolutionizetesting.com') | |
while count < 100: | |
conn.request("GET", url) |