This short doc shows how to build rust to be used by flutter/android app.
Inspired by hyousef's work but added some details for the workflow.
Docs:
| # 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++ |
| /** | |
| * Post multi-dimensional array to a URL using PHP Curl. | |
| * Usage: | |
| * $req = new MultiDimArrayPost(); | |
| * $req->postToURL('http://xyz.com/post',$_POST); | |
| * | |
| * @package default | |
| * @author Mohsin Rasool | |
| * | |
| **/ |
| #include <stdio.h> | |
| #include <assert.h> | |
| #include <stdlib.h> | |
| #include <errno.h> | |
| #include <string.h> | |
| #define MAX_DATA 512 | |
| #define MAX_ROWS 100 | |
| struct Address { |
Some notes on Audio pitch correction (eg. autotune, melodyne, etc).
| var express = require('express'); | |
| var app = express(); | |
| var fs = require('fs'); | |
| app.listen(3000, function() { | |
| console.log("[NodeJS] Application Listening on Port 3000"); | |
| }); | |
| app.get('/api/play/:key', function(req, res) { | |
| var key = req.params.key; |
| license: gpl-3.0 | |
| redirect: https://observablehq.com/@d3/programmatic-zoom |
| zoom(window.document.querySelector('img')) | |
| function zoom (img) { | |
| let canvas | |
| if (img.width) { | |
| load() | |
| } else { | |
| img.addEventListener('load', load) | |
| } |
| syntax = "proto3"; | |
| package github.com.codeedu.codepix; | |
| option go_package = "protofiles/pb"; | |
| service ProductService { | |
| rpc CreateProduct (CreateProductRequest) returns (CreateProductResponse) {}; | |
| rpc FindProducts(FindProductsRequest) returns (FindProductsResponse) {}; | |
| } |