九州大学のSECKUN 2021/ProSec-IT(enPiT-Pro) 2021の共通カリキュラムにおいて、近藤 @udzura が担当したコンテナ概要の授業にて使用した教材です。
今回、公益性を鑑み、授業固有の連絡事項などを削除した状態で公開します。
九州大学のSECKUN 2021/ProSec-IT(enPiT-Pro) 2021の共通カリキュラムにおいて、近藤 @udzura が担当したコンテナ概要の授業にて使用した教材です。
今回、公益性を鑑み、授業固有の連絡事項などを削除した状態で公開します。
def tmutil(): | |
import sys | |
import subprocess | |
# Call 'tmutil status' command and output it to string | |
tmstatus = subprocess.check_output(['tmutil','status']) | |
tmstatus = tmstatus.splitlines() | |
payload = {} | |
Running = "" |
[ | |
{ | |
"_id": "59ada9772bc5be4a37aaa435", | |
"name": "Banco ABC Brasil S.A.", | |
"febraban": true, | |
"clearing": true, | |
"code": "246", | |
"alias": null | |
}, | |
{ |
# I'll be doing another one for Linux, but this one will give you | |
# a pop up notification and sound alert (using the built-in sounds for macOS) | |
# Requires https://github.com/caarlos0/timer to be installed | |
# Mac setup for pomo | |
alias work="timer 60m && terminal-notifier -message 'Pomodoro'\ | |
-title 'Work Timer is up! Take a Break 😊'\ | |
-appIcon '~/Pictures/pumpkin.png'\ | |
-sound Crystal" |
<?php | |
# FONTE: https://framework.adianti.me/tutor/index.php?class=PDFDesignNFEView&method=onShow | |
class PDFDesignNFEView extends TPage | |
{ | |
private $form; | |
private $pdf; | |
private $total_produtos; | |
private $total_icms; |
aka what i did to get from nothing to done.
note: these are designed to be primarily a re-install guide for myself (writing things down helps me memorize the knowledge), as such don't take any of this on blind faith - some areas are well tested and the docs are very robust, some items, less so). YMMV
<?php | |
$objeto = new stdClass(); | |
$objeto->nome = 'FABRICIO'; | |
$objeto->celular = '(83) 98655-6461'; | |
$objeto->idade = '34'; | |
TForm::sendData(self::$formName, $objeto); |