- casa
- a bigger project
- first subtask #1234
- follow up subtask #4321
- final subtask cc @mention
- a separate task
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
| import redis | |
| from itertools import zip_longest | |
| import click | |
| from tqdm import tqdm | |
| from time import sleep | |
| REDIS_HOST = "HOST" | |
| BATCH_SIZE = 500 | |
| MAX_TTL = 90 * 24 * 60 * 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
| <?php | |
| define('CLIENT_ID', 'YOUR_CLIENT_ID'); | |
| define('API_KEY', 'YOUR_API_KEY'); | |
| define('TOKEN_URI', 'https://connect.stripe.com/oauth/token'); | |
| define('AUTHORIZE_URI', 'https://connect.stripe.com/oauth/authorize'); | |
| if (isset($_GET['code'])) { // Redirect w/ code | |
| $code = $_GET['code']; |
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
| var should = require('chai').should(); | |
| var superagent = require('superagent'); | |
| var agent; | |
| describe('testing user', function(){ | |
| before(function (done) { | |
| agent = superagent.agent(); | |
| // some other operation you need |