# Install docker
sudo snap install docker
# Install completion
sudo curl \
-L https://raw.githubusercontent.com/docker/compose/master/contrib/completion/bash/docker-compose \
-o /etc/bash_completion.d/docker-compose
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
[[runners]] | |
name = "tt708-windows" | |
url = "https://gitlab.com/" | |
token = "[REDACTED]" | |
executor = "shell" | |
shell = "bash" | |
builds_dir="/c/gitlab-runner/builds/" | |
cache_dir="/c/gitlab-runner/cache/" | |
[runners.cache] | |
[runners.cache.s3] |
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
{ | |
"key": "escape", | |
"command": "workbench.action.togglePanel", | |
"when": "inOutput" | |
} |
Taken from here for prosperity.
Put this in %USERDIR%/Documents/WindowsPowerShell/profile.ps1
, run a PowerShell terminal and you should see the messages "Visual Studio 2015..." pop up.
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/pulse/default.pa b/pulse/default.pa | |
index 9ebe05e..e95f423 100644 | |
--- a/pulse/default.pa | |
+++ b/pulse/default.pa | |
@@ -30,7 +30,8 @@ | |
### Automatically restore the volume of streams and devices | |
load-module module-device-restore | |
-load-module module-stream-restore | |
+load-module module-stream-restore restore_device=false |
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
CDataStream ds(SER_NETWORK, PROTOCOL_VERSION); | |
( (CBlockHeader*) &genesis )->Serialize(ds); | |
for(CDataStream::const_iterator it = ds.begin(); it != ds.end(); ++it) { | |
fprintf(stdout, "%02x", 0x00FF & *it); | |
} | |
fprintf(stdout, "\n"); | |
exit(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
# include to your server{} | |
location /sources/ { | |
allow 192.168.0.0/16; # infrastructure | |
deny all; | |
rewrite ^\/sources\/(.*)\/.*?\.(tar\.gz|zip|tar\.bz2|tar)$ /private/$1/archive.$2; | |
} | |
location /private/ { |
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
#!/bin/sh | |
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock nate/dockviz images -t |
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 centos:6.8 | |
RUN yum -y install centos-release-scl && \ | |
yum -y update && \ | |
yum -y install devtoolset-3-gcc devtoolset-3-gcc-c++ devtoolset-3-binutils \ | |
curl tar perl make openssl-devel \ | |
libxcb libxcb-devel xcb-util xcb-util-devel \ | |
libXrender libXrender-devel xcb-util-wm xcb-util-wm-devel \ | |
xcb-util-image xcb-util-image-devel \ | |
xcb-util-keysyms xcb-util-keysyms-devel \ |
NewerOlder