Les Partages de Memiks
Tag cloud
Picture wall
Daily
RSS Feed
  • RSS Feed
  • Daily Feed
  • Weekly Feed
  • Monthly Feed
Filters

Links per page

  • 20 links
  • 50 links
  • 100 links

Filters

Untagged links
page 55 / 155
Install Open SSH on Windows with Chocolatey http://oracledbtales.blogspot.fr/2017/03/install-open-ssh-on-windows-with.html
Wed May 2 15:04:06 2018 archive.org
QRCode

#To install openssh with ssh daemon
choco install openssh -params '"/SSHServerFeature"' -y

#To enable ssh keyauth
Restart Windows

#To setup ssh keys
https://github.com/PowerShell/Win32-OpenSSH/wiki/ssh.exe-examples
cd ~
ssh-keygen.exe -t rsa -f id_rsa
copy id_rsa.pub .ssh\authorized_keys

chocolatey ssh windows
Restricting process CPU usage using nice, cpulimit, and cgroups http://blog.scoutapp.com/articles/2014/11/04/restricting-process-cpu-usage-using-nice-cpulimit-and-cgroups
Mon Apr 23 23:41:10 2018 archive.org
QRCode
thumbnail
[UNIX] Trouver les ip de votre réseau ? /shaare/ObSkKA
Thu Apr 19 21:10:38 2018 archive.org
QRCode

Avec nmap c'est tout simple :

-sP pour ne faire "que" un ping.

nmap -sP 192.168.0.0/24

Starting Nmap 7.40 ( https://nmap.org ) at 2018-04-19 14:09 CEST
Nmap scan report for 192.168.0.20
Host is up (0.00015s latency).
Nmap scan report for 192.168.0.40
Host is up (0.00079s latency).
Nmap scan report for 192.168.0.41
Host is up (0.00077s latency).
Nmap scan report for 192.168.0.47
Host is up (0.00071s latency).
Nmap scan report for 192.168.0.50
Host is up (0.00075s latency).
Nmap scan report for 192.168.0.254
Host is up (0.0013s latency).
Nmap done: 256 IP addresses (6 hosts up) scanned in 8.61 seconds

nmap ip unix linux reseau
Downloads https://rspamd.com/downloads.html
Thu Apr 12 21:41:16 2018 archive.org
QRCode

Build process
To build rspamd we recommend to create a separate build directory:

$ mkdir rspamd.build
$ cd rspamd.build
$ cmake ../rspamd
$ make

make install

Alternatively, you can create a distribution package and use it for build your own packages. Here is an example for debian GNU Linux OS:

$ mkdir rspamd.build
$ cd rspamd.build
$ cmake ../rspamd
$ make dist
$ tar xvf rspamd-.tar.xz
$ cd rspamd-
$ debuild

rspamd build deb arm
Développeurs, défendez vos méthodes de travail sans conflits grâce à la Communication Non-Violente ! | OCTO Talks ! https://blog.octo.com/developpeurs-defendez-vos-methodes-de-travail-sans-conflits-grace-a-la-communication-non-violente/
Wed Apr 11 23:29:14 2018 archive.org
QRCode
thumbnail

Via... mon chef...

la communication non violente

comment partager sans se friter...

cnv chef travail
Bash Shortcuts For Maximum Productivity https://www.skorks.com/2009/09/bash-shortcuts-for-maximum-productivity/
Tue Apr 10 17:47:39 2018 archive.org
QRCode
thumbnail

Liste des raccourcis Bash

Command Editing Shortcuts

Ctrl + a – go to the start of the command line
Ctrl + e – go to the end of the command line
Ctrl + k – delete from cursor to the end of the command line
Ctrl + u – delete from cursor to the start of the command line
Ctrl + w – delete from cursor to start of word (i.e. delete backwards one word)
Ctrl + y – paste word or text that was cut using one of the deletion shortcuts (such as the one above) after the cursor
Ctrl + xx – move between start of command line and current cursor position (and back again)
Alt + b – move backward one word (or go to start of word the cursor is currently on)
Alt + f – move forward one word (or go to end of word the cursor is currently on)
Alt + d – delete to end of word starting at cursor (whole word if cursor is at the beginning of word)
Alt + c – capitalize to end of word starting at cursor (whole word if cursor is at the beginning of word)
Alt + u – make uppercase from cursor to end of word
Alt + l – make lowercase from cursor to end of word
Alt + t – swap current word with previous
Ctrl + f – move forward one character
Ctrl + b – move backward one character
Ctrl + d – delete character under the cursor
Ctrl + h – delete character before the cursor
Ctrl + t – swap character under cursor with the previous one

Command Recall Shortcuts

Ctrl + r – search the history backwards
Ctrl + g – escape from history searching mode
Ctrl + p – previous command in history (i.e. walk back through the command history)
Ctrl + n – next command in history (i.e. walk forward through the command history)
Alt + . – use the last word of the previous command

Command Control Shortcuts

Ctrl + l – clear the screen
Ctrl + s – stops the output to the screen (for long running verbose command)
Ctrl + q – allow output to the screen (if previously stopped using command above)
Ctrl + c – terminate the command
Ctrl + z – suspend/stop the command

Bash Bang (!) Commands

Bash also has some handy features that use the ! (bang) to allow you to do some funky stuff with bash commands.

!! – run last command
!blah – run the most recent command that starts with ‘blah’ (e.g. !ls)
!blah:p – print out the command that !blah would run (also adds it as the latest command in the command history)
!$ – the last word of the previous command (same as Alt + .)
!$:p – print out the word that !$ would substitute
!* – the previous command except for the last word (e.g. if you type ‘find some_file.txt /‘, then !* would give you ‘find some_file.txt‘)
!*:p – print out what !* would substitute

via https://mamot.fr/@emmanuelc

bash raccourci
Hacker un Raspberry Pi pour lire du MPEG2 et du VC1 matériellement | Le journal du lapin https://www.journaldulapin.com/2018/04/07/raspberry-pi-2/
Tue Apr 10 16:54:25 2018 archive.org
QRCode
thumbnail

Via Shaarli

cd /boot
cp start.elf start.elf_backup && \
perl -pne 's/\x47\xE9362H\x3C\x18/\x47\xE9362H\x3C\x1F/g' < start.elf_backup > start.elf

Merci ;)

