Skip to content

Instantly share code, notes, and snippets.

View tebayoso's full-sized avatar
🏋️
Indie Developer

Jorge de los Santos tebayoso

🏋️
Indie Developer
View GitHub Profile
@tebayoso
tebayoso / .deps...remix-tests...remix_accounts.sol
Created October 30, 2023 13:42
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.18+commit.87f61d96.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.4.22 <0.9.0;
library TestsAccounts {
function getAccount(uint index) pure public returns (address) {
return address(0);
}
}
@tebayoso
tebayoso / rm_mysql.md
Created June 20, 2018 22:35 — forked from vitorbritto/rm_mysql.md
Remove MySQL completely from Mac OSX

Remove MySQL completely

  1. Open the Terminal

  2. Use mysqldump to backup your databases

  3. Check for MySQL processes with: ps -ax | grep mysql

  4. Stop and kill any MySQL processes

  5. Analyze MySQL on HomeBrew:

brew remove mysql

@tebayoso
tebayoso / gist:ba03c2cfb006ae56e10c
Created April 20, 2015 16:38
Installing specific version of Docker in Debian based distros
echo deb http://get.docker.com/ubuntu docker main &gt; /etc/apt/sources.list.d/docker.list
apt-key adv --keyserver pgp.mit.edu --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9
apt-get update
apt-get install -y lxc-docker-1.3.3