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 <sys/sysctl.h> | |
#include <sys/types.h> | |
#include <mach/mach.h> | |
#include <mach/processor_info.h> | |
#include <mach/mach_host.h> | |
processor_info_array_t cpuInfo, prevCpuInfo; | |
mach_msg_type_number_t numCpuInfo, numPrevCpuInfo; | |
unsigned numCPUs; |
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
# Fill in your fablabs.io app_id and secret from the fablabs.io developer console | |
# set the callback_url as http://yourhost/users/auth/fablabs/callback | |
# if you replace localhost with a public hostname, comment out the let's encrypt line | |
web: | |
image: 'gitlab/gitlab-ce:latest' | |
restart: always | |
hostname: 'localhost' | |
environment: | |
GITLAB_OMNIBUS_CONFIG: | | |
external_url 'http://localhost' |