Skip to content

Instantly share code, notes, and snippets.

// File: @openzeppelin/contracts/utils/Context.sol
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.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
// File: @openzeppelin/contracts/utils/Context.sol
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.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
package main
import (
"encoding/hex"
"fmt"
"reflect"
)
/*
+---------------------------+--------+--------------+
# Shadow
shadow = true; # Enable shadowing on windows
no-dnd-shadow = true; # Don't draw shadows on DND windows
no-dock-shadow = false; # Don't draw shadows on dock windows
clear-shadow = true; # Zero the part of the shadow's mask behind the window
shadow-radius = 4; # The radius of the shadow blur (default 15)
shadow-offset-x = -5; # The x offset of the shadow blur (default -15)
shadow-offset-y = -5; # The y offset of the shadow blur (default -15)
shadow-opacity = 0.70; # Opacity of the shadows (default .75)
@rur0
rur0 / config
Last active May 27, 2019 21:25
i3 config
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout some time, delete
# this file and re-run i3-config-wizard(1).
#
# i3 config file (v4)
#
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
@rur0
rur0 / autoexec.cfg
Last active March 9, 2019 02:01
"STEAMDIR/steamapps/common/dota 2 beta/game/dota/cfg/autoexec.cfg"
con_enable "1" // Enables Console
dota_health_hurt_decay_time_max 0 // Removes white bars from health bar
dota_health_hurt_decay_time_min 0 // ^
dota_health_hurt_delay 0 // ^
dota_health_hurt_threshold 0 // ^
bindtoggle "F10" "dota_camera_lock" //
bind "F11" "disconnect" //
cl_cmdrate "60" // Amount of updates sent to server per second
cl_updaterate "60" // Amount of updates received from server per second
rate "80000" // Total amount of bandwith dota may use
@rur0
rur0 / gist:22555a4f161216ec6270c830831c7d86
Last active July 13, 2019 18:40
docker on ubuntu 18.04 WSL
# Update the apt package list.
sudo apt-get update -y
# Install Docker's package dependencies.
sudo apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
software-properties-common