I hereby claim:
- I am psyton on github.
- I am psyton (https://keybase.io/psyton) on keybase.
- I have a public key ASA1muXb3p4nwychRM-VeAvgTRw68AfwpkiAHksAFBsttgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| class rw_spin_lock | |
| { | |
| public: | |
| rw_spin_lock() | |
| { | |
| _readers = 0; | |
| } | |
| public: | |
| void acquire_reader() |
| # THIS DOCKERFILE TRIES TO COMPILE CURL/OPENSSL FOR ANDROID | |
| # | |
| # 5 july 2015 | |
| # | |
| # More detals could be found here: | |
| # http://vitiy.info/dockerfile-example-to-compile-libcurl-for-android-inside-docker-container/ | |
| FROM ubuntu | |
| MAINTAINER Victor Laskin "victor.laskin@gmail.com" |
| var parser = document.createElement('a'); | |
| parser.href = "http://example.com:3000/pathname/?search=test#hash"; | |
| parser.protocol; // => "http:" | |
| parser.hostname; // => "example.com" | |
| parser.port; // => "3000" | |
| parser.pathname; // => "/pathname/" | |
| parser.search; // => "?search=test" | |
| parser.hash; // => "#hash" | |
| parser.host; // => "example.com:3000" |
| Добавить пути для p4merge.exe и sublime_text.exe в Path. | |
| git config --global merge.tool p4merge | |
| git config --global mergetool.p4merge.cmd "p4merge.exe \"$BASE\" \"$LOCAL\" \"$REMOTE\" \"$MERGED\"" | |
| git config --global core.editor "sublime_text.exe -w -n" |
| #ifndef STR_SWITCH_H | |
| #define STR_SWITCH_H | |
| #include <string> | |
| #define SWITCH(str) switch(s_s::str_hash_for_switch(str)) | |
| #define CASE(str) static_assert(s_s::str_is_correct(str) && (s_s::str_len(str) <= s_s::MAX_LEN),\ | |
| "CASE string contains wrong characters, or it`s length is greater than 10");\ | |
| case s_s::str_hash(str, s_s::str_len(str)) | |
| #define DEFAULT default |
| #pragma once | |
| #include <string> | |
| #include <boost/unordered_map.hpp> | |
| namespace enum_base { | |
| template <class T> | |
| class BaseEnum | |
| { | |
| protected: |