Some notes on Audio pitch correction (eg. autotune, melodyne, etc).
This file contains 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
syntax = "proto3"; | |
package github.com.codeedu.codepix; | |
option go_package = "protofiles/pb"; | |
service ProductService { | |
rpc CreateProduct (CreateProductRequest) returns (CreateProductResponse) {}; | |
rpc FindProducts(FindProductsRequest) returns (FindProductsResponse) {}; | |
} |
Organizing your Go (Golang) project's folder structure can help improve code readability, maintainability, and scalability. While there is no one-size-fits-all structure, here's a common folder structure for a Go project:
project-root/
├── cmd/
│ ├── your-app-name/
│ │ ├── main.go # Application entry point
│ │ └── ... # Other application-specific files
This file contains 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
// sandbox here: https://codesandbox.io/s/p3itj?file=/src/Canvas.tsx | |
import { | |
useEffect, | |
useCallback, | |
useLayoutEffect, | |
useRef, | |
useState | |
} from "react"; | |
import * as React from "react"; |
This file contains 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
function genBash(masterURL) { | |
var xhr = new XMLHttpRequest(); | |
xhr.open("GET", masterURL, true); | |
xhr.addEventListener("load", function () { | |
var master = JSON.parse(this.responseText); | |
var baseURL = new URL(master.base_url, masterURL); | |
function genBashLines(mp4, type) { | |
var mp4BaseURL = new URL(mp4.base_url, baseURL); | |
var segmentURLs = mp4.segments.map(segment => segment.url); |
This file contains 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
(Olx = { | |
release: '1.0.5 RC', | |
j: $, | |
path: window.location.href, | |
settings: { | |
debug: true, | |
url: window.location.href.replace(/\.(\w+)\/.*/, '.$1') + '/vi/{id}?rec=h', | |
filename: "olx.csv", | |
split: 100, | |
speed: 700, |
This file contains 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
# arm | |
export PATH=$PATH:$HOME/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin | |
export CC=armv7a-linux-androideabi19-clang | |
export CXX=armv7a-linux-androideabi19-clang++ | |
~/.cargo/bin/cargo build --target armv7-linux-androideabi | |
# aarch64 | |
export PATH=$PATH:$HOME/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin | |
export CC=aarch64-linux-android21-clang | |
export CXX=aarch64-linux-android21-clang++ |
This file contains 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
// 1. Open the browser developper console on the network tab | |
// 2. Start the video | |
// 3. In the dev tab, locate the load of the "master.json" file, copy its full URL | |
// 4. Run: node vimeo-downloader.js "<URL>" | |
// 5. Combine the m4v and m4a files with mkvmerge | |
const fs = require('fs'); | |
const url = require('url'); | |
const https = require('https'); |
A collection of links to the excellent "Composing Software" series of medium stories by Eric Elliott.
NewerOlder