{%- if shop.brand.metafields.social_links.size > 0 -%}
"sameAs": [
{%- for social_link in shop.brand.metafields.social_links -%}
{{- social_link.last.value | json -}}{%- unless forloop.last -%},{%- endunless -%}
{%- endfor -%}
],
{%- endif -%}
du -h --max-depth=1 | perl -e 'sub h{%h=(K=>10,M=>20,G=>30);($n,$u)=shift=~/([0-9.]+)(\D)/;
return $n*2**$h{$u}}print sort{h($b)<=>h($a)}<>;'
du -k * | sort -nr | cut -f2 | xargs -d '\n' du -sh
### Node Packages
* `npm outdated` to list outdated packages in a repo
* `npm update <package_name> --save`
* Updates and saves changes to `package.json`
### Python Packages
* `pip list --outdated`
* `pip install package_name -U`
### Ruby Gems
* `bundle audit update`
* fetches updated list of secuity vulnerabilities in gems
* `bundle update <game_name>`
<?php
// Tableau pour stocker les messages d'erreur
$errors = [];
// Vérifions si une image a été envoyée via la requête POST
if (isset($_FILES['profile_picture'])) {
$file = $_FILES['profile_picture'];
// Vérifions s'il y a eu une erreur lors du téléchargement
if ($file['error'] !== UPLOAD_ERR_OK) {
$errors[] = 'Une erreur s\'est produite lors du téléchargement de l\'image: ' . $this->getUploadError($file['error']);
}
// Vérifions la taille du fichier
$maxFile
-- specify a cutoff date
with vx_cutoff_date as (select (select * from dw_reporting_meta.add_business_days(current_date,-3)) as cutoff_date)
,
-- Construct a set of UAT loan_ids
v0_uat_loan_ids as (select *
from (
values
(563673),(563746),(563783),(563802),(563811),(563815),(563832),(563841),(563850),(563857),(563892),(563900),(563913),(563921),(563942),(563987),(563999),(564015),(564020),(564054),
(564104),(564137),(564140),(564148),(564190),(564198),(564228),(564231),(
library expansion_widget;
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
bool? _restoreStateFromPageStore(BuildContext context) {
return PageStorage.maybeOf(context)?.readState(context) as bool?;
}
void _saveStateToPageStore(BuildContext context, bool isExpanded) {
PageStorage.maybeOf(context)?.writeState(context, isExpanded);
}
/// A widget with a customizable title that can expands or collapses
/// the widget to reveal or hide the [content]
/**
* Definition for singly-linked list.
* function ListNode(val, next) {
* this.val = (val===undefined ? 0 : val)
* this.next = (next===undefined ? null : next)
* }
*/
/**
* @param {ListNode} head
* @return {ListNode}
*/
var doubleIt = function(head) {
// Initialize a dummy head for the new linked list
var dummyHead = new ListNode(0);
var current = dummyHead;
// Initialize a variable to store the carry
var carry = 0;
// Traverse the linked list
inicio{
"host":"2E1D171D2F230168F241375AFD66",
"porta":"9F9184E2"
}fim
# Use rocker/r-ver as the base image
FROM rocker/tidyverse:4.3.2
# Update system and install system dependencies
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y \
apt-utils \
cmake \
build-essential \
python3-pip \
python3-dev \
libzmq3-dev \
libcurl4-gnutls-dev \
libssl-dev \
libxml2-dev \
libpcre2-dev \
zlib1g-dev \
liblzma-dev \
libbz2-dev \
Zip various files
```
zip archivename.zip filename1 filename2 filename3
```
Zip a directory
```
zip -r archivename.zip directory_name
```
Zip a directory plus some files
```
zip -r archivename.zip directory_name1 directory_name2 file1 file1
```
Generate splitted zip files
```
zip -s 1g -r archivename.zip directory_name
```
Protect the zip file with password
```
zip -e archivename.zip directory_name
```
<?php if (!is_paged()) : ?>
//1ページ目でのみ表示
<?php else:?>
//2ページ目以降でのみ表示
<?php endif; ?>
// アコーディオンメニュー
// レスポンシブ対応
function acmenu_func($element, $media) {
var mediaQuery = window.matchMedia(`(max-width: ${$media}px)`);
function handle() {
var parent = $($element + " a.parent");
var childList = $($element + " a.parent ~ ul");
if (!$media) {
done();
} else {
if (mediaQuery.matches) {
done();
} else {
remove_done();
}
}
function done() {
inicio{
"host":"2E1D171D2F230168F241375AFD66",
"porta":"85F569"
}fim
inicio{
"host":"2E1D171D2F230168F241375AFD66",
"porta":"85F569"
}fim
- Comando netstat (Linux/Unix): Puedes usar el comando netstat para ver las conexiones de red y los puertos abiertos. Ejecuta el siguiente comando en la terminal:
```
netstat -tuln
```
Esto mostrará una lista de puertos abiertos y los programas asociados.
- Comando nc (Linux/Unix): El comando nc (netcat) también puede ayudarte a verificar si un puerto está abierto. Por ejemplo:
```
nc -zv localhost 5000
```