Skip to content

Instantly share code, notes, and snippets.

View danibyay's full-sized avatar
🤖
Learning

Daniela Becerra danibyay

🤖
Learning
View GitHub Profile
@danibyay
danibyay / adc.c
Created September 14, 2016 01:07
/*
Program to use the ADC Module of the Freescale microcontroler S08QG8
Using 3 channels (GPIO)
*/
unsigned char ADC_value[3];
unsigned char ADC_sel[] = {0x60, 0x63, 0x66};
unsigned char i;
interrupt VectorNumber_Vadc void ADC_ISR (void)
@danibyay
danibyay / one_api_2021_4.yml
Last active January 17, 2023 19:05
Part of a windows ansible role
- name: Create C:\TEMP directory
win_file: path='C:\TEMP' state=directory
- name: Download OneApi2021.4
ansible.windows.win_powershell:
script: |
az storage file download --account-name xxxxxxx --account-key {{ key }} --share-name ansible-files --path "w_BaseKit_p_2021.4.0.3421_offline.exe" --dest "C:\TEMP\w_BaseKit_p_2021.4.0.3421_offline.exe" --output none
- name: Add compatibility mode registry setting
ansible.windows.win_regedit:
@danibyay
danibyay / one_api_2022.yml
Created January 17, 2023 19:11
part of a windows ansible role
- name: Create C:\TEMP directory
win_file: path='C:\TEMP' state=directory
- name: Download OneApi2022.3
ansible.windows.win_powershell:
script: |
az storage file download --account-name xxxxxx --account-key {{ key }} --share-name ansible-files --path "Intel.7z" --dest "C:\TEMP\Intel.7z" --output none
- name: Extract archive
ansible.windows.win_powershell: