首页 文章 精选 留言 我的

精选列表

搜索[自动装配],共10000篇文章
优秀的个人博客,低调大师

JQuery自动上滑标题效果

效果图 效果图 设计思路: 用ul显示内部上滑标题,并在其外部添加一个div作为容器,然后使用JQuery的动画效果,使ul的top属性不断改变来实现上滑的效果。 代码展示: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <!--引入JQuery--> <script type="text/javascript" src="libs/jquery.min.js" ></script> <title>上滑标题</title> <style> *{ padding: 0; margin: 0; } html,body{ width: 100%; height: 100%; } #border{ width: 300px; height: 30px; /*设置居中显示*/ margin: 0 auto; position: relative; top: 20%; /*添加边框*/ border: 2px black solid; /*隐藏内部超出部分*/ overflow: hidden; } #border ul{ position: absolute; /*去除列表样式*/ list-style: none; top: 0px; } #border ul li{ width: 300px; text-align: center; line-height: 30px; } </style> </head> <body> <div id="border"> <ul> <li>猎豹3.21机器人之夜</li> <li>日启动试验性焚烧</li> <li>医生绘图解释病情</li> <li>拒绝求爱遭泼硫酸</li> <!--这里添加与第一条重复的数据目的是为了使轮播看起来有连续性--> <li>猎豹3.21机器人之夜</li> </ul> </div> </body> <script> $(function(){ //定义变量c var c=0; //设置定时函数使得每隔1秒钟时间就滑动一次 setInterval(function(){ //通过改变c的值来改变显示的标题 c++; //当滑到最后一个的时候将ul的位置直接跳到第一,来实现持续性轮播的效果 if(c===5){ $("#border ul").css({"top":"0px"}); c=1; } var t=c*-30; $("#border ul").animate({"top":t+"px"}); },1000); }); </script> </html>

优秀的个人博客,低调大师

mysql到MPPDB自动刷表

