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 |
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 <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
# Описываем используемые хим. элементы и их валентность | |
elements | |
atom H, valence: 1 | |
atom C, valence: 4 | |
# Описываем используемые крист. решётки и структуры, состоящие из атомов описанных | |
# выше. Поверхностные структуры не могут состоять из одновалентных атомов. Конечное | |
# валентное состояние атомов структур задаваемых в этом разделе, определяется при | |
# описании уравнений реакций кинетической схемы (см. ниже). | |
surface |
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
; bridge | |
(defn find [anchor] | |
(if (is anchor 3) | |
(if (havent anchor BRIDGE 3) | |
(def nbrs (cross_110 (crystal anchor) anchor)) | |
(if (and (all nbrs) (is nbrs[0] 6) (is nbrs[1] 6) | |
(has_bond anchor nbrs[0]) (has_bond anchor nbrs[1])) | |
(def atoms [anchor nbrs[0] nbrs[1]]) | |
(create BRIDGE atoms))))) |
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
export HISTFILESIZE=100000 | |
export HISTCONTROL=ignoredups | |
export GCC_PATH=/usr/local/Cellar/gcc/5.3.0 | |
export CXX=${GCC_PATH}/bin/g++-5 | |
# REMOVE IT WHEN YOU LEAVE FROM ODIN | |
odin_env=$HOME/.odin_env | |
[[ -e $odin_env ]] && source $odin_env |
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
diff --git a/engine/Makefile b/engine/Makefile | |
index 94a1b87..6c3477d 100644 | |
--- a/engine/Makefile | |
+++ b/engine/Makefile | |
@@ -1,11 +1,14 @@ | |
NAME := libengine | |
ARKSFLAGS := -DNDEBUG | |
-STANDART := -std=c++11 | |
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
[playlist] | |
NumberOfEntries=4 | |
File1=http://pianosolo.streamguys.net/live.m3u | |
Title1=Solo Piano Radio | |
Length1=-1 | |
File2=http://188.165.40.61:8200 | |
Title2=4CLUBBERS | |
Length2=-1 | |
File3=http://ice.stream.frequence3.net/frequence3-128.mp3 | |
Title3=Freequence 3 |
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
#!/bin/sh | |
if [ "$#" -ne 2 ]; then | |
echo "Usage $0 new_owner target_db" | |
exit 1 | |
fi | |
$NEW_OWNER=$1 | |
$TARGET_DB=$2 |
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
- Когда вы последний раз ...? | |
- Что у вызвало боль? | |
- Почему? | |
- Что вы сделали чтобы решить? | |
- Ок. И почему боль? |
OlderNewer