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 <iostream> | |
/////////////////////////////////////////////////////////////////////////////// | |
class Base | |
{ | |
protected: | |
Base() {} | |
public: |
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
`gem list`.split("\n").each do |line| | |
next if line == '' | |
name = line.scan(/^\S+/).first | |
versions = line.scan(/\(([^\)]+)\)/).first.first.split(', ') | |
versions.shift | |
unless versions.empty? | |
versions.each do |version| | |
`gem uninstall #{name} -v #{version} --force` | |
end | |
end |
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 <assert.h> | |
#include <chrono> | |
#include <iostream> | |
#include <omp.h> | |
#include <random> | |
#include <vector> | |
using namespace std; | |
#define Nx 50 |
NewerOlder