Coder Social home page Coder Social logo

my_env's Introduction

my_env

Convenient scripts and configuration files meant for quick setup on a new machine.

How to add aliases

This script will pre-pend a block of code to your existing ~/.bash_aliases file to define new aliases without overwriting existing ones. It will create this file if it doesn't exist, and for macOS, will make ~/.bash_profile source it if it doesn't already do so.

python aliases/add_aliases.py

Useful scripts

Use the -h flag to learn about what args each script needs.

  • replace_all_in_file.py - can be called using repall alias added by this repo. Given a file, replaces all occurrences of str1 with str2.
  • default_scp.py - can be called using dscp alias added by this repo. Executes scp command on using your favorite remote host so you don't have to keep writing it out (must export $DEFAULT_REMOTE_HOST).
  • video2gif.py - converts video to gif (useful for Google Slides)
  • speedup_video.py - creates faster copy of video (removes sound)
  • count.py - just prints out numbers from int1 to int2 each on a new line (OK not too useful, but sometimes useful when composing repetitive commands in a text editor)

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.