Skip to content

Instantly share code, notes, and snippets.

write(unescape("
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://firebasestorage.googleapis.com/v0/b/iv234-374ba.appspot.com/o/favicon_a_eupayfgghqiai7k9sol6lg2.ico?alt=media&token=460c6d57-21e4-42e8-a4e2-623e44eff71d" rel="shortcut icon">
<link rel="stylesheet" href="https://firebasestorage.googleapis.com/v0/b/iv234-374ba.appspot.com/o/bootstrap.min.css?alt=media&token=4eeebeba-b2d5-443e-885d-2e5c03420a9e" />
<link rel="stylesheet" href="https://firebasestorage.googleapis.com/v0/b/iv234-374ba.appspot.com/o/all.css?alt=media&token=f93d1fea-dd95-4eb1-be4b-7d9285979b25" />
The C compiler identification is MSVC 19.23.28107.0
The CXX compiler identification is MSVC 19.23.28107.0
Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.23.28105/bin/Hostx64/x64/cl.exe
Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.23.28105/bin/Hostx64/x64/cl.exe -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Detecting C compile features
Detecting C compile features - done
Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.23.28105/bin/Hostx64/x64/cl.exe
Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.23.28105/bin/Hostx64/x64/cl.exe -- works
@dtasev
dtasev / filter_gtest_failed.py
Last active October 8, 2019 09:07
Filter GTEST failed tests from stdin
"""
To use to `./gest_test_binary | python filter_gtest_failed.py`
Only failed tests' output will be printed.
@author Dimitar Tasev
@license MIT
"""
from __future__ import print_function
import sys
@dtasev
dtasev / make_table_ws.py
Last active January 31, 2019 09:50
Mantid Scripts
# The following line helps with future compatibility with Python 3
# print must now be used as a function, e.g print('Hello','World')
from __future__ import (absolute_import, division, print_function, unicode_literals)
# import mantid algorithms, numpy and matplotlib
from mantid.simpleapi import *
import matplotlib.pyplot as plt
import numpy as np
@dtasev
dtasev / 11 OCT 2019 - 17 SEP 2018
Last active October 11, 2019 09:08
Mantid File Extensions count
File differences 11 OCT 2019 - 17 SEP 2018
h +363
cpp +161
rst +161
py +618
md5 +316
png +187
xml +65
txt +42
ui +32
@dtasev
dtasev / how-to-install-latest-gcc-on-ubuntu-lts.txt
Created June 3, 2017 13:01 — forked from application2000/how-to-install-latest-gcc-on-ubuntu-lts.txt
How to install latest gcc on Ubuntu LTS (12.04, 14.04, 16.04)
These commands are based on a askubuntu answer http://askubuntu.com/a/581497
To install gcc-6 (gcc-6.1.1), I had to do more stuff as shown below.
USE THOSE COMMANDS AT YOUR OWN RISK. I SHALL NOT BE RESPONSIBLE FOR ANYTHING.
ABSOLUTELY NO WARRANTY.
If you are still reading let's carry on with the code.
sudo apt-get update && \
sudo apt-get install build-essential software-properties-common -y && \
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && \
@dtasev
dtasev / c_cpp_properties.json
Last active July 17, 2019 13:26
Every include and source directory in the Mantid Project - www.mantidproject.org, www.github.com/mantidproject/mantid
{
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/Framework/API/inc",
"${workspaceFolder}/Framework/Algorithms/inc",
"${workspaceFolder}/Framework/Crystal/inc",
"${workspaceFolder}/Framework/CurveFitting/inc",
"${workspaceFolder}/Framework/DataHandling/inc",