Skip to content

Instantly share code, notes, and snippets.

View fazo96's full-sized avatar
🏠
Working from home

Enrico Fasoli fazo96

🏠
Working from home
View GitHub Profile
@eyecreate
eyecreate / nvidia-beta-driver solus package
Created July 30, 2018 02:37
nvidia 396.45 package build script for Solus
name : nvidia-glx-driver
version : '396.45'
release : 253
source :
- http://us.download.nvidia.com/XFree86/Linux-x86_64/396.45/NVIDIA-Linux-x86_64-396.45.run : 30c2e29a45794227079730eac7c452da5290ea8f336ed2286dafd488e3695f20
extract : no
homepage : https://nvidia.com
license :
- EULA
summary :

Setup Bitcoin.conf

bitcoin.conf flags for LND integration

rpcpassword= // make a strong password
rpcuser=bitcoinrpc
server=1
zmqpubrawblock=tcp://127.0.0.1:28332
zmqpubrawtx=tcp://127.0.0.1:28332
@gaearon
gaearon / prepack-gentle-intro-1.md
Last active May 3, 2024 12:56
A Gentle Introduction to Prepack, Part 1

Note:

When this guide is more complete, the plan is to move it into Prepack documentation.
For now I put it out as a gist to gather initial feedback.

A Gentle Introduction to Prepack (Part 1)

If you're building JavaScript apps, you might already be familiar with some tools that compile JavaScript code to equivalent JavaScript code:

  • Babel lets you use newer JavaScript language features, and outputs equivalent code that targets older JavaScript engines.
@martijnvermaat
martijnvermaat / nixos.md
Last active July 13, 2024 09:08
Installation of NixOS with encrypted root
@rauchg
rauchg / README.md
Last active January 6, 2024 07:19
require-from-twitter
#!/bin/bash
SOURCE='rsync://mirror.23media.de/archlinux'
DEST='/ipns/local'
REPOS='core'
RSYNC_OPTS="-rvtlHi --inplace --delete-after --copy-links --safe-links --delete-excluded --exclude=.*"
for REPO in $REPOS ; do
echo "Syncing $REPO"
rsync $RSYNC_OPTS ${SOURCE}/${REPO} ${DEST}
@morganrallen
morganrallen / _README.md
Last active January 15, 2023 19:41
Janky Browser

JankyBrowser

The only cross-platform browser that fits in a Gist!

One line install. Works on Linux, MacOSX and Windows.

Local Install

$> npm install http://gist.github.com/morganrallen/f07f59802884bcdcad4a/download
@gaearon
gaearon / createAsyncPage.jsx
Last active April 25, 2023 09:06
Webpack's async code splitting with React Router
'use strict';
var React = require('react');
function createAsyncHandler(getHandlerAsync, displayName) {
var Handler = null;
return React.createClass({
displayName: displayName,
@mlagerberg
mlagerberg / btcspark.py
Last active September 10, 2017 22:56
[Bitcoin sparkline in the terminal]
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# btcspark.py
#
# Shows the current value of Bitcoin in Euro, as given by bitcoinaverage.com,
# along with a sparkline of the last 24 hours.
#
# Requires
from __future__ import print_function, unicode_literals
@kracekumar
kracekumar / Writing better python code.md
Last active February 19, 2024 03:06
Talk I gave at June bangpypers meetup.

Writing better python code


Swapping variables

Bad code