Skip to content

Instantly share code, notes, and snippets.

View pivstone's full-sized avatar

Ray Wang pivstone

  • Berlin
View GitHub Profile
{Pub,Priv} = crypto:generate_key(ecdh,secp256r1),
Msg = crypto:rand_bytes(5100),
Sig = crypto:sign(ecdsa,sha256,Msg,[Priv,secp256r1]),
byte_size(Sig).
TT and I had a vacation at Shanghai Disney Resort on July 3rd.
This is the second time that we have gone to Disney Resort.
But this is the first time that we had a magic lunch at Royal Banquet Hall.
We had three courses. My appetizer was the Chef's Royal Salad.
TT''s was a Crab Cakes with Mango Salsa. He said he liked the cake very much.
It was so wonderful and amazing. A slow-Cooked Beef Short Ribs was my main course.
TT chose the Cinderella Pumpkin Stew. Their dessert was excellent too. And they provided free drinks.
Besides, It was a magic realm. We received many greetings from Disney Characters.
The server helped us to take many pictures with the characters.
@pivstone
pivstone / nintendo.txt
Last active August 3, 2017 03:25
EF小作文:一种产品如何改变您的生活
The Nintendo new game console, Nintendo Switch changes the way that players play games.
I’m more social because the portable system of switch.
I’ve been play the games alone, before I bough it.
Now I can play games with my friends and colleagues outside without a monitor like a tablet computer.
The Switch more like a ‘hybrid-console’. It can switch from ‘home console’ to ‘tablet console’ in a second.
Because of that, I can play games wherever and whenever.
For example, I'm able to play a game at home, then next, I can play same game at a party with my friends.
@pivstone
pivstone / meeting.txt
Last active August 3, 2017 03:29
EF小作文商业会议纪要
Hi, Mr. Kevin.
I have some good news to tell you. I had a dinner with Sally Cassidy, the VP of GXC Solutions, on last Monday.
It is a great meeting. Sally told me some good news. Because of the past year.
GXC wants to increase purchases from us by 20%. It's a big chance. Our business is growing fast.
The relationship between our companies is more and more better.
At the end, Sally also told me that she wants to meet again as soon as possible to talk more about the
future plans and opportunities. I will tell you more details.
Best,
Ray
@pivstone
pivstone / career_path.ext
Last active August 3, 2017 03:35
EF小作文:职业生涯
My career goals are clear. I want to work at German, in the next year.
However, I have to improve my English, now. Then I'm a programmer.
So I definitely will coding for several years.
I will become a manager or a supervisor at development department in the future.
But in next 5 years, I need to learn German and study a new IT technology.
And I have to make a decision between a manager and a expert.
A expert means I need more professional knowledge in a specific area.
A manager means my duty is about coordinated and supervised.
@pivstone
pivstone / office.txt
Created August 3, 2017 03:39
EF小作文:办公室文化
I work at a IT company. There are around 50 employees at the Shanghai office.
Out department members work 45 hour per week, give or take.
It's a little overwork. We have two mangers. I'm one of managers.
The other one is my manager. Some people don't like to do exercise.
They like cheeseburgers, fired chicken and potato chips. Others go to the gym after work.
They have exercises routine and maintain a heath work-life balance.
They want to get into shape. We have a company traveling per year. Last year, We traveled to Vietnam.
I and my colleagues take approximately one week's vacation. It's an awesome vacation.
@pivstone
pivstone / music.txt
Created August 3, 2017 03:42
EF小作文:音乐鉴赏
'Home Improvement' singed by Josh Woodward. The song has not much changes of tone.
Hence, it’s a little boring in the rhythm. Josh doesn’t have a wide range.
He hits few high notes. And his voice isn’t catchy. However, the song has some wonderful harmony.
The tune filled by the acoustic of guitars and drums. It has many positive motive.
I think that the song's theme is about lives, families and houses.
I'm not a big fan of the Josh Woodward.
Even though I listened this song several times, I can't understand what the lyric means is.
If you like folk, you will be like this song.
@pivstone
pivstone / future.txt
Last active September 17, 2017 10:20
EF小作文:规划退休生活
I always think about my future goals. I will have moved to German for work by 2050. By that time, I will have become a manager. I will have retired in the city when I'm 60. Hopefully, I will have gotten married and raised a cat before my 40. Maybe, I will have owned a lovely garden and planted a lot of flowers and those things will put me in a good mood when I'm 50. My family and I will have traveled some different places where we have never visited, like New Zealand or Amazon. Finally, I will have to experience many different life stages before I feel too tired. I think I will have a different retirement life.
China has a nine years compulsory education. All citizens have to attend the education. The whole of nine years education is almost free, except the fee for textbooks and others. Before Republic’s government, there was a similar education act. It was a four years plan. At present, some rich provinces are trying a new education plan. It’s a 12 years education plan. It means the free education services will include high school.
The most important part of Chinese education is the National University Entrance Examination. The exam leads the education standards. Another word, it means the exam determine what knowledge should be taught in school.
During the Cultural evolution, the exam was stopped. Students couldn’t enter University. All the high education had been completely stopped.
The exam has so many changes. In the beginning, the whole countries' students did the same exam. But some people found some cities’ students could enter same level university with lower scores than others. The reason is that those c
@pivstone
pivstone / hello.js
Last active July 12, 2018 08:58
hello.js
const chain = async(require, app, ...data) => {
const axios = require('axios');
const content = await axios.get('https://www.google.com');
console.log(content.data);
console.log(app.data);
};