Giter VIP home page Giter VIP logo

til's Introduction

Magic

Vector terminal screenshots: xterm > CTRL+left_mouse_button > svg screen dump

Commands

enca file.txt -L czech - detect encoding of the file.txt, assume it's in czech.

enca file.txt -L czech -x utf-8 - detect and convert encoding of the file.txt to utf-8, assume it's in czech.

dd bs=4M if=os_img.iso of=/dev/sdb status=progress - create bootable usb drive by writing os_img.iso to /dev/sdb, show progress.

Hacks

vim -p $(grep -rl '#warn') - open all files containing "#warn" as tabs in vim. search current directory recursively.

Tools

https://lvc.github.io/pkgdiff/ - An awesome tool for visualizing changes in Linux software packages

Websites

curl http://wttr.in/ - get weather in ASCII using your terminal or browser.

https://github-forks.abumalick.com/ - find maintained forks of your favorite GitHub repos.

Facts

Python searches /usr/local/lib/python... before /usr/lib/python... - it had caused me problems.

getopts is a (POSIX) shell builtin that can parse simple arguments.
getopt is an external command (GNU and BSD variants) that can parse all kinds of arguments.

Design

Many tools are bound to a single directory - this greatly simplifies usage of the tool by reducing the amount of possibilities. (Makefile, Dockerfile, Rakefile, etc.)

til's People

Contributors

curusarn avatar

Stargazers

 avatar  avatar

Watchers

 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.