sudo pacman -S virt-manager virt-viewer qemu qemu-arch-extra \
edk2-ovmf vde2 ebtables dnsmasq bridge-utils openbsd-netcat libguestfs
// wiring example for ripping a PMW3360 SROM: https://i.imgur.com/EspAlvz.jpeg | |
// set the board to 240mhz or higher for best results (WARNING: higher than 240mhz only works with USB if you overvolt the MCU) | |
// this implements reading SPI mode 3. if you want a different mode, you need to edit these two lines: | |
// uint32_t clockval = (1 << pin_clock); | |
// if (newclock && !clockval && buff_i < buffsize) | |
#include <pico/stdlib.h> | |
#define buffsize 50000 |
eXtreme Go Horse (XGH) Process | |
Source: http://gohorseprocess.wordpress.com | |
1. I think therefore it's not XGH. | |
In XGH you don't think, you do the first thing that comes to your mind. There's not a second option as the first one is faster. | |
2. There are 3 ways of solving a problem: the right way, the wrong way and the XGH way which is exactly like the wrong one but faster. | |
XGH is faster than any development process you know (see Axiom 14). |
<blockquote class="instagram-media" data-instgrm-captioned data-instgrm-permalink="https://www.instagram.com/p/{{ ig_shortcode }}/?utm_source=ig_embed&utm_campaign=loading" data-instgrm-version="12" style=" background:#FFF; border:0; border-radius:3px; box-shadow:0 0 1px 0 rgba(0,0,0,0.5),0 1px 10px 0 rgba(0,0,0,0.15); margin: 1px; max-width:540px; min-width:326px; padding:0; width:99.375%; width:-webkit-calc(100% - 2px); width:calc(100% - 2px);"> | |
<div style="padding:16px;"> | |
<a href="https://www.instagram.com/p/{{ ig_shortcode }}/?utm_source=ig_embed&utm_campaign=loading" style=" background:#FFFFFF; line-height:0; padding:0 0; text-align:center; text-decoration:none; width:100%;" target="_blank"> | |
<div style=" display: flex; flex-direction: row; align-items: center;"> | |
<div style="background-color: #F4F4F4; border-radius: 50%; flex-grow: 0; height: 40px; margin-right: 14px; width: 40px;"></div> | |
<div style="display: flex; flex-direction: column; flex-grow: 1; jus |
RAR registration data | |
WinRAR | |
Unlimited Company License | |
UID=4b914fb772c8376bf571 | |
6412212250f5711ad072cf351cfa39e2851192daf8a362681bbb1d | |
cd48da1d14d995f0bbf960fce6cb5ffde62890079861be57638717 | |
7131ced835ed65cc743d9777f2ea71a8e32c7e593cf66794343565 | |
b41bcf56929486b8bcdac33d50ecf773996052598f1f556defffbd | |
982fbe71e93df6b6346c37a3890f3c7edc65d7f5455470d13d1190 | |
6e6fb824bcf25f155547b5fc41901ad58c0992f570be1cf5608ba9 |
Pipeline to send video (simulating SRC) get the data from video0 | |
gst-launch-1.0 v4l2src device=/dev/video0 \ | |
! decodebin \ | |
! x264enc \ | |
! rtph264pay \ | |
! udpsink host=localhost port=5000 | |
// if you are running it inside a docker container be aware of the host ip in udpsink | |
gst-launch-1.0 v4l2src device=/dev/video0 \ | |
! decodebin \ |
<?php | |
TTransaction::open(self::$database); | |
$uf = Estado::find($param['key'])->uf; | |
TScript::create("$('input[name=\"estado\"]').val('$uf')"); | |
TTransaction::close(); |
<?php | |
# 1° EXEMPLO | |
public function onShow($param = null) | |
{ | |
$this->onEdit(['key' => $param['key']); | |
} | |
# 2º EXEMPLO | |
public function onShow($param = null) |
<?php | |
$id = new TEntry('id'); | |
$nome = new TEntry('nome'); | |
$linha1 = $this->form->addFields([new TLabel("CÓDIGO", null, '14px', null, '100%'),$id],[new TLabel("NOME", null, '14px', null, '100%'),$nome]); | |
$linha1->layout = [' col-sm-2',' col-sm-10']; |
<?php | |
# Um produto com valor de R$ 178,00. Quanto fica um desconto de 15%?: | |
$valor = 178.00; | |
$percentual = 15.0 / 100.0; | |
$valor_final = $valor + ($percentual * $valor); | |
echo 'O valor final do produto é: ' . $valor_final; | |
# Resultado é R$ 204,70 |