sudo zypper -n dup
sudo zypper -n install git-core
Download and install sdk-tools-linux-xxxxxxxx.zip
from Android SDK download page in ~/Android/Sdk
Download jdk-8u181-linux-x64.rpm from here and install
sudo zypper in jdk-8u181-linux-x64.rpm
If you know the string is small use
$stream = fopen(sprintf('data://text/plain,%s', $string), 'r');
$result = stream_get_contents($stream);
When passing plain string without base64 encoding, do not forget to pass the string through URLENCODE(), because PHP automatically urldecodes all entities inside passed string (and therefore all + get lost, all % entities will be converted to the corresponding characters).
If data is large - better use
local Switch = { | |
__tostring = function(self) | |
return string.format('%s (strict: %s)', tostring(self.expression), tostring(self.strict)) | |
end | |
} | |
Switch.__index = Switch | |
function Switch:new(expression, strict) | |
if type(strict) ~= 'boolean' then strict = true end | |
local self = setmetatable({}, Switch) |
#define ану_иди_сюда using namespace | |
#define сказал std | |
#define блять ; | |
#define нихуя int | |
#define стопе main() | |
#define типа { | |
#define факт bool | |
#define базарь cout << | |
#define спроси cin >> | |
#define пиздато 1 |