This file contains 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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDXFuM/WeBCRd7kXC+eWPBizqCu/tYhOaI/vwi+5lzh3Swdx+JMTLg7BiWElCfERJJplvXq8zXbeyueZ4wEQs4YaeWFE0sxdnMOPFLYkGOQXlEkEbwJQYcyJLryhGvQc0SkZ+bYeYJB6Ucm+2OzbA3NpBBJJX09YZz0RHHYp2wgk7skBLnLuhXYA72ZLudkBl8ZAuTbxTlxKx9tnyv0mTrW8/wdGbBgbgTHyYH7Ag23HzvfNa+WZ3kA1Wd4Tu2J4K9lFZe8W89T5iTyfetwAv5zobBqopa623un/4eNLa96Nc5xydv1hHWAEEJB7o2JdNaQYYoOE1oeRDl3bSrawnuZ [email protected] |
This file contains 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
# encoding:utf-8 | |
import io | |
import sys | |
sys.stdout = io.TextIOWrapper(sys.stdout.buffer,encoding='utf8') |
This file contains 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
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit" |
As configured in my dotfiles.
start new:
tmux
start new with session name:
This file contains 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 |