Skip to content

Instantly share code, notes, and snippets.

View nobodyzxc's full-sized avatar
🎯
making my toy

zxchen nobodyzxc

🎯
making my toy
View GitHub Profile
@nobodyzxc
nobodyzxc / google-tips
Created July 14, 2022 19:01 — forked from qwo/google-tips
Google Recruiter Candidate Tips ..
xxx,
Thanks again for taking the time to speak with me and for sending me your information. I'm excited to tell you that we would like to move forward in the process!
One of our coordinators will be emailing you within the next week from an @google.com domain with the date and time of your phone interview. In the meantime, I've included some preparation materials (below.)
Please note this will be a technical interview that will last for approximately 45 minutes. Google takes an academic approach to the interviewing process. This means that we are interested in your thought process, your approach to problem solving as well as your coding abilities. You may be asked questions that relate to technical knowledge, algorithms, coding, performance, how to test solutions, and perhaps your interest in Google products. The best advice that I can give you is to treat the interview like a conversation, talk through the problems, and please feel free to ask the interviewer if you are not clear with any of the questio
@nobodyzxc
nobodyzxc / download_from_gdrive.bash
Last active May 15, 2020 08:56 — forked from afunTW/download_from_gdrive.bash
download the file on google drive (both small and large file)
download_from_gdrive() {
file_id=$1
file_name=$2 # first stage to get the warning html
curl -L -o $file_name -c /tmp/cookies \
"https://drive.google.com/uc?export=download&id=$file_id"
if grep "Virus scan warning" $file_name > /dev/null;then
# second stage to extract the download link from html above
download_link=$(cat $file_name | \
grep -Eo 'uc-download-link" [^>]* href="[^\"]*' | sed 's/\&/\&/g' | sed 's/.*href="\(.*\)/\1/')
#grep -Po 'uc-download-link" [^>]* href="\K[^"]*' | \