自我介绍
整天愁着怎么找实习的大三学生,就是我...
看我的简历
好了,广告打完了.
目前工作
木有工作。整天自己瞎捣鼓。
之前爱PHP爱得无可救药,然后因为长相问题(Ps: PHP语法长得...你懂的),被js拐走了。现在大部分时间写js了。
如何走上编程的道路的
大一参加创业大赛,周围都是比我"以为"很牛逼的人。输得心服口服。
一个月后我发现那些获奖的这一个月都在玩,我就问,你那个创业项目不是挺好的嘛,怎么不去做。
然后...
我觉得很愤怒,凭什么那帮PPT创业者那么傻逼都能...不服, 当时是真的不服.
然后就开始学喽。零基础就自己坑坑巴巴走过来了。
谢谢那些傻逼 :)
喜欢的软硬件
软件上最喜欢的应该是Vim了,因为很快,非常的快。我就是不愿意写个代码还得开半个小时的IDE. 不过代码量比较多的还是老老实实开WebStorm了.
Launchy是windows下的神器,快速打开应用程序。穷逼学生狗买不起MBP,最近有了这个软件发现Windows写代码好像也不错。
Chrome脑残粉...大家都知道这款软件了. BTW,从不兼容IE
Latern.让我可以很爽快得用google
最喜欢的硬件是我的这台显示器, 三星的一款,价格1000元。不算贵,体验真的很好。
然后是一款诺基亚的非智能手机,够快,够简单。像Vim一样。
其他工具
Teambition, Coding, Ukulele
我给自己每天做了任务表。现在的条目是这样的
-
跑步
-
Ukulele
-
读书一小时
-
背单词
-
写代码
每天都有做完,很开心.
牛逼的程序
用PHP写的一个知乎爬虫,因为看到很多爬虫都是用Python写的,所以自己做了一个。代码在 这里
写出来感觉还是蛮自豪的。
书
-
JavaScript框架设计. 正妹的书,写的非常的好,对DOM的讲解是我认为最好的一本.
-
你不知道的JavaScript. 看完以后不过瘾,主要是讲的ECMAScript,很棒的.
-
Modern PHP. 现代PHP,看的时候感觉总算是找到一本这个时代的书了.
-
禅与摩托车维修艺术. 有些偏哲学,无关编程,还是很推荐.
-
发条女孩. 最近在看.
说实话,Node相关还没有特别经典牛逼的书,毕竟年轻。还是官方文档最靠谱
坑
有很多人在我学编程的时候各种泼冷水。
死的早,身体不好,累,没有对象,门槛高,人都学傻了,难,你学的语言是垃圾...
我不明白,为什么没有人告诉我,这个可以实现梦想.
这个坑,我相信Google不到答案。只能靠自己.
把妹
我觉得吧,把妹这个事脸基本占了50%。剩下的50%,有钱的靠钱,没钱的基本靠不要脸。我这个年纪,基本不存在特别有才华的人。
程序员专属的把妹方式...大概是不写代码吧.
End
本文参与了 SegmentFault「我的编程之路」计划,欢迎正在阅读的你也加入,一起分享。

Setting session cookie parameters in PHP can be achieved through the session_set_cookie_params() function. 1) Use this function to set parameters, such as expiration time, path, domain name, security flag, etc.; 2) Call session_start() to make the parameters take effect; 3) Dynamically adjust parameters according to needs, such as user login status; 4) Pay attention to setting secure and httponly flags to improve security.

The main purpose of using sessions in PHP is to maintain the status of the user between different pages. 1) The session is started through the session_start() function, creating a unique session ID and storing it in the user cookie. 2) Session data is saved on the server, allowing data to be passed between different requests, such as login status and shopping cart content.

How to share a session between subdomains? Implemented by setting session cookies for common domain names. 1. Set the domain of the session cookie to .example.com on the server side. 2. Choose the appropriate session storage method, such as memory, database or distributed cache. 3. Pass the session ID through cookies, and the server retrieves and updates the session data based on the ID.

HTTPS significantly improves the security of sessions by encrypting data transmission, preventing man-in-the-middle attacks and providing authentication. 1) Encrypted data transmission: HTTPS uses SSL/TLS protocol to encrypt data to ensure that the data is not stolen or tampered during transmission. 2) Prevent man-in-the-middle attacks: Through the SSL/TLS handshake process, the client verifies the server certificate to ensure the connection legitimacy. 3) Provide authentication: HTTPS ensures that the connection is a legitimate server and protects data integrity and confidentiality.

What’s still popular is the ease of use, flexibility and a strong ecosystem. 1) Ease of use and simple syntax make it the first choice for beginners. 2) Closely integrated with web development, excellent interaction with HTTP requests and database. 3) The huge ecosystem provides a wealth of tools and libraries. 4) Active community and open source nature adapts them to new needs and technology trends.

PHP and Python are both high-level programming languages that are widely used in web development, data processing and automation tasks. 1.PHP is often used to build dynamic websites and content management systems, while Python is often used to build web frameworks and data science. 2.PHP uses echo to output content, Python uses print. 3. Both support object-oriented programming, but the syntax and keywords are different. 4. PHP supports weak type conversion, while Python is more stringent. 5. PHP performance optimization includes using OPcache and asynchronous programming, while Python uses cProfile and asynchronous programming.

PHP is mainly procedural programming, but also supports object-oriented programming (OOP); Python supports a variety of paradigms, including OOP, functional and procedural programming. PHP is suitable for web development, and Python is suitable for a variety of applications such as data analysis and machine learning.

PHP originated in 1994 and was developed by RasmusLerdorf. It was originally used to track website visitors and gradually evolved into a server-side scripting language and was widely used in web development. Python was developed by Guidovan Rossum in the late 1980s and was first released in 1991. It emphasizes code readability and simplicity, and is suitable for scientific computing, data analysis and other fields.


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

Zend Studio 13.0.1
Powerful PHP integrated development environment

Notepad++7.3.1
Easy-to-use and free code editor

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.