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 <signal.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <fcntl.h> | |
#include <sys/wait.h> | |
#include <sys/prctl.h> | |
#include <unistd.h> | |
#include <sys/time.h> | |
#include <sys/resource.h> | |
#include <errno.h> |
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 | |
ROOTFS_DIR="rootfs" | |
ROOTFS_TAR="" | |
METADATA_YAML="metadata.yaml" | |
METADATA_TAR="" | |
if [ -z "$METADATA_TAR" ] | |
then | |
echo "Generate METADATA_TAR" |
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
/tmp # balena pull registry-1.docker.io/v2/debian | |
Using default tag: latest | |
Error response from daemon: pull access denied for registry-1.docker.io/v2/debian, repository does not exist or may require 'balena login' | |
/tmp # balena login | |
Login with your Docker ID to push and pull images from Docker Hub. If you don't have a Docker ID, head over to https://hub.docker.com to create one. |
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
/* | |
* The main message flow state machine. We start in the MSG_FLOW_UNINITED or | |
* MSG_FLOW_RENEGOTIATE state and finish in MSG_FLOW_FINISHED. Valid states and | |
* transitions are as follows: | |
* | |
* MSG_FLOW_UNINITED MSG_FLOW_RENEGOTIATE | |
* | | | |
* +-----------------------+ | |
* v | |
* MSG_FLOW_WRITING <---> MSG_FLOW_READING |
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
// <opensslroot>/ssl/statem/statem.c | |
/* | |
* The main message flow state machine. We start in the MSG_FLOW_UNINITED or | |
* MSG_FLOW_RENEGOTIATE state and finish in MSG_FLOW_FINISHED. Valid states and | |
* transitions are as follows: | |
* | |
* MSG_FLOW_UNINITED MSG_FLOW_RENEGOTIATE | |
* | | | |
* +-----------------------+ |
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
# | |
# DO NOT EDIT THIS FILE | |
# | |
# It is automatically generated by grub-mkconfig using templates | |
# from /etc/grub.d and settings from /etc/default/grub | |
# | |
### BEGIN /etc/grub.d/00_header ### | |
insmod part_gpt | |
insmod part_msdos |
This file has been truncated, but you can view the full file.
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
42021 silly gunzTarPerm extractEntry fp/always.js | |
42022 silly gunzTarPerm extractEntry fp/wrapperChain.js | |
42023 silly gunzTarPerm extractEntry fp/always.js | |
42024 silly gunzTarPerm extractEntry fp/wrapperChain.js | |
42025 silly gunzTarPerm extractEntry fp/always.js | |
42026 silly gunzTarPerm extractEntry node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/es6-symbol/node_modules/es5-ext/array/#/values/implement.js | |
42027 silly gunzTarPerm extractEntry node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/es6-symbol/node_modules/es5-ext/array/#/values/index.js | |
42028 silly gunzTarPerm extractEntry fp/wrapperLodash.js | |
42029 silly gunzTarPerm extractEntry fp/allPass.js | |
42030 silly gunzTarPerm extractEntry fp/wrapperLodash.js |
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 <GL/glut.h> | |
#define DEBUG 1 | |
// display globals | |
unsigned int height = 400, width = 400; | |
int xmin = -100, xmax = 100, ymin = -100, ymax = 100, nearVal = 1, farVal = 100; | |
// camera globals | |
float x = 5.0f, y = 0.0f, z = 5.0f; |
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
library IEEE; | |
use IEEE.std_logic_1164.all; | |
use IEEE.std_logic_arith.all; | |
use IEEE.std_logic_unsigned.all; | |
entity access_layer_send is | |
port( | |
clk: in std_logic; | |
clock_enable: in std_logic; | |
rst: in std_logic; |
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
__kernel void parse_bin(__const unsigned int stap_teller, __const unsigned int num_bins, __global int *result){ | |
unsigned int teller = 0; | |
unsigned int work_index = (unsigned int) get_global_id(0); | |
unsigned int index = (work_index << stap_teller) * num_bins; | |
unsigned int indexwith = index + (stap_teller * num_bins); | |
for(teller = 0; teller < num_bins; teller++, index++, indexwith++){ | |
result[index] = result[index] + result[indexwith]; |
NewerOlder