Skip to content

Instantly share code, notes, and snippets.

View wagneraraujo's full-sized avatar
🎯
Focusing

Wagner Araújo wagneraraujo

🎯
Focusing
View GitHub Profile
@wagneraraujo
wagneraraujo / .deps...npm...@openzeppelin...contracts...access...Ownable.sol
Created March 18, 2023 20:32
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: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
@wagneraraujo
wagneraraujo / media-query.css
Created February 19, 2018 22:21 — forked from gokulkrishh/media-query.css
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
//CSS
@wagneraraujo
wagneraraujo / perfectelementary.bash
Created July 1, 2017 18:44
HowTo Install the perfect Elementary-OS
#Download Elementary OS from here:
#http://sourceforge.net/projects/elementaryos/files/stable/
#First you update your system
sudo apt-get update && sudo apt-get dist-upgrade
#Install Google Chrome
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
@wagneraraujo
wagneraraujo / bs-config.js
Created May 10, 2017 20:08 — forked from gaspanik/bs-config.js
Browser-Sync Config for WordPress Theme Dev.
/*
|--------------------------------------------------------------------------
| Browser-sync config file
|--------------------------------------------------------------------------
|
| Please report any issues you encounter:
| https://github.com/shakyShane/browser-sync/issues
|
| For up-to-date information about the options:
| https://github.com/shakyShane/browser-sync/wiki/Working-with-a-Config-File
@wagneraraujo
wagneraraujo / uuid_pecl_ubuntu_install.sh
Last active May 5, 2017 13:51 — forked from robap/uuid_pecl_ubuntu_install.sh
Install uuid pecl exension on Ubuntu
sudo apt-get install uuid-dev
sudo pecl install uuid
npm rebuild
@wagneraraujo
wagneraraujo / wp-config.php
Created April 29, 2017 14:31 — forked from woraperth/wp-config.php
WordPress Config for Ngrok
define('WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST']);
define('WP_HOME', 'http://' . $_SERVER['HTTP_HOST']);
// Run ngrok by:
// ./ngrok http -host-header=dev.test.com 80