UTC: 2025-12-13 02:10
michidk/choco
This file is automatically generated by the update_all.ps1 script using the Chocolatey-AU module.
| # we use the requests and json package | |
| import requests | |
| import json | |
| # define request headers | |
| headers = {'Authorization': '<your API-token here>', | |
| 'Content-Type': 'application/x-www-form-urlencoded'} | |
| # we got the url from the swagger documentation. | |
| # it's also possible to pass parameters as '?limit=10&embed=contact' to the url, to limit the response array or to embed referenced objects |
| { | |
| "Africa/Abidjan": { | |
| "latitude": 51.9, | |
| "longitude": -40.2 | |
| }, | |
| "Africa/Accra": { | |
| "latitude": 53.3, | |
| "longitude": -13 | |
| }, | |
| "Africa/Addis_Ababa": { |
| <?xml version="1.0"?> | |
| <project version="2"> | |
| <pipeline> | |
| <pass name="BRDF" type="shader" active="true" patchverts="1"> | |
| <shader type="vs" path="shaders\vertex.vk" entry="main" /> | |
| <shader type="ps" path="shaders\fragment.vk" entry="main" /> | |
| <inputlayout> | |
| <item value="Position" semantic="POSITION" /> | |
| <item value="Normal" semantic="NORMAL" /> | |
| <item value="Texcoord" semantic="TEXCOORD0" /> |
| stages: | |
| - build | |
| - deploy | |
| build: | |
| stage: build | |
| image: node:11 | |
| before_script: | |
| - npm install --progress=false --unsafe-perm | |
| script: | |
| - npm run build |
| name: Deploy LaTeX document | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| build_resume: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Setup SSH |
UTC: 2025-12-13 02:10
michidk/choco
This file is automatically generated by the update_all.ps1 script using the Chocolatey-AU module.
| # utiliy for opening devcontainers | |
| vs() { | |
| if [ -z "$1" ]; then | |
| if [ -d ".devcontainer" ]; then | |
| echo "Found devcontainer" | |
| devcontainer open . | |
| else | |
| echo "No devcontainer found" | |
| code . | |
| fi |
| use std::borrow::BorrowMut; | |
| use std::collections::HashMap; | |
| use std::hash::Hash; | |
| use std::sync::Arc; | |
| use async_trait::async_trait; | |
| use log::debug; | |
| use ratatui::backend::CrosstermBackend; | |
| use ratatui::layout::Rect; |
| BITS 64 | |
| org 0x400000 ; Default base address for 64-bit executables | |
| ehdr: ; Elf64_Ehdr | |
| db 0x7F, "ELF" ; e_ident: ELF magic | |
| db 2, 1, 1, 0 ; e_ident: 64 bit, little endian, version 1, target System V | |
| db 0, 0, 0, 0, 0, 0, 0, 0 ; e_ident: padding | |
| dw 2 ; e_type | |
| dw 0x3E ; e_machine |
| BITS 32 | |
| org 0x08048000 ; Default base address for 32-bit executables | |
| ehdr: ; Elf32_Ehdr | |
| db 0x7F, "ELF" ; e_ident: ELF magic | |
| db 1, 1, 1, 0 ; e_ident: 32 bit, little endian, version 1, target System V | |
| db 0, 0, 0, 0, 0, 0, 0, 0 ; e_ident: padding | |
| dw 2 ; e_type | |
| dw 3 ; e_machine |