Update packages
sudo dnf -y update
Disable cgroups v2 in the kernel
sudo grubby --update-kernel=ALL --args="systemd.unified_cgroup_hierarchy=0"
Reboot.
Uninstall docker if you already did and install Docker CE.
<?php | |
$ch = curl_init('https://www.howsmyssl.com/a/check'); | |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); | |
$data = curl_exec($ch); | |
curl_close($ch); | |
$json = json_decode($data); | |
echo "<pre>TLS version: " . $json->tls_version . "</pre>\n"; |
There are two types of markup in Liquid: Output and Tag.
{{ matched pairs of curly brackets (ie, braces) }}
{ | |
"files.autoSave": "afterDelay", | |
"window.zoomLevel": 0.2, | |
"editor.tabSize": 2, | |
"diffEditor.ignoreTrimWhitespace": false, | |
"workbench.startupEditor": "newUntitledFile", | |
"workbench.colorTheme": "Dracula", | |
"editor.fontSize": 15, | |
"editor.fontFamily": "Fira Code", | |
"editor.fontLigatures": true, |
dnf install ruby ruby-devel redhat-rpm-config gcc gcc-c++ | |
gem install json | |
gem install jekyll bundler | |
gem update --system |
#!/bin/bash | |
# Download GitKraken | |
wget https://release.gitkraken.com/linux/gitkraken-amd64.tar.gz | |
# copy the downloaded file into /opt directory | |
cp gitkraken-amd64.tar.gz /opt/gitkraken | |
cd /opt |
Proprietary Broadcom drivers are packaged and available in the rpmfusion repo. | |
Verify that your card is a Broadcom using: `lspci -vnn -d 14e4:` | |
**Sample output:** | |
02:00.0 Network controller [0280]: Broadcom Corporation BCM4360 802.11ac Wireless Network Adapter [14e4:43a0] (rev 03) | |
## Install | |
Install the [rpmfusion](http://rpmfusion.org/) repo, note only "nonfree" is required, as the Broadcom Driver is proprietry: http://rpmfusion.org/ |
Section "InputClass" | |
Identifier "touchpad overrides" | |
MatchIsTouchpad "on" | |
Driver "libinput" | |
Option "Tapping" "on" | |
EndSection |
É um design pattern que o Rails implementa a partir da gem ActiveRecord.
Serve para conectar a camada Model da aplicação com tabelas do database, para assim criar um modelo de domínio persistível, onde a lógica (Model) e dados (BD) são apresentados em uma única solução.
Já persiste no BD:
obj.create