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 | |
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF | |
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list | |
echo "deb http://download.mono-project.com/repo/debian wheezy-libtiff-compat main" | sudo tee -a /etc/apt/sources.list.d/mono-xamarin.list | |
sudo apt-get update | |
sudo apt-get install -y mono-complete |
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
make: Entering directory `/home/travis/build/krzkaczor/CobolToCSharpTranslator/node_modules/edge/build' | |
CXX(target) Release/obj.target/edge/src/mono/clractioncontext.o | |
CXX(target) Release/obj.target/edge/src/mono/clrfunc.o | |
CXX(target) Release/obj.target/edge/src/mono/clrfuncinvokecontext.o | |
CXX(target) Release/obj.target/edge/src/mono/edge.o | |
CXX(target) Release/obj.target/edge/src/mono/monoembedding.o | |
../src/mono/monoembedding.cpp: In static member function ‘static MonoClass* MonoEmbedding::GetIDictionaryStringObjectClass(MonoException**)’: | |
../src/mono/monoembedding.cpp:108:66: error: ‘mono_reflection_type_get_type’ was not declared in this scope | |
../src/mono/monoembedding.cpp: In static member function ‘static MonoClass* MonoEmbedding::GetUriClass(MonoException**)’: | |
../src/mono/monoembedding.cpp:127:66: error: ‘mono_reflection_type_get_type’ was not declared in this scope |
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
<item> | |
<name>CAPS LOCK TO CTRL TAB</name> | |
<appendix>useful to quickly jump between tabs</append> | |
<identifier>private.swap_capslock</identifier> | |
<autogen> | |
--KeyToKey-- | |
KeyCode::PC_APPLICATION, | |
KeyCode::TAB, ModifierFlag::CONTROL_L | |
</autogen> | |
</item> |
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
/** | |
* Fast modular exponentiation for a ^ b mod n | |
* @returns {number} | |
*/ | |
var fastModularExponentiation = function(a, b, n) { | |
a = a % n; | |
var result = 1; | |
var x = a; | |
while(b > 0){ |
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
string Individual::toString() { | |
return accumulate(this->genome->begin(), this->genome->end(), string(), [](const string& acc, int x) { | |
return acc + " " + to_string(x); | |
}); | |
} |