You have to build the GMP extension from the PHP source code. First install Autoconf and GMP using Homebrew.
brew install autoconf gmpDownload and unpack PHP.
| <? | |
| // | |
| // AUTO KEYWORD-BASED FOLLOWER CURATION BOT (by @levelsio) | |
| // | |
| // File: twitterFollowerCuratorBot.php | |
| // | |
| // Created: May 2021 | |
| // License: MIT | |
| // |
| // resources/js/models/Model.js | |
| export default class Model { | |
| constructor (attributes = {}) { | |
| this.fill(attributes) | |
| } | |
| static make (attributes = {}) { | |
| return Array.isArray(attributes) | |
| ? attributes.map(nested => new this(nested)) |
| //IMPORTANT - install this before: npm i child-process-promise --save-dev | |
| /* | |
| put this in your package.json script: | |
| "install-collection": "node install-collection.js" | |
| npm run install-collection <user>.<collection> | |
| */ | |
| const exec = require('child-process-promise').exec; | |
| const args = process.argv; | |
| const remote = args[2]; |
| const httpInterceptor = { | |
| setupInterceptors: () => { | |
| axios.interceptors.request.use((config) => { | |
| return { | |
| ...config, | |
| p0: performance.now(), | |
| }; | |
| }, (error) => Promise.reject(error)); | |
| axios.interceptors.response.use(async (response) => { |
Following instructions from the excellent https://www.rinkeby.io/
A full node lets you access all state. There is a light node (state-on-demand) and wallet-only (no state) instructions as well,
| ad | |
| af | |
| akkurat | |
| al | |
| aldrig | |
| alene | |
| alle | |
| allerede | |
| alligevel | |
| alt |
| <?php | |
| namespace Fry; | |
| use JsonStreamingParser\Listener; | |
| /** | |
| * This implementation allows to process an object at a specific level | |
| * when it has been fully parsed | |
| */ | |
| class ObjectListener implements Listener | |
| { |
| var mediaJSON = { "categories" : [ { "name" : "Movies", | |
| "videos" : [ | |
| { "description" : "Big Buck Bunny tells the story of a giant rabbit with a heart bigger than himself. When one sunny day three rodents rudely harass him, something snaps... and the rabbit ain't no bunny anymore! In the typical cartoon tradition he prepares the nasty rodents a comical revenge.\n\nLicensed under the Creative Commons Attribution license\nhttp://www.bigbuckbunny.org", | |
| "sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" ], | |
| "subtitle" : "By Blender Foundation", | |
| "thumb" : "images/BigBuckBunny.jpg", | |
| "title" : "Big Buck Bunny" | |
| }, | |
| { "description" : "The first Blender Open Movie from 2006", | |
| "sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4" ], |
This is an example of the power of the D3 library and how you can use the drag behavior of D3 to control the position and shape of the SVG element.