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.
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
<?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 | |
{ |
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
ad | |
af | |
akkurat | |
al | |
aldrig | |
alene | |
alle | |
allerede | |
alligevel | |
alt |
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,
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
const httpInterceptor = { | |
setupInterceptors: () => { | |
axios.interceptors.request.use((config) => { | |
return { | |
...config, | |
p0: performance.now(), | |
}; | |
}, (error) => Promise.reject(error)); | |
axios.interceptors.response.use(async (response) => { |
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
//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]; |
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
// 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)) |
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
<? | |
// | |
// AUTO KEYWORD-BASED FOLLOWER CURATION BOT (by @levelsio) | |
// | |
// File: twitterFollowerCuratorBot.php | |
// | |
// Created: May 2021 | |
// License: MIT | |
// |