Skip to content

Instantly share code, notes, and snippets.

View fguisso's full-sized avatar
🌭
Hot dogs

Fernando Guisso fguisso

🌭
Hot dogs
View GitHub Profile
@lukebp
lukebp / .vimrc
Last active December 30, 2021 14:51
" PLUGINS VIA VUNDLE
" Vundle Commands
" :PluginList - lists configured plugins
" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate
" :PluginSearch foo - searches for foo; append `!` to refresh local cache
" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal
" :PluginUpdate - checks installed plugins for updates
" when making changes, you must reload the file before running Vundle commands
@khaosdoctor
khaosdoctor / workingwithlucas-en-us.md
Last active August 23, 2024 17:48
Useful info when working with me

Working with Lucas

Creation Date: June 2020

Status: in progress

A collection of stuff that might come in handy when working with me

My personal philosophy:

@dominictarr
dominictarr / readme.md
Created November 26, 2018 22:39
statement on event-stream compromise

Hey everyone - this is not just a one off thing, there are likely to be many other modules in your dependency trees that are now a burden to their authors. I didn't create this code for altruistic motivations, I created it for fun. I was learning, and learning is fun. I gave it away because it was easy to do so, and because sharing helps learning too. I think most of the small modules on npm were created for reasons like this. However, that was a long time ago. I've since moved on from this module and moved on from that thing too and in the process of moving on from that as well. I've written way better modules than this, the internet just hasn't fully caught up.

@broros

otherwise why would he hand over a popular package to a stranger?

If it's not fun anymore, you get literally nothing from maintaining a popular package.

One time, I was working as a dishwasher in a restu

@bretton
bretton / lightning-maps.md
Last active January 27, 2025 10:05
Visualisers of the Lightning Network (and some other explorers)

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.

{
"env": {
"mocha": true
},
"parserOptions": {
"sourceType": "script"
},
"globals": {
"chubaca": true,
"expect": true,
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Live BTCChina Chart</title>
</head>
<body>
<h1>BTCChina</h1>
<div>
<strong>Último preço:</strong> <span id="lastValue" style="color: #f00; font-size: 36px;">000.00</span>
var ws = new WebSocket('wss://url');
ws.on('open', function() {
console.log('open connect');
ws.send("channel or msg");
});
ws.on('message', function(message) {
console.log(message);
@pedropazello
pedropazello / haskell.md
Last active July 26, 2020 00:20
Haskell: Primeiros passos e bookmarks.
@kevinelliott
kevinelliott / osx-10.10-setup.md
Last active March 29, 2025 07:56
Mac OS X 10.10 Yosemite Setup

Mac OS X 10.10 Yosemite

Custom recipe to get OS X 10.10 Yosemite running from scratch, setup applications and developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. On average, I reinstall each computer from scratch every 6 months, and I do not perform upgrades between distros.

This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.

You are encouraged to fork this and modify it to your heart's content to match your own needs.

Install Software

@suissa
suissa / mongoose-connection-best-practices
Created August 26, 2014 23:38
Mongoose best practices
// Bring Mongoose into the app
var mongoose = require( 'mongoose' );
// Build the connection string
var dbURI = 'mongodb://localhost/mongoose-best-practices';
// Create the database connection
mongoose.connect(dbURI);
// CONNECTION EVENTS