tag:blogger.com,1999:blog-17602724666389812682024-03-19T10:55:14.684+01:00Stagira's Blog - Tips and TricksTips and Tricksstagirahttp://www.blogger.com/profile/05730832765075782646noreply@blogger.comBlogger66125tag:blogger.com,1999:blog-1760272466638981268.post-27011481209870958072022-11-30T20:21:00.002+01:002022-11-30T20:21:38.467+01:00VSCODE: Commenter plusieurs lignes VSCODE: Commenter plusieurs lignesSélectionner les lignes à commenter:Puis lancer le raccourci CTRL-:Pour supprimer les commentaires, c'est le même raccourci.Pour commenter un groupe de lignes global, c'est le raccourci ALT-SHIFT-a (ou ALT-A ):stagirahttp://www.blogger.com/profile/05730832765075782646noreply@blogger.com0tag:blogger.com,1999:blog-1760272466638981268.post-46190276489430906352020-03-02T19:29:00.007+01:002020-09-17T15:05:04.251+02:00404
ERROR 404
The requested page is gone on the multiverse Universe
stagirahttp://www.blogger.com/profile/05730832765075782646noreply@blogger.comtag:blogger.com,1999:blog-1760272466638981268.post-47121759248764493902020-03-02T19:12:00.001+01:002020-03-02T19:22:40.528+01:00Quick and Dirty notes on Cisco StackWise
Quick
and Dirty notes on Cisco StackWise
Summary:
Models supporting
Stack Name
Bandwith
Gbps
StackWise
Max #
Type/
Accro
Module
SKU
Cable 05m
SKU
Models supporting
StackPower
Max #
C2960S
FlexStack
20
4
STK-E
C2960S-STACK=
CAB-STK-E-0.5M=
C2960S
#N/A
C2960X
FlexStack-Plus
Mixed with stagirahttp://www.blogger.com/profile/05730832765075782646noreply@blogger.com0tag:blogger.com,1999:blog-1760272466638981268.post-39259590800868209422020-03-02T18:14:00.001+01:002020-03-02T18:18:39.757+01:00GROWING RAID+LVM
GROWING RAID+LVM
Step by step howto:
Add Drive
mdadm --add
/dev/md0 /dev/sdb3
Tunning
echo 50000 >
/proc/sys/dev/raid/speed_limit_min
echo 200000 >
/proc/sys/dev/raid/speed_limit_max
Grow the Array
mdadm --grow /dev/md0 --raid-devices=4
Resize PV
# pvresize
/dev/md1
stagirahttp://www.blogger.com/profile/05730832765075782646noreply@blogger.com0tag:blogger.com,1999:blog-1760272466638981268.post-48723682101208271372019-07-10T23:02:00.004+02:002020-03-02T18:15:59.178+01:00Linux: How do to permanently disable hard drives?
Linux: How do to permanently disable hard drives?
If the disks are SATA (the most normal thing; they
are sda, sdb, etc. you can do that two ways:
After the boot, you can disable them. The
"magic" is (as root)
echo 1 >
/sys/block/sdx/device/delete
where sdx is your disk. This will make the device
disappear. Notice however that if something triggers an updatestagirahttp://www.blogger.com/profile/03439662516513218357noreply@blogger.com1tag:blogger.com,1999:blog-1760272466638981268.post-6776327890132216662016-03-15T11:21:00.004+01:002016-04-20T16:05:55.533+02:00Onenote refuse to synch
using
onenote behind a proxy, with multiple microsoft account:
I found a
solution: telling winhttp to use ie proxy .... yes !
.... no..... i have a doubt... i had to check and come back edit this tiles
starting
netsh and running following command:
netsh
winhttp import proxy source =ie
One Note
Started synching !
Hope this
helps.
stagirahttp://www.blogger.com/profile/05730832765075782646noreply@blogger.com0tag:blogger.com,1999:blog-1760272466638981268.post-33535563575472906282015-08-06T01:02:00.000+02:002015-08-06T01:02:34.744+02:00My TIPS for p2p blocklist.
My TIPS for p2p blocklist.
So the legacy one:
I-Blocklist :
List name: level1Author: BluetackAuthor's website: bluetack.co.ukAuthor's description: Companies or organizations who are clearly involved with trying to stop filesharing.Companies which anti-p2p activity has been seen from.Companies that produce or have a strong financial interest in copyrighted stagirahttp://www.blogger.com/profile/05730832765075782646noreply@blogger.com0tag:blogger.com,1999:blog-1760272466638981268.post-35125241552076754392014-12-24T12:17:00.000+01:002014-12-24T12:17:00.537+01:00Mini: escape sequenceMini Tip: escape sequence
- Cisco:CTRL-^ : CTRL + - in french keyboard (the key which hold the 6 ), just pressing thje CTRL key + the 6 key- Telnet legacyCTRL-] : CTRL-$ in french keyboardstagirahttp://www.blogger.com/profile/05730832765075782646noreply@blogger.com0tag:blogger.com,1999:blog-1760272466638981268.post-15666244554347559312014-12-24T12:12:00.000+01:002014-12-24T12:12:27.000+01:00CMD: How to set Affinity Intro
Hi,
today i'll write a tip about cmd and affinity because nowadays it is common to have multi-core processors, and sometimes we don't want that a process spawn on all the cores.
So, in the MS Windows os, you can achieve this by various ways. You can do it with process explorer, just select the process in the list, do a right clic, and then clic on Set Affinity. A multi check box will stagirahttp://www.blogger.com/profile/05730832765075782646noreply@blogger.com0tag:blogger.com,1999:blog-1760272466638981268.post-18364957552942979042013-12-23T11:26:00.001+01:002014-12-24T12:12:56.282+01:00Debug SIP little tipsDebug SIPCapturer les flux sur IN / OUT.Ouvrir les fichiers captures (.cap) dans Wireshark, utiliser un filtre d'affichage:sip || rtpRechercher les paquets de type INVITE: Puis rechercher le champ O: dans les propriété SDP, Cela donne l'ip réelle du poste (l'ip privée): ou l'ip publique, si aucun nat n'a été utilisé: Pour voir les ip virtuelles de la comm (les ip publiques): autre ex: Une stagirahttp://www.blogger.com/profile/05730832765075782646noreply@blogger.com0tag:blogger.com,1999:blog-1760272466638981268.post-39408568061613112352013-06-11T21:57:00.001+02:002013-09-02T11:08:53.870+02:00Arreter le Hoquet: ma méthode 100% réussiteVoici ma méthode, celle que j'utilise et qui arrête mon hoquet :Prendre un verre d'eau à moitié rempli, se pencher en avant et boire à l'envers,le verre posé sur la lèvre du haut, donc en faisant couler l'eau sur son palais!!!C'est bien sur très difficile, et vous ne pourrez prendre que des petites quantitée.Mais le résultat est stupéfiant.Testez ... vous serez surpris !A bientôt.Philippe.stagirahttp://www.blogger.com/profile/05730832765075782646noreply@blogger.com0tag:blogger.com,1999:blog-1760272466638981268.post-66082097471933883372013-03-25T17:59:00.001+01:002014-12-24T12:13:26.634+01:00Links: Hard and Symbolics - Windows DRAFTHow to deal with links in windows, here we will need ntfs. Because that feature isn't available in FAT.
We wiil use 2 tools:
fsutil
mklink
I will do the same as with Linux:
echo "FILE 1" >FILE-1.txt
cat FILE-1.txt"FILE 1"
fsutil hardlink create FILE-2.txt FILE-1.txtHardlink created for D:\opt\temp\DIR1\FILE-2.txt <<===>> D:\opt\temp\DIR1\FILE-1.txt
dir Volume instagirahttp://www.blogger.com/profile/05730832765075782646noreply@blogger.com0tag:blogger.com,1999:blog-1760272466638981268.post-45356762534325938912013-03-25T17:21:00.001+01:002013-03-25T17:51:46.188+01:00Links: Hard and Symbolics - LinuxLet's quickly talk about links, and see how to deal with them.First an exemple, to see hardlinks:$ mkdir DIR1$ cd DIR1/$ echo "FILE 1" > FILE-1.txt$ lltotal 4,0K-rw-r--r-- 1 philippe philippe 7 25 mars 17:15 FILE-1.txt$ cat FILE-1.txtFILE 1$ ln FILE-1.txt FILE-2.txt$ lltotal 8,0K-rw-r--r-- 2 philippe philippe 7 25 mars 17:15 FILE-1.txt-rw-r--r-- 2 philippe philippe 7 25 mars&stagirahttp://www.blogger.com/profile/05730832765075782646noreply@blogger.com0tag:blogger.com,1999:blog-1760272466638981268.post-22028735175988027552013-03-08T16:02:00.001+01:002014-12-24T12:13:51.702+01:00How to reset forgotten Restrictions password without iPhone restoreHow to reset forgotten Restrictions password without iPhone restore *** Jailbreak Mandatory ***So i put a passcode on restriction and as so many people i forgot it !I search all over the and i found so many pages telling the official way, a nigthmare, telling us to restore the iphone as a new phone !!The result of this is that you have an empty iphone so you will have to confiure stagirahttp://www.blogger.com/profile/05730832765075782646noreply@blogger.com4tag:blogger.com,1999:blog-1760272466638981268.post-13561381722340584802013-03-01T12:31:00.001+01:002014-12-24T12:14:07.778+01:00iPhone: ios 6.1.2 : Issue with call manager: call history too longHi,
so i updated my iphone ( one 3gs and one 4s ), so everytihng in the update goes fine.
But then i encounter one strange comportment, strange issue, when i ran the call manager.
So 80% of time, when i launch call manager, it takes 10 to 15s to show up with call log, call history.
And it is even more with the 3gs. Worse, manytimes the call manager crashes, and i'm stuck, not completly because stagirahttp://www.blogger.com/profile/05730832765075782646noreply@blogger.com0tag:blogger.com,1999:blog-1760272466638981268.post-22571610017942852182013-02-26T16:13:00.001+01:002013-02-26T16:14:28.069+01:00Firewall: How to know the full range of ip used by google or by another companyHi,we can use the spf entry of dns. Used by mail servers to knoiw how is allowed from a domain to send mail for that particular domain. Usually, companies put their full range of ip. Ok you may find one exception, in that case forget this tips :-) The request in general is: dig txt logmein.com; <<>> DiG 9.7.3 <<>> txt logmein.com;; global options: +cmd;; Got stagirahttp://www.blogger.com/profile/05730832765075782646noreply@blogger.com0tag:blogger.com,1999:blog-1760272466638981268.post-49198212603330845622012-11-14T17:30:00.001+01:002012-11-15T10:37:46.571+01:00Windows: Issue with ClipboardHi all,in a day to day work every ms-windows user encounter issue with the clipboard.Personnaly, every 10 or 15 days.Here i'll write the different solution i've found.Resetting the content of the clipboard:cmd /c "echo off | clip"Remote RDP clipboard :kill the rdpclip.exe process and start it again. But you may have to restart your rdp session. Seven: Checking System integrityUsing the stagirahttp://www.blogger.com/profile/05730832765075782646noreply@blogger.com0tag:blogger.com,1999:blog-1760272466638981268.post-15043111920693630612012-09-11T16:32:00.001+02:002012-09-11T16:32:46.085+02:00NETASQ: LDAP migrer vers le format bdbBonjour,voici comment migrer le format de fichier indexé vers BDB:# Arrêt du service ldapnstop ldap# Export au format ldif de la base de donnéeslapd -T cat -f /var/ldap/slapd.conf > /log/export.ldif# Copie de backup de la base ldapmv /data/Main/Ldapbase /log/Ldapbase.old# Crration du dossier pour la basemkdir /data/Main/Ldapbase# Tunning de la configuration, afin d'utiliserstagirahttp://www.blogger.com/profile/05730832765075782646noreply@blogger.com0tag:blogger.com,1999:blog-1760272466638981268.post-45177504809741255252012-09-04T16:16:00.001+02:002012-09-04T16:17:38.040+02:00NETASQ: Using External tools inside the FWHi folks,so i need some tools on my unix FW, netasq comes with some, but lacks a lot of others. Great example is : wget.So you need to figure it out which freebsd version you're netasq is running on:Normaly for a V9, it is a Freebsd 7.3:# uname -aNS-BSD VUXXXA1GXXXXXX 9.0.3- NS-BSD 9.0.3- #0: Mon Apr 2 21:15:37 CEST 2012 build@buildmajclipp.netasq.com:/usr/home/buildstagirahttp://www.blogger.com/profile/05730832765075782646noreply@blogger.com1tag:blogger.com,1999:blog-1760272466638981268.post-31067984298517501542012-09-03T11:25:00.001+02:002012-09-04T16:18:00.067+02:00NETASQ: ldap export / import without external tools (ie: Ldap Browser)Hi Folks,so, everytime you need to manipulate the ldap db you'll find a kb, a mail, a tips saying:Hey you need and ldap browser tool . Wrong ! The netasq have everything inside to do this!lets see how: where is the conf file:/var/ldap/slapd.confStop the ldap server:nstop ldapExport the db in an ldif format:slapd -4 -T cat -f /var/ldap/slapd.conf > /tmp/export.ldifModify it:vi /stagirahttp://www.blogger.com/profile/05730832765075782646noreply@blogger.com0tag:blogger.com,1999:blog-1760272466638981268.post-86264937909187888192012-08-24T17:13:00.001+02:002012-09-04T16:18:19.418+02:00VMWARE: How to transform OVA files to OVF filesThere is sometimes when you need to transform virtual images from one format to another ones.There is a tool from vmware named ovftool, simple no ?you can do with it:ova2ovf : ova to ovf transformationovf2vmx: ovf to vmx transformationAnd many many more !Where to find the tool ?http://www.vmware.com/support/developer/ovf/The documentation:http://www.vmware.com/support/developer/ovf/ovf21/stagirahttp://www.blogger.com/profile/05730832765075782646noreply@blogger.com0tag:blogger.com,1999:blog-1760272466638981268.post-39864574526087564392012-07-19T13:43:00.002+02:002012-09-04T16:18:45.264+02:00Traduction en Ligne ??Bonjour,peut-on réellement se fier aux outils de traduction qui nous sont proposé un peu partout ?Surtout quand l'on doit écrire un texte important pour nous, pour notre avenir...l'exemple ci-dessous vient d'un célèbre outils se basant sur un "poissons de Babel", de plus il s'agit non pas d'une demande de traduction à la volée, mais d'un encart stagirahttp://www.blogger.com/profile/05730832765075782646noreply@blogger.com0tag:blogger.com,1999:blog-1760272466638981268.post-8977793585927736592012-06-19T13:34:00.001+02:002012-09-04T16:18:56.477+02:00vmware esxi5.0: How to Add a driver for the card QLogic Corp SP232-based 4Gb Fibre Channel to PCI Express HBAHow to Add a driver for the card QLogic Corp SP232-based 4Gb Fibre Channel to PCI Express HBAi know, there is various post on the net regarding this tips, but my blog is my place to put my tips :-)So, you requested to your IT if they have a SAN card, to put on one server you just received from another service, and they send you a: QLogic Corp SP232-based 4Gb Fibre Channel to PCI Express HBA.No stagirahttp://www.blogger.com/profile/05730832765075782646noreply@blogger.com125-31 Rue des Vignes, 67400 Illkirch-Graffenstaden, France48.521493600193729 7.722187042236328148.510978100193732 7.7024460422363283 48.532009100193726 7.7419280422363279tag:blogger.com,1999:blog-1760272466638981268.post-73502869883379501042012-05-15T14:52:00.001+02:002012-09-04T16:19:57.337+02:00NETSCREEN: NAT DESTPour parler du DNAT, il existe en effet trois moyen de le faire:- MIP: cette methode est la plus simple, mais aussi la plus gourmande car vous allez reservez une IP complete,et en réalité on ne fait pas de PAT (port translation), juste du NAT (adresse translation).- VIP: methode simplifié pour faire du PAT et du DNAT, mais si vous avez déjà une MIP configur&stagirahttp://www.blogger.com/profile/05730832765075782646noreply@blogger.com0tag:blogger.com,1999:blog-1760272466638981268.post-89310455367206519542012-05-15T13:23:00.001+02:002012-11-16T17:26:21.749+01:00Netasq : pb acces sur le site des impots (NOT ACCEPTABLE) avec proxy http en v9.xFirewall NETASQ
Si vous avez ce message d'erreur lorsqu'un client se connecte en http sur le site des impots (n'importe quelle rubrique dans impots.gouv.fr, par exemple espace particulier)
NOT ACCEPTABLE
The requested URL could not be retrieved ________________________________________ The requestor is not willing to accept the available resource. This is probably due to an Accept-Encoding stagirahttp://www.blogger.com/profile/05730832765075782646noreply@blogger.com1