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
#!/usr/bin/env python | |
# Copyright: (c) 2018, Federico Ficarelli <federico.ficarelli@gmail.com> | |
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) | |
import argparse | |
parser = argparse.ArgumentParser(description="""Produces page numbers in the correct order for smooth booklet printing. | |
The output from the booklet command can then be used as input to a printing | |
application (e.g.: Acrobat Reader) or pdftk to directly rearrange pages: |
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
--- | |
BasedOnStyle: Google | |
ColumnLimit: 90 | |
IndentWidth: 4 | |
--- | |
Language: Cpp | |
IncludeBlocks: Regroup | |
... |
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
diff --git a/var/spack/repos/builtin/packages/openmpi/package.py b/var/spack/repos/builtin/packages/openmpi/package.py | |
index e14c617..2694de0 100644 | |
--- a/var/spack/repos/builtin/packages/openmpi/package.py | |
+++ b/var/spack/repos/builtin/packages/openmpi/package.py | |
@@ -203,7 +203,11 @@ class Openmpi(AutotoolsPackage): | |
provides('mpi@:3.0', when='@1.7.5:') | |
provides('mpi@:3.1', when='@2.0.0:') | |
- depends_on('hwloc') | |
+ # ompi@:3.0.0 doesn't support newer hwloc releases: |
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 -y update && \ | |
yum -y upgrade && \ | |
yum -y install git gcc gcc-c++ make bzip2 patch file | |
RUN useradd -ms /bin/bash spack | |
USER spack | |
RUN git clone --depth=1 --single-branch https://github.com/spack/spack.git /home/spack/spack | |
RUN cd /home/spack/spack && \ |
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 -y update && \ | |
yum -y upgrade && \ | |
yum -y install git gcc gcc-c++ make bzip2 patch file | |
RUN useradd -ms /bin/bash spack | |
USER spack | |
RUN git clone --depth=1 --single-branch https://github.com/spack/spack.git /home/spack/spack |
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
diff --git a/var/spack/repos/builtin/packages/glib/package.py b/var/spack/repos/builtin/packages/glib/package.py | |
index c5e1ae4..b64bdc5 100644 | |
--- a/var/spack/repos/builtin/packages/glib/package.py | |
+++ b/var/spack/repos/builtin/packages/glib/package.py | |
@@ -52,6 +52,8 @@ class Glib(AutotoolsPackage): | |
depends_on('pcre+utf', when='@2.48:') | |
depends_on('util-linux', when='+libmount') | |
+ depends_on('libiconv@1.15') | |
+ |
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 -y update && \ | |
yum -y upgrade && \ | |
yum -y install git gcc gcc-c++ make bzip2 patch file | |
RUN useradd -ms /bin/bash spack | |
USER spack | |
RUN git clone --depth=1 --single-branch https://github.com/spack/spack.git /home/spack/spack |
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 ubuntu:latest | |
ENV DEBIAN_FRONTEND noninteractive | |
RUN apt-get -y update | |
RUN apt-get -y install apt-utils | |
RUN apt-get -y upgrade | |
RUN apt-get -y install build-essential python git curl nano | |
RUN apt-get clean | |
RUN useradd -ms /bin/bash spack |
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
// Esercizio 1: media | |
// A questo programma mancano: | |
// 1: le definizioni di tutte le variabili | |
// 2. le dichiarazioni delle funzioni esterne | |
// 3. il calcolo della media | |
int main(){ | |
// ... | |
printf("Insert three operands: "); | |
op_read = scanf("%d %d %d", &op_a, &op_b, &op_c); |
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
*.dot | |
.venv |