Lorsque vous utilisez Webmin pour administrer votre serveur, les paramètres de votre firewall iptables sont visibles et manageables depuis la console Webmin.
Toutefois, les règles iptables présentées par Webmin sont celles qui ont été préalablement sauvées par /sbin/iptables-save dans le fichier que vous avez choisi.
Donc si vous utilisez un script depuis le shell pour changer les règles de iptables, ce ne seront pas ces règles que Webmin vous présentera mais celles que vous avez sauvées préalablement avec Webmin.When using Webmin as an administration tool, iptables rules visible for Webmin are those previously saved through Webmin.
So when you use a shell script to change iptables rules on the fly, these rules won’t be the ones Webmin present to you.
Adds « Copy to Recent, » « Move to Recent, » and « Go to Recent » menu items to Apple’s Mail application. These menu items contain dynamically-updated lists of recently used mailboxes. The number of mailboxes kept in the list is determined by the « Number of Recent Items » setting for Documents in the Appearance panel of the OS X System Preferences.
Usage
Once installed (see instructions below) as you drag or option-drag a message to a mailbox, that mailbox should then appear under
« Copy to Recent » and « Move to Recent » submenus under the « Messages » menu, and
a « Go to Recent » submenu under the « Mailboxes » menu.
Similarly if you use Mail’s built-in « Move To » or « Copy To » menus to move a message to a mailbox, that mailbox should then appear in the lists. The recent mailboxes will be sorted alphabetically, the same as OS X does for recent documents. (You can change the sorting behavior using the Terminal application as described below.)
Si vous êtes sous Mac OSX et que vous avez besoin d’un petit serveur HTTP sur le pouce afin de mettre à dispo quelques pages web statiques (pas de PHP, uniquement du HTML), il n’est pas nécessaire d’installer un Nginx ou un Apache. Il suffit d’ouvrir un terminal et d’entrer la commande suivante :
python -m SimpleHTTPServer 8000
Ensuite, avec votre navigateur sur la machine distante, rendez-vous sur http://IP_DE_LA_MACHINE:8000 (ou localhost:8000 si vous êtes en local) et naviguez dans les répertoires jusqu’à atteindre le fichier HTML que vous souhaitez afficher. A noter que vous pouvez changer le port dans la commande.
Rien de sécurisé là-dedans, donc faites attention, mais l’astuce est toujours bonne à connaitre.
cmd + space ===== highlight menu cmd + opt + space ===== highlight window cmd + delete ===== move/go to trash shfit + cmd + delete ===== empty/clean trash shfit + opt + cmd + delete =====force/immediate empty trash cmd + n ===== new finder window shift + cmd + n ===== new folder cmd + tab ===== get/view info opt + cmd + tab ===== show/display inspector cmd + y/space bar ===== quick look cmd + e ===== eject volume cmd + j ===== view options show/display cmd + k ===== server connect shift + cmd + a ===== applications folderopen shift + cmd + c ===== computer folder open cmd + up arrow ===== enclosing folder open cmd + f ===== find/search
key commands-2 (text editing)
cmd + left arrow ===== go/move to start/end line cmd + up arrow ===== go/move to start/end document opt + left arrow ===== go/move to previous/next word opt + up arrow ===== go/move to previous/next paragraph cmd + x ===== cut cmd + c ===== copy cmd + v ===== paste cmd + a ===== select all cmd + l ===== with selection web search cmd + y ===== with selection sticky note
shift + cmd + 3 ===== screen/appear to file shift + ctrl + cmd + 3 ===== screen/appear to clipboard shift + cmd + 4 ===== area to file space to get window shift + ctrl + cmd + 4 ===== area to clipboard space to get window
key commands-5 (mission control)
ctrl + up arrow ===== mission control view/display
ctrl + down arrow ===== appʼs windows show/display f11 ===== desktop show/display f12 ===== dashboard show/display ctrl + left/right arrow ===== between spaces move tab ===== windows show/display for next app then press ctrl + down arrow spacebar ===== window enlarge under cursor then press ctrl + up arrow
key commands-6 (keyboard control focus)
ctrl + f2 ===== menu bar focus ctrl + f3 ===== dock focus ctrl + f5 ===== window toolbar focus ctrl + f8 ===== menu bar status icons focus left, right, up & down arrow ===== navigate (return) esc ===== exit
key commands-7 (switching applications & windows)
cmd + tab ===== advance/go next app cmd + ` ===== current app’s next window opt + cmd + d ===== dock hide/show
cmd + n ===== new window cmd + , ===== app preferences cmd + o ===== open cmd + h ===== app hide cmd + w ===== close opt + cmd + h ===== others hide cmd + s ===== save cmd + t ===== fonts panel show/display shift + cmd + s ===== save as shift + cmd + c ===== colors panel show/display cmd + p ===== print shift + cmd + / ===== help cmd + q ===== quit/exit ctrl + cmd + f ===== full screen mode
key commands-10 (startup keys)
opt ===== boot volume choose opt + cmd + p + r ===== reset pram cmd + s ===== boot single user mode cmd + r ===== internet & disk utility recovery cmd + t ===== go into target disk mode
monit is a utility for managing and monitoring, processes, files, directories and devices on a UNIX system. Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations.
Monit Features
Daemon mode – poll programs at a specified interval
Monitoring modes – active, passive or manual
Start, stop and restart of programs
Group and manage groups of programs
Process dependency definition
Logging to syslog or own logfile
Configuration – comprehensive controlfile
Runtime and TCP/IP port checking (tcp and udp)
SSL support for port checking
Unix domain socket checking
Process status and process timeout
Process cpu usage
Process memory usage
Process zombie check
Check the systems load average
Check a file or directory timestamp
Alert, stop or restart a process based on its characteristics
MD5 checksum for programs started and stopped by monit
Alert notification for program timeout, restart, checksum, stop resource and timestamp error