Instant coding answers via the command line in python

instant coding answers via the command line Sherlock, your neighborhood command-line sloth sleuth. Are you a hack programmer? Do you find yourself constantly Googling for how to do basic programming tasks? Suppose you want to know how to format a date in bash. Why open your browser and read through blogs (risking major distraction) when you can simply stay in the console and ask howdoi: $ howdoi format date bash > DATE=`date +%Y-%m-%d` howdoi will answer all sorts of queries: […]

Read more

PathPicker accepts a wide range of input — output from git commands

Facebook PathPicker is a simple command line tool that solves the perpetual problem of selecting files out of bash output. PathPicker will: Parse all incoming lines for entries that look like files Present the piped input in a convenient selector UI Allow you to either: Edit the selected files in your favorite $EDITOR Execute an arbitrary command with them It is easiest to understand by watching a simple demo: Examples After installing PathPicker, using it is as easy as piping […]

Read more

Adds flavor of interactive filtering to the traditional pipe concept of UNIX shell

__ ____ ___ ______________ / / / __ / _ / ___/ ___/ __ / / / /_/ / __/ / / /__/ /_/ / / / .___/___/_/ ___/____/_/ /_/ percol adds flavor of interactive selection to the traditional pipe concept on UNIX. What’s this percol is an interactive grep tool in your terminal. percol receives input lines from stdin or a file, lists up the input lines, waits for your input that filter/select the line(s), and finally outputs the […]

Read more

Magnificent app which corrects your previous console command

The Fuck is a magnificent app, inspired by a @liamosaur tweet, that corrects errors in previous console commands. Is The Fuck too slow? Try the experimental instant mode! More examples: ➜ apt-get install vim E: Could not open lock file /var/lib/dpkg/lock – open (13: Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root? ➜ fuck sudo apt-get install vim [enter/↑/↓/ctrl+c] [sudo] password for nvbn: Reading package lists… Done … ➜ git push fatal: The current branch […]

Read more

An integrated shell for working with the Kubernetes

Kube-shell: An integrated shell for working with the Kubernetes CLI Under the hood kube-shell still calls kubectl. Kube-shell aims to provide ease-of-use of kubectl and increasing productivity. kube-shell features Auto Completion of Commands and Options with in-line documentation Fish-Style Auto Suggestions Command History You can use up-arrow and down-arrow to walk through the history of    

Read more

A command-line client for SQLite databases that has auto-completion

Docs A command-line client for SQLite databases that has auto-completion and syntax highlighting. Installation If you already know how to install python packages, then you can install it via pip: You might need sudo on linux. $ pip install -U litecli The package is also available on Arch Linux through AUR in two versions: litecli is based the latest release (git tag) and litecli-git is based on the master branch of the git repo. You can install them manually or […]

Read more

3D viewer and post processing of reservoir models

ResInsight is an open source, cross-platform 3D visualization and post processing tool for reservoir models and simulations. The system also constitutes a framework for further development and support for new data sources and visualization methods, e.g. additional solvers, seismic data, CSEM, geomechanics, and more. The user interface is tailored for efficient interpretation of reservoir simulation data with specialized visualizations of properties, faults and wells. It enables easy handling of a large number of realizations and calculation of statistics. To be […]

Read more

An asynchronous python API wrapper meant to replace discord.py

Discord API wrapper rebuild from scratch. Links Join the discord server: https://discord.gg/8WkYz3fNFm The pypi package: https://pypi.org/project/Pincer/ Our website: https://pincer.dev Installation Use The following command to install Pincer into your python environment: pip install pincerDidn’t work? Depending on your python installation, you might need to use one of the following. pip isn’t in the path but python ispython -m pip install pincer Unix system can use pip3/python3 commandpython3 -m pip install pincerpip3 install pincer python isn’t in the pathpath/to/python.exe -m pip […]

Read more

JSON Logging for Sanic in python

JSON Logging for Sanic The other day I was running some containers on Amazon’s ECS and logging to cloudwatch. I then learnt cloudwatch parses JSON logs so obviously I then wanted Sanic to log out JSON. Ideally this’ll be useful to people but if it isn’t, raise an issue and we’ll make it better 🙂 To install: pip install sanic-json-logging Look at examples/simple.py for a full working example, but this will essentially get you going import sanic from sanic_json_logging import […]

Read more

Web app for keeping track of buildings in danger of collapsing in the event of an earthquake

:romania: Un cutremur în București nu este o situație ipotetică.Este o certitudine că acest lucru se va întâmpla.În acest context, la mai bine de 40 de ani de la cutremurul din 1977, memoria colectivă a ascuns în profunzime amintirile acelui dezastru în încercarea de a-și înăbuși teama.Dar realitatea este că, patru decenii mai târziu, Bucureștiul, la fel ca restul orașelor cu risc seismic ridicat, nu ar face față unui asemenea eveniment, iar pierderile de vieți omenești ar fi uriașe.Exercițiul Seism […]

Read more
1 2 3 4 5 51