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 <M5StickCPlus.h> | |
#include <Wire.h> | |
#include <SparkFun_GridEYE_Arduino_Library.h> | |
GridEYE grideye; | |
void setup() { | |
// put your setup code here, to run once: | |
M5.begin(); | |
Wire.begin(0,26); |
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
use clap::{crate_authors, crate_version, App, Arg}; | |
use simple_asn1::ASN1Block; | |
use std::fs; | |
use std::io::prelude::*; | |
use std::str; | |
fn main() { | |
let matches = App::new("view-ans1") | |
.version(crate_version!()) | |
.author(crate_authors!()) |
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 centos:7 AS jdk-download | |
RUN yum update -y | |
RUN curl -o jdk11u.tar.gz -L https://hg.openjdk.java.net/jdk-updates/jdk11u/archive/0b0d55cb09b2.tar.gz | |
FROM centos:7 | |
RUN yum update -y | |
RUN yum install -y java-11-openjdk-devel autoconf automake bison flex gcc gcc-c++ gcc-gfortran kernel-devel make m4 patch tar bzip2 gzip xz file gmp-devel mpfr-devel wget rsync unzip zip libXtst-devel libXt-devel libXrender-devel cups-devel alsa-lib-devel freetype-devel which ccache mercurial bison flex gperf ksh pkgconfig libpng-devel libjpeg-devel libxml2-devel libxslt-devel systemd-devel glib2-devel gtk2-devel libXtst-devel pango-devel freetype-devel libXxf86vm-devel mesa-libGL-devel mesa-libGLU-devel mesa-libGLw-devel | |
COPY --from=jdk-download /jdk11u.tar.gz . | |
RUN tar xzf /jdk11u.tar.gz | |
WORKDIR /jdk11u-0b0d55cb09b2 |
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 <string.h> | |
#include <Carbon/Carbon.h> | |
int main(int nargs, char** argv) { | |
if (nargs != 2) { | |
fprintf(stderr, "%s (on|off)\n", argv[0]); | |
return 1; | |
} | |
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 centos:7 AS download-wine | |
WORKDIR /download | |
RUN curl -OL https://dl.winehq.org/wine/source/5.x/wine-5.4.tar.xz | |
RUN tar xJf wine-5.4.tar.xz | |
FROM centos:7 | |
RUN yum update -y | |
RUN yum install samba-winbind-clients -y | |
RUN yum -y groupinstall base "Development tools" --setopt=group_package_types=mandatory,default,optional | |
RUN yum install -y libjpeg-turbo-devel libtiff-devel freetype-devel glibc-devel.{i686,x86_64} libgcc.{i686,x86_64} \ |
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 centos:7 AS download-cmake | |
RUN mkdir -p /download | |
WORKDIR /download | |
RUN curl -OL https://github.com/Kitware/CMake/releases/download/v3.15.5/cmake-3.15.5.tar.gz | |
RUN tar xzf cmake-3.15.5.tar.gz | |
FROM centos:7 AS build-cmake | |
RUN yum update -y | |
RUN yum install -y gcc gcc-c++ make zlib-devel curl-devel openssl-devel libarchive-devel ncurses-devel readline-devel | |
COPY --from=download-cmake /download/cmake-3.15.5 /src/cmake-3.15.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
FROM centos:7 AS download-cmake | |
RUN mkdir -p /download | |
WORKDIR /download | |
RUN curl -OL https://github.com/Kitware/CMake/releases/download/v3.17.0/cmake-3.17.0.tar.gz | |
RUN tar xzf cmake-3.17.0.tar.gz | |
FROM centos:7 AS build-cmake | |
RUN yum update -y | |
RUN yum install -y gcc gcc-c++ make zlib-devel curl-devel openssl-devel libarchive-devel ncurses-devel readline-devel | |
COPY --from=download-cmake /download/cmake-3.17.0 /src/cmake-3.17.0 |
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 centos:7 AS download-llvm | |
ENV LLVM_VERSION 9.0.1 | |
RUN mkdir -p /download | |
WORKDIR /download | |
RUN curl -OL https://github.com/llvm/llvm-project/releases/download/llvmorg-${LLVM_VERSION}/llvm-${LLVM_VERSION}.src.tar.xz &&\ | |
curl -OL https://github.com/llvm/llvm-project/releases/download/llvmorg-${LLVM_VERSION}/clang-${LLVM_VERSION}.src.tar.xz &&\ | |
curl -OL https://github.com/llvm/llvm-project/releases/download/llvmorg-${LLVM_VERSION}/compiler-rt-${LLVM_VERSION}.src.tar.xz &&\ | |
curl -OL https://github.com/llvm/llvm-project/releases/download/llvmorg-${LLVM_VERSION}/libcxx-${LLVM_VERSION}.src.tar.xz &&\ | |
curl -OL https://github.com/llvm/llvm-project/releases/download/llvmorg-${LLVM_VERSION}/libcxxabi-${LLVM_VERSION}.src.tar.xz &&\ | |
curl -OL https://github.com/llvm/llvm-project/releases/download/llvmorg-${LLVM_VERSION}/libunwind-${LLVM_VERSION}.src.tar.xz &&\ |
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 centos:7 | |
RUN yum update -y | |
RUN yum install -y tcsh gcc gcc-c++ make autoconf automake libtool openssl-devel memkind-devel libdb-devel ncurses-devel pam-devel libXmu-devel libXpm-devel motif-devel hwloc-devel ant ant-nodeps javacc junit java-1.7.0-openjdk-devel | |
RUN mkdir -p build | |
WORKDIR /build | |
RUN curl -OL https://github.com/son-of-gridengine/sge/archive/819.tar.gz && tar xzf 819.tar.gz | |
WORKDIR /build/sge-819/source | |
RUN sh scripts/bootstrap.sh | |
RUN ./aimk -no-herd -pam | |
RUN ./aimk -man |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE KeyboardMappingScheme> | |
<!-- Written by Qt Creator 4.8.0, 2018-12-15T21:05:52. --> | |
<mapping> | |
<shortcut id="Perforce.DiffCurrent"/> | |
<shortcut id="ModelEditor.Action.Explorer.OpenDiagram"/> | |
<shortcut id="Macros.ExecuteLastMacro"> | |
<key value="Alt+R"/> | |
</shortcut> | |
<shortcut id="Macros.EndMacro"> |