Skip to content

Instantly share code, notes, and snippets.

View nategraves's full-sized avatar

Nate Graves nategraves

View GitHub Profile
@nategraves
nategraves / apify-client.d.ts
Last active March 25, 2021 21:16
Typescript definitions for apify-client-js
declare module 'apify-client' {
class ApifyClient {
constructor(options?: {
baseUrl?: string;
maxRetries?: number;
minDelayBetweenRetriesMillis?: number;
requestInterceptors?: Function[];
timeoutSecs?: number;
token?: string;
});
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Ttp7p-pol58000e-04 Z" stroke-width="0.094" stroke="#BD1777" stroke-width="3"></path>
<path d="M35.308,102.877 L36.114,113.729 L36.24,113.386 L35.808,112.896 L36.12,112.812 L40.82,111.624 Z M39.593,111.859 L37.951,100.977 L35.785,90.341 C33.314,89.12 32.228,86.189 34.581,88.699 L22.754,118.576" fill="#624379"></path>
<path d="M135.655,152.7128 L265.809,155.5676 L248.785,162.4876 L248.051,248.4012 L242.544,225.8764 L241.346,210.8022 L128.803,210.7366 L190.488,120.0008 L198.589,120.2348 Z" fill="#FFFFFF"></path> </g></svg>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="256px" height="257px" viewBox="0 0 256 278" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMidYMid">
<g>
<path d="M146.959286,104.99079 L100.065984,65.3427687 L115.323144,83.9619482 L115.203471,82.3171837 Z" id="path-10"
</rect>
</g>
</svg>
syntax on
set ruler
set tabstop=4
set shiftwidth=4
set softtabstop=4
set history=1000
set undodir=~/.vim/undodir
set undofile
set undolevels=1000 "maximum number of changes that can be undone
set undoreload=10000 "maximum number lines to save for undo on a buffer reload
{
"tracks": [
"0010",
"0000",
"1001"
],
"bpm": 100
}
good_statuses = ["approved", "audited"]
if creative[adx_status] not in good_statuses
print "adx_status failed"
if creative[audit_status] not in good_statuses
print "audit_status failed"
characterIndex = [0,0]
board = [
["X","_","_","_","_","_",],
["_","_","_","_","_","_",],
["_","_","_","_","_","_",],
["_","_","g","_","_","_",],
["_","_","_","_","_","g",],
["_","_","_","_","_","_",],
]
print "Enter a number: "
user_number = gets.to_i
# Lets say I put in 57
count = 2
check = []
# Is count (2) less than or equal to 58? it is, so I'll run the loop
while count <= user_number+1
var _boards = null;
var setBoards = function(boards) {
_boards = boards;
}
var getBoards = function() {
Trello.get(
'/members/me',
{boards:"open",organizations:"all"},