rss
twitter
  • Showcase
  • Carrières
  • Support
  • GitLab
  • Espace client
  • Contact

Sysadmin : Linux, Apache, GIT

LaCie 2big NAS / 5big NAS : SSH + rsync

0
1. Matériel concerné Cet article a été réalisé avec un NAS LaCie 2big avec le firmware 3.1.4.6 (pensez à désactiver la mise à jour automatique !). Elle devrait fonctionner sur LaCie 5big (sous réserve de firmware <=) et potentiellement sur d’autres appareils répertoriés
DATE 07 Mar 2014
BY Germain

Exporter / Importer un listing crontab

0
Actually, c’est plus simple qu’il n’y parait : Exporter vers un fichier texte : myUser@myServer ~ $ fcrontab -l > fcrontab.txt 20:18:46 listing myUser's fcrontab À partir de là, rapatriez votre fichier en local, éditez-le, renvoyez-le, puis… Réimporter
DATE 21 Fév 2014
BY Germain

Importer un repository GIT dans un autre

1
1) Mise en place Commencez par créer votre nouveau repository, que l’on appellera NEW. Ensuite, récupérez le chemin de l’ancien repository, que l’on appellera OLD. En interne nous utilisons SourceTree comme client, donc voilà où se trouve le chemin :  
DATE 13 Fév 2014
BY Germain

Git: outils et commandes utiles

0
Outils Smart Git/HG: prend en charge Git et Mercurial, pratique notamment pour voir les changements mis en « stash ». En mode console: tig Très rapide pour naviguer dans les commits, avec une bonne coloration syntaxique c’est parfait. J’utilise oh-my-zsh et Solarized
DATE 27 Mai 2013
BY Guillaume

Un .htaccess différent en local et en prod

2
Quoi de plus rageant que travailler sur un site dans deux environnements contradictoires ? Pour éviter les prises de tête inutiles, voici une astuce pour impliquer un fichier de config différent selon l’environnement d’exécution. L’exemple suivant
DATE 31 Jan 2013
BY Germain

Utiliser Curl pour télécharger un fichier

0
Germain: italic$ cd Downloads/ Germain:Downloads italic$ curl -C - -O https://www.italic.fr/wp-content/uploads/2012/12/italic-logo-45x45.png % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 3319 100 3319 0 0 9304 0 --:--:--
DATE 07 Déc 2012
BY Germain

Crontab avec Sudoers pour Apache (sous CentOS)

0
Récupérer les tweets chaque heure dans un fichier JSON L’environnement [root@host monclient]# uname -a Linux hostname.monclient.com 2.6.32-16-pve #1 SMP Mon Oct 22 08:38:13 CEST 2012 x86_64 x86_64 x86_64 GNU/Linux [root@host monclient]# cat /etc/issue CentOS release 5.5 (Final)
DATE 14 Nov 2012
BY Germain

Liste récursive des fichiers et dossiers du répertoire courant

0
Germain:js italic$ pwd /Volumes/Data/italic/Sites/projet/repo/www/js Germain:js italic$ find . -type f ./.DS_Store ./jquery-1.4.2.min.js ./jquery.jcarousel.min.js ./shadowbox-3.0.3/close.bak.png ./shadowbox-3.0.3/close.png ./shadowbox-3.0.3/expressInstall.swf
DATE 04 Juil 2012
BY Germain

OS X : renommer des fichiers en 1 ligne

0
Pour remplacer les underscores par des tirets : for f in *; do mv $f `echo $f | tr '_' '-'`; done;
DATE 20 Mar 2012
BY Germain

Requérir une authentification .htaccess que si le site est sur serveur distant

0
La situation – Vous travaillez en local – Vous poussez le site sur un serveur distant de pré-prod ou prod – Il y a un .htaccess distant pour protéger l’accès – Ça conflict avec votre localhost car les chemins ne sont pas identiques L’idée Ne
DATE 19 Mar 2012
BY Germain
‹ Previous12345Next ›Last »

Search the blog

Blog categories

  • Front-end : HTML, CSS (13)
  • Workflow (1)
  • Front-end : javascript, jQuery (33)
  • Back-end : PHP, CMS (42)
  • Back-end : SQL, MySQL (20)
  • Sysadmin : Linux, Apache, GIT (75)
  • Designers : tools, advice (2)
  • Desktop : OS X (37)
  • Desktop : Microsoft (12)
  • Uncategorized (8)

ITALIC™ Resources

  • Paramètres de connexion au serveur mail
  • Graphistes : séduire un développeur web
  • Dév front : nos bonnes pratiques
  • Mailing : nos (bonnes ?) pratiques
  • Environnement de travail Mac

Recent comments

  • Germain dans Inserer un motif dans une forme InDesign
  • Fannie J dans Inserer un motif dans une forme InDesign
  • Rapide benchmarks de clients Git pour Linux (et un peu Windows et Mac aussi) – Haha. dans Git avec SourceTree : ouvrir dans TextMate / ouvrir dans Sublime Text 2
  • Germain dans Ajouter des contacts non-Facebook à Spotify
  • cc dans Ajouter des contacts non-Facebook à Spotify

Meanwhile, in the office…

UNEP @ Paysalia

01 Déc 2015

Liebig

22 Sep 2015

Mercedes-Benz

17 Sep 2015

Office National du Tourisme Tunisien

21 Août 2015

Serious Game

17 Juil 2015

Engie

22 Juin 2015

UN Guiding Principles Reporting Framework

21 Mar 2015

Dites-le avec Nutella®

21 Fév 2015

HEC

21 Déc 2014

AREVA

21 Déc 2014
© 2008-2017 ITALIC™ • 8 bis rue Abel • 75012 PARIS • Tel +33 (0)1 48 44 46 35 • RCS PARIS 508 228 772 • Powered by WordPress & GoodLayers
Nous utilisons des cookies pour vous garantir la meilleure expérience sur notre site web.
Cookie settingsACCEPTER
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Toujours activé
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
Enregistrer & appliquer