raspberry vc1
node.js - How/why does npm recommend not running as root? - Stack Overflow https://stackoverflow.com/questions/4938592/how-why-does-npm-recommend-not-running-as-root
Thu Apr 5 22:05:31 2018 archive.org
QRCode
thumbnail

The simple answer is web servers should never be run as root for well known security reasons, so this goes for npm commands as well.

To start fresh, remove prior Node.js and npm installs as well as these files/directories:

mv ~/.npmrc ~/.npmrc~prior
mv ~/.npm ~/.npm~prior
mv ~/tmp ~/tmp.~prior
mv ~/.npm-init.js ~/.npm-init.js~prior

Solution: Install Node.js (which comes with npm) as NON root (no sudo)

Download Source Code directly from https://nodejs.org/en/download/

Execute the below as yourself (Linux/OS X)

cd node-v8.1.2 # into expanded source dir

export NODE_PARENT=${HOME}/node-v8.1.2 # put this into your ~/.bashrc

Feel free to change above export to whatever location is appropriate

./configure --prefix=${NODE_PARENT}
make -j4 # for dual core ... use -j8 for quad core CPU
make install

which puts the binaries for Node.js and npm as well as its modules repository into $NODE_PARENT, a $USER owned dir which then allows you to issue subsequent npm install xxx commands as yourself.

To reach the binaries for node and npm alter your PATH environment variables in your ~/.bashrc:

export PATH=${NODE_PARENT}/bin:${PATH}
export NODE_PATH=${NODE_PARENT}/lib/node_modules

Then to install packages into that directory (global), as opposed to the current directory (local) always pass in the -g flag (global):

npm install -g someModule

NOTE - at no time are you executing anything npm or node related as root / sudo.

nodejs npm permission root
Lave vaisselle Hotpoint erreur a-5 http://experts-univers.com/lave-vaisselle-hotpoint-erreur-5.html
Thu Apr 5 20:17:19 2018 archive.org
QRCode
thumbnail

Problème de détection de niveau d'eau. L'appareil se remplit, mais le niveau n'est pas détecté. Vérifier chambre de compression et pressostat. Pour identifier les pièces, vous l'écrivez sur la barre d'adresse (pressostat lave vaisselle) (Chambre de compression lave vaisselle).

c'est A5 mais faut il changer le pressostat ?

Non, vous soufflez dedans, pour cela vous devez retiré le petit tuyau placé dessus, vous soufflez dans le pressostat vous devez entendre un clic, dans ce cas il est correct, ensuite vous soufflez dans le petit tuyau, il peut être obstrué, percé ou fissuré, vous le suivez il dressent directement dans la chambre de compression, le nettoyer au besoin

lave vaiselle hariston code a5 erreur
Lave-Vaisselle - Code A5 sur lave-vaisselle Hotpoint Ariston LDF12314E - CommentReparer.com - Apprenez à tout réparer https://www.commentreparer.com/13719/Lave-Vaisselle/Code-A5-sur-lave-vaisselle-Hotpoint-Ariston-LDF12314E
Thu Apr 5 20:15:02 2018 archive.org
QRCode
thumbnail
Joplin, votre prise de notes en open source - TOOLinux https://www.toolinux.com/?Joplin-la-prise-de-notes-open-source
Wed Apr 4 23:01:14 2018 archive.org
QRCode
thumbnail

Alternative libre à onenote synchronisable avec NextCloud...

a tester

atester note libre nextcloud joplin
EmpowerLaptop - le fournisseur de la carte mère d'ordinateur portable le plus grand https://fr.empowerlaptop.com/
Tue Apr 3 22:03:56 2018 archive.org
QRCode
thumbnail

