• 值得收藏的好文


    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;
    }

  • 相关阅读:
    【Alpha】开发日志Day30714
    【Alpha】开发日志Day10712
    实验1
    实验2
    图深度优先搜索最短路径
    一切都结束了
    C#操作XML(读XML,写XML,更新,删除节点,与dataset结合等)
    字符串匹配
    纯数学规律题
    高精度
  • 原文地址:https://www.cnblogs.com/lovekingly/p/9596582.html
Copyright © 2020-2023  润新知