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/3rdparty/python/pants/main.py b/3rdparty/python/pants/main.py | |
new file mode 100644 | |
index 00000000..9cb08c35 | |
--- /dev/null | |
+++ b/3rdparty/python/pants/main.py | |
@@ -0,0 +1,116 @@ | |
+from collections import Iterable | |
+import re | |
+ | |
+from pex.version import __version__ |
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
UDEV rules and script Based on https://gist.github.com/jalaziz/bcfe2f71e3f7e8fe42a9c294c1e9279f. | |
Requires `nvme-cli` package found at https://github.com/linux-nvme/nvme-cli. | |
Based on rexray commit d5cf3ed1aac75a4595760fc0830beea5886588f0 | |
```sh | |
[root@ip-172-31-2-242 ~]# /usr/bin/dvdcli --volumedriver=rexray --volumename=mesos-master01fu2.aws.sig path | |
INFO[0000] /var/lib/rexray/volumes/mesos-master01fu2.aws.sig/data | |
/var/lib/rexray/volumes/mesos-master01fu2.aws.sig/data | |
[root@ip-172-31-2-242 ~]# mount | grep mesos-master01fu2.aws.sig | |
/dev/nvme0n1 on /var/lib/rexray/volumes/mesos-master01fu2.aws.sig type ext4 (rw,relatime,data=ordered) |
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
all: | |
if `true` || `false`; then \ | |
echo "Hello world!!!"; \ | |
fi; |
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
import os | |
__all__ = ["open","mkdir"] | |
__author__ = "Justin Venus <[email protected]>" | |
START_UMASK = os.umask(0) | |
os.umask(START_UMASK) | |
def mkdir(func): | |
def decorator(*args): | |
if len(args) == 1: |
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
############################################################################### | |
# Copyright 2006 to the present, Orbitz Worldwide, LLC. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software |