Giter Club home page Giter Club logo

charlesscripts's Introduction

CharlesScripts

发布记录:

  • version: r0.1: 该版本将之前所有的代码合并到一起,并将结构大改,大大方便了安装和使用。并没有安装程序,需要自己手动安装。文档还有待完善。

使用说明:

请配合我的博客:Ubuntu Gnome 酷炫完整指南系列(需翻墙,且hosts无效,可以先用lantern翻出去再看)使用。

项目说明:

懒是人类进步的第一动力,经过几年Ubuntu的使用,我写了一些很方便的小脚本,但因为我是初学者,早期代码风格很糟糕。而且当时写这些脚本主要为了自己用,只追求functional...因为水平有限,我把它们开源出来请大家多多指教,共同完善:)

  • 支持的操作系统:Ubuntu Gnome 最新LTS版(其他Linux发行版甚至WSL、Linux on Android等也能用,只不过部分功能需要hack一下脚本)。
  • 读者须知:使用此脚本需要一定(较低)的英文和bash脚本阅读能力,由于本项目不够完善,有的脚本可能迁移到您的电脑之前需要小小地修改。
  • 依赖项(需要用户自行安装): Nerd Fonts, Google Chrome, git, espeak, cowsay, oneko, sl, fortune
  • 可选项:Anaconda, ipython (>=5.0), fortune-zh

内容简介:

  • 自动化安装、配置、配置tmux、配置ipython、配置pdb,的powerline
  • 自动更新hosts实现无缝科学上网、自动备份系统信息。
  • 更新源和软件,类似于pacman -Syyu

本项目建立目的:

  1. 贡献我写的小脚本给大家,方便使用
  2. 请大家为这些小脚本提出建议、共同修改、共同完善
  3. 帮助不会科学上网的同学更方便地查资料(Linux, Windows)
  4. 如果大家或者我的电脑需要从头开始重装系统,可以大幅减少配置环境所需时间
  5. 让大家感受Linux的美

警告:除了本页面或我的博客推荐过的脚本,如果你没有读过我写的脚本的话请谨慎使用

安装指南

完整的安装程序还没做好,可以先把它完全下载下来然后有选择地逐个阅读并运行~/.local/share/CharlesScripts/charles/installation.d里面的安装脚本。

  1. 下载本项目:git clone https://github.com/the0demiurge/CharlesScripts.git ~/.local/share/CharlesScripts
  2. cd ~/.local/share/CharlesScripts/charles/installation.d
  3. 逐个阅读并运行安装脚本。

效果图:

项目目录:

目录更新日期:2017年6月4日

CharlesScripts/
├── charles
│   ├── bin
│   │   ├── add-ppa              # 可批量增加ppa,并备份ppa列表到~/.backup/ppa
│   │   ├── adduser              # 为系统增加用户,并记录何时、为谁添加的账户,比如adduser san 张三(管理服务器的时候方便)
│   │   ├── apt-unlock           # apt-get异常终止之后可以用它来去掉lock文件
│   │   ├── cb2pdf
│   │   ├── ef                   # 编辑fifo命令
│   │   ├── fifo                 # 先入先出队列,用来暂时放一些准备一会再跑的脚本命令
│   │   ├── inst                 # 安装软件并备份软件列表到$CHARLES_BACKUP
│   │   ├── note                 # 提醒,用法为note <time> <to-do>,作用为在<time>之后提醒我做<to-do>,如 note 10m '回家' 为提醒我十分钟之后回家(需要输入sudo apt install espeak安装语音合成引擎)
│   │   ├── omf-backup
│   │   ├── omf-restore
│   │   ├── quit-qq              # 完全退出Longene TM2013版的TM.exe和wineserver
│   │   ├── star-wars-one
│   │   ├── update               # 类似于pacman -Syyu,自动更新所有软件,实际上就是 sudo apt update; sudo apt upgrade -y; sudo apt autoremove -y
│   │   └── wallpaper-earthview  # 自动抓取Google Earthview作为Gnome桌面壁纸(其他桌面也能用,需要调整里面修改壁纸的命令)
│   ├── installation.d
│   │   ├── conf.d
│   │   │   ├── config-bash
│   │   │   ├── config-fish
│   │   │   ├── config-git
│   │   │   ├── config-gnome
│   │   │   ├── config-powerline-bash
│   │   │   ├── config-powerline-ipython
│   │   │   ├── config-powerline-tmux
│   │   │   └── config-tmux
│   │   ├── get.d
│   │   │   ├── get-calibre
│   │   │   ├── get-docker
│   │   │   ├── get-oh-my-fish
│   │   │   ├── get-powerline
│   │   │   ├── get-resilio_sync.sh
│   │   │   ├── get-spacemacs
│   │   │   ├── get-spacevim
│   │   │   ├── get-sublime-text-3.sh
│   │   │   └── get-xsh.sh
│   │   ├── install.py                      # 安装我备份的所有软件,并进行配置的一键部署脚本(警告:这个还未完成,功能有bug)
│   │   ├── omf-backup -> ../bin/omf-backup
│   │   └── omf-restore -> ../bin/omf-restore
│   ├── install.sh                      # 安装我备份的所有软件,并进行配置的一键部署脚本(警告:这个还未完成,功能有bug)
│   ├── packages.list.d
│   │   ├── apps
│   │   │   └── ubuntu.list
│   │   ├── omf.list
│   │   └── ppa
│   └── shell.rc.d                 # shell 初始化脚本,主要包括alias等
│       ├── init.fish
│       └── init.shell
├── data
│   ├── home
│   │   ├── .cache
│   │   │   └── albert
│   │   ├── .config                  # 我的配置文件
│   │   │   ├── albert.conf
│   │   │   ├── fusuma
│   │   │   │   └── config.yml
│   │   │   └── sublime-text-3
│   │   │       └── Packages
│   │   └── .local
│   │       └── share
│   │           └── albert
│   │               ├── last_used_version
│   │               └── org.albert.extension.files.txt
│   ├── pac                               # 记录了我收集的一部分pac自动配置脚本
│   ├── tampermonkey_backup.zip
│   └── ublock_origin                               # chrome中的AdBlock广告过滤里面的自定义部分
│       ├── my-ublock-backup.txt
│       └── my-ublock-static-filters.txt
├── README.md
└── tools
    ├── auto_hosts_updater              # 自动更新hosts以供解除部分网页的使用限制,有windows和linux版。
    │   ├── linux
    │   │   ├── install.sh
    │   │   └── uninst.sh
    │   ├── README.md
    │   └── windows
    │       ├── install.bat
    │       ├── README.md
    │       └── uninst.bat
    ├── codecombine
    └── README.md

24 directories, 57 files


charlesscripts's People

Contributors

the0demiurge avatar

Watchers

 avatar  avatar  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.