Code Monkey home page Code Monkey logo

ihs-simple's Introduction

blog outlook

一开始只是用来做图床,图省事方便偶尔随手上传自己的小脚本,结果却成了...所有脚本与指令均需用管理员身份运行,脚本代码及病毒分析文章,也仅供学习与交流使用,切勿做违法用途。

免责声明:仅面向研究与学习交流之用,切勿用于其他用途!

资讯分析 SSS

一键获取今日头条、抖音、微博热搜。图文版 (NLP:Stanza

python -c "$(curl -fsSL https://ghproxy.com/https://raw.githubusercontent.com/hoochanlon/ihs-simple/main/d-python/get_resou_today_s.py)"
  • 自动化分类;整体匹配率:84%~96% 区间左右。
  • 词频统计;三者共存的热搜,说明为持久公共热度,信息密度较高。
  • 文本情感平均值、每条标题的情感数值;主:人为置顶热搜的文本情绪强烈程度。
  • 词性分析;标记可能存有引导与被植入意识成分用词,只要定语、状语叠得多,总能是宣传正态形势。

自动化收集辟谣条目及语言分析(NLP:ThuLAC

功能大体与上例相当,对词频的较高词语进行语法分析。

python -c "$(curl -fsSL https://ghproxy.com/https://raw.githubusercontent.com/hoochanlon/ihs-simple/main/d-python/get_rumor_analysis.py)"

一键生成全球信息报表 图文版

python -c "$(curl -fsSL https://ghproxy.com/https://raw.githubusercontent.com/hoochanlon/ihs-simple/main/d-python/get_worldometers.py)"

一键获取**新闻网资讯 图文版

python -c "$(curl -fsSL https://ghproxy.com/https://raw.githubusercontent.com/hoochanlon/ihs-simple/main/d-python/get_chinanews.py)"

因企业硬性需求

IE防Edge劫持 图文版

curl -L  https://ghproxy.com/https://github.com/hoochanlon/ihs-simple/raw/main/d-bat/keep_ie.bat|cmd

一键永久关闭Windows更新设置

curl -L  https://ghproxy.com/https://github.com/hoochanlon/ihs-simple/raw/main/d-bat/stop_update.bat|cmd

一键恢复被关闭的Windows更新设置

curl -L  https://ghproxy.com/https://github.com/hoochanlon/ihs-simple/raw/main/d-bat/re_update.bat|cmd

一键调用设置程序是否以管理员权限运行

curl -OfsSL https://ghproxy.com/https://raw.githubusercontent.com/hoochanlon/ihs-simple/main/d-bat/nano_runas.bat&&call nano_runas.bat

去掉win10/win11热搜条目(需注销或重启) admx.help 上见

reg add "HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows\explorer" /v DisableSearchBoxSuggestions /t reg_dword /d 1 /f

细枝末节

一键爬取bing壁纸 图文版

python -c "$(curl -fsSL https://ghproxy.com/https://raw.githubusercontent.com/hoochanlon/ihs-simple/main/d-python/get_bing_wallpapers.py)"

powershell active,以及微PE显示IP脚本 explorer https://github.com/hoochanlon/ihs-simple/blob/main/d-bat/weipe_showip.bat

Set-ExecutionPolicy RemoteSigned

重置macOS ~/.zshrc (仅环境变量配置失误,造成不可逆后果使用)

export PATH=/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11R6/bin; sudo rm -rf ~/.zshrc

Windows关闭代理设置

netsh winhttp reset proxy

一键安装打印机原理代码 图文版

https://github.com/hoochanlon/ihs-simple/blob/main/d-bat/install_public_network_hp_printer_driver.bat

win7 打开图片报错“内存不足” 图文版

powershell -c "irm  https://ghproxy.com/https://github.com/hoochanlon/ihs-simple/raw/main/d-bat/exifhelper.bat -Outfile exifhelper.bat" && exifhelper.bat

环境适配

一键安装Java 图文版

curl -O https://ghproxy.com/https://raw.githubusercontent.com/hoochanlon/ihs-simple/main/d-bat/install_jdk.bat&&call install_jdk.bat

win11一键显示当前WiFi与密码并生成二维码分享 图文版

curl -O https://ghproxy.com/https://raw.githubusercontent.com/hoochanlon/ihs-simple/main/d-bat/show_wifi.bat&&call show_wifi.bat

一键显示所有WiFi

curl -OfsSL https://ghproxy.com/https://raw.githubusercontent.com/hoochanlon/ihs-simple/main/d-bat/oh_my_wifi.bat&&call oh_my_wifi.bat

一键RAR密码爆破 图文版

curl -Os https://ghproxy.com/https://raw.githubusercontent.com/hoochanlon/ihs-simple/main/d-bat/seven_z_sensei.bat&&call seven_z_sensei.bat

Mac专题

Mac查看当前Wi-Fi密码 图文版

sudo bash -c "$(curl -fsSL https://ghproxy.com/https://raw.githubusercontent.com/hoochanlon/ihs-simple/main/d-shell/mac_show_wifi.sh)"

Mac 一键支持NTFS 图文版

sudo /bin/bash -c "$(curl -fsSL https://cdn.statically.io/gh/hoochanlon/Free-NTFS-for-Mac/main/nigate.sh)"

Mac 激活各类相关软件 图文版

sudo bash -c "$(curl -fsSL https://ghproxy.com/https://raw.githubusercontent.com/QiuChenly/MyMacsAppCrack/main/Shells/simple_crack.sh)"

macOS终端下载Office for Mac2021 serializer.pkg 激活

sudo /usr/bin/osascript -e "$(curl -fsSL https://ghproxy.com/https://raw.githubusercontent.com/hoochanlon/ihs-simple/main/serializer_office_for_mac2021.AppleScript)"

一键RAR密码爆破 图文版

bash -c "$(curl -fsSL https://ghproxy.com/https://raw.githubusercontent.com/hoochanlon/ihs-simple/main/d-shell/7z_rar_sensei.sh)"

一键定时切换壁纸,一面工作,一面生活

 bash -c "$(curl -fsSL https://ghproxy.com/https://raw.githubusercontent.com/hoochanlon/ihs-simple/main/d-shell/mac_corn_diy_wallpaper.sh)"

一键安装打印机 自在拉基 - Mac打印机一键安装 (转朋友的,没需求,所以没写,原理都差不多,不过挺厉害。)

移花接木

CMD一键调用windows版本切换与Windows/Office激活 图文版

curl -O https://ghproxy.com/https://raw.githubusercontent.com/TerryHuangHD/Windows10-VersionSwitcher/master/Switch.bat&&TIMEOUT /T 1&&start Switch.bat&&powershell -command "irm https://massgrave.dev/get|iex"

CMD一键安装winrar注册激活 图文版

powershell -command Invoke-WebRequest -Uri "https://ghproxy.com/https://raw.githubusercontent.com/hoochanlon/ihs-simple/main/winrar_down_reg.bat" -OutFile "C:/Users/${env:UserName}/Downloads/winrar_down_reg.bat"&&TIMEOUT /T 1&&start /b C:\Users\%username%\Downloads\winrar_down_reg.bat

Powershell一键生成Emeditor序列号

irm https://ghproxy.com/https://raw.githubusercontent.com/hoochanlon/ihs-simple/main/d-pwsh/emeditor_random_keygen.ps1|iex

Powershell一键IDM激活(自己写的方案已失效,国内版权原因不做更新

iwr -useb https://ghproxy.com/https://raw.githubusercontent.com/lstprjct/IDM-Activation-Script/main/IAS.ps1 | iex

Powershell从XchangePDF Editor下载安装到生成许可证

curl https://ghproxy.com/https://raw.githubusercontent.com/hoochanlon/ihs-simple/main/xchange_v8_active.ps1 -Outfile xchange_v8_active.ps1 | powershell -c xchange_v8_active.ps1

Linux毛坯房安全改造

一键搞定SSH登录、用户密码策略配置、Ban IP配置 图文版

  • SSH登录: 免密的密钥模式、心跳长时间连接,客户端不掉线
  • 密码策略: 不限特殊字符、大小写,并支持4~5位长度下限
  • Ban IP: 除自己IP外,30秒内短时间三次输错密码,永久封禁IP。
sudo bash -c  "$(curl -fL https://ghproxy.com/https://raw.githubusercontent.com/hoochanlon/ihs-simple/main/d-shell/lite_ssh_n_ban.sh)"
SSH单项、fail2ban单项 click me!

一键调用SSH快速配置 SSH密钥登录策略、用户简单密码配置规则。(单项部分是开启限定自己IP访问的,即 AllowUsers)

sudo bash -c  "$(curl -fL https://ghproxy.com/https://raw.githubusercontent.com/hoochanlon/ihs-simple/main/d-shell/simple_ssh.sh)"

一键fail2ban从下载到安装及生成配置与启动服务。(再次允许单项部分可以刷新自己公网IP配置)

sudo bash -c  "$(curl -fL https://ghproxy.com/https://raw.githubusercontent.com/hoochanlon/ihs-simple/main/d-shell/simple_ban.sh)"

一键搞定Linux自定义创建具有管理员权限的用户 图文版

  • 自定义用户名
  • su、sudo及wheel组成员免密
  • sshd_config锁root远程登录,提高安全性
sudo bash -c  "$(curl -fL https://ghproxy.com/https://raw.githubusercontent.com/hoochanlon/ihs-simple/main/d-shell/diy_add_wheel.sh)"

一键搞定FTP 图文版

  • 共享目录: /var/ftp/share
  • 限制越权出逃共享访问,可读写。
  • 安全,私有化,限定自己的公网IP访问。

不输密码版,用户名:ftpuser 密码:P@ssw0rd

sudo bash -c  "$(curl -fL https://ghproxy.com/https://raw.githubusercontent.com/hoochanlon/ihs-simple/main/d-shell/simple_vsftpd.sh)"

自定义用户版

sudo bash -c  "$(curl -fL https://ghproxy.com/https://raw.githubusercontent.com/hoochanlon/ihs-simple/main/d-shell/lite_vsftpd.sh)"

Linux迁移 Windows command 工具:

python环境问题

  • pyenv+pipx+poetry
    • pyenv灵活地安装与切换python版本,搭配poetry可快速生成相应版本环境。
    • pipx升级依赖工具包方便,不用担心全局兼容问题。
    • 编译的程序通常会依赖各种包,这个要看开发者给出相应提示安装哪些包了。
  • miniconda、anaconda这类python发行版,依赖库齐全。

对于我来说,博客更侧重日常生活,基本上不会往里塞计网专业上的东西,更多的是个人见闻与人文社科。至于所谓“技术”方面的东西,找个专门的平台发稿就行了。现在想来,那些在xx之家、xx论坛投稿的,也是聪明人。SEO、宣传什么的就交由他们去吧。

ihs-simple's People

Contributors

hoochanlon avatar dreambroke avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.