/**
* @param {string[]} timePoints
* @return {number}
*/
var findMinDifference = function(timePoints) {
// Helper function to convert "HH:MM" time format to minutes since midnight
const timeToMinutes = (time) => {
const [hours, minutes] = time.split(":").map(Number);
return hours * 60 + minutes; // Convert hours to minutes and add the minutes
};
// Step 1: Convert each time point to its corresponding minutes since midnight
const minutesArray = timePoints.m
declare @ContentID varchar (100) = 'Content_87e243b6-960d-4efe-ac89-d4f211b4277b'
select * from v_Content where Content_UniqueID = @ContentID
select * from v_Package where PackageID = (select PkgID from v_Content where Content_UniqueID = @ContentID)
/**
* @version 16.09.2024
* import { getClearPhone } from "/src/utils/regexp.js"
*/
export function getClearPhone(str) {
return str.replace(/[^+0-9]/g, "")
}
- Chercher une méthode pour réaliser de gros exports de données du local vers un
bucket Cloud Storage
<div class="pp-home-about-us animate-in">
<div class="meta-side">{{Module.FieldValues.Copy}}</div>
<ul class="images-list">
{% for Item in List.Items %}
<li class="hover-img">
<a href="{{Item.FieldValues.Image.Src}}" data-glightbox="title: {{Item.FieldValues.Image.Alt}}" class="glightbox" data-gallery="gallery-{{ Matrix.MatrixId }}">
<img class="lazyimg" data-src="{{Item.FieldValues.Image.Src}}" alt="{{Item.FieldValues.Image.Alt}}">
</a>
<div class="pp-home-about-us animate-in">
<div class="meta-side">{{Module.FieldValues.Copy}}</div>
<ul class="images-list">
{% for Item in List.Items %}
<li class="hover-img">
<a href="{{Item.FieldValues.Image.Src}}" data-glightbox="title: {{Item.FieldValues.Image.Alt}}" class="glightbox" data-gallery="gallery-{{ Matrix.MatrixId }}">
<img class="lazyimg" data-src="{{Item.FieldValues.Image.Src}}" alt="{{Item.FieldValues.Image.Alt}}">
</a>
## Different Types of Identities in Google Cloud
### Predifined
### Custom
### Basic
- Owner
- Editor
- Viewer
> ☝️ **NOTE**
> - **Powerful and convenient for a development environment**,
> - **shouldn't be considered in production**.
Google Cloud is really good at suggesting relevant, fine-grained permissions.
## View Predifined Roles and Permissions in Google Cloud
You can see them launching the IAM service.
> **VIEW BY PRINCIPALS** (default)
Identities are referred to as *"Principals"*
section {
--_background: #1c1c1c;
border-image: linear-gradient(var(--_background) 0 0) fill 0 / /0 100lvi;
}
textarea {
--_min-rows: 5; /* デフォルトの行数 */
--_max-rows: 20; /* 最大行数 */
--_padding: 1em;
box-sizing: border-box;
inline-size: 100%;
min-block-size: calc(var(--_min-rows) * 1lh + var(--_padding) * 2);
max-block-size: calc(var(--_max-rows) * 1lh + var(--_padding) * 2);
padding: var(--_padding);
field-sizing: content;
@supports (field-sizing: content) {
resize: none; /* field-sizing有効時にはリサイズ機能を無効にする */
}
}
<div class="input-group">
<label>
<input type="radio" name="display" value="flex" />
display: flex
</label>
<label>
<input type="radio" name="display" value="grid" checked />
display: grid
</label>
</div>
<ul>
<li>
<p class="date">2024.05.31</p>
<p class="category">Markup</p>
<p class="title">input[type="checkbox"]要素のswitch属性を使用したスイッチUIの実装例</p>
</li>
<li>
<p class="date">2024.05.29</p>
<p class="category">Coding Techniques</p>
<p class="titl
h1 {
text-align: center;
text-wrap: balance;
}
h1 {
inline-size: fit-content;
margin-inline: auto;
}
There are a few changes when working with Colab Enterprise compared to Vertex AI Workbench, particularly in how authentication and environment setup are handled.
## Key Differences and Changes
1. **Authentication Setup**:
- **Vertex AI Workbench**: Provides built-in authentication via the default service account associated with the notebook instance. This allows seamless access to Google Cloud services (like GCS) without additional setup.
- **Colab Enterprise**: You'll need to hand
# When to Use Cloud Storage?
## Cloud Native Applications
Sharing large amounts of data between applications
## Analytics and Machine Learning
- Complimentary to database storage
- Storing data to preprocess it later
- Machine learning may require large amounts of data
## Backup and Archive
- Long-term storage of logs for example
- We like to have a low-cost storage service
## Media
- Can be very large and hence be expensive to store
- Convenient to access media without needing a specific servic
/**
* @param {string} s
* @return {number}
*/
var findTheLongestSubstring = function(s) {
// Initialize the bitmask and result variables
let bitmask = 0; // This will track the parity (even/odd) of vowels using 5 bits.
let maxLength = 0; // This will store the longest valid substring length.
// Create a map to store the first occurrence of each bitmask state.
let map = {0: -1}; // Starting bitmask 0 means all vowels have appeared an even number of times.
// Iterate o