@byxiaoxie7 年前

07/31
17:23
Home

麦当劳免费雪碧,活动过期时间:2017-9-5

免费麦当劳雪碧(建议用微信截图或者直接给他),领取时间:早上9点到晚上6点,方法请看网站说明(必看),每人最多领一到两次否则会被发现,不怕的话你也可以无限领,我领两个就被问了!

麦当劳免费雪碧,活动过期时间:2017-9-5

@byxiaoxie7 年前

07/6
23:39
Home

关于背景图版权

该背景图是本人PS还原的,会出现有侵犯版权问题,请不要盗用,谢谢 ByXiaoXie!

该背景图是本人PS还原的,会出现有侵犯版权问题,请不要盗用,谢谢 ByXiaoXie!

该背景图是本人PS还原的,会出现有侵犯版权问题,请不要盗用,谢谢 ByXiaoXie!

关于背景图版权

@byxiaoxie7 年前

06/27
13:55
Home

Greenify(绿色守护)已捐赠

如何添加需要绿色化的应用
1.点击右上角的 +
2.在最下面点击显示更多应用
3.选择你要绿色化的应用,点击右下角的√即可

7276a582b9014a90c5355ea6a3773912b31bee07-300x171 Greenify(绿色守护)已捐赠

未ROOT如何设置
未ROOT的设备,绿色守护是通过模拟点击应用详细页的“强制停止”来绿色化应用。
1.点击右下角的zzz
2.点击下方提示中的“设置”
3.点击“绿色守护-自动休眠助手”
4.启动开关,并点击确定。
5.点击绿色守护主页右上角竖直三点中的设置,打开“不移除通知消息”在弹出的新窗口中也将绿色守护的开关打开。(若在新窗口中没有绿色守护,则无视)
6.如果你是Android 4.4~5.x用户 还可以导入处方(对于应用唤醒有奇效)

阅读全文 →

Greenify(绿色守护)已捐赠

@byxiaoxie5 年前

01/31
14:44
Home

PUBG Mobile 日服IP列表

添加IP列表代理后进游戏即可切换到正常日服可领活动和日服箱子!

需代理的IP列表:

23.209.32.118
23.55.0.0/16
31.13.0.0/16
49.51.0.0/16
54.219.160.194
54.183.61.55
119.28.0.0/16
120.204.10.204
178.162.0.0/16
183.36.108.31
183.57.48.33
203.205.0.0/16
223.167.86.33

PUBG Mobile 日服IP列表

@byxiaoxie5 年前

11/2
04:17
Home

DC Radar 搭建Hosts中转

此方法仅用与[ubuntu 14.04+ debian 8]系统
服务器:系统平台[Debian 8 x64] 测试IP:[149.28.13*.**] 主机:系统平台[Windows 7]

先更新并安装依赖库

apt update  && apt upgrade -y

apt install -y git build-essential autotools-dev cdbs debhelper dh-autoreconf dpkg-dev gettext libev-dev libpcre3-dev libudns-dev pkg-config fakeroot devscripts supervisor

阅读全文 →

DC Radar 搭建Hosts中转

@byxiaoxie6 年前

08/30
23:26
Home

C# ini配置文件读写

ini.cs 源代码:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;

namespace ini_config
{
    /// <summary>
    /// ini文件类
    /// </summary>
    public class IniFile
    {
        private string m_FileName;

        public string FileName
        {
            get { return m_FileName; }
            set { m_FileName = value; }
        }

        [DllImport("kernel32.dll")]
        private static extern int GetPrivateProfileInt(
            string lpAppName,
            string lpKeyName,
            int nDefault,
            string lpFileName
            );

        [DllImport("kernel32.dll")]
        private static extern int GetPrivateProfileString(
            string lpAppName,
            string lpKeyName,
            string lpDefault,
            StringBuilder lpReturnedString,
            int nSize,
            string lpFileName
            );

        [DllImport("kernel32.dll")]
        private static extern int WritePrivateProfileString(
            string lpAppName,
            string lpKeyName,
            string lpString,
            string lpFileName
            );

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="aFileName">Ini文件路径</param>
        public IniFile(string aFileName)
        {
            this.m_FileName = aFileName;
        }

        /// <summary>
        /// 构造函数
        /// </summary>
        public IniFile()
        { }

        /// <summary>
        /// [扩展]读Int数值
        /// </summary>
        /// <param name="section">节</param>
        /// <param name="name">键</param>
        /// <param name="def">默认值</param>
        /// <returns></returns>
        public int ReadInt(string section, string name, int def)
        {
            return GetPrivateProfileInt(section, name, def, this.m_FileName);
        }

        /// <summary>
        /// [扩展]读取string字符串
        /// </summary>
        /// <param name="section">节</param>
        /// <param name="name">键</param>
        /// <param name="def">默认值</param>
        /// <returns></returns>
        public string ReadString(string section, string name, string def)
        {
            StringBuilder vRetSb = new StringBuilder(2048);
            GetPrivateProfileString(section, name, def, vRetSb, 2048, this.m_FileName);
            return vRetSb.ToString();
        }

        /// <summary>
        /// [扩展]写入Int数值,如果不存在 节-键,则会自动创建
        /// </summary>
        /// <param name="section">节</param>
        /// <param name="name">键</param>
        /// <param name="Ival">写入值</param>
        public void WriteInt(string section, string name, int Ival)
        {

            WritePrivateProfileString(section, name, Ival.ToString(), this.m_FileName);
        }

