This file contains 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
<!-- | |
################################################################# | |
--> | |
<xs:annotation> | |
<xs:documentation> | |
This is the way to declare an element that may | |
contain text based child only along with attached | |
numerous of attributes. | |
Tke key is to define simpleType that defines | |
how the content of our element may look like |
This file contains 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
private void movePoint(final Point toBeMoved) { | |
Point nearestPoint = Solution.getNearest(this.points, toBeMoved); | |
switch (this.mode) { | |
case ORDINARY: | |
Solution.moveToPoint(nearestPoint, toBeMoved); | |
break; | |
case ORDINARY_RECT_NEIGH_0_15: { | |
Solution.moveToPoint(nearestPoint, toBeMoved); | |
final ValueDistance distance = new ValueDistance(0.15); | |
List<Point> inAreaPoints = Solution.getMultiNearest(this.points, toBeMoved, distance); |
This file contains 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
import random | |
import time | |
import spur | |
import multiprocessing | |
IT=0 | |
HOST_LIST = { | |
"192.168.10.4": True, | |
"192.168.10.6": True, |
This file contains 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
import random | |
import string | |
import time | |
MSG_LEN = 1000 | |
LOG_COUNT = 100000 | |
def timer(fun, *args): | |
start = time.time() |
This file contains 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
// mysql | |
CREATE TABLE `sub_alarm` ( | |
`id` varchar(36) COLLATE utf8mb4_unicode_ci NOT NULL, | |
`alarm_id` varchar(36) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', | |
`sub_expression_id` varchar(36) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', | |
`expression` longtext COLLATE utf8mb4_unicode_ci NOT NULL, | |
`created_at` datetime NOT NULL, | |
`updated_at` datetime NOT NULL, | |
`sporadic` tinyint(1) NOT NULL DEFAULT '0', |
This file contains 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
echo "Installing docker & docker-compose in fast way" | |
sudo true | |
echo "Installing required dependencies" | |
sudo apt-get install linux-image-extra-$(uname -r) linux-image-extra-virtual -y -qq | |
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common -y -qq | |
# Install docker" | |
echo "Installing docker" |
This file contains 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
[tox] | |
envlist = yapf,flake8,mypy | |
[testenv] | |
usedevelop = True | |
setenv = VIRTUAL_ENV={envdir} | |
passenv = *_proxy | |
*_PROXY | |
whitelist_externals = bash | |
find |
This file contains 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
-r requirements/yapf.txt | |
-r requirements/mypy.txt | |
-r requirements/flake8.txt | |
tox==3.8.3 |
This file contains 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
[testenv:yapf] | |
deps = | |
-r{toxinidir}/requirements/yapf.txt | |
commands = | |
{[testenv]commands} | |
yapf --diff --recursive {toxinidir}/ksc | |
[testenv:flake8] | |
deps = | |
-r{toxinidir}/requirements/flake8.txt |
This file contains 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
🤘 T AR AL | |
--- ----------------------------- ------------------ ------------------------------------------------------------------------ | |
Undead Hollywood Undead Swan Songs | |
War Child Hollywood Undead Day of the Dead (Deluxe Version) | |
Undead Hollywood Undead Swan Songs (Collector’s Edition) | |
You Are We While She Sleeps You Are We (Special Edition) | |
Civil Isolation While She Sleeps You Are We - Special Edition | |
Hurricane While She Sleeps You Are We - Special Edition | |
Empire Of Silence While She Sleeps You Are We | |
Feel While She Sleeps You Are We |