恒馨博客

路上除了风景还有故事

  • Home
  • Topics
  • Gallery
  • Blog
  • About
恒馨博客>Tweets

Tweets

懒得长篇大论的东西就一句话写在这里吧

  • 看不透、舍不得、输不起、放不下

    2019-01-11 00:55:07

    我们的痛苦来自于看不透、舍不得、输不起、放不下。看不透人际中的纠结、争斗后的隐伤,看不透喧嚣中的平淡、繁华后的宁静;舍不得曾经的精彩、流逝的岁月,舍不得居高时的虚荣、得意时的掌声;输不起一段情感之失,输不起一次人生之败;放不下已经走远的人与事,放不下早已尘封的是与非。

  • jQuery一行代码实现checkbox复选框全选

    2018-11-26 03:01:39

    	$(document).on("click", "#selAll", function(){
    		$('input[class="uniform"]').prop('checked', this.checked);
    	});
  • Flask+MongoDB学习资源

    2018-02-07 05:31:45

    • https://github.com/dcrosta/flask-pymongo
    • https://github.com/CoolBoi567/To-Do-List---Flask-MongoDB-Example
    • https://flask-pymongo.readthedocs.io/en/latest/
    • http://www.bogotobogo.com/python/MongoDB_PyMongo/python_MongoDB_RESTAPI_with_Flask.php
    • https://codehandbook.org/pymongo-tutorial-crud-operation-mongodb/
    • https://github.com/rianrajagede/flask-mongodb
    • https://www.youtube.com/watch?v=jLy0m3GcxRo
  • what should you never say to a programmer?

    2018-01-27 04:41:55

    NEVER ASK A PROGRAMMER WHY HE HASN’T BUILT SOMETHING LIKE GOOGLE, FACEBOOK, TWITTER or QUORA YET!

  • Nginx性能调优需要注意的三个参数

    2017-12-11 07:22:09

    fastcgi_buffers、client_max_body_size、client_body_buffer_size

  • Nginx的读音及LEMP的由来,为什么不叫LNMP?

    2017-11-24 05:30:34

    Nginx的读音及LEMP的由来,为什么不叫LNMP?
  • php正则表达式移除超链接

    2017-03-29 06:38:14

    $html = "我的功能是移除这里的<a href='#'>超链接地址</a>";
    $html = preg_replace("/<\\/?a(\\s+.*?>|>)/", "", $html);
    echo $html;

    你还可以了解一下:php正则表达式替换html中的超链接为绝对地址

  • php正则表达式替换html中的超链接为绝对地址

    2017-03-24 02:34:25

    $html = preg_replace("#(<\s*a\s+[^>]*href\s*=\s*[\"'])(?!http)([^\"'>]+)([\"'>]+)#", '$1http://mydomain.com/$2$3', $html);

    you can use (?!http|mailto) if you have also mailto links in your $html

  • 搞笑gif集锦 - 签名图片

    2017-03-23 03:23:45

    搞笑gif集锦 - 签名图片
  • 那些可以载入史册的古装美人们

    2017-03-23 03:11:09

    那些可以载入史册的古装美人们
PreviousNext

© 2016-2025 恒馨博客 版权所有