eip: title: ERC20Receiver Interface author: Witek Radomski [email protected], Patrick O'Dacre [email protected] discussions-to: status: Draft type: Standards Track category Interface or ERC ?? created: 2021-04-28 requires: ERC165, ERC20
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
// Documentation at https://www.sublimetext.com/docs/color_schemes.html | |
{ | |
"variables": | |
{ | |
"text": "#d1b897", | |
"bg" : "#062329", | |
}, | |
"globals": | |
{ | |
"background" : "var(bg)", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# create table topics! | |
create table topics ( | |
id int primary key auto_increment, | |
name varchar(256), | |
parent_id int null, | |
type smallint not null, | |
foreign key (parent_id) references topics(id), | |
index(type) | |
); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "SDL2/SDL.h" | |
#include "SDL2/SDL_mixer.h" | |
static const char *MY_COOL_MP3 = "cool_tunes.mp3"; | |
int main(int argc, char **argv) { | |
int result = 0; | |
int flags = MIX_INIT_MP3; | |
if (SDL_Init(SDL_INIT_AUDIO) < 0) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::str; | |
fn main() { | |
// -- FROM: vec of chars -- | |
let src1: Vec<char> = vec!['j','{','"','i','m','m','y','"','}']; | |
// to String | |
let string1: String = src1.iter().collect::<String>(); | |
// to str | |
let str1: &str = &src1.iter().collect::<String>(); | |
// to vec of byte |
- Create a new droplet and use a newly-generated SSH Key for authentication.
// Generate SSH key called "play_key" with the comment of "pwho"
ssh-keygen -o -a 100 -t ed25519 -f play_key -C "pwho"
If you want to set a passphrase (recommended), then do so; otherwise, just press enter twice when prompted for a passphrase.
Getting started:
Related tutorials:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2017-01-18T15:19:32.859Z"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// export iife | |
export default (() => { | |
const options = { | |
name : 'UserList', | |
data, | |
methods: { | |
getUsers | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* https://www.freecodecamp.com/challenges/roman-numeral-converter | |
* */ | |
/** | |
* My original solution. | |
* | |
* @param {integer} num Number to transform. | |
* @returns {string} Roman numeral equivalent. | |
*/ |
NewerOlder