This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; | |
; Blink.asm | |
; | |
; Created: 03/05/2024 19:59:06 | |
; Author : Leya Wehner | |
; | |
; Output pin that the LED is connected to (Port D) | |
.equ output_bit = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdbool.h> | |
#include "esp_event.h" | |
#include "esp_wifi.h" | |
#include "esp_err.h" | |
#include "esp_log.h" | |
#include "nvs_flash.h" | |
#include "esp_http_client.h" | |
#define ESP_WIFI_SSID "LV-PK" | |
#define ESP_WIFI_PASS "wlMDsvlVKr6aAc0cQS" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "freertos/FreeRTOS.h" | |
#include "freertos/task.h" | |
#include "driver/i2c.h" | |
#include "sdkconfig.h" | |
#include <math.h> | |
#define I2C_MASTER_PORT I2C_NUM_0 | |
#define I2C_MASTER_SDA_IO 21 | |
#define I2C_MASTER_SCL_IO 22 | |
#define I2C_MASTER_FREQ_HZ 400000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "freertos/FreeRTOS.h" | |
#include "freertos/task.h" | |
#include "freertos/queue.h" | |
#include "driver/uart.h" | |
#include "driver/gpio.h" | |
#include "sdkconfig.h" | |
#include <limits.h> | |
#define STACK_SIZE 1024 * 2 | |
#define GPIO_LED_ONBOARD 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
options { | |
LOOKAHEAD = 1; | |
CHOICE_AMBIGUITY_CHECK = 2; | |
OTHER_AMBIGUITY_CHECK = 1; | |
STATIC = true; | |
DEBUG_PARSER = false; | |
DEBUG_LOOKAHEAD = false; | |
DEBUG_TOKEN_MANAGER = false; | |
ERROR_REPORTING = true; | |
JAVA_UNICODE_ESCAPE = false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## CONFIGURATION ############################################################## | |
# Options to pass to i3lock | |
i3lock_options="-d" | |
TMPBG=/tmp/screen.png | |
MUTED="" | |
# Run before starting the locker | |
pre_lock() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bufio" | |
"fmt" | |
"net" | |
"os" | |
"strings" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Main { | |
public static void main(String[] args) { | |
Bruch b = null; | |
Bruch b2 = null; | |
try { | |
b = new Bruch(18,36); | |
b2 = new Bruch(13, 24); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace Fisher_Yates_shuffle | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
// Generate a set of numbers from user input... | |
Console.Write("Enter count of numbers to shuffle: "); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from student_register import StudentRegister | |
from student import Student | |
def main(): | |
register = StudentRegister("Bachelor CS 2019") | |
napoleon = Student('Napoleon', 1, 20) | |
snowball = Student('Snowball', 2, 22) | |
squealer = Student('Squealer', 3, 19) |
NewerOlder