This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Get the aliases and functions | |
| if [ -f ~/.bashrc ]; then | |
| . ~/.bashrc | |
| fi | |
| # Replace "username" by your username | |
| ME="username" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| if ( ! function_exists( 'display_included_files' ) ) { | |
| /** | |
| * Display the names of all files that have been included using include, include_once, require or require_once. | |
| * | |
| * @param bool|array $filters Array of strings to filter results. Ex: ['my-template', 'elementor']. | |
| * @param bool $display Display on screen or in javascript console. Default false. | |
| */ | |
| function display_included_files( $filters = false, $display = false ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [core] | |
| repositoryformatversion = 0 | |
| filemode = false | |
| bare = false | |
| logallrefupdates = true | |
| symlinks = false | |
| ignorecase = true | |
| [remote "origin"] | |
| url = ssh://[email protected]_adress:22/home/username/git/myproject.git | |
| fetch = +refs/heads/*:refs/remotes/origin/* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Copy SSH Key command on OVH shared hosting | |
| # Replace "username", "cluster001" with your personal informations | |
| # Replace "~/.ssh/id_ed25519.pub" by the path to your public rsa key if you have a custom one | |
| cat ~/.ssh/id_ed25519.pub | ssh ssh://[email protected] "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # | |
| # Hook script to pull automatically | |
| # stage branch in /stage folder and master branch in /prod folder | |
| # when a push is detected | |
| # Replace "username" by your username | |
| ME="username" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # .bash_profile | |
| # Get the aliases and functions | |
| if [ -f ~/.bashrc ]; then | |
| . ~/.bashrc | |
| fi | |
| # Replace "username" by your username | |
| ME="username" |
NewerOlder