git checkout staging
git pull
git merge --no-ff <tua branca>
Comando docker
docker run -d --name plex --net host --restart always --volume $(echo $HOME)/media/plex/config:/config --volume /mnt/seagate/ARCHIVIO/Video:/data --volume $(echo $HOME)/media/plex/ -e SET_PLEX_UID=1000 -e SET_PLEX_GID=1000 --security-opt seccomp=unconfined greensheep/plex-server-docker-rpi:latest
comando rimozione
docker rm -f plex
echo "/dev/sd2 /mnt/USBname ntfs rw,nosuid,nodev,nofail,x-gvfs-show,users,uid=1000,gid=1000,dmask=002,fmask=113,nobootwait 0 0" >> /etc/fstab
pv dump.sql| mysql -u root -ppassword -h 127.0.0.1 magento
This file contains 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
<? | |
declare(strict_types=1); | |
use Magento\Sales\Model\Order\Item; | |
use Magento\Sales\Model\ResourceModel\Order\Item\CollectionFactory as ItemCollectionFactory; | |
class Example | |
{ | |
/** |
This file contains 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
``` | |
plugins=(git commonaliases sudo vagrant command-not-found compleat composer cp bgnotify pass dirhistory git-extras docker docker-compose jsontools colorize copydir copyfile history capistrano) | |
``` | |
``` | |
git commonaliases sudo vagrant command-not-found compleat composer cp ubuntu bgnotify pass chucknorris dirhistory git-extras docker docker-compose jsontools colorize copydir copyfile history lol capistrano kubectl terraform | |
``` | |
`dirhistory` |
ffmpeg -r 24 -pattern_type glob -i '*.JPG' -s hd1080 -vcodec libx264 timelapse.mp4
-r 24
- output frame rate-pattern_type glob -i '*.JPG'
- all JPG files in the current directory-i DSC_%04d.JPG
- e.g. DSC_0397.JPG-s hd1080
- 1920x1080 resolution
This file contains 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
<?php function SingoloXml() | |
{ | |
$doc = new DOMDocument; | |
$l1 = $doc->createElement("L1"); | |
$l2 = $doc->createElement("L2"); | |
$l1->appendChild($l2); | |
$doc->appendChild($l1); |
This file contains 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
wpa_passphrase ESSID passoword_wifi >> /etc/wpa_supplicant/wpa_supplicant.conf |
NewerOlder