        /// <summary>
        /// [扩展]写入String字符串,如果不存在 节-键,则会自动创建
        /// </summary>
        /// <param name="section">节</param>
        /// <param name="name">键</param>
        /// <param name="strVal">写入值</param>
        public void WriteString(string section, string name, string strVal)
        {
            WritePrivateProfileString(section, name, strVal, this.m_FileName);
        }

        /// <summary>
        /// 删除指定的 节
        /// </summary>
        /// <param name="section"></param>
        public void DeleteSection(string section)
        {
            WritePrivateProfileString(section, null, null, this.m_FileName);
        }

        /// <summary>
        /// 删除全部 节
        /// </summary>
        public void DeleteAllSection()
        {
            WritePrivateProfileString(null, null, null, this.m_FileName);
        }

        /// <summary>
        /// 读取指定 节-键 的值
        /// </summary>
        /// <param name="section"></param>
        /// <param name="name"></param>
        /// <returns></returns>
        public string IniReadValue(string section, string name)
        {
            StringBuilder strSb = new StringBuilder(256);
            GetPrivateProfileString(section, name, "", strSb, 256, this.m_FileName);
            return strSb.ToString();
        }

        /// <summary>
        /// 写入指定值,如果不存在 节-键,则会自动创建
        /// </summary>
        /// <param name="section"></param>
        /// <param name="name"></param>
        /// <param name="value"></param>
        public void IniWriteValue(string section, string name, string value)
        {
            WritePrivateProfileString(section, name, value, this.m_FileName);
        }
    }
}

阅读全文 →

C# ini配置文件读写

@byxiaoxie6 年前

07/22
16:01
Home

Python3入门爬虫

HTML源代码:

<html xmlns=http://www.w3.org/1999/xhtml>
	<meta http-equiv=Content-Type content="text/html;charset=utf-8">
    <title>爬虫测试</title>
	
    <head>
        <body>
            <h1>任务1:把[P]标签内容利用爬虫全部读取出来.</h1>
            <h2>任务2:把[A]标签连接全部利用爬虫读取出来.</h2>
            <h2>任务3:把[Img]标签图片地址全部读取出来.</h2>
            <h1>任务4:读取完每一个后利用[\n]换行.</h1>
            <hr>
            <p>Test_P_1</p>
            <p>Test_P_2</p>
            <p>Test_P_3</p>
            <p>Test_P_4</p>
            <p>Test_P_5</p>
            <hr>
            <a href="https://baidu.com">连接1_baidu</a>
            <a href="https://byxiaoxie.com">连接2_byxiaoxie</a>
            <a href="http://xz.nicokun.com">连接3_nicokun</a>
            <hr>
            <img src="img_1.jpg" alt="图片1">
            <img src="img_2.jpg" alt="图片2">
            <img src="img_3.jpg" alt="图片3">
        </body>
    </head>
</html>

阅读全文 →

Python3入门爬虫

@byxiaoxie6 年前

05/24
10:08
Home

路由器与交换机配置学习记录(18-5-24已更新)

三层交换机配置拓扑图:

未命名 路由器与交换机配置学习记录(18-5-24已更新)

三层交换机的配置:
Switch>enable
Switch#config
Switch(config)#vlan 10 //创建Vlan 10
Switch(config-vlan)#exit
Switch(config)#vlan 20
Switch(config-vlan)#exit
Switch(config)#vlan 30
Switch(config-vlan)#exit
Switch(config)#int f0/1 //给fa0/1端口设置vlan 10
Switch(config-if)#switchport access vlan 10
Switch(config-if)#exit
Switch(config)#int f0/2
Switch(config-if)#switchport access vlan 20
Switch(config-if)#exit
Switch(config)#int f0/3
Switch(config-if)#switchport access vlan 30
Switch(config-if)#exit
Switch(config)#int vlan 10
Switch(config-if)#ip address 192.168.10.1 255.255.255.0
Switch(config-if)#exit
Switch(config)#int vlan 20
Switch(config-if)#ip address 192.168.20.1 255.255.255.0
Switch(config-if)#exit
Switch(config)#int vlan 30
Switch(config-if)#ip address 192.168.30.1 255.255.255.0
Switch(config-if)#exit
Switch(config)#int f0/24
Switch(config-if)#no switchport //启动端口
Switch(config-if)#ip address 10.0.0.1 255.255.255.0
Switch(config-if)#no shutdown
Switch(config-if)#exit
Switch(config)#ip route 0.0.0.0 0.0.0.0 10.0.0.2  //设置10.0.0.2为静态路由
Switch(config)#ip routing  //启动路由功能
Switch(config)#exit

路由器的配置:
Router>enable
Router#config
Router(config)#int f0/1
Router(config-if)#no shutdown
Router(config-if)#ip address 192.168.40.1 255.255.255.0
Router(config-if)#exit
Router(config)#int f0/0
Router(config-if)#no shutdown
Router(config-if)#ip address 10.0.0.2 255.255.255.0
Router(config-if)#exit
Router(config)#ip route 0.0.0.0 0.0.0.0 10.0.0.1 //设置10.0.0.1为静态路由
Router(config)#exit

阅读全文 →

路由器与交换机配置学习记录(18-5-24已更新)

加载中……