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
| convert(datetime,'2017-11-08 10:45:23.213', 21) | |
| https://docs.microsoft.com/en-us/sql/t-sql/functions/cast-and-convert-transact-sql?view=sql-server-2017 |
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
| HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0\Find |
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
| function disableEnter(e) | |
| { | |
| e = e || window.event; | |
| var key = e.keyCode || e.charCode; | |
| return key !== 13; | |
| } | |
| <form onkeypress="return disableEnter(event);"> |
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
| Sub ResizeImages() | |
| Dim i As Long | |
| With ActiveDocument | |
| For i = 1 To .InlineShapes.Count | |
| With .InlineShapes(i) | |
| .Height = CentimetersToPoints(8) | |
| .Width = CentimetersToPoints(8) | |
| End With | |
| Next i | |
| End With |
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
| dir *.* > output.txt /b /o |
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
| fsutil file createnew large.txt 100000000 |
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
| ln -s /media/data/Downloads ~ | |
| ln -s /media/data/Documents ~ | |
| ln -s /media/data/Projects ~ | |
| ln -s /media/data/Camera ~/Pictures | |
| ln -s /media/data/Camera ~/Videos | |
| ln -s /media/data/Audio ~/Music |
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
| Create the mount point. You’ll probably need to use sudo | |
| sudo mkdir /mnt/disk2 | |
| sudo chown <user name> /mnt/disk2 | |
| Menu -> Accessories -> Disk | |
| Click on the HDD, click on the partition, click on the two cogs, select “Mount Options” | |
| Change the Mount Point to /mnt/disk2 | |
| Reboot to check |
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
| vboxmanage modifyhd "/home/user/VirtualBox VMs/Win7/Win7.vdi" --resize 50000 |
NewerOlder