lundi, décembre 29, 2014

Dictionary of web dev ecosystem and javascript galaxy - nodejs, angularjs, mean, express, mongodb and so on ...


client side javascript and tools


AngularJS
javascript framework - app oriented

AngularJS based starter kit/template/generator
http://www.dancancro.com/comparison-of-angularjs-application-starters/
angular-seed - template project for angular
angular-app - example project for angular
ng-boilerplate - template project for angular
generator-angular - based on yeoman
generator-angular-fullstack - based on yeoman

javascript library/toolkit - app oriented

Bootstrap
javascript framework - UI responsive design oriented

Bower
dependencies manager for webapp - manage js dependencies or asset - dependencies are deployed in flat way (opposite of npm which deploy each dependency nested) - use bower.json and .bowerrc

Compass
CSS framework based on Sass

Dojo
javascript framework - app oriented

javascript framework - app oriented

HTML5 Boilerplate
Web project template

jQuery
javascript framework - UI oriented

Less
CSS derivated language

MooTools
javascript library - UI oriented

Sass
CSS derivated language

Stylus
CSS derivated language

Underscore.js
javascript library

Server side javascript and tools


Node.js
server-side javascript

npm
Node package manager - installed with nodejs - each dependency is deployed in a nested way (opposite of bower which deploy each dependency in a flat way) - use package.json

Express
server-side javascript framework

Jade
Javascript template engine

Swig
Javascript template engine

Other



MEAN
conceptual javascript stack - MongoDB, Express, Angular, Nodejs
Different mean stack implementation : http://meanjs.org http://mean.io
mean.js is a fork of mean.io - difference between them

Yeoman
project generator

MongoDB
document oriented database

Redis
key/value store

CoffeeScript
javascript derivated language

TypeScript
javascript derivated language

Grunt
javascript task manager/build tool - like maven or ant - use Gruntfile.js

Gulp
http://gulpjs.com/
javascript task manager/build tool - use gulpfile.js

Use npm as build tool
http://blog.keithcirkel.co.uk/how-to-use-npm-as-a-build-tool/

JSLint
javascript code quality tool

JSHint
javascript code quality tool - fork of JSLint

JSFiddle
online javascript sandbox

RequireJS
javascript module loader

Karma (formerly Testacular)
Test runner

Jasmine
Javascript test framework

Mocha
Javascript test framework

HTTP Archive
Web technology statistic

BuiltWith
Web technology statistic




dimanche, décembre 28, 2014

install MongoDB latest release on MacOS



install MongoDB latest version on MacOS 64Bits

curl -L http://downloads.mongodb.org/osx/mongodb-osx-x86_64-latest.tgz -o mongodb-osx-latest.tgz && rm -Rf mongodb && sudo rm -Rf /usr/local/bin/mongo* && sudo rm -Rf /usr/local/bin/bsondump && mkdir mongodb && tar -xvzf mongodb-osx-latest.tgz --strip-components=1 -C mongodb && for f in $(pwd)/mongodb/bin/*; do sudo ln -s $f /usr/local/bin/$(basename $f); done

Note : will ask sudo password
Note : see urls here http://www.mongodb.org/dl/osx
Note : to run it
mkdir -p $(pwd)/mongodb/data/db && mongod --dbpath $(pwd)/mongodb/data/db

install MongoDB latest version on MacOS 32Bits

curl -L http://downloads.mongodb.org/osx/mongodb-osx-i386-latest.tgz -o mongodb-osx-latest.tgz && rm -Rf mongodb && sudo rm -Rf /usr/local/bin/mongo* && sudo rm -Rf /usr/local/bin/bsondump && mkdir mongodb && tar -xvzf mongodb-osx-latest.tgz --strip-components=1 -C mongodb && for f in $(pwd)/mongodb/bin/*; do sudo ln -s $f /usr/local/bin/$(basename $f); done

Note : will ask sudo password
Note : see urls here http://www.mongodb.org/dl/osx
Note : to run it
mkdir -p $(pwd)/mongodb/data/db && mongod --dbpath $(pwd)/mongodb/data/db

install nodejs latest release


Install nodejs latest release on MacOS

curl -sSL http://nodejs.org/dist/latest | grep pkg | sed -E 's/.*>(node.*pkg).*/\1/' | xargs -I '{}' curl --write-out %{url_effective} -L -O http://nodejs.org/dist/latest/'{}' | sed -E 's/.*\/(node.*pkg)/\1/' | xargs -I '{}' echo launch '{}'

Note : you have to launch the pkg file
Note : the pkg file will launch an UI


