archangel + shell   567

History migration from ZSH to BASH
How to remove the timestamp prefix from shell history entries
shell  regex  patterns  zsh 
18 days ago by archangel
Get alt-arrow keys working in fish on OSX (Example)
alt-up: \033[1;3A
alt-down: \033[1;3B
alt-right: \033[1;3C
alt-left: \033[1;3D

The bindings break down like this:

\033 is the code for the escape key.
[1;3 is code for the Meta modifier (You'll see that the control and shift mappings for arrows have 5 and 2 instead of 3).
A/B/C/D are the codes for the arrows.
Warning! This is specific to fish, don't do this if you aren't using fish as your shell.

Now we can enjoy these neat features of fish, hope this helps anyone trying to get the most out of fish on OSX.
fish_shell  osx  shell 
18 days ago by archangel
[no title]
Byobu is a GPLv3 open source text-based window manager and terminal multiplexer. It was originally designed to provide elegant enhancements to the otherwise functional, plain, practical GNU Screen, for the Ubuntu server distribution. Byobu now includes an enhanced profiles, convenient keybindings, configuration utilities, and toggle-able system status notifications for both the GNU Screen window manager and the more modern Tmux terminal multiplexer, and works on most Linux, BSD, and Mac distributions.
linux  shell  tmux 
7 weeks ago by archangel
exa - A modern replacement for ls
exa is a modern replacement for ls. It uses colours for information by default, helping you distinguish between many types of files, such as whether you are the owner, or in the owning group. It also has extra features not present in the original ls, such as viewing the Git status for a directory, or recursing into directories with a tree view. exa is written in Rust, so it’s small, fast, and portable.
linux  shell  navigation  tools  programme 
10 weeks ago by archangel
We Don't Need No Stinkin' Databases
How to use the `join` command to do a database-like join of two CSV files.
shell  tools  programme  csv 
june 2017 by archangel
ShutIt – A Python-based shell automation framework
An "expect-like" automation library where you can script shell sessions that expect user input.
python  shell  opensource  automation  via:tdjones 
june 2017 by archangel
Reshaping JSON with jq
How to query and reformat JSON with jq
JSON  programming  shell  regex  search  analytics  logging 
march 2017 by archangel
shell - Looking for ALT+LeftArrowKey solution in zsh - Stack Overflow
bindkey -e
bindkey '[C' forward-word
bindkey '[D' backward-word
shell  productivity  tip  osx 
march 2017 by archangel
When would I use `--interactive` without `--tty` in a Docker container? - Stack Overflow
Answer: When using piped commands like

echo hello | docker run -i busybox cat
docker  unix  linux  osx  pipes  shell  tip 
march 2017 by archangel
ergonomica/ergonomica: A cross-platform modern shell written in Python.
Ergonomica is a cross-platform shell language, implemented in Python. Ergonomica aims to modernize the terminal, in an easily-extensible and usable language, independent of the OS on which it runs. It uses existing core utilities such as the os and shutil packages, as well as other utilities written in Python, such as the suplemon editor, providing built-in tools that are not os-dependent. Existing Python language features such as asynchronous returning may replace components of the shell such as piping.
python  shell  opensource 
february 2017 by archangel
Speed Up SSH by Reusing Connections
Host *
ControlMaster auto
ControlPath ~/.ssh/sockets/%r@%h-%p
ControlPersist 600
networking  crypto  performance  shell 
february 2017 by archangel
garabik/grc: generic colouriser
Being overflooded with different logfile colo(u)?ri(s|z)ers, colortails, gccolors, colormakes and similar programs for making text files or outputs of different programs more readable by inserting ansi colour control codes into them, I decided to write my very own colouriser, eventually providing the functions of all those others.

Two programs are provided: grc and grcat. The main is grcat, which acts as a filter, i.e. taking standard input, colourising it and writing to standard output.
linux  colors  python  shell  programme  programming  tools  opensource 
february 2017 by archangel
Supercat
This is Supercat's homepage. Supercat is a program that colorizes text based on matching regular expressions/strings/characters. Supercat supports html output as well as standard ASCII text. Unlike some text-colorizing programs that exist, Supercat does not require you to have to be a programmer to make colorization rules.
linux  osx  unix  shell  programme  colors  regex  codesnippets  programming  python 
february 2017 by archangel
Clide
clide is a program that will colorize ascii text on the command line using ANSI escape sequences and user defined and predefined expressions. Searches can include Perl Compatible Regular Expressions for the most part, there are a few limitations though.

There are other programs that do this kind of thing but many of them were written for one specific purpose or the person who wrote it didn't promote it enough. My goal is to make something that is general purpose, but that can be easily be configured for specific purposes (ie. different types of logs or program output) and also to package it for at least rpm and deb based systems so that its easily available.

Also, I've been able to get over some hurdles that the other programs fell short on, like one pattern being able to be within another and have the old color pickup after the internal one is done.
linux  software  shell  colors 
february 2017 by archangel
cmder | A portable Console Emulator for Windows
Cmder is a software package created out of pure frustration over the absence of nice console emulators on Windows. It is based on amazing software, and spiced up with the Monokai color scheme and a custom prompt layout, looking sexy from the start.
win  programme  shell  opensource 
february 2017 by archangel
dgsh — directed graph shell
The directed graph shell, dgsh, provides an expressive way to construct sophisticated and efficient big data set and stream processing pipelines using existing Unix tools as well as custom-built components. It is a Unix-style shell (based on bash) allowing the specification of pipelines with non-linear non-uniform operations. These form a directed acyclic process graph, which is typically executed by multiple processor cores, thus increasing the operation's processing throughput.

If you want to get a feeling on how dgsh works in practice, skip right down to the examples section.
shell  unix  linux  parallel_processing  performance 
january 2017 by archangel
GoAccess
GoAccess is an open source real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems or through your browser.

It provides fast and valuable HTTP statistics for system administrators that require a visual server report on the fly.
logging  web  analytics  shell  browser  programme  to_try 
december 2016 by archangel
Extending Git: add a custom command
Just add an executable names git-yournewcommand to the $PATH
git  productivity  programming  extension  shell 
november 2016 by archangel
Lynis - Security auditing tool for Unix/Linux systems
Lynis is an open source security auditing tool. Used by system administrators, security professionals, and auditors, to evaluate the security defenses of their Linux and UNIX-based systems. It runs on the host itself, so it performs more extensive security scans than vulnerability scanners. It is also the client in our Lynis Enterprise offering.
linux  osx  security  tools  shell 
november 2016 by archangel
BurntSushi/ripgrep: ripgrep combines the usability of The Silver Searcher with the raw speed of grep.
ripgrep is a command line search tool that combines the usability of The Silver Searcher (an ack clone) with the raw speed of GNU grep. ripgrep has first class support on Windows, Mac and Linux, with binary downloads available for every release.
regex  search  shell  tools  linux  osx  win  rust  opensource 
november 2016 by archangel
Keychain Access From Shell
Introduction to the `security` command
osx  security  shell 
october 2016 by archangel
ripgrep is faster than {grep, ag, git grep, ucg, pt, sift} - Andrew Gallant's Blog
In this article I will introduce a new command line search tool, ripgrep, that combines the usability of The Silver Searcher (an ack clone) with the raw performance of GNU grep. ripgrep is fast, cross platform (with binaries available for Linux, Mac and Windows) and written in Rust.
rust  search  tools  programme  regex  shell 
september 2016 by archangel
Box by box-project
The Box application simplifies the Phar building process. Out of the box (no pun intended), the application can do many great things:

Add, replace, and remove files and stubs in existing Phars.
Extract a whole Phar, or cherry pick which files you want.
Retrieve information about the Phar extension, or a Phar file.
List the contents of a Phar.
Verify the signature of an existing Phar.
Generate RSA (PKCS#1 encoded) private keys for OpenSSL signing.
Extract public keys from existing RSA private keys.
Use Git tags and short commit hashes for versioning.
Since the application is based on the Box library, you get its benefits as well:

On the fly search and replace of placeholders.
Compact file contents based on file type.
Generate custom stubs.
php  shell  packaging 
september 2016 by archangel
d’Oh My Zsh
On the history of oh-my-zsh and how to run an open source project
shell  history  opensource  zsh 
september 2016 by archangel
kolodny/nip: Node Input/output Piper
nip is a command line utility for performing any type of processing to and from files and pipes
awk  node.js  regex  text_processing  javascript  shell  pipes 
september 2016 by archangel
Bash Redirections Cheat Sheet
What 2> and &> mean and much, much more.
linux  shell  programming 
september 2016 by archangel
GitHub - jkbrzt/httpie: CLI HTTP client, user-friendly curl replacement with intuitive UI, JSON support, syntax highlighting, wget-like downloads, extensions, etc.
HTTPie (pronounced aitch-tee-tee-pie) is a command line HTTP client. Its goal is to make CLI interaction with web services as human-friendly as possible. It provides a simple http command that allows for sending arbitrary HTTP requests using a simple and natural syntax, and displays colorized output. HTTPie can be used for testing, debugging, and generally interacting with HTTP servers.
python  shell  networking  tools 
august 2016 by archangel
gh-pages - A Node deployment module
Use this command line script to deploy a directory to your gh-pages branch
shell  tools  node.js  programme  javascript  deployment  version_control  github 
august 2016 by archangel
jmhodges/jsonpp @ GitHub
A fast command line JSON pretty printer.

jsonpp is a simple-to-install and fast-to-run command line JSON pretty printer. You'll love it.
shell  tools  JSON  golang  programme 
august 2016 by archangel
Two Cultures of Computing
How users that have only GUI experience struggle with text-based tools and what to keep in mind when instructing them
gui  programming  culture  technology  shell  training  education 
august 2016 by archangel
linux - What is the difference between executing a bash script and sourcing a bash script? - Super User
The differences are:

When you execute the script you are opening a new shell, type the commands in the new shell, copy the output back to your current shell, then close the new shell. Any changes to environment will take effect only in the new shell and will be lost once the new shell is closed.
When you source the script you are typing the commands in your current shell. Any changes to the environment will take effect and stay in your current shell.

Use source if you want the script to change the environment in your currently running shell. use execute otherwise.
unix  shell  essentials 
august 2016 by archangel
ranger
ranger is a console file manager with VI key bindings. It provides a minimalistic and nice curses interface with a view on the directory hierarchy. It ships with "rifle", a file launcher that is good at automatically finding out which program to use for what file type.
python  programme  shell  tools  vim  search  navigation 
august 2016 by archangel
Code Climate: Static analysis from your command line to the cloud.
Get automated code review for test coverage, complexity,
duplication, security, style, and more, and merge with confidence.
code_quality  tools  commercial  opensource  shell  continuous_integration  code_review 
august 2016 by archangel
jrnl- The Command Line Journal
Collect your thoughts and notes
without leaving the command line
shell  writing  programme  tools 
august 2016 by archangel
GitHub - phar-io/phive: phar installation and verification environment
Adding all the required tools like PHPUnit, PHPMD and phpDox in their matching versions to a project used to be a lot of repetitive work: Started by finding the download URL, figuring out what the actually correct and matching version is followed by verifying the sha1 and gpg signatures and making the archive executable. And of course you'd have to repeat this very thing for every tool needed.

Alternatively, you could have used composer. And cluttered your project's dependencies with the ones of your tools. And fight their potential dependency conflicts.

No more! Now you can rely on PHIVE to install and manage your project's tooling needs without all the hassle and without cluttered dependencies!
PHP  packaging  shell  tools  programme 
july 2016 by archangel
GitHub - nicolargo/glances: Glances an Eye on your system
Glances is a cross-platform curses-based system monitoring tool written in Python.
linux  monitoring  python  unix  shell  programme  opensource 
june 2016 by archangel
GitHub - emre/storm: Manage your SSH like a boss.
storm is a command line tool to manage your ssh connections.

features

adding, editing, deleting, listing, searching across your SSHConfig.
command alias support for your CLI preferences.
support for custom SSH directives.
scriptable as a python library.
user interfaces besides cli. (web ui, wxpython, unity(ubuntu) indicator.)
python  tools  crypto  networking  shell 
june 2016 by archangel
PHP is meant to die
Not the language itself, its processes.

TL;DR: If your project will rely on continually-running processes to function, avoid PHP.
PHP  processes  patterns  shell 
may 2016 by archangel
Is it possible to load an extension from PHP cli interface, without modify the ini file? - Stack Overflow
To load a Zend extension, it'd advisable to always pass an absolute path:

php -dzend_extension=/path/to/abc.so myfile.php
PHP  shell  packaging  debugging 
may 2016 by archangel
« earlier      
per page:    204080120160

related tags

12_factor_app  @asteriskproject  @blog  @booksprint  @clientproject  @linuxkurs  @paper  @reshep  @scanflow  @schuleweise  @statstracker  @vivo  administration  ajax  analytics  ansible  ant  aop  apple  archive  art  asterisk  audio  automation  awk  backbone  backup  barcode  best_practice  big_data  bookmarklet  books  browser  browserify  build_tool  business  capistrano  clojure  cloud_computing  cms  codesnippets  code_generation  code_quality  code_review  coffeescript  collaboration  colors  commercial  composer  computer  configuration  continuous_integration  crypto  CSS  csv  culture  db  debugging  deployment  design  devops  dns  docbook  docker  documentation  dotfiles  drupal  ecmascript2015  editor  education  electron  essentials  evernote  extension  filme  finances  fish_shell  forum  framework  Games  gearman  geek  git  github  go  golang  gpg  graphics  graphs  gtd  gui  hadoop  hardware  haskell  history  html5  humor  i18n  IDE  images  installed_software  internet  ios  ipad  iphone  jabber  java  javascript  json  lang:de  language  latex  learning  library  lifehacks  links  linux  logging  mail  management  mapreduce  markdown  math  message_queue  monitoring  music  mysql  navigation  networking  news  node.js  oop  openid  opensource  open_data  opinion  osx  packaging  parallel_processing  parser  patterns  pdf  performance  perl  permissions  phing  php  pipes  plugin  postgresql  presentation  processes  productivity  programme  programming  puppet  python  rails  regex  religion  resources  revisit  ria  rss  ruby  rust  salt  science  screencast  ScreenScraping  search  security  server  shell  software  storage  svn  symfony  symfony_bundle  syncing  systemd  tdd  technology  testing  textmate  text_processing  tip  tips  tmux  tool  tools  to_try  TR  training  tricks  troubleshooting  tutorial  tweet  twisted  unix  usability  vagrant  version_control  via:jakoubek  via:jeremyday  via:jhamon  via:matt-button  via:popular  via:tdjones  vim  virtualisation  visualization  voip  web  webdesign  webpack  websockets  wiki  win  wishlist  writing  xml  xquery  xslt  yaml  zend_framework  zsh 

Copy this bookmark:



description:


tags: