Coder Social home page Coder Social logo

bbin's Introduction

BBIN

BBin est un utilitaire Pastebin pour shell, il permet d'envoyer l'entrée standard sur Pastebin.

Installation

Build Status

git clone https://github.com/bclerc/bbin
cd bbin
sh bbin.sh -i

Une fois l'installation du programme terminé vous devez inscrire votre clef developpeur Pastebin dans le fichier config.yml

Vous trouverez votre clef api ici : https://pastebin.com/api

apikey=#Votre cles ici 

Utilisation

Par exemple, pour envoyer un fichier

cat file.txt | bbin
cat file.txt | bbin -n 'Name of file'

Recordit GIF

Clès utilisateur API

Pour pouvoir faire des postes à votre nom et les rendres privés vous devez inscrire votre clef d'utilisateur dqns le fichier `config.yml'. Cependant elle n'est pas obligatoire pour les autres fonctions.

apikey=
userkey= #Votre cles ici 

Les arguments

Definir le nom du pastebin

cat file.txt | bbin -n "Ceci est un jolie nom"
  • Definir le delai avant la suppression

N: Jamais, 1H: 1 Heure, 1W: Une semaine, 1M: 1 Mois, 1Y: 1 Ans

cat file.txt | bbin -d "1D"
  • Definir le pastebin en privé

La clef "userkey" est nécessaire pour cette option

cat file.txt | bbin -p 

Mettre à jour

bbin -u 

Auteurs

License

This project is licensed under the MIT License - see the LICENSE.md file for details

bbin's People

Contributors

androgus avatar bclerc avatar

Watchers

 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.