Install nodejs latest release on Linux 64bits

curl -sSL http://nodejs.org/dist/latest | grep linux | grep 64 | sed -E 's/.*>(node.*gz).*/\1/' | xargs -I '{}' curl --write-out %{filename_effective} -L -O http://nodejs.org/dist/latest/'{}' | xargs -I '{}' tar -xvzf '{}'

mardi, décembre 23, 2014

Linux : Mount samba share permanently




sudo apt-get install  samba cifs-utils


edit /etc/fstab

//192.168.0.70/SHARE   /home/nomorgan/FOO       cifs    user,rw,uid=FOO_USER,gid=FOO_USERGROUP,file_mode=0777,dir_mode=0777,iocharset=utf8,credentials=/root/.smbcredentials        0        0

edit /root/.smbcredentials
username=xxxx
password=xxxx


sudo mount -a




https://wiki.ubuntu.com/MountWindowsSharesPermanently



mercredi, décembre 10, 2014

Github and curl - Get asset and latest release


GET URL LIST OF ALL ASSET  OF ALL RELEASE

curl -sL https://api.github.com/repos/OWNER/REPO/releases | grep 
tarball_url | cut -d '"' -f 4

GET URL OF THE VERY LAST RELEASE

curl -sL https://api.github.com/repos/OWNER/REPO/releases | grep tarball_url | head -n 1 |  cut -d '"' -f 4


DOWNLOAD THE VERY LAST RELEASE

curl -sL https://api.github.com/repos/OWNER/REPO/releases | grep tarball_url | head -n 1 |  cut -d '"' -f 4 | xargs curl -L -J -O






Note 1 : do not forget to replace OWNER  and REPO
Note 2 : API  github https://developer.github.com/v3/repos/releases/




Install docker on ubuntu


curl -sSL https://get.docker.com/ubuntu/ | sudo sh

dimanche, mai 04, 2014

some docker and vagrant bookmarks

Some interesting stuff about docker, and vagrant
sorted by date as they evolve very quick


DOCKER

ARTICLE


March 25, 2014
BUILDING YOUR FIRST APP ON COREOS: START TO FINISH
http://www.centurylinklabs.com/building-your-first-app-on-coreos/

March 18, 2014
DEPLOYING MULTI-SERVER DOCKER APPS WITH AMBASSADORS
http://www.centurylinklabs.com/deploying-multi-server-docker-apps-with-ambassadors/

February 25, 2014
BUILDING COMPLEX APPS FOR DOCKER ON COREOS AND FIG
http://www.centurylinklabs.com/building-complex-apps-for-docker-on-coreos-and-fig/

February 18, 2014
AUTO-LOADBALANCING DOCKER WITH FIG, HAPROXY AND SERF
http://www.centurylinklabs.com/auto-loadbalancing-with-fig-haproxy-and-serf/

January 29, 2014
DECENTRALIZING DOCKER: HOW TO USE SERF WITH DOCKER
http://www.centurylinklabs.com/decentralizing-docker-how-to-use-serf-with-docker/

January 20, 2014
HOW TO BUILD A 2-CONTAINER APP WITH DOCKER
http://www.centurylinklabs.com/build-a-2-container-app-with-docker/




TIPS



March 21, 2014
15 QUICK DOCKER TIPS
http://www.centurylinklabs.com/15-quick-docker-tips/




TOOLS


March 5, 2014
TOP 10 OPEN-SOURCE DOCKER DEVELOPER TOOLS
http://www.centurylinklabs.com/top-10-open-source-docker-developer-tools/




SAMPLE EXAMPLES



April 23, 2014
Deploying Ghost With Docker
http://www.allaboutghost.com/deploying-ghost-with-docker/

April 14, 2014
DROPBOX IN DOCKER
http://www.centurylinklabs.com/dropbox-in-docker/

October 22, 2013
Sync Hacks: Deploy BitTorrent Sync with Docker
http://blog.bittorrent.com/2013/10/22/sync-hacks-deploy-bittorrent-sync-with-docker/

July 8, 2013
DOCKER DESKTOP: YOUR DESKTOP OVER SSH RUNNING INSIDE OF A DOCKER CONTAINER
http://blog.docker.io/2013/07/docker-desktop-your-desktop-over-ssh-running-inside-of-a-docker-container/
https://github.com/rogaha/docker-desktop




VAGRANT



SAMPLE EXAMPLES

March 18, 2014
Creating A CentOS GUI Vagrant Base Box
http://www.charlestonsw.com/creating-a-new-centos-vagrant-base-box/

