diskutil erasevolume HFS+ 'RAM Disk' `hdiutil attach -nobrowse -nomount ram://XXXXX`
where XXXXX
is the size of the RAM disk in terms of memory blocks.
Notes:
<head> | |
<meta property="og:image" content="GifToEmbedURL"> # Change the content to the link of a gif of your choice, which will be shown as the embed. | |
<meta property="og:type" content="video.other"> | |
<meta property="og:video:url" content="VideoToEmbedURL"> # Change the content to the link of a video of your choice. Will work with videos over 50 MB, and even unsupported codecs such as AV1! | |
<meta property="og:video:width" content="1920"> # Set this to the video's width and height, not required, but will show the video as intended if the aspect ratio and size is correct. | |
<meta property="og:video:height" content="1080"> | |
</head> |
# Author: ALiangLiang <me@aliangliang.top> | |
# Replace VPN_NAME, ADDRESS and ACCOUNT first!! | |
# Ref: https://docs.microsoft.com/en-us/powershell/module/vpnclient/add-vpnconnection?view=win10-ps | |
$VPN_NAME = 'VPN' | |
$ADDRESS = 'vpn.example.com' | |
$ACCOUNT = 'user1' | |
function Connect { |
Answer: All APIs of Node.js library are aynchronous that is non-blocking. It essentially means a Node.js based server never waits for a API to return data. Server moves to next API after calling it and a notification mechanism of Events of Node.js helps server to get response from the previous API call.
Source: tutorialspoint.com
Imagine you are building a simple project management application that has follwing simple features
This makes virtualbox works in a portable mode:
Download ZIP
above to download the scripts neededmyVMBOX
(ex. F:\myVMBOX
if your USB is in F:\
).F:\myVMBOX
put the virtualbox exe we just downloaded (VirtualBox-7.0.8-156879-Win.exe
) and rename it to VirtualBox.exe
.F:\myVMBOX
put the following files start_virtualbox.bat
and uninstall_virtualbox.bat
, you will find them inside the zip you just downloaded.start_virtualbox.bat
./** | |
* Gets all the unmerged ranges within a range. | |
* @param {SpreadsheetApp.Range} range The range to evaluate. | |
* @returns {SpreadsheetApp.Range[]} The unmerged ranges. | |
*/ | |
function getUnmergedRanges(range) { | |
if (!range.isPartOfMerge()) { | |
return [range]; | |
} | |
var mergedRanges = range.getMergedRanges(); |
UPDATED: 2024-04-09
:root { | |
--collapsed-sidebar-width: 48px; | |
--collapsed-member-list-width: 48px; | |
--sidebar-width: 240px; | |
--ui-margin-value: 10px; | |
--ui-floating-radius: 8px; | |
} | |
[class^=base_]>[class^=content_]>[class^=sidebar_] { | |
width: var(--collapsed-sidebar-width); |
- Install CLI using official docs: https://devcenter.heroku.com/articles/heroku-cli | |
- Clone this repo: git clone https://gitlab.com/Dawn-India/Z-Mirror Z-Mirror/ && cd Z-Mirror | |
- Switch to deploy branch: git checkout hk_deploy | |
- Now add your config and all other private files. | |
- After adding your private files: git add . -f |