Seenthis
•
 
Identifiants personnels
  • [mot de passe oublié ?]

 
  • #c
  • #co
  • #com
RSS: #command-line

#command-line

  • #command-line-tools
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 29/03/2019

    #linux Survival Guide for Beginners
    ▻https://hackernoon.com/linux-survival-guide-for-beginners-c18bfd982036?source=rss----3a8144eabf

    https://cdn-images-1.medium.com/max/1024/1*zsLH39mennEfQeDhE1JAWQ.jpeg

    My notes on how I survived the transition to LinuxSource : ▻https://www.pexels.com/photo/blur-bright-business-codes-207580/Switching from Windows to Linux can be really scary. But if you can survive the first few months the returns are exponential. Here is how I survived.TLDRThough I just an amateur in Linux, I was able to survive the transition and indeed benefit from it. So these are my notes for somebody facing similar situation.Pick #ubuntu to start with. Choose other flavours once you know better and can decide for yourself.Get comfortable with following commands ssh, pwd, ls, cd, mv, cp, scp, grep, find, rm . Tip you can use ▻https://tldr.ostera.io/cp to get comfortable with most frequently used options of these commands.Learn to use the | symbol. Using this you can pass the output of (...)

    #programming #command-line #shell

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 12/02/2019

    fnm: Fast and Simple Node.js Version Manager
    ▻https://hackernoon.com/fnm-fast-and-simple-node-js-version-manager-df82c37d4e87?source=rss----3

    https://cdn-images-1.medium.com/max/1024/1*7N18Q7qba8IToCAKlThtIg.png

    A super fast alternative to NVM is now open source on GitHubtl;dr: fnm is a very fast Node.js version manager, ~40x faster than NVM. It supports .nvmrc files and Fish shell out of the box. It works on Linux and Mac and distributed as a single executable - and it is open source on GitHub!So,Two weeks ago, I had opened a new tab on my terminal and complained in agony: “Oh dear god! Every time I open a new terminal it takes like one second!”. My teammates looked at me funny. “This is clearly sub-optimal and hurts my focus, and I believe it’s NVM’s fault.”I found it’s NVM that is at fault after I did a search around my .zshrc file, checking which line takes the most time. It was NVM’s initialization. I have been using NVM for years, and I always wanted to write a simple replacement, because my use (...)

    #command-line #reasonml #javascript #ocaml #nodejs

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 7/01/2019

    Developer’s Toolkit: 4 #linux #command-line tools for debugging everyday issues that all developers…
    ▻https://hackernoon.com/4-linux-command-line-tools-for-debugging-issues-every-software-developer

    https://cdn-images-1.medium.com/max/1024/1*z9EJeDLr7atvFEXrolPbhQ.png

    Developer’s Toolkit: 4 linux command-line tools for debugging everyday issues that all developers should knowWe spend a large proportion of our lives debugging issues. Sometimes we just need an answer to a very simple question but getting that answer is a real struggle and can be time-consuming. On occassions I’ve seen a complicated 3rd party piece of technology thrown at the problem but often in these sorts of scenarios, linux already has you covered. Many of these command-line utilties either already come with a standard linux distribution or are one line away from an install from your specific distro’s preferred package manager. Here’s a list of command-line tools I think all developers should know how to use to answer simple questions.psFor answering the question:What’s running on my (...)

    #software-engineering #developer-tools #software-development

    • #Linux
    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 21/06/2018

    How to #git PR From The Command Line
    ▻https://hackernoon.com/how-to-git-pr-from-the-command-line-a5b204a57ab1?source=rss----3a8144eab

    Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency — ▻https://git-scm.com. Git is the most common version control software used today because It is different from other source control software out there. What makes it the best is that it is distributed, meaning that every collaborator have a full clone of the repository and may works with a remote repository to merge changes using uniq algorithms like rebase an so on. If you would like to know more about git, here is a good place to start.We use git as a command line to create repositories and make changes, merge to an upstream repositories and more. There are many tools built on top of git, one of them is #github. Github is a software (...)

    #terminal #git-pr #command-line

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 5/06/2018

    How to build command line tools on shifting sands
    ▻https://hackernoon.com/how-to-build-command-line-tools-on-shifting-sands-af11ffcd9da9?source=rs

    https://cdn-images-1.medium.com/max/1024/0*Gd-YT2zFM1fZb8GN.jpg

    The shifting tides of code and hype, deprecate and bit rot all the things. So, how do we build things that last? I recently built two command line tools and put careful thought into maximising their longevity. In this post I’ll share some of those thoughts.Search hard for existing solutions“Someone must have done something about this issue,” I thought while I searched frantically. But really, I was not able to find a command line tool that would convert a mysql connection string to connection parameters that could be fed to either the mysql or mysqldump commands.# This is what I wanted to write in the terminal, but could not. $ mysqldump mysql://username:pw@examplesite.com:3306/dbnameAll the tools I found required you to manually decipher the connection string and break it up into (...)

    #command-line-tools #command-line #shifting-sands #nodejs #javascript

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 30/04/2018
    1
    @sandburg
    1

    #docker run vs exec: deep-dive into their differences
    ▻https://hackernoon.com/docker-run-vs-exec-deep-dive-into-their-differences-19a1041735a3?source=

    https://cdn-images-1.medium.com/max/1024/1*MhstbI8rlsFY9prx8YcKkg.png

    Both Docker run and exec execute commands in a Docker container. However, there are key differences in their use that suit different situations.Docker logo. Source: Docker on GithubDocker concepts, such as images and containers- Docker: Get StartedUsing Docker commands- Top 10 Docker commands you can’t live without- Run #bash or any command in a Docker containerrunUse this to run a command in a new container. It suits the situation where you do not have a container running, and you want to create one, start it and then run a process on it.docker run [OPTIONS] IMAGE [COMMAND] [ARG...]Following the docker run command, you must specify the image to create the container from, but there are optional arguments you can pass as well. For example:docker run —name ubuntu_bash —rm -i -t ubuntu (...)

    #command-line #docker-compose #tech

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 17/04/2018

    Top 10 #docker commands you can’t live without
    ▻https://hackernoon.com/top-10-docker-commands-you-cant-live-without-54fb6377f481?source=rss----

    https://cdn-images-1.medium.com/max/792/1*126sHZF_Xo8TVuk6ybWnlA.png

    Docker is a great tool for building microservices, allowing you to create cloud-based applications and systems. To make the most of it via your terminal, here is a run down of the top 10 Docker commands for your terminal.A container is launched by running an image. An image is an executable package that includes everything needed to run an application–the code, a runtime, libraries, environment variables, and configuration files.A container is a runtime instance of an image–what the image becomes in memory when executed (that is, an image with state, or a user process). You can see a list of your running containers with the command, docker ps, just as you would in Linux. — from Docker Conceptsdocker ps — Lists running containers. Some useful flags include: -a / -all for all containers (default (...)

    #docker-compose #cli #command-line #bash

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 28/03/2018

    #power Management for macOS
    ▻https://hackernoon.com/power-management-for-macos-88855c01aea3?source=rss----3a8144eabfe3---4

    https://cdn-images-1.medium.com/max/815/1*32SDE5koDXK9NapZfZHvYg.png

    Lately, my boyfriend has been incredibly excited about using PowerTOP to decrease power usage for his Dell XPS running Arch. It’s a fantastic utility that displays a minimalist monitor for background activity in the terminal, but unfortunately it only exists for Linux systems.I’ve regularly used Activity Monitor for monitoring my CPU and memory usage, but I was beginning to wonder if it might be possible to have a non-GUI assistant for #mac systems.A thread on Stack Exchange recommended powermetrics, a #command-line utility designed specifically for Mac usage. It offers several uses, including sampling groups (interrupt sources, CPU power, device power states, battery and backlight info, thermal pressure notifications, and more).You can also save samples to buffers, order processes, and (...)

    #electricity #hardware

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @stephane
    Stéphane Bortzmeyer @stephane CC BY-SA 20/03/2015
    3
    @biggrizzly
    @fil
    @cppcast
    3

    “Today we celebrate the fact that it is exactly 17 years since the first public release of #curl. I have always been the lead developer and maintainer of the project.”

    ▻http://daniel.haxx.se/blog/2015/03/20/curl-17-years-old-today

    #Web #command-line #free_software

    • #CVS
    Stéphane Bortzmeyer @stephane CC BY-SA
    • @stephane
      Stéphane Bortzmeyer @stephane CC BY-SA 20/03/2015

      “We started out using RCS for version control, switched to CVS and then git. But it has stayed written in good old C the entire time.”

      Stéphane Bortzmeyer @stephane CC BY-SA
    • @archiloque
      Archiloque @archiloque CC BY 20/03/2015

      Plutôt open source que free software, non ?

      Archiloque @archiloque CC BY
    • @archiloque
      Archiloque @archiloque CC BY 25/03/2015

      @tibounise GNU utilise wget ( ▻https://www.gnu.org/software/wget ) qui est encore un peu plus vieux ;-)

      Archiloque @archiloque CC BY
    Écrire un commentaire
  • @booz
    BoOz @booz 14/02/2015

    Translate Shell
    ►http://www.soimort.org/translate-shell

    Translate Shell (previously Google Translate CLI) is a #command-line interface and interactive shell for Google Translate. It works just the way you want it to be.

    #trans

    • #Google
    BoOz @booz
    Écrire un commentaire
  • @fil
    Fil @fil 6/01/2011

    #Python #Twitter Tools (#command-line client and #IRC #bot)
    ►http://mike.verdone.ca/twitter/#install

    Python Twitter Tools (PTT) includes a Twitter #API, command-line tool, and IRC bot.

    #linux

    • #Twitter
    • #command-line tool
    • #Python
    • #Linux
    Fil @fil
    • @stephane
      Stéphane Bortzmeyer @stephane CC BY-SA 10/02/2011

      Y a-t-il quelque part une comparaison des bibliothèques Twitter en Python ? C’est au moins la troisième, après Tweepy et Python-Twitter.

      Stéphane Bortzmeyer @stephane CC BY-SA
    • @fil
      Fil @fil 10/02/2011

      celle-ci faisant aussi ircbot j’aurais tendance à m’en méfier

      Fil @fil
    Écrire un commentaire

Thèmes liés

  • technology: linux
  • #linux
  • operatingsystem: linux
  • #docker
  • company: twitter
  • industryterm: command-line tool
  • #python
  • #twitter
  • #irc
  • #bot
  • #api
  • #docker-compose
  • #bash
  • programminglanguage: python
  • company: github
  • #javascript
  • #nodejs