Skip to content

Instantly share code, notes, and snippets.

View fgardavaud's full-sized avatar

Francois Gardavaud fgardavaud

View GitHub Profile
@fgardavaud
fgardavaud / h5_mac_reading.md
Last active December 13, 2023 20:31
Read h5 file in macOS

Install programs to add linux-based command line

First install Homebrew on your mac computer. To do that, open terminal and paste following command-line : /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Follow instructions displayed in terminal window.

Reboot your computer.

@fgardavaud
fgardavaud / how_to_mount_ext_volume_mac.md
Last active February 10, 2022 11:39
How to mount ext linux volume on macOS system

Prerequisites

You have to install Xcode Command Line Tool in your computer. It comes with Xcode software. If you have already install Xcode or Xcode Command Line Tools go to the next step. If not, follow the next instructions :

  • First option : Paste this command on a terminal to install Xcode Command Line Tools : xcode-select —install Follow the instructions displayed in the terminal window. The main interest of this option is the weight of these tools compared to Xcode whole software as it weighs several Go (about 10 Go).
@fgardavaud
fgardavaud / Remove_CitrixID.txt
Last active January 11, 2021 16:29
Script to removing CitriX ID profile in macOS system
------------------------------------------------------------------------------------
-- Script name : Remove_CitrixID.app
-- Aim : Remove hidden file to generate new ID profile in Citrix. Can solve Citrix connection problem
-- Author : Francois Gardavaud, MPE. Medical Physicist Expert.
-- Date : 06/23/2020
-- Version number : 1.0
-- OS : macOS
-------------------------------------------------------------------------------------
tell application "System Events"
do shell script "rm -r '~/Library/Application Support/Citrix Receiver/CitrixID'"
@fgardavaud
fgardavaud / Deco_Reso_v2.txt
Last active January 11, 2021 16:29
script to disconnect network drive in apple script langage
------------------------------------------------------------------------------------
-- Script name : Deco_Reso_v2.app
-- Aim : Disconnect network drive with macOS system.
-- No configuration is required by the user except to give the right of program execution if SIP is active on your computer
-- try is to avoid finder infinite loop if you can't acces to the network drive for various reasons.
-- to find your network drive name just put the name under your "people sharing icon" in your desktop screen
-- Author : Francois Gardavaud, MPE. Medical Physicist Expert.
-- Date : 07/09/2020
-- Version number : 1.0
-- OS : macOS
@fgardavaud
fgardavaud / Reseau_v2.txt
Last active January 11, 2021 16:29
script to connect network drive with samba protocol in apple script langage
------------------------------------------------------------------------------------
-- Script name : Reseau_v2.app
-- Aim : Connect network drive with samba protocol with macOS system.
-- No configuration is required by the user except to give the right of program execution if SIP is active on your computer
-- try is to avoid finder infinite loop if you can't acces to the network drive for various reasons.
-- Author : Francois Gardavaud, MPE. Medical Physicist Expert.
-- Date : 07/09/2020
-- Version number : 2.0
-- OS : macOS
-------------------------------------------------------------------------------------