Following steps to install xeus-asm on your system.
This file contains hidden or 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
%------------------------------------------------------------ | |
% Resume in Latex | |
%----------------------------------------------------------- | |
\documentclass[letterpaper,11pt]{article} | |
\usepackage{latexsym} | |
\usepackage[empty]{fullpage} | |
\usepackage{titlesec} | |
\usepackage{marvosym} |
This file contains hidden or 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
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
case $- in | |
*i*) ;; | |
*) return;; | |
esac |
This file contains hidden or 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: Microsoft | |
AlignAfterOpenBracket: Align | |
AlignConsecutiveMacros: 'true' | |
AlignEscapedNewlines: DontAlign | |
AlignTrailingComments: 'true' | |
AllowAllConstructorInitializersOnNextLine: 'true' | |
AllowShortFunctionsOnASingleLine: None | |
AllowShortIfStatementsOnASingleLine: Never | |
AlwaysBreakBeforeMultilineStrings: 'true' |
This file contains hidden or 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
<?php | |
/*********************************************************** | |
* Copyright (C) 2014-2017 Siemens AG | |
* Author: J.Najjar | |
* | |
* This program is free software; you can redistribute it and/or | |
* modify it under the terms of the GNU General Public License | |
* version 2 as published by the Free Software Foundation. | |
* | |
* This program is distributed in the hope that it will be useful, |
This file contains hidden or 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
## steps | |
- download miniconda https://repo.anaconda.com/miniconda/Miniconda3-py38_4.10.3-Linux-x86_64.sh | |
- https://conda.io/projects/conda/en/latest/user-guide/install/linux.html#installing-on-linux | |
- create a virual env `conda create -n vbasic` | |
- `conda activate vbasic` | |
- `conda install -c conda-forge jupyter xeus xtl nlohmann_json cppzmq` | |
- `mkdir build && cd build` | |
- `cmake .. -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX` | |
- `make` |
This file contains hidden or 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
1. create a new branch | |
2.a. if files are modified+new files: | |
need two commits scancode+copyright - soft reset | |
stash your changes - copyright is in stash + modified | |
2.b. Only new files are there: drop testing commits + sqash all other | |
3. rebase with upstream/master | |
apply stash | |
solve conflicts | |
unstage changes | |
4. add new commits |
This file contains hidden or 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
TOP = ../.. | |
VARS = $(TOP)/Makefile.conf | |
include $(VARS) | |
MOD_NAME = scancode | |
DIRS = ui agent | |
TESTDIR = | |
DIR_LOOP = @set -e; for dir in $(DIRS); do $(MAKE) -s -C $$dir $(1); done |
This file contains hidden or 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 bash | |
############################################################################## | |
# SPDX-License-Identifier: GPL-2.0 | |
# SPDX-FileCopyrightText: 2021 Sarita Singh <[email protected]> | |
# | |
# This program is free software; you can redistribute it and/or | |
# modify it under the terms of the GNU General Public License | |
# version 2 as published by the Free Software Foundation. | |
# |
This file contains hidden or 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 | |
int funn(int n, vector<int> arr) | |
{ | |
// 1 1 2 4 | |
int op=0; | |
int sum=0; | |
bool flag=false; | |
NewerOlder