• davidY
  • Mes liens
  • Tags
  • images
  • Quotidien
  • RSS
  • Connexion
Filtrer par liens sans tag

Postgresqlhttps://share.davidy.fr/shaare/ONNpCg

  • tips
  • postgresql
  • tips
  • postgresql

Lister les bases :
\l
Lister les utilisateurs :
\du
Supprimer une base :
drop database [nom];
Supprimer un utilisateur :
drop user [nom];

Permalien
June 10, 2015 at 4:43:35 PM GMT+2

Processus - porthttps://share.davidy.fr/shaare/cHZYBw

  • linux
  • tips
  • reseau
  • linux
  • tips
  • reseau

Pour trouver le programme écoutant sur un port (Linux)

SOLUTION 1 :

netstat -tulpn
(Pas d'infos lues pour "-p": geteuid()=1000 mais vous devez être root.)
Connexions Internet actives (seulement serveurs)
Proto Recv-Q Send-Q Adresse locale Adresse distante Etat PID/Program name
tcp 0 0 127.0.0.1:3306 0.0.0.0: LISTEN -
tcp 0 0 0.0.0.0:111 0.0.0.0:
LISTEN -
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN -

sudo fuser 80/tcp
80/tcp: 7843 7845

sudo ls -l /proc/7845/exe
lrwxrwxrwx 1 www-data www-data 0 juin 8 15:09 /proc/7845/exe -> /usr/sbin/nginx*

SOLUTION 2 :

sudo lsof -i tcp:80
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
nginx 7843 root 8u IPv4 225646 0t0 TCP :http (LISTEN)
nginx 7845 www-data 8u IPv4 225646 0t0 TCP
:http (LISTEN)

Permalien
June 9, 2015 at 3:46:16 PM GMT+2

Fail2ban : Unbanhttps://share.davidy.fr/shaare/WMtENQ

  • fail2ban
  • tips
  • fail2ban
  • tips

En mode propre

Pour les version > 0.8.8 :

fail2ban-client set sshd unbanip 10.1.3.245
fail2ban-client set ssh unbanip 10.1.3.245

En mode à l'arrache

Ne semble plus fonctionner

Pour les version < 0.8.8 :

sudo iptables -L  -n -v --line-numbers

Chain fail2ban-ssh (1 references)
num   pkts bytes target     prot opt in     out     source               destination
1            0       0 DROP      all    --   *       *         62.76.42.59       0.0.0.0/0
2          14  1204 DROP      all    --   *       *         218.65.30.73     0.0.0.0/0

sudo iptables -D fail2ban-ssh [numéro de ligne]
Permalien
June 9, 2015 at 2:10:05 PM GMT+2

How to undo (almost) anything with Githttps://github.com/blog/2019-how-to-undo-almost-anything-with-git

  • todo_git
  • todo_git

Liste de commande pour annuler tout un tas d'action sous git selon l'état des fichiers et ce que l'on veut faire

Permalien
June 9, 2015 at 10:50:41 AM GMT+2

A Hacker's Guide to Git | Wildly Inaccuratehttp://wildlyinaccurate.com/a-hackers-guide-to-git/

  • todo_git
  • todo_git

Permalien
June 8, 2015 at 10:34:47 PM GMT+2

Home // Think Like (a) Githttp://think-like-a-git.net/

  • todo_git
  • todo_git

Permalien
June 8, 2015 at 10:30:11 PM GMT+2

Dompter VIM en trois temps 1/3 | Blog Arollahttp://www.arolla.fr/blog/2015/02/dompter-vim-en-trois-temps-13/

  • todo_vim
  • todo_vim

Permalien
June 8, 2015 at 9:31:03 PM GMT+2

How to boost your Vim productivity · sheerunhttp://sheerun.net/2014/03/21/how-to-boost-your-vim-productivity/

  • todo_vim
  • todo_vim

Permalien
June 6, 2015 at 7:12:19 PM GMT+2

Newsletters spam test by mail-tester.comhttps://www.mail-tester.com/

  • spam
  • mail
  • todo_mail
  • spam
  • mail
  • todo_mail

Tester ses emails (spam)

Permalien
June 5, 2015 at 5:24:30 PM GMT+2

Tools - mail-tester.comhttps://www.mail-tester.com/spf-dkim-check

  • mail
  • todo_mail
  • mail
  • todo_mail

Verification des enregistrement skim et spf pour les emails

Permalien
June 5, 2015 at 5:23:54 PM GMT+2

ShellCheck – Shell script analyzerhttp://www.shellcheck.net/#

  • bash
  • bash

Site testant la fiabilité des scripts bash

Permalien
May 14, 2015 at 12:21:11 PM GMT+2

rtop - Remote Server Monitoring over SSHhttp://www.rtop-monitor.org/

  • ssh
  • monitoring
  • ssh
  • monitoring

Outil de monitoring linux a distance via SSH

Permalien
May 13, 2015 at 9:08:56 PM GMT+2

Online regex tester and debugger: JavaScript, Python, PHP, and PCREhttps://regex101.com/

  • regex
  • regex

Testeur d'expression régulières (regex)

Permalien
May 3, 2015 at 10:18:46 AM GMT+2

Locust - A modern load testing frameworkhttp://locust.io/

  • test-de-charge
  • test-de-charge

Outil open source de test de charge

Permalien
May 1, 2015 at 11:25:47 AM GMT+2

H2O an optimized HTTP/2 web serverhttps://calomel.org/h2o.html

  • webserver
  • webserver

Encore un nouveau serveur web.
Optimisé http/2, se dit plus rapide que nginx

Permalien
May 1, 2015 at 11:21:50 AM GMT+2

Caddy - The HTTP/2 Web Server Made for Humanshttps://caddyserver.com/

  • webserver
  • webserver

Nouveau serveur web avec pas mal de fonctionnalité
Orienté dev, exécution locale ?

Permalien
May 1, 2015 at 11:17:46 AM GMT+2

WebsiteCDS Detect website hackshttps://github.com/webdigi/WebsiteCDS---Detect-website-hacks

  • securite
  • web
  • securite
  • web

Script scannant un/des repertoire et remontant les fichiers qui ont changé entre 2 scans

Permalien
April 29, 2015 at 10:17:25 PM GMT+2

TripWirehttps://github.com/lucanos/Tripwire

  • web
  • securite
  • web
  • securite

Script pour calculer le hash des fichiers php et lever une alerte si des fichiers ont été modifié entre entre 2 scan

Permalien
April 29, 2015 at 10:12:03 PM GMT+2

Un référentiel national ouvert : de l'adresse à la coordonnée géographique - adresse.data.gouv.frhttp://adresse.data.gouv.fr/

  • geo
  • geo

Base d'adresse francaise ouvertes

Permalien
April 17, 2015 at 9:23:53 PM GMT+2

FRIHETEN sofabed/couch Hack - Add bass to your couch for ultimate movie experience! - IKEA Hackershttp://www.ikeahackers.net/2015/03/friheten-sofabedcouch-hack-add-bass-couch-ultimate-movie-experience.html

  • musique
  • diy
  • projet
  • musique
  • diy
  • projet

Réalisation d'un butt kicker like à base de :

  • DAYTONAUDIO Dayton Audio TT25-8 Mini transducteur Tactile pour Basse 8 Ohm : 24€
  • Lepai LP-2020A+ Amplificateur : 39€
Permalien
April 7, 2015 at 9:51:30 AM GMT+2
26 / 41
Liens par page
  • 20
  • 50
  • 100
Shaarli 822 shaares · 3 liens privés · Shaarli · Le gestionnaire de marque-pages personnel, minimaliste, et sans base de données par la communauté Shaarli · Documentation · Theme : Stack · Font : DINish
Replier Replier tout Déplier Déplier tout Êtes-vous sûr de vouloir supprimer ce lien ? Êtes-vous sûr de vouloir supprimer ce tag ? The personal, minimalist, super-fast, database free, bookmarking service par la communauté Shaarli