zoukankan      html  css  js  c++  java
  • 值得收藏的好文

    https://einverne.github.io/archive
    

    后端通过IP获取当前城市:

    http://ip.ws.126.net/ipquery?ip=115.238.95.194

    http://ip.taobao.com/service/getIpInfo.php?ip=123.233.157.9

    http://whois.pconline.com.cn/ipJson.jsp?ip=115.238.95.194

    http://pv.sohu.com/cityjson?ip=115.238.95.194

    https://blog.csdn.net/qq_40872982/article/details/103852731

     

    https://www.cnblogs.com/sanduzxcvbnm/p/8508741.html
    

      

    https://www.sooele.com/1650.html

    Matomo – 搭建一个属于自己的网站统计分析站点

    # head -n 10 /etc/profile >>/home/test
    # tail -n 5 /etc/profile>>/home/test

    /**
    * [opensslDecrypt description]
    * 使用openssl库进行加密
    * @param [type] $sStr
    * @param [type] $sKey
    * @return [type]
    */
    public function encrypt($sStr, $sKey, $method = 'AES-128-ECB'){
    $str = openssl_encrypt($sStr,$method,$sKey,OPENSSL_RAW_DATA);
    return base64_encode($str);
    }


    /**
    * [opensslDecrypt description]
    * 使用openssl库进行解密
    * @param [type] $sStr
    * @param [type] $sKey
    * @return [type]
    */
    public function decrypt($sStr, $sKey, $method = 'AES-128-ECB'){
    $sStr = base64_decode($sStr);
    $str = openssl_decrypt($sStr,$method,$sKey,OPENSSL_RAW_DATA);
    return $str;
    }

  • 相关阅读:
    Oauth2.0认证原理
    互联网开放平台API安全设计
    API接口幂等性框架设计
    防盗链&CSRF&API接口幂等性设计
    ElasticSearch高可用集群环境搭建和分片原理
    SpringBoot2.0+ElasticSearch网盘搜索实现
    Elasticsearch6.4.3文档的映射
    中文分词器
    C# 插件
    JavaScript 网址
  • 原文地址:https://www.cnblogs.com/lovekingly/p/9596582.html
Copyright © 2011-2022 走看看