Skip to content

Instantly share code, notes, and snippets.

@temp3l
temp3l / qemu.bash
Last active January 15, 2025 01:32
qemu macos starter
disk=/Users/steph/workspace/qemu/images/kali-linux-2024.3-qemu-amd64.qcow2
#cdrom=/Users/steph/workspace/qemu/iso/kali-linux-2024.3-installer-arm64.iso
cdrom=kali-linux-2024.3-installer-netinst-arm64.iso
kernel=vmlinuz-2.6.32-5-versatile
initrd=initrd.gz
# https://theboreddev.com/run-ubuntu-on-mac-using-qemu/
# netboo kernel: https://archive.debian.org/debian/dists/squeeze/main/installer-armel/current/images/
qemu-system-aarch64 \
-nographic \
@temp3l
temp3l / karabiner_mac_mapping.json
Last active December 6, 2024 13:05
karabiner mac terminal linux like binding with a windows keyboard
{
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Terminal$",
"^com\\.googlecode\\.iterm2$",
"^co\\.zeit\\.hyperterm$",
"^co\\.zeit\\.hyper$",
@temp3l
temp3l / azure-volume.md
Created September 27, 2024 13:07
azure-volume.md

To configure a persistent volume in Azure for storing log files, you can follow these steps using Azure Kubernetes Service (AKS) with an Azure managed disk or Azure file share. Below is an approach for setting up a persistent volume (PV) in Kubernetes backed by Azure Files or Azure Disks.

Steps for Setting Up a Persistent Volume:

1. Create an Azure File Share (for dynamic storage like logs):

  • Azure Portal:

    1. Go to the Azure Storage Account section and create a File Share under the "File shares" section.
    2. Note down the Storage Account Name and Storage Account Key, as you'll need them in the next steps.
  • CLI Command:

@temp3l
temp3l / Gme.md
Created June 24, 2024 18:17
Gme analysis

Let's start with a detailed analysis of the chart you provided.

Visual and Technical Analysis

Visual Analysis

Upon inspecting the chart, I noticed the following key points:

  1. Trend Direction: The overall trend seems to be bullish, with higher highs and higher lows.
  2. Pattern Formation: There appears to be a breakout from a consolidation phase.
  3. Volume: There is a noticeable increase in trading volume during the breakout, suggesting strong buying interest.
@temp3l
temp3l / nestjs-singleton-module-instance-dependency.md
Last active May 10, 2024 06:57
nestjs singleton module instance dependency

The trick is:

  • do not import/export/provide the DataService from ANY module (including app.module)
  • just import the ConsumingService from app.module

DataService implements onModuleInit
    fetch countries, docTypes, etc
DataModule:

providers: [DataService],

@temp3l
temp3l / fym-report.md
Created February 6, 2024 04:45
fym report
@temp3l
temp3l / freeyourmind-report.md
Created February 5, 2024 19:05
freeyourmind-report.md

Report

url https://freeyourmindexperience.com?et_blog.html
title Kitesurfing Tarifa - Free Your Mind Kiteschool, Camps, Events
description Kitesurfing Tarifa - Learn kitesurfing with our kiteschool Free your Mind. Lessons, camps, yoga and rooms. Book your holiday package now!
title title is used multiple times

@temp3l
temp3l / yleniacammareri.md
Created January 22, 2024 08:58
yleniacammareri report

Report

url https://yleniacammareri.com
title \n Ylenia Cammareri PMU\n
description Dermopigmentista professionista, Ylenia Cammareri offre corsi e servizi di dermopigmantazione a Forlì e Milano. Tra i servizi più popolari vi sono il tatuaggio alle sopracciglia e alle labbra, tutti eseguiti con le tecniche più avanzate, oltre alla vendita di matite professionali per le sopracciglia.
title title is too short ( 28 < 40 )
description description is too long: ( 301 > 160 )
logoutput: stdout
internal: 0.0.0.0 port = 1090
external: 192.168.0.15
clientmethod: none
clientmethod: none
socksmethod: none
user.privileged: root
user.notprivileged: nobody
srchost: nodnsmismatch
user.libwrap: nobody
@temp3l
temp3l / AdbCommands
Created October 3, 2021 23:17 — forked from Pulimet/AdbCommands
Adb useful commands list
adb help // List all comands
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader