FICHE-ACTION, À COMPLÉTER SUR LE SITE INTERNET JEVOISMTL.COM
IDENTITÉ ET ASPIRATION: Révéler Montréal comme un laboratoire
| cat top-1m.csv | sed -e 's_.*,\(.*\)_echo | openssl s\_client -connect \1:443 > certs/\1.pem\&_' > certs.sh | |
| bash certs.sh | |
| ls certs | xargs -L1 -I DOMAIN echo 'openssl x509 -in certs/DOMAIN -text -noout > checks/DOMAIN.check' > checks.sh | |
| bash checks.sh | |
| cat top-1m.csv | sed -e 's#.*,\(.*\)#\1#'| xargs -n1 -P20 -I DOM grep -H 'Not After' checks/DOM.pem.check 2>/dev/null | cut -d ':' -f 1,3-|sed -e 's_checks/\(.*\).pem.check: \(.*\)_\1,\2_' > top-1m-expiry.csv |
| BASE_URL=https://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/base/ | |
| TARGET_IP=192.168.1.1 | |
| TARGET_USER=root | |
| KERNEL_VERSION=3.10.49-1 | |
| HARDWARE=ar71xx | |
| MODULES="kmod-fs-vfat kmod-nls-base kmod-nls-cp437 kmod-nls-iso8859 kmod-scsi-core kmod-usb2 kmod-usb-storage" | |
| for MOD in MODULES do | |
| wget $MOD_$KERNEL_$VERSION_$HARDWARE.ipk | |
| done | |
| wget $BASE_URL/block-mount_2014-06-22-e0430f5c62f367e5a8e02755412977b02c3fc45e_ar71xx.ipk |
| # http://donnees.ville.montreal.qc.ca/dataset/adresses-ponctuelles | |
| # | |
| # Description du fichier: | |
| # | |
| # Nom du champ Description | |
| # ============= =========== | |
| # ADDR_DE adresse minimale sur le bâtiment | |
| # ADDR_A adresse maximale sur le bâtiment | |
| # ORIENTATIO orientation de la voie (toponymie) | |
| # SPECIFIQUE nom de la voie (toponymie) |
| # TODO apply: Global Build Settings → Select all packages by default | |
| #rm -f .config | |
| # | |
| #cp ../config-all .config | |
| make IGNORE_ERRORS=1 V=99 |
| # Get the R-L custom scripts | |
| #git clone https://git.gitorious.org/reseau-libre-openwrt/reseaulibre-feed.git | |
| cd reseaulibre-feed | |
| git pull | |
| cd .. | |
| # Update the list of ethers from the wiki | |
| wget -O - http://wiki.reseaulibre.ca/documentation/ethers/ | grep -E [0-9a-fA-F]{2}:[0-9a-fA-F]{2}:[0-9a-fA-F]{2}:[0-9a-fA-F]{2}:[0-9a-fA-F]{2}:[0-9a-fA-F]{2} > reseaulibre-feed/reseaulibre-mesh/files/etc/ethers | |
| # wget http://downloads.openwrt.org/snapshots/trunk/ramips/OpenWrt-ImageBuilder-ramips_rt305x-for-linux-x86_64.tar.bz2 |
| # Get the R-L custom scripts | |
| #git clone https://git.gitorious.org/reseau-libre-openwrt/reseaulibre-feed.git | |
| cd reseaulibre-feed | |
| git pull | |
| cd .. | |
| # Update the list of ethers from the wiki | |
| wget -O - http://wiki.reseaulibre.ca/documentation/ethers/ | grep -E [0-9a-fA-F]{2}:[0-9a-fA-F]{2}:[0-9a-fA-F]{2}:[0-9a-fA-F]{2}:[0-9a-fA-F]{2}:[0-9a-fA-F]{2} > reseaulibre-feed/reseaulibre-mesh/files/etc/ethers | |
| # wget http://downloads.openwrt.org/attitude_adjustment/12.09/ramips/rt305x/OpenWrt-ImageBuilder-ramips_rt305x-for-linux-i486.tar.bz2 |
| #WIKI=http://wiki.reseaulibre.ca/ | |
| WIKI=http://reseaulibre.deuxpi.ca/ | |
| # Get the R-L custom scripts | |
| #git clone https://git.gitorious.org/reseau-libre-openwrt/reseaulibre-feed.git | |
| cd reseaulibre-feed | |
| #git pull | |
| cd .. | |
| # Update the list of ethers from the wiki |
| #WIKI=http://wiki.reseaulibre.ca/ | |
| WIKI=http://reseaulibre.deuxpi.ca/ | |
| # Get the R-L custom scripts | |
| #git clone https://git.gitorious.org/reseau-libre-openwrt/reseaulibre-feed.git | |
| cd reseaulibre-feed | |
| #git pull | |
| cd .. | |
| # Update the list of ethers from the wiki |
| #!/bin/sh | |
| cd /usr/share/meld/meld/ | |
| echo "Patching files in $(pwd)" | |
| sed ' | |
| s/\(color_delete_bg"[^"]*\)"[^"]*"/\1"#003300"/ | |
| s/\(color_replace_bg"[^"]*\)"[^"]*"/\1"#112233"/ | |
| s/\(color_replace_fg"[^"]*\)"[^"]*"/\1"gray80"/ | |
| s/\(color_conflict_fg"[^"]*\)"[^"]*"/\1"White"/ |