Skip to content

Instantly share code, notes, and snippets.

@cytrinox
cytrinox / debian-upgrade.yml
Created January 7, 2024 14:29
Ansible playbook for Debian dist-upgrade and upgrade
# Upgrades Debian-based machines
#
# Example:
# ansible-playbook -i inventory.yaml playbooks/debian-upgrade.yml --skip-tags reboot -e verbose=true -e dist_upgrade=true
---
- name: Upgrade Debian-based machines
hosts: all
# become: true
vars:
verbose: false
enum heif_color_primaries
{
heif_color_primaries_ITU_R_BT_709_5 = 1, // g=0.3;0.6, b=0.15;0.06, r=0.64;0.33, w=0.3127,0.3290
heif_color_primaries_unspecified = 2,
heif_color_primaries_ITU_R_BT_470_6_System_M = 4,
heif_color_primaries_ITU_R_BT_470_6_System_B_G = 5,
heif_color_primaries_ITU_R_BT_601_6 = 6,
heif_color_primaries_SMPTE_240M = 7,
heif_color_primaries_generic_film = 8,
<template>
<h1>Vue 3 and Fetch Example</h1>
<ul v-if="!loading && posts && posts.length">
<li>foooo</li>
<li v-for="post of posts" v-bind:key="post.id">
<p><strong>{{ post.title }}</strong></p>
<p>{{ post.body }}</p>
</li>
</ul>

Keybase proof

I hereby claim:

  • I am cytrinox on github.
  • I am cytrinox (https://keybase.io/cytrinox) on keybase.
  • I have a public key ASC3cIb6jaTr5cLAycApu-c_6YZ237s1Z1hS3vGHW5CXVwo

To claim this, I am signing this object:

@cytrinox
cytrinox / cmake.example
Created December 14, 2010 17:35
Cmakefile
add_executable(lemon ${CMAKE_CURRENT_SOURCE_DIR}/lemon/lemon.c)
add_custom_command(
OUTPUT ${ARGON_MAIN_SRC_DIR}/parser.cc
COMMAND lemon -p -s T=${CMAKE_CURRENT_SOURCE_DIR}/lemon/lempar.c ${ARGON_MAIN_SRC_DIR}/parser.y
DEPENDS lemon ${ARGON_MAIN_SRC_DIR}/parser.y
${CMAKE_CURRENT_SOURCE_DIR}/lemon/lempar.c
)