ubuntu16.04安装后要做的配置

    阅读更多

    Linux下校园网锐捷4.x安装与运行

      阅读更多

      Vultr VPS锐速优化

        阅读更多

        Java利用Zxing生成二维码

        Maven 依赖

        1
        2
        3
        4
        5
        <dependency>   
        <groupId>com.google.zxing</groupId>
        <artifactId>core</artifactId>
        <version>2.0</version>
        </dependency>

        阅读更多

        replace和replaceAll的区别

          阅读更多

          Mac Nginx默认

          The default port has been set in /usr/local/etc/nginx/nginx.conf to 8080 so that
          nginx can run without sudo.
          nginx will load all files in /usr/local/etc/nginx/servers/.
          To have launchd start nginx now and restart at login:
          brew services start nginx
          Or, if you don’t want/need a background service you can just run:
          nginx

          阅读更多

          Java环境变量配置

            阅读更多

            解决idea-sql-dialect-is-not-configured

            Settings ⇒ Languages & Frameworks ⇒ SQL Dialects

            阅读更多

            MYSQL-ERROR-1862

            遇到错误:

            1
            2
            ERROR 1862 (HY000): Your password has expired. To log in you must  
            change it using a client that supports expired passwords.

            阅读更多

            MySQL使用HQL语句实现按中文拼音排序

            MySQL 默认字符集是utf-8,如果想实现中文排序,就需要用convert(filedName using gbk) 实现,但现有的hibernate的hql不能支持此函数,Hibernate已经对此做了相应的方案解决。我们可以在Dialect注册一个数据库函数,java代码如下:

            阅读更多