dimanche, février 23, 2014

Création d'un fichier d'échange swap pour augmenter taille du swap

EXTRAIT de http://doc.ubuntu-fr.org/swap

Pour créer un fichier d'échange :
  1. Depuis un compte d'administrateur, ouvrez un terminal ;
  2. Utilisez fallocate pour réserver un bloc d'espace disque à attribuer à votre espace d'échange :
    sudo fallocate -l  taille du fichier en octets  nom du fichier
    • Le paramètre -l indique la taille (length) en octets qui doit être réservée pour l'espace d'échange. fallocate reconnaît aussi quelques suffixes, tels m et g, pour préciser des tailles en mibi-octets ou gibioctets. Par exemple, pour réserver 512 Mio, indiquez 512m ; pour réservez 1 Gio, indiquer 1g ;
    • Le nom du fichier doit contenir le chemin absolu vers l'emplacement de celui-ci. Sinon, il sera créé dans le répertoire courant ;
    • Exemple : pour créer un fichier de 512 Mio nommé file.swap et situé à la racine d'Ubuntu, on utilisera la commande suivante :
      sudo fallocate -l 512m /file.swap
      Consultez le manuel de fallocate (man fallocate) pour plus d'informations.
  3. Modifiez les permissions sur cet espace afin qu'il ne soit directement lisible que par le système. Utilisez la commande chmod :
    sudo chmod 600 nom du fichier
    • Encore une fois,  représente le nom du fichier qui vient d'être créé, avec son chemin absolu si nécessaire ;
    • Par exemple, pour changer les permissions sur le fichier file.swap situé à la racine d'Ubuntu, on utilisera la commande suivante :
      sudo chmod 600 /file.swap
  4. Définissez ce fichier en tant qu'espace d'échange. Pour ce faire, utilisez la commande mkswap :
    sudo mkswap nom du fichier
    • Par exemple, pour définir un espace d'échange sur le fichier file.swap situé à la racine d'Ubuntu, on utilisera la commande suivante :
      sudo mkswap /file.swap
  5. Activez la prise en charge de ce nouvel espace d'échange. Utilisez la commande swapon :
    sudo swapon nom du fichier
    • Par exemple, pour activer la prise en charge de l'espace d'échange sur le fichier file.swap situé à la racine d'Ubuntu, on utilisera la commande suivante :
      sudo swapon /file.swap
  6. Verification
    swapon -s

mercredi, janvier 29, 2014

XSD and null, zero values



* CAS 1 : Si on considère que lorsque l'information est vide, le tag n'a pas à apparaitre
XSD : 
<element name="DateFinValidite" type="date" minOccurs="0" />

XML Valide : 
<com:DateDebutValidite>2013-08-01</com:DateDebutValidite>
<com:DateMAJ>2013-09-17T00:00:00</com:DateMAJ>
ou
<com:DateDebutValidite>2013-08-01</comateDebutValidite>
<com:DateFinValidite >2014-08-01</DateFinValidite>
<com:DateMAJ>2013-09-17T00:00:00</comateMAJ>
XML Invalide :
<com:DateDebutValidite>2013-08-01</comateDebutValidite>
<com:DateFinValidite/>
<com:DateMAJ>2013-09-17T00:00:00</comateMAJ>


* CAS 2 : Si on veut voir tout le temps, quoiqu'il arrive, apparaitre le tag concerné que l'information soit vide ou renseignée
Il y a alors 2 solutions :

SOLUTION A/ usage de nil
XSD : 
<element name="DateFinValidite" type="date" nillable="true" minOccurs="1" maxOccurs="1"/>

XML Valide: 
<com:DateDebutValidite>2013-08-01</comateDebutValidite>
<com:DateFinValidite xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
<com:DateMAJ>2013-09-17T00:00:00</comateMAJ>
ou
<com:DateDebutValidite>2013-08-01</comateDebutValidite>
<com:DateFinValidite >2014-08-01</DateFinValidite>
<com:DateMAJ>2013-09-17T00:00:00</comateMAJ>


SOLUTION B/ surcharge de type


XSD : 
<element name="DateFinValidite" type="tns:dateNull" minOccurs="1" maxOccurs="1"/>

<simpleType name="emptyString">
<restriction base="string">
<length value="0" />
</restriction>
</simpleType>
<simpleType name="dateNull">
<union memberTypes="date tns:emptyString" />
</simpleType>
<simpleType name="intNull">
<union memberTypes="integer tns:emptyString" />
</simpleType>

