This file contains hidden or 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
| // Zoom an increment towards the position of my mouse | |
| export function zoomIn(mousePosition: Object) { return (dispatch, getState) => { | |
| const currentZoom = getState().graphEditor.zoom | |
| const nextZoom = currentZoom+ZOOM_INCREMENT < MAX_ZOOM ? currentZoom+ZOOM_INCREMENT : MAX_ZOOM | |
| dispatch( storeZoom(nextZoom) ) | |
| const currentPan = selectors.getPan(getState()) | |
| const graphElement = document.getElementById("graph") | |
| const graphOffset = { |
This file contains hidden or 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
| handleKeyDown = () => { | |
| if(event.keyCode == 32) | |
| this.setState({ isSpacebarPressed: true }) | |
| } | |
| handleKeyUp = () => { | |
| if(this.state.isSpacebarPressed) | |
| this.setState({ isSpacebarPressed: false }) |
This file contains hidden or 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
| javascript:(function(){ | |
| $('.cards__item').each( function( item ){ | |
| console.log('item', $(this) ); | |
| var disccountStr = $(this).find('.pct-off').text(); | |
| var disccount = parseInt( disccountStr.substring(5, disccountStr.length-1) ); | |
| if( disccount < 50 ){ | |
| $(this).remove(); | |
| } |
This file contains hidden or 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
| sudo npm install -g grunt-cli react-native firebase-tools n |
This file contains hidden or 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
| javascript:(function(){ | |
| tbody = $('#currencies_wrapper').find('tbody'); | |
| tbody.children() | |
| .each( function(index, item){ | |
| if( index >= 20 ) | |
| item.remove(); | |
| }); |
This file contains hidden or 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
| Verifying my Blockstack ID is secured with the address 1EtceTigT7sGEk2ZWxgcF1eU8KRcMTJW1c https://explorer.blockstack.org/address/1EtceTigT7sGEk2ZWxgcF1eU8KRcMTJW1c |
This file contains hidden or 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
| Verifying my Blockstack ID is secured with the address 1EtceTigT7sGEk2ZWxgcF1eU8KRcMTJW1c https://explorer.blockstack.org/address/1EtceTigT7sGEk2ZWxgcF1eU8KRcMTJW1c |
This file contains hidden or 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
| export const extra = [ | |
| { | |
| title: 'Home Assessment', | |
| description: `First you will fill out an assessment that illuminates what life in the 21st century is for you, your family and home to make sure you understand what is causing the overwhelm and stress in your home life`, | |
| formats: [ | |
| `Worksheet`, | |
| `1 hour of my help at your home`, | |
| `1 hour of my help at your home`, | |
| ], | |
| }, |
This file contains hidden or 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
| - Check meta | |
| http://www.heymeta.com/url/cryptagon.io | |
| Add analytics |
This file contains hidden or 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
| import create, { GetFunction, SetFunction } from 'zustand' | |
| export type MyStore = { | |
| flag?: boolean | |
| actions: MyActions | |
| } | |
| class MyActions { |