
ptitfred/magrit - GitHub Dan Rodney's List of Mac OS X Keyboard Shortcuts & Keystrokes For years I’ve collected these keystrokes. I hope they help you become the power user that lies within. I have tested them on Mac OS X El Capitan, but most should work on older versions of Mac OS (such as Yosemite, Mavericks, Mountain Lion). Menu Symbols Finder App Switcher Managing Windows & Dialogs Dock Dashboard Working with Text Only work in some apps (Safari, Mail, TextEdit, etc.) Screenshots Saved to the Desktop as a PNG file. Spotlight Mission Control Startup, Restart, Shutdown & Sleep Safari Apple Mail Preview Miscellaneous Emacs Key Bindings Only work in some apps (Safari, Mail, TextEdit, etc.)
How to read values from a NO2 sensor from an Arduino? dtrx: Intelligent archive extraction Introduction dtrx stands for “Do The Right Extraction.” It's a tool for Unix-like systems that takes all the hassle out of extracting archives. Here's an example of how you use it: $ dtrx linux-3.0.1.tar.bz2 That's basically the same thing as: $ tar -jxf linux-3.0.1.tar.bz2 But there's more to it than that. $ tar -zvxf random-tarball.tar.gz foo bar data/ data/text $ cd data/ cd: permission denied: data dtrx takes care of all those problems for you, too: $ dtrx random-tarball.tar.gz $ cd random-tarball/data $ cat text This all works properly. dtrx is simple and powerful. Features Handles many archive types: You only need to remember one simple command to extract tar, zip, cpio, deb, rpm, gem, 7z, cab, lzh, rar, gz, bz2, lzma, xz, and many kinds of exe files, including Microsoft Cabinet archives, InstallShield archives, and self-extracting zip files. Download Download dtrx 7.1. Support for LZH archives.Minor bug fixes in handling recursive extraction and empty archives. Requirements Installation
Installing Powerline, as quickly as possible - Tried & Tested - Ubuntu MATE Community Powerline will replace your statusline formatting settings with its own. You will need to modify Powerline's default theme to replicate your settings and match whatever display and font settings you had before. Also, you may need to edit some font files if you want to use a specific font with your terminal. Bear that in mind. Powerline is a font set and command-line program addon that beautifies the terminal, giving it a breadcrumbs-like appearance and making certain things in the terminal look more distinctive. With that, the program and fonts are installed. Shell: Bourne Again shell (usually ~/.bashrc) if [ -f /usr/share/powerline/bindings/bash/powerline.sh ]; then source /usr/share/powerline/bindings/bash/powerline.sh fi Shell: Z-shell (usually ~/.zshrc) if [[ -r /usr/share/powerline/bindings/zsh/powerline.zsh ]]; then source /usr/share/powerline/bindings/zsh/powerline.zsh fi Editor: Vim (usually ~/.vimrc) Command-line: tmux (usually ~/.tmux.conf)
Git et LDAP en entreprise Le gain apporté par les gestionnaires de configuration distribués n’est plus à démontrer . Dans ce domaine, les projets libres montrent la voie, et en utilisent presque tous un, que ce soit Git , Mercurial , etc. Cela fait maintenant quelques temps que je teste Git , y compris au travail en interface avec SVN , notre gestionnaire de configuration d’entreprise. Pour aller plus loin dans cette utilisation, il fallait envisager de remplacer (ou de doubler) le serveur SVN central par un repository Git central (« « ). Voici différentes pistes que nous avons envisagées pour ce faire : Utiliser un hébergement dédié Une première solution est d’externaliser l’hébergement des sources des projets (sur GitHub par exemple). Ces deux outils sont basés sur le même principe : le serveur connaît les clés SSH publiques des utilisateurs autorisés Pour les détails de mise en oeuvre, je vous renvoie à ce tutoriel complet . Droits du système Présentation des dépôts par un serveur web Conclusion
Understanding the Java Garbage Collection Log The Java Zone is brought to you in partnership with AppDynamics. Discover how AppDynamics steps in to upgrade your performance game and prevent your enterprise from these top 10 Java performance problems. To diagnose any memory problems, the Garbage Collection log file is the best place to start. It provides several interesting statistics: When the scavenge (or Young generation) GC ran?When the full GC ran? How to Generate GC Log File? In order to understand the GC log, you first need to generate one. Example: -XX:+PrintGCDateStamps would print the absolute time stamp in the log statement (i.e. “2014-11-18T16:39:25.303-0800”). -XX:+PrintGCDetails property would print the details of how much memory is reclaimed in each generation. Passing the above system properties would generate a Garbage Collection log file that would look like: Anatomy of GC Log Statement Let’s pick apart this log statement and examine each field in it: 2014-11-18T16:39:37.728-0800 – Time stamp at which GC ran. Topics:
Grive: Open Source Google Drive Client For Linux Update: grive was abandoned and no longer works. You may want to take a look at Grive2 instead. The Google Drive client isn't yet available for Linux and the old Google Docs FS doesn't work too well with Google Drive, so besides the web interface, the best solution to get Google Drive on Linux right now is using Grive, an unofficial, open source, command line Linux client for Google Drive. For now, the application is considered experimental and it lacks full sync, but it can upload and download new or changed files already (so you can access your files offline). Initially, Grive didn't support uploading new files and it could only upload changed files but the latest version from GIT (available in the WebUpd8 PPA) supports uploading new files too. Update: the issues above have been fixed (except for watching for changes and automatically syncing them) in the latest Grive. Install Grive (CLI Google Drive Client) in Ubuntu Using Grive 1. mkdir -p ~/grive 2. cd ~/grive 3. grive -a That's it.
srsudar/eg