A list of useful commands for the ffmpeg command line tool.
Download FFmpeg: https://www.ffmpeg.org/download.html
Full documentation: https://www.ffmpeg.org/ffmpeg.html
require 'aws-sigv4' | |
require 'httparty' | |
AWS_API_ENDPONT = 'https://sandbox.sellingpartnerapi-na.amazon.com' | |
# https://stackoverflow.com/questions/65669679/amazon-selling-partner-api-signed-request-ruby-implementation | |
module Net::HTTPHeader | |
def capitalize(name) | |
name | |
end |
require 'net/http' | |
require 'json' | |
require 'openssl' | |
require 'time' | |
require 'csv' | |
module Foundant | |
module GrantManagement | |
module DataSets | |
KEY = ENV['FOUNDANT_KEY'] |
A list of useful commands for the ffmpeg command line tool.
Download FFmpeg: https://www.ffmpeg.org/download.html
Full documentation: https://www.ffmpeg.org/ffmpeg.html
<?php | |
// API URL | |
$url = 'http://localhost/post-path'; | |
// Create a new cURL resource | |
$ch = curl_init($url); | |
// Setup request to send json via POST | |
$data = array( |
const cheerio = require("cheerio"); | |
const axios = require("axios"); | |
const fs = require("fs"); | |
const baseDir = "./bible"; | |
const BASE_URL = { | |
en: "https://www.jw.org/en/library/bible/nwt/books", | |
lg: "https://www.jw.org/lg/layibulale/bayibuli/nwt/ebitabo", | |
}; |
const axios = require("axios"); | |
const cheerio = require("cheerio"); | |
const fs = require("fs"); | |
function getWords(q) { | |
console.log("Requesting words"); | |
return axios | |
.get("https://iapi.glosbe.com/iapi3/wordlist", { | |
params: { | |
l1: "lg", |
import os | |
import re | |
import sys | |
from glob import glob | |
from urllib.request import urlopen | |
import requests | |
from bs4 import BeautifulSoup | |
EN_URL = "https://www.jw.org/en/library/bible/nwt/books/" |
""" | |
Python thread pause, resume, exit detail and Example _python | |
https://topic.alibabacloud.com/a/python-thread-pause-resume-exit-detail-and-example-_python_1_29_20095165.html | |
How to start/stop a Python function within a time period (ex. from 10 am to 12:30pm)? | |
https://stackoverflow.com/questions/41289947/how-to-start-stop-a-python-function-within-a-time-period-ex-from-10-am-to-123 | |
""" | |
import threading | |
import time | |
function sortArray(values) { | |
return values.sort(function (a, b) { | |
let authorChuckedA = a.author.split(" "); | |
let authorChuckedB = b.author.split(" "); | |
let lastNameA = authorChuckedA[authorChuckedA.length - 1]; | |
let lastNameB = authorChuckedB[authorChuckedB.length - 1]; | |
return lastNameA.localeCompare(lastNameB); | |
}); | |
} |
function findMissingValue(values) { | |
let seq = values.reduce((result, value, index) => { | |
let nextIndex = index + 1; | |
if (nextIndex < values.length) { | |
let deference = values[nextIndex] - value; | |
result.push(deference); | |
} | |
return result; |