Skip to content

Instantly share code, notes, and snippets.

Avatar

Breno brenorb

  • BBrito
  • Brasília, Brazil
View GitHub Profile
@cmod
cmod / hugofastsearch.md
Last active Dec 7, 2021 — forked from eddiewebb/readme.md
Fast, instant client side search for Hugo static site generator
View hugofastsearch.md

Super fast, keyboard-optimized, client side Hugo search

This is a fork of and builds upon the work of Eddie Webb's search and Matthew Daly's search explorations.

It's built for the Hugo static site generator, but could be adopted to function with any json index compatible with Fuse fuzzy search library.

To see it in action, go to craigmod.com and press CMD-/ and start typing.

Fast Search

@zehsilva
zehsilva / when-will-geoff-hinton-become-most-cited-academic-based-on-google-scholar-data.ipynb
Last active Sep 25, 2019
when will geoff hinton become most cited academic (based on google scholar data)
View when-will-geoff-hinton-become-most-cited-academic-based-on-google-scholar-data.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View bipschnorr-Threshold.md
@sammymwangangi
sammymwangangi / webdev_online_resources.md
Created Jul 18, 2018 — forked from bradtraversy/webdev_online_resources.md
Online Resources For Web Developers (No Downloading)
View webdev_online_resources.md
@bretton
bretton / lightning-maps.md
Last active Jan 23, 2022
Visualisers of the Lightning Network (and some other explorers)
View lightning-maps.md

A (mostly) visual collection of the Lightning Network

Disclaimer

Network views tend to be the view of the network from a single node, or small selection of nodes. They are not complete views of the network. This is impossible to achieve. Even if many node views were combined, it would still be incomplete.

These network views, or network maps, have been termed 'visualisers' by the LN community.

Screenshots may reflect older visual styles, and are dated accordingly.

View satoshi-sig-generator.js
'use strict';
// original: https://gist.github.com/indutny/8d0f5376ee643962a9f0
const BN = require('bn.js');
const elliptic = require('elliptic');
const bcoin = require('bcoin');
const ecdsa = new elliptic.ec('secp256k1');
View animate-matplotlib-python.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@PurpleBooth
PurpleBooth / README-Template.md
Last active Jan 23, 2022
A template to make good README.md
View README-Template.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@Eeemil
Eeemil / _config.yml
Last active Apr 8, 2020
Jekyll - adding edit on GitHub button to your site
View _config.yml
# Site settings
title: Emil Marklund's blog of digital magics
email: eeemil@acc.umu.se
description: >
A blog on programming, GNU Linux/Unix and other things I might find interesting.
I like to learn and teach and writing about what I learn is a great way to do both.
This blog is running Jekyll
baseurl: "" # the subpath of your site, e.g. /blog/
url: "http://eeemil.se" # the base hostname & protocol for your site
twitter_username: eeemil_
@gjreda
gjreda / gist:7433f5f70299610d9b6b
Last active Oct 22, 2019
pandas' read_csv parse_dates vs explicit date conversion
View gist:7433f5f70299610d9b6b
# When you're sure of the format, it's much quicker to explicitly convert your dates than use `parse_dates`
# Makes sense; was just surprised by the time difference.
import pandas as pd
from datetime import datetime
to_datetime = lambda d: datetime.strptime(d, '%m/%d/%Y %H:%M')
%time trips = pd.read_csv('data/divvy/Divvy_Trips_2013.csv', parse_dates=['starttime', 'stoptime'])
# CPU times: user 1min 29s, sys: 331 ms, total: 1min 29s
# Wall time: 1min 30s