Skip to content

Instantly share code, notes, and snippets.

View MAJA-Lin's full-sized avatar
💭
Looking for new opportunity

Scott Lin MAJA-Lin

💭
Looking for new opportunity
View GitHub Profile
@MAJA-Lin
MAJA-Lin / google-tips
Created July 16, 2022 17:52 — 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
@MAJA-Lin
MAJA-Lin / pthreads.md
Created October 4, 2018 08:01 — forked from krakjoe/pthreads.md
pthreads.md

Multi-Threading in PHP with pthreads

A Brief Introduction to Multi-Threading in PHP

  • Foreword
  • Execution
  • Sharing
  • Synchronization
  • Pitfalls
@MAJA-Lin
MAJA-Lin / README.md
Created March 9, 2018 03:45 — forked from magnetikonline/README.md
Setting Nginx FastCGI response buffer sizes.
@MAJA-Lin
MAJA-Lin / install-zsh.sh
Created January 19, 2018 09:05 — forked from mkalygin/install-zsh.sh
Install zsh on Elementary OS.
# Source: http://choyan.me/oh-my-zsh-elementaryos/
sudo apt-get update && sudo apt-get install -y curl vim git zsh
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | bash
sudo chsh -s $(which zsh) $(whoami)
@MAJA-Lin
MAJA-Lin / Postman.desktop
Created January 10, 2018 06:30 — forked from aviskase/Postman.desktop
Install Postman
[Desktop Entry]
Encoding=UTF-8
Name=Postman
Exec=postman
Icon=/opt/Postman/resources/app/assets/icon.png
Terminal=false
Type=Application
Categories=Development;
@MAJA-Lin
MAJA-Lin / LICENSE
Created December 12, 2017 03:57 — forked from shevron/LICENSE
Send EC2 instance memory usage stats to CloudWatch using boto and IAM Roles
Copyright (c) 2015, Shahar Evron
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
@MAJA-Lin
MAJA-Lin / index.js
Created September 22, 2017 10:42 — forked from edokeh/index.js
佛祖保佑,永无 BUG
//
// _oo0oo_
// o8888888o
// 88" . "88
// (| -_- |)
// 0\ = /0
// ___/`---'\___
// .' \\| |// '.
// / \\||| : |||// \
// / _||||| -:- |||||- \
@MAJA-Lin
MAJA-Lin / nginx.conf
Created April 20, 2017 06:22 — forked from plentz/nginx.conf
Best nginx configuration for improved security(and performance). Complete blog post here http://tautt.com/best-nginx-configuration-for-security/
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
@MAJA-Lin
MAJA-Lin / Front-end-Developer-Interview-Questions-TC.md
Created November 21, 2015 09:32 — forked from hanksudo/Front-end-Developer-Interview-Questions-TC.md
Front-end-Developer-Interview-Questions - 前端工程師面試問題集(繁體中文版)

前端工程師面試問題集

@版本 2.0.0

譯注:此翻譯版,主要給不能流利的讀英文的人看,相關專有名詞還是保留原文。翻譯不好地方請協助pull request.

此repository包含了一些前端開發的面試問題,來審查一個有潛力的面試者。這並不是建議你對同一個面試者問上所有的問 (那會花費好幾小時)。從列表中挑幾個題目,應該就夠幫助你審查面試者是否擁有你需要的技能。

Rebecca MurpheyBaseline For Front-End Developers 也是一篇很棒且值得讀的文章在你開始面試之前。

@MAJA-Lin
MAJA-Lin / gist:49b7003c5b9c18da5489
Created October 29, 2015 08:18 — forked from PowerKiKi/gist:9571aea8fa8d6160955f
PHP array_map memory usage
<?php
// Memory benchmark related to http://stackoverflow.com/questions/11657835/how-to-get-a-one-dimensional-scalar-array-as-a-doctrine-dql-query-result
// Build an array of 50 MiB
$data = [];
for ($i = 0; $i < 1024; $i++) {
$data[] = ['id' => str_repeat(' ', 1024 * 50)]; // store 50kb more
}