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
// Add below to /usr/share/X11/xkb/symbols/br in replacement of Brazilian Nativo layout for US keyboards | |
// | |
// Keychron K2 Brazilian - Replaces Brazilian Nativo layout for US keyboards. | |
// | |
// Victor Oliveira <[email protected]> | |
// | |
partial alphanumeric_keys | |
xkb_symbols "nativo-us" { |
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
// Adapted from: | |
// https://www.nicolaswidart.com/blog/automatically-set-authentication-tokens-in-postman-requests | |
var requiredAuthPath = pm.environment.get('requiredAuthPath'); | |
var authServicePath = pm.environment.get('authServicePath'); | |
var gatewayBaseUrl = pm.environment.get('gatewayBaseUrl'); | |
var username = pm.environment.get('username'); | |
var password = pm.environment.get('password'); | |
var sdk = require('postman-collection'); |
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
{"lastUpload":"2021-08-09T00:55:40.507Z","extensionVersion":"v3.4.3"} |
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 <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#define BUFFER_LENGTH 20 | |
int parse_process(char* token); | |
void request_worst(short (*array)[], long num_of_bytes, int pid); | |
void request_best(short (*array)[], long num_of_bytes, int pid); | |
void request_first(short (*array)[], long num_of_bytes, int pid); |
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 <stdio.h> | |
#include <stdlib.h> | |
#define TYPES_OF_RESOURCES 3 | |
#define NUM_OF_THREADS 5 | |
#define DEBUG 2 | |
void populate_need(); | |
int is_system_in_safe_state(); | |
void traverse_array(int length, int* first, char* name); |
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
# makefile for thread pool | |
# | |
CC=gcc | |
CFLAGS=-Wall | |
PTHREADS=-lpthread | |
all: client.o threadpool.o | |
$(CC) $(CFLAGS) -o test client.o threadpool.o $(PTHREADS) |
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 <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include "task.h" | |
#include "list.h" | |
#include "cpu.h" | |
/* | |
Round-Robin Scheduling Algorithm Implementation | |
Programming Project of Chapter 5 from the book "Operating System Concepts - 10th Edition" |