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
| docker run hello-world | |
| docker run busy box echo hello world | |
| docker ps | |
| docker ps --all | |
| docker start id_from_ps | |
| docker start -a id_from_ps | |
| docker stop id | |
| docker kill id | |
| docker run = docker create + docker start | |
| docker system prune |
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
| Windows Registry Editor Version 5.00 | |
| [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion] | |
| "EditionID"="CoreSingleLanguage" | |
| "ProductName"="Windows 10 Home Single Language" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| sudo apt install apt-transport-https ca-certificates curl software-properties-common | |
| curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
| sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | |
| sudo apt update | |
| sudo apt install docker-ce | |
| sudo systemctl status docker | |
| docker -v | |
| sudo usermod -aG docker $USER |
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
| Host cm.bitbucket.org | |
| HostName bitbucket.org | |
| IdentityFile ~/.ssh/ConfinedMaterials |
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
| npm install --save @capacitor/core @capacitor/cli | |
| npx cap init | |
| npx cap add android |
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
| # Ensure that Get-ChildItemColor is loaded | |
| Import-Module Get-ChildItemColor | |
| # Set l and ls alias to use the new Get-ChildItemColor cmdlets | |
| Set-Alias l Get-ChildItemColor -Option AllScope | |
| Set-Alias ls Get-ChildItemColorFormatWide -Option AllScope | |
| # Helper function to show Unicode characters | |
| function U | |
| { |
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
| import { Injectable } from '@angular/core'; | |
| import { CanActivate, Router } from '@angular/router'; | |
| import { CookieService } from 'ngx-cookie-service'; | |
| @Injectable() | |
| export class AuthGuardService implements CanActivate { | |
| constructor( | |
| public cookieService: CookieService, | |
| public router: Router | |
| ) { } |
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
| /** | |
| Author : MaxySpark <[email protected]> | |
| */ | |
| function sliceHelper(str,object) { | |
| let keys = Object.keys(object); | |
| let return_obj = {}; | |
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
| # If you come from bash you might have to change your $PATH. | |
| # export PATH=$HOME/bin:/usr/local/bin:$PATH | |
| # Path to your oh-my-zsh installation. | |
| export ZSH=/home/maxyspark/.oh-my-zsh | |
| # Set name of the theme to load. Optionally, if you set this to "random" | |
| # it'll load a random theme each time that oh-my-zsh is loaded. | |
| # See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes | |
| # ZSH_THEME="agnoster" |