Skip to content

Instantly share code, notes, and snippets.

pragma solidity ^0.5.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with GSN meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
### Keybase proof
I hereby claim:
* I am masterdubs on github.
* I am masterdubs (https://keybase.io/masterdubs) on keybase.
* I have a public key ASCG6QDotyLuG-_wlTf_ArNoOwqKvltePBIiF_jZCJPZRAo
To claim this, I am signing this object:
@masterdubs
masterdubs / rpi-hdmi.sh
Last active August 29, 2015 14:09 — forked from AGWA/rpi-hdmi.sh
#!/bin/sh
# Enable and disable HDMI output on the Raspberry Pi
is_off ()
{
tvservice -s | grep "TV is off" >/dev/null
}
case $1 in