Pour ceux qui cherche une carte mère pour un modèle d'ordinateur en particulier

  • bureau
  • portable
  • serveur

des grandes marques : acer, hp, dell, etc...

carte mere remplacement
Dat Documentation - Browser Dat https://docs.datproject.org/browser
Tue Mar 27 21:25:55 2018 archive.org
QRCode
thumbnail

Sharing data

var dat = Dat()
dat.add(function (repo) {
var writer = repo.archive.createFileWriteStream('hello.txt')
writer.write('world')
writer.end(function () { replicate(repo.key) })
})

Downloading data

var Dat = require('dat-js')

var clone = Dat()
clone.add(key, function (repo) {
repo.archive.readFile('hello.txt', function (err, data) {
console.log(data.toString()) // prints 'world'
})
})

dat project p2p JS
DzVents: next generation LUA scripting - Domoticz https://www.domoticz.com/wiki/DzVents:_next_generation_LUA_scripting#Time_properties_and_methods
Sat Mar 24 00:59:08 2018 archive.org
QRCode
thumbnail

matchesRule(rule) : Function. Returns true if the rule matches with the time. See time trigger rules for rule examples.

domoticz time dzevent
Use variable in the trigger section - Domoticz https://www.domoticz.com/forum/viewtopic.php?t=20560
Sat Mar 24 00:45:00 2018 archive.org
QRCode
thumbnail

return {
on = timer = {
function(domoticz)
-- use domoticz.variables(..) here and return true when the timer should go off
end
},
execute = function(domoticz, timer, triggerInfo)

    end

}

domoticz variable dzevent
The Krita 4 Preset Bundle — Krita Documentation https://docs.krita.org/The_Krita_4_Preset_Bundle
Fri Mar 23 17:48:00 2018 archive.org
QRCode
thumbnail

Merci pour ce lien ! ( via https://shaar.libox.fr/?oEo7eA )

c'est vraiment facile d'apprendre les différents outils avec cette page ;)

krita dessin outils preset
Phabricator & MySQL Permissions (Example) https://coderwall.com/p/ne1thg/phabricator-mysql-permissions
Tue Mar 20 23:14:09 2018 archive.org
QRCode
thumbnail

Setting Up New Permissions

The new permissions structure is simple. Instead of creating a new permission GRANT for every database, we are just going to GRANT the user basic access to the namespace. MySQL has two wildcard characters: and %. If you need them to be interpreted literally, just escape them with . The following command will grant the necessary permissions to the MySQL user to access and update all the databases in the phabricator namespace.

GRANT SELECT, INSERT, UPDATE, DELETE, EXECUTE, SHOW VIEW ON `phabricator\_%`.* TO 'phabric'@'localhost';

Great, now whenever a new Phabricator upgrade comes along that changes the database structure, there shouldn't be much that needs to be done in terms of granting and deleting permissions.

2 Format d'un ``E-mail'' - RFC 822 http://wawadeb.crdp.ac-caen.fr/iso/tmp/ressources/linux/reseau/www.laissus.fr/cours/node154.html
Tue Mar 20 18:37:36 2018 archive.org
QRCode
thumbnail

https://www.w3.org/Protocols/rfc822/

rfc822 rfc email
Comment faire une terminaison avec un connecteur RJ45 ? http://cableorganizer.fr/learning-center/article/comment-faire-une-terminaison-avec-un-connecteur-rj45.html
Tue Mar 20 17:20:27 2018 archive.org
QRCode
thumbnail

et aussi :
http://www.commentcamarche.com/faq/652-comment-sertir-un-cable-rj45

https://openclassrooms.com/courses/choisissez-et-ou-fabriquez-votre-cable-rj45

https://blog-du-grouik.tinad.fr/post/2012/05/21/Tutoriel%3A-Sertir-des-cables-r%C3%A9seau

cable rj45 sertir ethernet réseau
How it feels to learn JavaScript in 2016 – Hacker Noon https://hackernoon.com/how-it-feels-to-learn-javascript-in-2016-d3a717dd577f
Fri Mar 16 22:11:48 2018 archive.org
QRCode
thumbnail

Cela explique pourquoi je suis toujours sur PHP ou .net core, ou Java, ou...(remplacer par vrai langage)
et que j’aime toujours autant les moteurs de template

et pourquoi je ne comprends pas les sites avec 25JS pour afficher du HTML simple, sans formulaires, sans carroussels, etc.

bref… je suis un vieux… devenu Architecte et mon boulot :
« et j’aimerai faire cela, regarde c’est trop cool, bla bla bla
Moi: c’est bien mais “bla bla bla” c’est déjà géré par l’application X et celle-ci gère en plus …
Eux: ah oui, mais on est en 2018, l’application X elle est trop moche »

…

JS php
page 55 / 155
4785 links, including 1697 private
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Theme by kalvn