代码实例 package oa.epoint.com.mysql_mpp; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.sql.SQLException; import java.sql.Statement; public class AutoMysqltoMPP { private static String MYSQLUSERNAME = "root"; private static String MYSQLPASSWORD = "Gepoint"; private static String MYSQLDRIVER = "com.mysql.jdbc.Driver"; private static String MYSQLURL = "jdbc:mysql://100.2.5.221:3307/dep_fr_db"; private static String MYSQLDATABASE = "dep_fr_db"; private static String MPPDRIVER = "com.MPP.jdbc.Driver"; private static String MPPURL = "jdbc:MPP://100.2.5.1:5258/"; private static String MPPUSERNAME = "mpp"; private static String MPPPASSWORD = "h3c"; Connection mysqlconn = null; Statement mysqlpstm = null; ResultSet mysqlrs = null; Connection mppconn = null; Statement mppstm = null; ResultSet mpprs = null; String sql1 = " "; String sql2 = " "; String sql3 = " "; String sql4 = " "; String sql5 = " "; String sql6 = " "; public static void main(String[] args) throws Exception { AutoMysqltoMPP aidth = new AutoMysqltoMPP(); aidth.getMYSQLConnection(); aidth.MYSQLReleaseResource(); aidth.getMPPConnection(); aidth.MPPReleaseResource(); aidth.CreateMPPTable(); // aidth.ImportDataToMPP(); System.out.println("程序已经执行完毕!请去waterdrop验证结果吧!!"); } public void CreateMPPTable() { mysqlconn = getMYSQLConnection(); mppconn = getMPPConnection(); try { mppstm = mppconn.createStatement(); mysqlpstm = mysqlconn.createStatement(); int i = 0; String sql = "SELECT table_schema\r\n" + " ,table_name\r\n" + " ,(\r\n" + " CASE \r\n" + " WHEN ORDINAL_POSITION = mincol\r\n" + " AND ORDINAL_POSITION < maxcol\r\n" + " THEN CONCAT (\"create table \"\r\n" + " ,table_schema\r\n" + " ,\".\"\r\n" + " ,table_name\r\n" + " ,\"(`\"\r\n" + " ,column_name\r\n" + " ,\"` \"\r\n" + " ,COLUMN_TYPE\r\n" + " ,\",\"\r\n" + " )\r\n" + " WHEN ORDINAL_POSITION = mincol\r\n" + " AND ORDINAL_POSITION = maxcol\r\n" + " THEN CONCAT (\"create table \"\r\n" + " ,table_schema\r\n" + " ,\".\"\r\n" + " ,table_name\r\n" + " ,\"(`\"\r\n" + " ,column_name\r\n" + " ,\"` \"\r\n" + " ,COLUMN_TYPE\r\n" + " ,\");\"\r\n" + " )\r\n" + " WHEN ORDINAL_POSITION > mincol\r\n" + " AND ORDINAL_POSITION < maxcol\r\n" + " THEN CONCAT (\r\n" + " \"`\"\r\n" + " ,column_name\r\n" + " ,\"` \"\r\n" + " ,COLUMN_TYPE\r\n" + " ,\",\"\r\n" + " )\r\n" + " WHEN ORDINAL_POSITION = maxcol\r\n" + " THEN CONCAT (\r\n" + " \"`\"\r\n" + " ,column_name\r\n" + " ,\"` \"\r\n" + " ,COLUMN_TYPE\r\n" + " ,\");\"\r\n" + " )\r\n" + " END\r\n" + " ) AS statement\r\n" + " ,ORDINAL_POSITION\r\n" + " ,maxcol\r\n" + " ,mincol\r\n" + "FROM (\r\n" + " SELECT b.table_schema,b.table_name,b.ORDINAL_POSITION,b.column_name,\r\n" + " (case\r\n" + " when column_type = 'timestamp' then 'datetime'\r\n" + " when column_type = 'bit(1)' then 'int(1)'\r\n" + " else\r\n" + " column_type\r\n" + " end ) AS column_type\r\n" + " ,a.maxcol\r\n" + " ,a.mincol\r\n" + " FROM (\r\n" + " SELECT table_schema\r\n" + " ,table_name\r\n" + " ,max(ORDINAL_POSITION) maxcol\r\n" + " ,min(ORDINAL_POSITION) mincol\r\n" + " FROM information_schema.COLUMNS\r\n" + " GROUP BY table_schema\r\n" + " ,table_name\r\n" + " ) a\r\n" + " JOIN (\r\n" + " SELECT table_schema\r\n" + " ,table_name\r\n" + " ,ORDINAL_POSITION\r\n" + " ,column_name\r\n" + " ,COLUMN_TYPE\r\n" + " FROM information_schema.COLUMNS\r\n" + " ORDER BY table_schema\r\n" + " ,table_name\r\n" + " ,ORDINAL_POSITION ASC\r\n" + " ) b ON a.table_schema = b.table_schema\r\n" + " AND a.table_name = b.table_name\r\n" + " ) c\r\n" + "WHERE table_schema = '"+MYSQLDATABASE+"'"; mysqlrs = mysqlpstm.executeQuery(sql); while (mysqlrs.next()) { sql1 = mysqlrs.getString(3); sql2 = sql2 + sql1; } sql3 = "create database IF NOT EXISTS " + MYSQLDATABASE; mppstm.execute(sql3); System.out.println("-------------------建mpp表,表结构的语句为:" + sql2); String[] sqls=sql2.split(";"); for (String m : sqls) { mppstm.execute(m); } System.out.println("----------------------------------------建mpp表已结束!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"); mppstm.close(); mysqlpstm.close(); } catch (SQLException e) { e.printStackTrace(); } finally { MYSQLReleaseResource(); MPPReleaseResource(); } } public void ImportDataToMPP() { mysqlconn = getMYSQLConnection(); mppconn = getMPPConnection(); String sql = "select table_name from user_tables where num_rows > 0 order by table_name asc"; int i = 0; try { mysqlpstm = mysqlconn.createStatement(); mysqlrs = mysqlpstm.executeQuery(sql); mppstm = mppconn.createStatement(); while (mysqlrs.next()) { i = i + 1; String table_name = mysqlrs.getString("table_name").replaceAll("\\$", ""); String sql7 = "insert into " + MYSQLDATABASE + "." + table_name + " select * from " + MYSQLDATABASE + "_ex." + table_name; System.out.println("现在插入第"+i+"个表:"+sql7); mppstm.execute(sql7); } } catch (SQLException e) { e.printStackTrace(); } finally { MYSQLReleaseResource(); MPPReleaseResource(); } } public Connection getMYSQLConnection() { try { Class.forName(MYSQLDRIVER); mysqlconn = DriverManager.getConnection(MYSQLURL, MYSQLUSERNAME, MYSQLPASSWORD); } catch (ClassNotFoundException e) { throw new RuntimeException("class not find !", e); } catch (SQLException e) { throw new RuntimeException("get connection error!", e); } return mysqlconn; } public void MYSQLReleaseResource() { if (mysqlrs != null) { try { mysqlrs.close(); } catch (SQLException e) { e.printStackTrace(); } } if (mysqlpstm != null) { try { mysqlpstm.close(); } catch (SQLException e) { e.printStackTrace(); } } if (mysqlconn != null) { try { mysqlconn.close(); } catch (SQLException e) { e.printStackTrace(); } } } public Connection getMPPConnection() { try { Class.forName(MPPDRIVER); mppconn = DriverManager.getConnection(MPPURL, MPPUSERNAME, MPPPASSWORD); } catch (ClassNotFoundException e) { throw new RuntimeException("class not find !", e); } catch (SQLException e) { throw new RuntimeException("get connection error!", e); } return mppconn; } public void MPPReleaseResource() { if (mpprs != null) { try { mpprs.close(); } catch (SQLException e) { e.printStackTrace(); } } if (mppstm != null) { try { mppstm.close(); } catch (SQLException e) { e.printStackTrace(); } } if (mppconn != null) { try { mppconn.close(); } catch (SQLException e) { e.printStackTrace(); } } } }

优秀的个人博客,低调大师

HIVE自动刷表导数据

代码实例 package mysql.to.hdfs.hive; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.sql.SQLException; import java.sql.Statement; //第一步,先把oracle数据抽取到hdfs目录,通过sqoop工具 //第二步,修改下面对应的链接,oracle链接即可 //第三步,执行程序,等程序执行完毕,数据都到了hyperbase表中,可验证 public class AutoImportDataToORC { private static String MYSQLUSERNAME = "root"; private static String MYSQLPASSWORD = "Gepoint"; private static String MYSQLDRIVER = "com.mysql.jdbc.Driver"; private static String MYSQLURL = "jdbc:mysql://100.2.5.221:3307/dep_rk_db"; private static String HIVEDRIVER = "org.apache.hive.jdbc.HiveDriver"; private static String HIVEURL = "jdbc:hive2://100.2.5.2:10000/default"; private static String HIVEUSERNAME = "hdfs"; private static String HIVEPASSWORD = "d010"; Connection mysqlconn = null; Statement mysqlpstm = null; ResultSet mysqlrs = null; Connection hiveconn = null; Statement hivepstm = null; ResultSet hivers = null; String sql1 = " "; String sql2 = " "; String sql3 = " "; String sql4 = " "; String sql5 = " "; String sql6 = " "; String MYSQLUSERNAME1 = MYSQLUSERNAME.replaceAll("001", ""); public static void main(String[] args) throws Exception { AutoImportDataToORC aidth = new AutoImportDataToORC(); aidth.getMYSQLConnection(); aidth.MYSQLReleaseResource(); aidth.getHiveConnection(); aidth.HiveReleaseResource(); // aidth.CreateExternalTable(); // aidth.CreateOrcTable(); // aidth.ImportDataToORC(); System.out.println("程序已经执行完毕!请去waterdrop验证结果吧!!"); } public void CreateExternalTable() { mysqlconn = getMYSQLConnection(); hiveconn = getHiveConnection(); String sql0 = "dfs -du /tmp/imp/" + MYSQLUSERNAME.toUpperCase(); try { hivepstm = hiveconn.createStatement(); mysqlpstm = mysqlconn.createStatement(); hivers = hivepstm.executeQuery(sql0); int i = 0; while (hivers.next()) { String hdfsspace = hivers.getString(1); String a[] = hdfsspace.split("/", 2); String size = a[0]; String tableNameAndFloder = a[1]; String ss[] = tableNameAndFloder.split("/"); String tableName = ss[3]; if(Long.parseLong(size.trim()) != 0L){ i = i + 1; String tableName1 = tableName.replaceAll("\\$", ""); String sql = "select c.table_name,\r\n" + " case when c.column_id=c.COLUMN_ID_MIN \r\n" + " then 'create external table if not exists " + MYSQLUSERNAME1 + "_EX."+tableName1+" ( ' \r\n" + " else ', ' \r\n" + " end \r\n" + " ||c.sqltxt||\r\n" + " case when c.column_id=c.COLUMN_ID_MAX \r\n" + " then ') row format DELIMITED FIELDS terminated by ''\\001'' stored as textfile location ''/tmp/imp/' ||u.USERNAME||'/'|| \r\n" + " c.table_name || \r\n" + " ''';' \r\n" + " else '' \r\n" + " end ,\r\n" + " c.column_id,\r\n" + " c.COLUMN_ID_MIN,\r\n" + " c.COLUMN_ID_MAX\r\n" + "from ( \r\n" + "select table_name,\r\n" + "'`' || column_name || '` ' || \r\n" + " case data_type\r\n" + " when 'NUMBER' then ' decimal(' || data_length || ',' || nvl(data_scale,0) || ') '\r\n" + " when 'FLOAT' then ' decimal(' || data_length || ',' || nvl(data_scale,0) || ') '\r\n" + " when 'VARCHAR2' then ' string '\r\n" + " when 'NVARCHAR2' then ' string '\r\n" + " when 'DATE' then ' string '\r\n" + " when 'INTEGER' then ' string '\r\n" + " when 'CHAR' then ' string '\r\n" + " when 'CLOB' then ' string '\r\n" + " when 'NCLOB' then ' string '\r\n" + " when 'BLOB' then ' string '\r\n" + " when 'LONG RAW' then ' string '\r\n" + " when 'UNDEFINED' then ' string '\r\n" + " when 'LONG' then ' string '\r\n" + " when 'Bit' then ' string '\r\n" + " when 'TIMESTAMP(6)' then ' string '\r\n" + " when 'Boolean' then ' string '\r\n" + " end sqlTxt\r\n" + " ,COLUMN_ID\r\n" + " ,min(COLUMN_ID)over(partition by table_name) as COLUMN_ID_MIN\r\n" + " ,max(COLUMN_ID)over(partition by table_name) as COLUMN_ID_MAX\r\n" + " from user_tab_columns \r\n" + " where table_name = '" + tableName + "' --order by COLUMN_ID asc \r\n" + " )c \r\n" + "left join user_users u on 1=1 \r\n" + "order by c.table_name,c.COLUMN_ID asc"; mysqlrs = mysqlpstm.executeQuery(sql); while (mysqlrs.next()) { sql1 = mysqlrs.getString(2); sql2 = sql2 + sql1; } } } sql3 = "create database IF NOT EXISTS " + MYSQLUSERNAME1 + "_ex"; hivepstm.execute(sql3); System.out.println("-------------------建外表,一共" + i + "个表表结构的语句为:" + sql2); hivepstm.execute(sql2); System.out.println("----------------------------------------建外表已结束!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"); hivepstm.close(); mysqlpstm.close(); } catch (SQLException e) { e.printStackTrace(); } finally { MYSQLReleaseResource(); HiveReleaseResource(); } } public void CreateOrcTable() { mysqlconn = getMYSQLConnection(); hiveconn = getHiveConnection(); String sql0 = "dfs -du /tmp/imp/" + MYSQLUSERNAME.toUpperCase(); int i = 0; try { hivepstm = hiveconn.createStatement(); mysqlpstm = mysqlconn.createStatement(); hivers = hivepstm.executeQuery(sql0); while (hivers.next()) { String hdfsspace = hivers.getString(1); String a[] = hdfsspace.split("/", 2); String size = a[0]; String tableNameAndFloder = a[1]; String ss[] = tableNameAndFloder.split("/"); String tableName = ss[3]; if(Long.parseLong(size.trim()) != 0L){ Long buckets = 0L; buckets = Long.parseLong(size.trim()) / (60 * 1024 * 1024) + 1; String sql_0 = "select column_name from user_tab_columns where table_name = '" + tableName.toUpperCase() + "' and column_id = 1"; mysqlrs = mysqlpstm.executeQuery(sql_0); String tableName1 = tableName.replaceAll("\\$", ""); i = i + 1; while (mysqlrs.next()) { String columnname = mysqlrs.getString(1); String sql = "select c.table_name,\r\n" + " case when c.column_id=c.COLUMN_ID_MIN \r\n" + " then 'create table if not exists " + MYSQLUSERNAME1 + "."+ tableName1 +"( ' \r\n" + " else ', ' \r\n" + " end \r\n" + " ||c.sqltxt||\r\n" + " case when c.column_id=c.COLUMN_ID_MAX \r\n" + " then ') clustered by (" + columnname + ") into " + buckets + " buckets STORED AS ORC ;' \r\n" + " else '' \r\n" + " end ,\r\n" + " c.column_id,\r\n" + " c.COLUMN_ID_MIN,\r\n" + " c.COLUMN_ID_MAX\r\n" + "from ( \r\n" + "select table_name,\r\n" + " '`' || column_name || '` ' ||\r\n" + " case data_type\r\n" + " when 'NUMBER' then ' decimal(' || data_length || ',' || nvl(data_scale,0) || ') '\r\n" + " when 'FLOAT' then ' decimal(' || data_length || ',' || nvl(data_scale,0) || ') '\r\n" + " when 'VARCHAR2' then ' string '\r\n" + " when 'NVARCHAR2' then ' string '\r\n" + " when 'DATE' then ' date '\r\n" + " when 'INTEGER' then ' decimal(38,0)'\r\n" + " when 'CHAR' then ' string '\r\n" + " when 'CLOB' then ' clob '\r\n" + " when 'TIMESTAMP(6)' then ' timestamp '\r\n" + " when 'NCLOB' then ' clob '\r\n" + " when 'LONG RAW' then ' string '\r\n" + " when 'LONG' then ' string '\r\n" + " when 'UNDEFINED' then ' string '\r\n" + " when 'BLOB' then ' blob '\r\n" + " when 'Bit' then ' boolean '\r\n" + " when 'Boolean' then ' boolean '\r\n" + " end sqlTxt\r\n" + " ,COLUMN_ID\r\n" + " ,min(COLUMN_ID)over(partition by table_name) as COLUMN_ID_MIN\r\n" + " ,max(COLUMN_ID)over(partition by table_name) as COLUMN_ID_MAX\r\n" + " from user_tab_columns \r\n" + " where table_name = '" + tableName + "' --order by COLUMN_ID asc \r\n" + " )c \r\n" + "left join user_users u on 1=1 \r\n" + "order by c.table_name,c.COLUMN_ID asc"; mysqlrs = mysqlpstm.executeQuery(sql); while (mysqlrs.next()) { sql4 = mysqlrs.getString(2); sql5 = sql5 + sql4; } } } } sql6 = "create database IF NOT EXISTS " + MYSQLUSERNAME1; System.out.println("-------------------建orc表库名的语句为:" + sql6); hivepstm.execute(sql6); System.out.println("-------------------建ORC表,一共" + i + "个表的表结构的语句为:" + sql5); hivepstm.execute(sql5); System.out.println("----------------------------------------建ORC表已结束!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"); // hivepstm.close(); // oraclepstm.close(); } catch (SQLException e) { e.printStackTrace(); } finally { MYSQLReleaseResource(); HiveReleaseResource(); } } public void ImportDataToORC() { mysqlconn = getMYSQLConnection(); hiveconn = getHiveConnection(); String sql = "select table_name from user_tables where num_rows > 0 order by table_name asc"; int i = 0; try { mysqlpstm = mysqlconn.createStatement(); mysqlrs = mysqlpstm.executeQuery(sql); hivepstm = hiveconn.createStatement(); while (mysqlrs.next()) { i = i + 1; String table_name = mysqlrs.getString("table_name").replaceAll("\\$", ""); String sql7 = "insert into " + MYSQLUSERNAME1 + "." + table_name + " select * from " + MYSQLUSERNAME1 + "_ex." + table_name; System.out.println("现在插入第"+i+"个表:"+sql7); hivepstm.execute(sql7); } } catch (SQLException e) { e.printStackTrace(); } finally { MYSQLReleaseResource(); HiveReleaseResource(); } } public Connection getMYSQLConnection() { try { Class.forName(MYSQLDRIVER); mysqlconn = DriverManager.getConnection(MYSQLURL, MYSQLUSERNAME, MYSQLPASSWORD); } catch (ClassNotFoundException e) { throw new RuntimeException("class not find !", e); } catch (SQLException e) { throw new RuntimeException("get connection error!", e); } return mysqlconn; } public void MYSQLReleaseResource() { if (mysqlrs != null) { try { mysqlrs.close(); } catch (SQLException e) { e.printStackTrace(); } } if (mysqlpstm != null) { try { mysqlpstm.close(); } catch (SQLException e) { e.printStackTrace(); } } if (mysqlconn != null) { try { mysqlconn.close(); } catch (SQLException e) { e.printStackTrace(); } } } public Connection getHiveConnection() { try { Class.forName(HIVEDRIVER); hiveconn = DriverManager.getConnection(HIVEURL, HIVEUSERNAME, HIVEPASSWORD); } catch (ClassNotFoundException e) { throw new RuntimeException("class not find !", e); } catch (SQLException e) { throw new RuntimeException("get connection error!", e); } return hiveconn; } public void HiveReleaseResource() { if (hivers != null) { try { hivers.close(); } catch (SQLException e) { e.printStackTrace(); } } if (hivepstm != null) { try { hivepstm.close(); } catch (SQLException e) { e.printStackTrace(); } } if (hiveconn != null) { try { hiveconn.close(); } catch (SQLException e) { e.printStackTrace(); } } } }

优秀的个人博客,低调大师

PyCodeInjectionShell - 自动Python代码注入工具

版权声明:转载请注明出处:http://blog.csdn.net/dajitui2024 https://blog.csdn.net/dajitui2024/article/details/79396461 参考:https://github.com/sethsec/PyCodeInjection PyCodeInjection项目包含两个主要组件: PyCodeInjectionShell - 一种利用基于Web应用程序的Python代码注入的工具PyCodeInjectionApp - 一种易受Python代码注入攻击的Web应用程序 安装: git clone https://github.com/sethsec/PyCodeInjection.git /opt/PythonCodeInjection cd /opt/PythonCodeInjection/VulnApp ./install_requirements.sh 使用案例: root@playground:/opt/PyCodeInjection/VulnApp# python PyCodeInjectionApp.py http://0.0.0.0:8080/ 192.168.81.1:12637 - - [02/Nov/2016 22:02:28] "HTTP/1.1 POST /pyinject" - 200 OK 192.168.81.1:12639 - - [02/Nov/2016 22:02:37] "HTTP/1.1 POST /pyinject" - 200 OK 192.168.81.1:12640 - - [02/Nov/2016 22:02:38] "HTTP/1.1 POST /pyinject" - 200 OK 192.168.81.1:12641 - - [02/Nov/2016 22:02:39] "HTTP/1.1 POST /pyinject" - 200 OK 192.168.81.1:12642 - - [02/Nov/2016 22:02:39] "HTTP/1.1 POST /pyinject" - 200 OK

优秀的个人博客,低调大师

设置自动唤醒和关闭 Linux

一.系统休眠(crontab) 示例说明(创建一个 root 定时任务实现每天晚上 11 点 15 分定时关机): 1 # crontab -e -u root 2 # m h dom mon dow command 3 15 23 * * * /sbin/shutdown -h now 示例说明(仅在周一至周五运行) 1 15 23 * * 1-5 /sbin/shutdown -h now 另外可以直接在/etc/crontab文件中添加定时服务 15 23 * * 1-5 root shutdown -h now 二. 唤醒(Wake-On-LAN) 1. 查看是否直接Wake-On-LAN和开启,必须支持的功能是g # ethtool eth0 | grep -i wake-on Supports Wake-on: pumbg Wake-on: g 2. 启动g(ps:这条命令可能会在重启后失效) # ethtool -s eth0 wol g 3. 添加cron保证每次重启之后开启g @reboot /usr/bin/ethtool -s eth0 wol g

资源下载

更多资源
腾讯云软件源

腾讯云软件源

为解决软件依赖安装时官方源访问速度慢的问题,腾讯云为一些软件搭建了缓存服务。您可以通过使用腾讯云软件源站来提升依赖包的安装速度。为了方便用户自由搭建服务架构,目前腾讯云软件源站支持公网访问和内网访问。

Nacos

Nacos

Nacos /nɑ:kəʊs/ 是 Dynamic Naming and Configuration Service 的首字母简称,一个易于构建 AI Agent 应用的动态服务发现、配置管理和AI智能体管理平台。Nacos 致力于帮助您发现、配置和管理微服务及AI智能体应用。Nacos 提供了一组简单易用的特性集,帮助您快速实现动态服务发现、服务配置、服务元数据、流量管理。Nacos 帮助您更敏捷和容易地构建、交付和管理微服务平台。

Rocky Linux

Rocky Linux

Rocky Linux(中文名:洛基)是由Gregory Kurtzer于2020年12月发起的企业级Linux发行版,作为CentOS稳定版停止维护后与RHEL(Red Hat Enterprise Linux)完全兼容的开源替代方案,由社区拥有并管理,支持x86_64、aarch64等架构。其通过重新编译RHEL源代码提供长期稳定性,采用模块化包装和SELinux安全架构,默认包含GNOME桌面环境及XFS文件系统,支持十年生命周期更新。

WebStorm

WebStorm

WebStorm 是jetbrains公司旗下一款JavaScript 开发工具。目前已经被广大中国JS开发者誉为“Web前端开发神器”、“最强大的HTML5编辑器”、“最智能的JavaScript IDE”等。与IntelliJ IDEA同源,继承了IntelliJ IDEA强大的JS部分的功能。

用户登录
用户注册