First, look at the partition table by running this command:
diskutil list
# | |
# Copyright (C) Andrei Belov (defanator@gmail.com) | |
# | |
# This is an example of direnv [1] .envrc file approaching the way | |
# of using awscli [2] with MFA-enabled accounts in a (more or less) | |
# secure manner. | |
# | |
# The following assumptions are expected: | |
# | |
# a) there should be two files, key.asc and skey.asc, containing |
/* | |
Adapted from https://github.com/sindresorhus/github-markdown-css | |
The MIT License (MIT) | |
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com) | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights |
--- | |
AWSTemplateFormatVersion: '2010-09-09' | |
Description: AWS Backup | |
Resources: | |
rBackupPlan: | |
Type: AWS::Backup::BackupPlan | |
Properties: |
### OmniAuth Settings | |
###! Docs: https://docs.gitlab.com/ce/integration/omniauth.html | |
gitlab_rails['omniauth_enabled'] = true # Show "Signin with..." button in Login page | |
gitlab_rails['omniauth_allow_single_sign_on'] = ['google_oauth2'] # Create account automatically | |
# gitlab_rails['omniauth_sync_email_from_provider'] = 'saml' | |
gitlab_rails['omniauth_auto_sign_in_with_provider'] = 'google_oauth2' # Redirect to provider login page when enter gitlab login page | |
# gitlab_rails['omniauth_block_auto_created_users'] = true # true: auto-created user must be admin approved | |
# gitlab_rails['omniauth_auto_link_ldap_user'] = false | |
# gitlab_rails['omniauth_auto_link_saml_user'] = false | |
# gitlab_rails['omniauth_external_providers'] = ['twitter', 'google_oauth2'] |
Starting at a new employer always mean checking out various git repositories.
As the amount of repositories a company has grows, the time needed to clone all of those repositories also grows.
This script automates this task.
In order for this script to work, a personal access token is needed.
/* | |
Adapted from https://github.com/sindresorhus/github-markdown-css | |
The MIT License (MIT) | |
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com) | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights |
You can use this diagram as a template to create your own git branching diagrams. Here's how:
https://gist.githubusercontent.com/bryanbraun/8c93e154a93a08794291df1fcdce6918/raw/bf563eb36c3623bb9e7e1faae349c5da802f9fed/template-data.xml
# Данные Команды добавляют в автозагрузку shared folders VMware | |
# Вариант 1. | |
a. Install open-vm-tools, apt-get install open-vm-tools. | |
b. Install open-vm-tools-dkms, apt-get install open-vm-tools-dkms. | |
c. Run /usr/bin/vmware-hgfsclient, it will display your shared folder. | |
d. Update your /etc/fstab using the details below: |