Skip to content

Instantly share code, notes, and snippets.

@udzura
udzura / SECKUN 2021 pub.md
Last active April 20, 2024 00:58
SECKUN 2021/ProSec-IT 2021 コンテナ演習資料(公開版)

SECKUN 2021/ProSec-IT 2021 コンテナ演習資料(公開版)

この資料について

九州大学のSECKUN 2021/ProSec-IT(enPiT-Pro) 2021の共通カリキュラムにおいて、近藤 @udzura が担当したコンテナ概要の授業にて使用した教材です。

今回、公益性を鑑み、授業固有の連絡事項などを削除した状態で公開します。

@andrewbenson
andrewbenson / tmutil.py
Last active April 20, 2024 00:52
MacOS Time Machine Utility for Python
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 = ""
@sr2ds
sr2ds / febraban_banks.json
Created July 23, 2018 19:17 — forked from talesluna-zz/febraban_banks.json
Lista de Bancos Associados FEBRABAN (json)
[
{
"_id": "59ada9772bc5be4a37aaa435",
"name": "Banco ABC Brasil S.A.",
"febraban": true,
"clearing": true,
"code": "246",
"alias": null
},
{
@bashbunni
bashbunni / .zshrc
Created October 27, 2022 21:41
CLI Pomodoro for Mac
# 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"
@rdenadai
rdenadai / python_expert_path.md
Last active April 20, 2024 00:43
My take into build a basic structure to dictate how to become a Python Expert ... from basic to specialist ?

Python Expert Path

Beginner

  • Basic syntax
    • Variables types:
      • bool, int, float, str, byte, complex, None
    • Conditionals:
      • if, else, elif, for, while, match
  • Functions: simple use, and known what first class citizen is (concept)
@revermax
revermax / .php
Created December 27, 2022 16:09 — forked from scriptdev/.php
PDFDesignNFEView - GERAR RELATÓRIO FPDF
<?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;
@scyto
scyto / proxmox.md
Last active April 20, 2024 00:37
proxmox cluster proof of concept

ProxMox Cluster - Soup-to-Nutz

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

Purpose of Proxmox cluster project

Required Outomces of cluster project

@aamiaa
aamiaa / CompleteMokokoQuest.md
Last active April 20, 2024 00:32
Complete Discord Mokoko Quest

Complete Discord Mokoko Quest

How to use this script:

  1. Accept the quest under User Settings -> Gift Inventory
  2. Join a vc
  3. Stream any window (can be notepad or something)
  4. Press Ctrl+Shift+I to open DevTools
  5. Go to the Console tab
  6. Paste the following code and hit enter:
let wpRequire;
@scriptdev
scriptdev / .php
Last active April 20, 2024 00:31
ENVIAR DADOS PARA O CAMPO DO FORMULÁRIO
<?php
$objeto = new stdClass();
$objeto->nome = 'FABRICIO';
$objeto->celular = '(83) 98655-6461';
$objeto->idade = '34';
TForm::sendData(self::$formName, $objeto);