7-Zip and unzipping from command line
e (Extract) command
x (Extract with full paths) command
-o (set Output directory) switch
7-zip can be used in powershell for extracting .zip file. To call 7-zip simply use:
> 7z
7-Zip and unzipping from command line
e (Extract) command
x (Extract with full paths) command
-o (set Output directory) switch
7-zip can be used in powershell for extracting .zip file. To call 7-zip simply use:
> 7z
NOTICE: This guide will help you set ssh keys for GitHub and GitLab. However, this is not going to change your commit
user.name
oruser.email
. If you need to change those for specific repositories, just run the following commands while in your repository:
git config user.name "Your Name Here"
git config user.email your@email.com
For more info, see this answer. Also, keep in mind this only changes the
.git
folder inside your repository which never gets added/committed/pushed/uploaded.
I recently had to manage two ssh keys (one for Github and one for Gitlab). I did some research to find the best solution. I am justing putting the pieces together here.
Installation guide to PyQt4 and PyQt5 on windows 10. Works with Python 3.7.3 32-bit and Python 3.7.3 64-bit (tested)
python --version
on the command line.pip list
.pip install PyQt5
this will install PyQt5.pip install pyqt5-tools
this will install the designer.exe
in your Scripts folder.From StackOverflow
$inputFile = Get-Content "C:\path\to\data.txt"
$outputFile = "C:\path\to\dataoutput.txt"
$collate = foreach($Obj in $inputFile) {
$begin = ""
$end = ","
$begin + $Obj + $end
composer create-project --prefer-dist laravel/laravel FOLDER
example :composer create-project laravel/laravel getting-started
For more info, go to Laravel Documentation and follow the installation process.
Import-Module PSReadLine | |
Set-Alias git hub | |
Set-PSReadLineOption -BellStyle None | |
Import-Module posh-git | |
Set-Location C:\users\<username> | |
# Dracula readline configuration. Requires version 2.0, if you have 1.2 convert to `Set-PSReadlineOption -TokenType` | |
Set-PSReadLineOption -TokenKind Command -ForegroundColor Green | |
Set-PSReadLineOption -TokenKind Parameter -ForegroundColor Gray | |
Set-PSReadLineOption -TokenKind Operator -ForegroundColor Magenta | |
Set-PSReadLineOption -TokenKind Variable -ForegroundColor White |
Pourquoi les enjeux de la sécurité sont-ils importants?
Quel est l'objectif final de la sécurité de l'information? Qu'est-ce qu'on sécurise exactement?
/*============================================================================*/ | |
/* Lesson 1: Create & query database objects */ | |
/*============================================================================*/ | |
/*Create a database*/ | |
CREATE DATABASE TestData | |
GO | |
/*Switch the Query Editor connection to the TestData database*/ | |
USE TestData | |
GO | |
/*Create the table*/ |
From StackOverflow
<join_type> ::=
[ { INNER | { { LEFT | RIGHT | FULL } [ OUTER ] } } [ <join_hint> ] ]
JOIN
JOIN
then by default it is a INNER JOIN
.OUTER
join has to be LEFT | RIGHT | FULL
you can not simply say OUTER JOIN
.More info Write-Host
To stop script, simply press Ctrl + C
for (;;)
{
[uint32] $num1 = Get-Random -Count 1 -InputObject (100..999)
[uint32] $num2 = Get-Random -Count 1 -InputObject (100..999)
[uint32] $num3 = Get-Random -Count 1 -InputObject (100..999)
[uint32] $num4 = Get-Random -Count 1 -InputObject (100..999)