XML Valide: 
<com:DateDebutValidite>2013-08-01</comateDebutValidite>
<com:DateFinValidite/>
<com:DateMAJ>2013-09-17T00:00:00</comateMAJ>
ou
<com:DateDebutValidite>2013-08-01</comateDebutValidite>
<com:DateFinValidite >2014-08-01</DateFinValidite>
<com:DateMAJ>2013-09-17T00:00:00</comateMAJ>




mardi, octobre 22, 2013

Download Links : Microsoft Windows - Visual Studio - Windows SDK - DirectX - .Net

WINDOWS


Windows 8.1 Enterprise Evaluation [ISO][FR][64bits]
http://care.dlservice.microsoft.com/dl/download/5/A/9/5A96D549-F597-4156-B55B-CF38BC18C2D6/9600.16384.WINBLUE_RTM.130821-1623_X64FRE_ENTERPRISE_EVAL_FR-FR-IRM_CENA_X64FREE_FR-FR_DV5.ISO

Windows 8.1 Enterprise Evaluation [[ISO][EN][64bits]
http://care.dlservice.microsoft.com/dl/download/B/9/9/B999286E-0A47-406D-8B3D-5B5AD7373A4A/9600.16384.WINBLUE_RTM.130821-1623_X64FRE_ENTERPRISE_EVAL_EN-US-IRM_CENA_X64FREE_EN-US_DV5.ISO

Windows 7 Enterprise Evaluation [ISO][EN][64bits]
http://care.dlservice.microsoft.com/dl/download/evalx/win7/x64/EN/7600.16385.090713-1255_x64fre_enterprise_en-us_EVAL_Eval_Enterprise-GRMCENXEVAL_EN_DVD.iso





WINDOWS MICRO DISTRIBUTION


Windows 7 : Tiny7 x86 Rev01 [32bits][NON LEGAL]
https://blackeyez007.blogspot.fr/2015/09/windows-7-tiny-unattended-fully.html#
CUSTOMISATION NOTE :
* Reset Internet Explorer settings
* Add language with Vistalizator http://www.froggie.sk/

Windows 7 : Micro7 [64bits][32bits][NON LEGAL]
http://mackyreddy.wixsite.com/micros/micro7
NOTE : all versions of Micro7 do not have network support

Windows XP : MicroXP [NON LEGAL]
http://net8xcom.blogspot.fr/2014/12/micro-xp-version-06-08-108-111-for.html
NOTE : do not use MicroXP version 1.11b which have problem with audio driver and internet





VISUAL STUDIO

NOTE :
Visual Studio List
https://en.wikipedia.org/wiki/Microsoft_Visual_Studio
Visual C++ List
http://en.wikipedia.org/wiki/Visual_C%2B%2B

VS2015 (vc14)

Visual Studio 2015 Community with Update 3 [ISO][FR][32bits][64bits]
https://download.my.visualstudio.com/db/fr_visual_studio_community_2015_with_update_3_x86_x64_dvd_8923244.iso?t=64b36eb4-25e2-4f0d-8791-b2cdafc1aa3a&e=1501170831&h=9ad8baee80243f22776aa8e0f05d1391&su=1

Visual Studio 2015 Community with Update 3 [ISO][EN][32bits][64bits]
https://download.my.visualstudio.com/db/en_visual_studio_community_2015_with_update_3_x86_x64_dvd_8923300.iso?t=43cba911-5665-493b-9283-d92e8184611a&e=1501170801&h=3f6187727530f2362876631c0c86e622&su=1

Visual Studio 2015 Community with Update 2 [ISO][FR][32bits][64bits]
https://download.my.visualstudio.com/db/fr_visual_studio_community_2015_with_update_2_x86_x64_dvd_8508808.iso?t=acf8b78f-3d1b-4f40-91a8-441e172c0ac3&e=1501170671&h=a8ae0423fb00a49c4e46c0a8563addd3&su=1

Visual Studio 2015 Community with Update 2 [ISO][EN][32bits][64bits]
https://download.my.visualstudio.com/db/en_visual_studio_community_2015_with_update_2_x86_x64_dvd_8508605.iso?t=5264aed4-26e0-4000-bb52-d203149157d2&e=1501170638&h=03185bc3abceab99b463bb03a3b61a5e&su=1

Visual Studio 2015 Community with Update 1 [ISO][FR][32bits][64bits]
https://download.my.visualstudio.com/db/fr_visual_studio_community_2015_with_update_1_x86_x64_dvd_8234315.iso?t=00b0d6ed-25cf-437e-b381-6997210f9474&e=1501171155&h=94c0890a9d24bdc862e3ad13c8868c26&su=1

Visual Studio 2015 Community with Update 1 [ISO][EN][32bits][64bits]
https://download.my.visualstudio.com/db/en_visual_studio_community_2015_with_update_1_x86_x64_dvd_8234312.iso?t=2b25221b-c9e8-4967-9183-d62797a07f56&e=1501170562&h=129ba2313c1aad630bb972d1ae72e7ce&su=1

NOTE : Below, Visual Studio exists only in 32bits

Visual Studio 2015 Community [ISO][EN][32bits]
http://download.microsoft.com/download/0/B/C/0BC321A4-013F-479C-84E6-4A2F90B11269/vs2015.com_enu.iso
https://download.my.visualstudio.com/db/en_visual_studio_community_2015_x86_dvd_6847364.iso?t=db8edb4a-0c77-46a7-9c5f-9b71be7ffaf2&e=1501170443&h=84b845829b4514aa5076ac3efb2a9ecc&su=1

Visual Studio 2015 Community [ISO][FR][32bits]
http://download.microsoft.com/download/0/7/1/071447A8-2FFB-401A-9ABF-F749663286AC/vs2015.com_fra.iso
https://download.my.visualstudio.com/db/fr_visual_studio_community_2015_x86_dvd_6847422.iso?t=8bd39000-7229-494e-a1b9-3762be5d8d63&e=1501170519&h=2c56ff7500e976048d7599fd3cffcb5f&su=1

NOTE : There is NO vc13

VS2013 (vc12)

Visual Studio 2013 Community with Update 5 [ISO][EN][32bits]
https://download.my.visualstudio.com/db/en_visual_studio_community_2013_with_update_5_x86_dvd_6816332.iso?t=e663905b-5044-4579-a1fa-d5d18bba934a&e=1501169377&h=a357675291140ee40dbb15ecfc4d6cf1&su=1

Visual Studio 2013 Community Update 5 [ISO][MULTI][32bits]
https://download.my.visualstudio.com/db/mu_visual_studio_2013_update_5_x86_dvd_6815499.iso?t=a445a439-22f0-4117-9181-d9998434f824&e=1501169094&h=358069ec229e05ab609e20ee4310ea73&su=1

Visual Studio 2013 Community with Update 4 [ISO][EN][32bits]
http://download.microsoft.com/download/7/1/B/71BA74D8-B9A0-4E6C-9159-A8335D54437E/vs2013.4_ce_enu.iso

NOTE : Visual Studio Express versions (for Web, Windows Desktop, Windows) are merged in Visual Studio Community, which is an enhanced Express version. In fact it's a Visual Studio Professionnal but free.

Visual Studio 2013 Express with Update 5 for Windows Desktop [ISO][EN][32bits]
https://download.my.visualstudio.com/db/en_visual_studio_express_2013_for_windows_desktop_with_update_5_x86_dvd_6815504.iso?t=c477f3e6-2fff-4e96-8d1f-57e1e91a8147&e=1501170250&h=f33eab7875cfc1d29fd3030dfde22dd0&su=1

Visual Studio 2013 Express with Update 5 for Windows Desktop [ISO][FR][32bits]
https://download.my.visualstudio.com/db/fr_visual_studio_express_2013_for_windows_desktop_with_update_5_x86_dvd_6815515.iso?t=1b1ef44c-ea95-47fb-98e0-57264125587b&e=1501170297&h=b5b8b466079d1ce41b9b25a036b29928&su=1

Visual Studio 2013 Express with Update 4 for Windows Desktop [ISO][EN][32bits]
http://download.microsoft.com/download/9/6/4/96442E58-C65C-4122-A956-CCA83EECCD03/vs2013.4_dskexp_ENU.iso

Visual Studio 2013 Express with Update 4 for Windows Desktop [ISO][FR][32bits]
http://download.microsoft.com/download/B/D/C/BDCF9769-D40A-401E-A779-FBC911542A3F/vs2013.4_dskexp_FRA.iso

VS2012 (vc11)

Visual Studio 2012 Update 4 [ISO][MULTI][32bits]
http://download.microsoft.com/download/D/4/8/D48D1AC2-A297-4C9E-A9D0-A218E6609F06/VSU4/VS2012.4.iso
https://download.my.visualstudio.com/db/mu_visual_studio_2012_update_4_x86_dvd_3161759.iso?t=e41600fe-63bc-4b38-bfce-c7aba91eb99e&e=1501169883&h=f3c82bd4e82b5f4459397f905818e397&su=1

Visual Studio 2012 Update 3 [ISO][MULTI][32bits]
http://download.microsoft.com/download/D/4/8/D48D1AC2-A297-4C9E-A9D0-A218E6609F06/VS2012.3.iso

Visual Studio 2012 Update 2 [ISO][MULTI][32bits]
http://download.microsoft.com/download/7/8/8/78863D92-FAA5-4692-8B51-381901E9BE7F/VS2012.2.iso

Visual Studio 2012 Express for Windows Desktop [ISO][FR][32bits]
http://download.microsoft.com/download/9/B/8/9B8A9C12-66E2-42CF-9E67-F94A3E872020/VS2012_WDX_FRA.iso

Visual Studio 2012 Express for Windows Desktop [ISO][EN][32bits]
http://download.microsoft.com/download/1/F/5/1F519CC5-0B90-4EA3-8159-33BFB97EF4D9/VS2012_WDX_ENU.iso

VS2010 (vc10)

Microsoft Visual Studio 2010 Service Pack 1 [[ISO][MULTI][32bits]
http://download.microsoft.com/download/E/B/A/EBA0A152-F426-47E6-9E3F-EFB686E3CA20/VS2010SP1dvd1.iso

Visual Studio 2010 Express All-in-One [ISO][EN][32bits]
http://download.microsoft.com/download/1/E/5/1E5F1C0A-0D5B-426A-A603-1798B951DDAE/VS2010Express1.iso

Visual Studio 2010 Express All-in-One [ISO][FR][32bits]
http://download.microsoft.com/download/f/8/9/f897c029-6a6e-4370-86c8-4bd9273cddcf/VS2010ExpressFRA.iso

VS2008 (vc9)

Visual Studio 2008 Service Pack 1 [DOWNLOAD PAGE]
http://www.microsoft.com/en-us/download/details.aspx?id=13276

Visual Studio 2008 Service Pack 1 [ISO][EN][32bits]
http://download.microsoft.com/download/a/3/7/a371b6d1-fc5e-44f7-914c-cb452b4043a9/VS2008SP1ENUX1512962.iso

Visual Studio 2008 Service Pack 1 [ISO][FR][32bits]
http://download.microsoft.com/download/f/a/4/fa48688b-d965-43a9-8b15-f1279af18e89/VS2008SP1FRAx1512965.iso

Visual Studio 2008 Express with SP1 [ISO][EN][32bits]
http://download.microsoft.com/download/E/8/E/E8EEB394-7F42-4963-A2D8-29559B738298/VS2008ExpressWithSP1ENUX1504728.iso

Visual Studio 2008 Express [ISO][EN][32bits]
http://download.microsoft.com/download/8/B/5/8B5804AD-4990-40D0-A6AA-CE894CBBB3DC/VS2008ExpressENUX1397868.iso

Visual Studio 2008 Express [ISO][FR][32bits]
http://download.microsoft.com/download/3/8/9/38958c1b-8955-4664-92a1-e0ec2d50431e/VS2008ExpressFRAX1428543.iso





WINDOWS SDK

NOTE : 
Windows SDK List
https://en.wikipedia.org/wiki/Microsoft_Windows_SDK
Windows SDK older versions index
https://developer.microsoft.com/en-us/windows/downloads/sdk-archive [EN]
https://developer.microsoft.com/fr-fr/windows/downloads/sdk-archive [FR]

Windows software development kit (SDK) for Windows 8 [DOWNLOAD PAGE]
aka Microsoft Windows SDK for Windows 8 and .NET Framework 4.5
aka Windows SDK8.0
http://msdn.microsoft.com/en-US/windows/desktop/hh852363.aspx

Microsoft Windows SDK for Windows 7 and .NET Framework 4 [ISO]
aka Windows SDK7.1
http://www.microsoft.com/en-us/download/details.aspx?id=8442
NOTE : GRMSDKX_EN_DVD.iso is for x64, GRMSDK_EN_DVD.iso is for x86 and GRMSDKIAI_EN_DVD.iso is for Itanium

Microsoft Windows SDK for Windows 7 and .NET Framework 4 [WEB INSTALLER]
aka Windows SDK7.1
http://www.microsoft.com/en-us/download/details.aspx?id=8279

Microsoft Visual C++ 2010 Service Pack 1 Compiler Update for the Windows SDK 7.1  [DOWNLOAD PAGE]
http://www.microsoft.com/en-us/download/details.aspx?id=4422

Microsoft Visual C++ 2010 Service Pack 1 Compiler Update for the Windows SDK 7.1 [INSTALLER]
http://download.microsoft.com/download/7/5/0/75040801-126C-4591-BCE4-4CD1FD1499AA/VC-Compiler-KB2519277.exe

Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1 [WEB INSTALLER]
aka Windows SDK7.0
http://www.microsoft.com/en-us/download/details.aspx?id=3138

Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1 [ISO]
aka Windows SDK7.0
http://www.microsoft.com/en-us/download/details.aspx?id=18950
NOTE : GRMSDKX_EN_DVD.iso is for x64, GRMSDK_EN_DVD.iso is for x86 and GRMSDKIAI_EN_DVD.iso is for Itanium





DIRECTX

NOTE :
DirectX List
http://en.wikipedia.org/wiki/DirectX

Microsoft DirectX SDK 10  [DOWNLOAD PAGE]
http://www.microsoft.com/en-us/download/details.aspx?id=6812





.NET Framework


.NET Framework 4.7 [OFFLINE INSTALLER]
https://download.microsoft.com/download/D/D/3/DD35CC25-6E9C-484B-A746-C5BE0C923290/NDP47-KB3186497-x86-x64-AllOS-ENU.exe

.NET Framework 4.7 [OFFLINE INSTALLER DOWNLOAD PAGE]
https://www.microsoft.com/en-us/download/details.aspx?id=55167

.NET Framework 4.6.2 [OFFLINE INSTALLER DOWNLOAD PAGE]
https://www.microsoft.com/en-us/download/details.aspx?id=53344

.NET Framework 4.5.2 [OFFLINE INSTALLER]
https://download.microsoft.com/download/E/2/1/E21644B5-2DF2-47C2-91BD-63C560427900/NDP452-KB2901907-x86-x64-AllOS-ENU.exe

.NET Framework 4.5.2 [OFFLINE INSTALLER DOWNLOAD PAGE]
https://www.microsoft.com/en-us/download/details.aspx?id=42642

.NET Framework 4 [WEB INSTALLER]
http://www.microsoft.com/en-US/download/details.aspx?id=17851

.NET Framework 4 [OFFLINE INSTALLER]
http://download.microsoft.com/download/9/5/A/95A9616B-7A37-4AF6-BC36-D6EA96C8DAAE/dotNetFx40_Full_x86_x64.exe

.NET Framework 3.5 SP1 [DOWNLOAD PAGE]
http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=22

.NET Framework 3.5 SP1 [OFFLINE INSTALLER]
http://download.microsoft.com/download/0/6/1/061F001C-8752-4600-A198-53214C69B51F/dotnetfx35setup.exe





WINDOWS MANAGEMENT FRAMEWORK


NOTE : Whole package containing several compoenents (Powershell, Remote Management, and so on ...)
https://msdn.microsoft.com/en-us/powershell/wmf/readme

Windows Management Framework 5.1 [DOWNLOAD PAGE]
https://www.microsoft.com/en-us/download/details.aspx?id=54616

Windows Management Framework 5.0 [DOWNLOAD PAGE]
https://www.microsoft.com/en-us/download/details.aspx?id=50395

Windows Management Framework 4.0 [DOWNLOAD PAGE]
https://www.microsoft.com/en-us/download/details.aspx?id=40855

Windows Management Framework 3.0 [DOWNLOAD PAGE]
https://www.microsoft.com/en-us/download/details.aspx?id=34595


dimanche, octobre 20, 2013

Creer une image d'un systeme déjà installé pour VirtualBox & Vagrant


Article pour Linux

1/ CREER UNE IMAGE VDI D'UN SYSTEM

* Prérequis : Avoir VirtualBox installer et dans le path

Exemple donné avec un systeme windows installé sur une  partition /dev/sda3

# creation de l'image
sudo -s cat /dev/sda3 | VBoxManage convertfromraw stdin /home/store/image.vdi $(expr 512 '*' $(cat /sys/block/sda/sda3/size))

# settings des droits
UID=mon_user
sudo chown $UID:vboxusers /home/store/image.vdi
sudo chmod u+rw,g+rw /home/store/image.vdi

Puis utiliser ce disque virtuel vdi pour constituer une nouvelle VM dans Virtual Box

Il faut ensuite restaurer le boot, étant donné que la plupart du temps la partition bootable n'est pas la partition dont on a fait l'image

# utilisation de boot-repair
télécharger l'ISO de boot-repair depuis http://sourceforge.net/p/boot-repair-cd/home/Home/
monter cet ISO en tant que CD dansla nouvelle VM précédement créer et booter dessus
utiliser  boot-repair pour restaurer le boot, par exemple installer GRUB pour linux ou restaurer la MBR pour windows

aide : https://help.ubuntu.com/community/Boot-Repair

2/PACKAGING VAGRANT

* Prérequis : Avoir vagrant installer et dans le path

Pour packager le vdi sous forme de box vagrant :

vagrant package --base image.vdi


mardi, juin 25, 2013

lundi, juin 24, 2013

CMake : Compiling for different hardware architectures


  • GCC (on Linux) or Sun Studio
Use compile option -m32 (force 32-bit build), -m64 (force 64-bit build)
  • Windows, Visual Studio generator
Use cmake -G "Visual Studio 9 2008 Win64" path_to_source_dir to compile 64-bit (x64)
  • Mac OS X
Use CMAKE_OSX_ARCHITECTURES CMake variable. You can set more than a single architecture to create universal binary, e.g
 cmake "-DCMAKE_OSX_ARCHITECTURES=i386;pcc" path_to_source 
will build universal binary with 32-bit intel / 32-bit powerpc.
cmake "-DCMAKE_OSX_ARCHITECTURES=x86_64" path_to_source 
will create x86_64 binary.

  • NMake Makefiles
    for 64 bits use the right SetEnv ou vsvarsall.bat command line and then
    cmake path to source -G "NMake Makefiles"
    nmake

mardi, juin 18, 2013

Git basic


Creer une archive zip à partir d'un tag ou d'une branche

git archive --format zip --prefix=root_folder_name/ --output /full/path/to/zipfile.zip TAG_NAME|BRANCH_NAME

Exemple avec projet hemeshgui pour creer une archive de release d'une v0.3-alpha
cd hemeshgui
git archive --format zip --prefix=hemeshgui/ --output ../hemeshgui-v0.3-alpha.zip v0.3-alpha
---------------------------------

jeudi, mai 30, 2013

Sync Github and Bitbucket


user github and bitbucket : paul
Github git repo : https://github.com/paul/app1
Bitbucket git repo : https://bitbucket.org/paul/app1

clone github repo
$git clone https://github.com/paul/app1.git
$cd app1

create new 'sync' branch and switch on it
$git checkout -b sync
$git branch

add new remote repo under name 'bitbucket'
$git remote add bitbucket https://bitbucket.org/paul/app1
$git remote -v

push the content of the sync branch on a new sync branch in 'bitbucket' repository
$git push -u bitbucket sync

Now do some change in 'sync' branch

to push changes in bitbucket just do
$git status
$git push

to update the github version
$git checkout master
$git branch
$git pull

to merge change (put sync branch content into master branch content)
$git checkout master
$git branch
$git merge sync
$git status

push any change to github
$git checkout master
$git branch
$git push
$git status


NOTE : https://gist.github.com/jcaraballo/1982605


vendredi, mai 24, 2013

Taille des repertoires et fichiers d'une arborescence

Pour afficher la taille occupee par des répertoires et des fichiers d'une arborescence linux


tree -h --du /path/to/folder

vendredi, avril 26, 2013

How to convert an arraybuffer to string in javascript


arrayBufferToString : function (arrayBuffer) {
var binary_string = '';
bytes = new Uint8Array(arrayBuffer);
for (var i = 0; i < bytes.byteLength; i++) {
    binary_string += String.fromCharCode(bytes[i]);
}
return binary_string;
},

XMLHttpRequest send binary data


XMLHttpRequest.prototype.binarySend = function(string) {
   var bytes = Array.prototype.map.call(string, function(c) {
     return c.charCodeAt(0) & 0xff;
   });
   this.send(new Uint8Array(bytes).buffer);




lundi, octobre 01, 2012

Configuration de nano


Pour configurer nano

editer /etc/nanorc pour tout le systeme

ou ~/.nanorc pour son user

AFFICHER LE NUMERO DE LA LIGNE PAR DEFAUT
ajouter :
set const

mardi, février 08, 2011

Ajouter un depot PPA du launchpad

Exemple avec https://launchpad.net/~stebbins/+archive/handbrake-releases
sudo add-apt-repository ppa:handbreake-releases
sudo apt-get update

Si il ya un problème, par exemple de proxy, on peut utiliser la méthode suivante :


W: Erreur GPG : http://ppa.launchpad.net lucid Release: Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY 8771ADB0816950D8


wget http://keyserver.ubuntu.com:11371/pks/lookup\?op=get\&search=0x8771ADB0816950D8 -O- | sudo apt-key add -