Download flutter
tar xvf flutter_linux_1.17.5-stable.tar.xz
import * as coda from "@codahq/packs-sdk"; | |
export const pack = coda.newPack(); | |
pack.addNetworkDomain("codahosted.io"); | |
pack.addFormula({ | |
name: "FileSize", | |
description: "Gets the file size of a file attachment, in bytes.", | |
parameters: [ |
let username = 'USERNAME' | |
let followers = [], followings = [] | |
try { | |
let res = await fetch(`https://www.instagram.com/${username}/?__a=1`) | |
res = await res.json() | |
let userId = res.graphql.user.id | |
let after = null, has_next = true | |
while (has_next) { |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>TweeterID - Twitter ID and username converter</title> | |
<meta name="title" content ="TweeterID - Twitter ID and username converter" /> | |
<meta name="keywords" content="twitter API, twitter ID, twitter username, get twitter ID, get Twitter username, username from ID, twitter ID lookup, twitter, api, twitter convert, twitter converter, user, find your twitter id, tweet id, tweeter id" /> | |
<meta name="description" content="Convert any Twitter account's username or @handle into its respective Twitter ID, or convert ID to username" /> |
var ArrayFileName = ['one', 'two', 'three', 'three', 'five', 'six', 'ten']; | |
var ArrayFileName2 = ['one', 'two', 'three', 'ten', 'eleven']; | |
var final = ArrayFileName2.filter(function(item) { | |
for (var i = 0; i < ArrayFileName.length; i++) { | |
if (ArrayFileName[i] === item) return false; | |
} | |
return true; | |
}) |
Download flutter
tar xvf flutter_linux_1.17.5-stable.tar.xz
/** | |
* React Router onclick workaround | |
* @example <div {...OnClick(onClick)}/> | |
*/ | |
const OnClick = (() => { | |
let clickTime = 0; | |
let pos = { x: 0, y: 0 }; | |
return onClick => ({ | |
onMouseDown: ({ nativeEvent: e }) => { clickTime = Date.now(); pos.x = e.x; pos.y = e.y; }, |
interface ImageObject { | |
url: string; | |
author?: string; | |
width?: number; | |
height?: number; | |
} | |
const PROVIDERS = [ | |
'picsum-photos', | |
] |
import axios from 'axios' | |
interface PicsumConfig { | |
blur?: number; | |
cache?: boolean; | |
grayscale?: boolean; | |
height?: number; | |
id?: number; | |
jpg?: boolean; | |
width?: number; |
const fetch = require('node-fetch'); | |
const debug = require('debug')('linkedin-api-wrapper:core'); | |
module.exports = function(options) { | |
options.version = options.version || 'v2'; | |
return { | |
access_token: options.access_token, | |
version: options.version, |
const mongoose = require("mongoose"); | |
mongoose.connect("mongodb://localhost:27017/facebookauth", { | |
useNewUrlParser: true, | |
useUnifiedTopology: true, | |
}); | |
var userSchema = mongoose.Schema({ | |
uid: String, | |
token: String, |