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
#!/usr/bin/env python3.4 | |
import datetime | |
import time | |
def something(): | |
print(datetime.datetime.now()) | |
# Simulate long running task | |
time.sleep(0.75) |
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
diff --git a/src/bundlewrap/utils/remote.py b/src/bundlewrap/utils/remote.py | |
index 3fa606e..d36b7de 100644 | |
--- a/src/bundlewrap/utils/remote.py | |
+++ b/src/bundlewrap/utils/remote.py | |
@@ -13,7 +13,8 @@ def _parse_file_output(file_output): | |
return ('nonexistent', "") | |
elif file_output in ("directory", "sticky directory"): | |
return ('directory', file_output) | |
- elif file_output in ("block special", "character special"): | |
+ elif file_output.startswith("block special ") or \ |
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
for i in {1..250}; do curl -X POST -H 'Content-Type: application/json' --user bob:bob --data-binary '{"allowed_groups": [], "allowed_users": ["bob"], "name": "apitest '"$i"'", "password": "huch '"$i"'"}' 'http://10.33.20.2/api/secrets/'; done |
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
# Maintainer: Adrian Perez de Castro <[email protected]> | |
_dotted_zero=false | |
_centered_tilde=true | |
_encodings='uni i15' | |
pkgname='uw-ttyp0-font' | |
pkgdesc='Bitmap monospaced font with unicode support and Powerline symbols' | |
pkgver='1.3' | |
pkgrel='1' |
OlderNewer