Skip to content

Instantly share code, notes, and snippets.

@Aaronmacaron
Aaronmacaron / install-alacritty-ubuntu.sh
Last active October 10, 2022 11:26
Install Alacritty on Ubuntu
#!/bin/bash
# This installs alacritty terminal on ubuntu (https://github.com/jwilm/alacritty)
# You have to have rust/cargo installed for this to work
# Install required tools
sudo apt-get install -y cmake libfreetype6-dev libfontconfig1-dev xclip
# Download, compile and install Alacritty
git clone https://github.com/jwilm/alacritty
pragma solidity ^0.4.19;
/**
* @title NonFungibleTokenLib
* @author Ghilia Weldesselasie
* SHAMELESS SELF-PLUG: https://github.com/ERC-ME/Whitepaper
*
* version 1.2.1
* Copyright (c) 2018 Ghilia Weldesselasie
* The MIT License (MIT)
@ezynda3
ezynda3 / wtf-ethclient.go
Created January 2, 2018 13:58
Golang Ethereum Connection Example
package main
import (
"context"
"fmt"
"log"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/ethclient"
)
@stephenway
stephenway / git-change-author-commit.sh
Created December 19, 2015 04:02
Change last commit author
git commit --amend --author "Stephen Way <way.stephen@gmail.com>" --no-edit && \
git rebase --continue
...
git push origin master --force
@hamidazimy
hamidazimy / rtl_slack.user.js
Last active August 26, 2018 15:30
Tiny script to add RTL support to slack.com (can be used everywhere with a little modification)
// ==UserScript==
// @name RTL Slack
// @namespace slask.com
// @include https://*.slack.com/*
// @version 1.2.2
// @grant none
// ==/UserScript==
function isRTL(text) {
if (text !== "") {