Skip to content

Instantly share code, notes, and snippets.

Bernat Fortet bernatfortet

Block or report user

Report or block bernatfortet

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View metacheck
- Check meta
http://www.heymeta.com/url/cryptagon.io
Add analytics
View gist:121ae44e33178304d6dff0e90222ab79
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`,
],
},
View block
Verifying my Blockstack ID is secured with the address 1EtceTigT7sGEk2ZWxgcF1eU8KRcMTJW1c https://explorer.blockstack.org/address/1EtceTigT7sGEk2ZWxgcF1eU8KRcMTJW1c
@bernatfortet
bernatfortet / Blockstack Verification
Last active Dec 5, 2017
Blockstack Verification
View Blockstack Verification
Verifying my Blockstack ID is secured with the address 1EtceTigT7sGEk2ZWxgcF1eU8KRcMTJW1c https://explorer.blockstack.org/address/1EtceTigT7sGEk2ZWxgcF1eU8KRcMTJW1c
@bernatfortet
bernatfortet / coinMarketCapTop20
Last active Aug 17, 2017
Reorganize coinMarketCap Top20 by volume and negative change
View coinMarketCapTop20
javascript:(function(){
tbody = $('#currencies_wrapper').find('tbody');
tbody.children()
.each( function(index, item){
if( index >= 20 )
item.remove();
});
View globalNodePacakges.sh
sudo npm install -g grunt-cli react-native firebase-tools n
@bernatfortet
bernatfortet / grubMarket.js
Last active May 25, 2017
Parse grub Market deals
View grubMarket.js
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();
}
View addKeyListenerToReactComponent
handleKeyDown = () => {
if(event.keyCode == 32)
this.setState({ isSpacebarPressed: true })
}
handleKeyUp = () => {
if(this.state.isSpacebarPressed)
this.setState({ isSpacebarPressed: false })
View zoomIn.js
// 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 = {
View Add jquery + function
javascript:(function(){var%20el=document.createElement(%22div%22),b=document.getElementsByTagName(%22body%22)[0],otherlib=!1,msg=%22%22;el.style.position=%22fixed%22,el.style.height=%2232px%22,el.style.width=%22220px%22,el.style.marginLeft=%22-110px%22,el.style.top=%220%22,el.style.left=%2250%25%22,el.style.padding=%225px%2010px%22,el.style.zIndex=1001,el.style.fontSize=%2212px%22,el.style.color=%22#222%22,el.style.backgroundColor=%22#f99%22;function%20doAction(){
var remindersText = $('.an.cF .rv .bg span');
var strings = [];
remindersText.each(function(){
strings += $(this).text() + "\n";
console.log( strings );
});
prompt("Copy to clipboard: Ctrl+C, Enter", strings);
You can’t perform that action at this time.