What do you want to save?
Add Code snippet
New code examples
-
PHP 2022-03-27 14:20:09
vivo.sx api get file informations php
<?php //this will get infomations of the vivo.sx file //original Link: https://vivo.sx/a1b2c4d5e5 //file id: a1b2c4d5e6 //you can get the infos from up to 25 file-id's by adding ',' between the id's //Like: $file_id = "a1b2c4d5e6,a4b4c4d4e4,c1c2c4... Add solution -
Shell/Bash 2022-03-27 09:45:49
terraform env variables
#Terraform Environment Variables:- export TF_CLI_CONFIG_FILE="$HOME/.terraformrc-custom" export TF_INPUT=0 export TF_LOG_PATH=./terraform.log export TF_LOG=TRACE TF_CLI_ARGS="-input=false" terraform apply -force is the equivalent to ... Add solution -
Other 2022-03-25 02:10:02
sftp node typescript
import * as Client from 'ssh2-sftp-client'; var client = new Client(); client.connect({ host: 'asdb', port: 1234, privateKey: 'my private key rsa in openssh format', readyTimeout: 1000, }).then(() => null); client.list('/remote/path')... Add solution -
Javascript 2022-03-25 00:15:26
javascript text auto writing
/* Creating a Typing Effect ----------------------------- 1) Add HTML: */ <p id="demo"></p> <button onclick="typeWriter()">Click me</button> /* 2) Add JavaScript: */ var i = 0; var txt = 'Lorem ipsum typing e... Add solution -
Javascript 2022-03-24 12:05:14
jquery delay
setTimeout( function() { //do something special }, 5000); Add solution -
PHP 2022-03-24 01:10:14
vivo.sx api clone file php
<?php //this will clone the vivo file to your account //original Link: https://vivo.sx/a1b2c4d5e5 //file id: a1b2c4d5e6 //you can clone up to 25 file-id's by adding ',' between the id's //Like: $file_id = "a1b2c4d5e6,a4b4c4d4e4,c1c2c4c5c5"; $... Add solution -
Javascript 2022-03-24 00:20:07
js sleep
const sleep = (milliseconds) => { return new Promise(resolve => setTimeout(resolve, milliseconds)) } /*Use like so*/ async function timeSensativeAction(){ //must be async func //do something here await sleep(5000) //wait 5 seconds //contin... Add solution