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
systemctl stop ModemManager |
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
{"version":1,"notes":"","documentation":"\"This file is a QMK Configurator export. You can import this at <https://config.qmk.fm>. It can also be used directly with QMK's source code.\n\nTo setup your QMK environment check out the tutorial: <https://docs.qmk.fm/#/newbs>\n\nYou can convert this file to a keymap.c using this command: `qmk json2c {keymap}`\n\nYou can compile this keymap using this command: `qmk compile {keymap}`\"\n","keyboard":"dz60","keymap":"dz60_layout_directional_mine.json","layout":"LAYOUT_directional","layers":[["KC_ESC","KC_1","KC_2","KC_3","KC_4","KC_5","KC_6","KC_7","KC_8","KC_9","KC_0","KC_MINS","KC_EQL","KC_BSLS","KC_GRV","KC_TAB","KC_Q","KC_W","KC_E","KC_R","KC_T","KC_Y","KC_U","KC_I","KC_O","KC_P","KC_LBRC","KC_RBRC","KC_BSPC","KC_LCTL","KC_A","KC_S","KC_D","KC_F","KC_G","KC_H","KC_J","KC_K","KC_L","KC_SCLN","KC_QUOT","KC_ENT","KC_LSFT","KC_Z","KC_X","KC_C","KC_V","KC_B","KC_N","KC_M","KC_COMM","KC_DOT","KC_SLSH","KC_HOME","KC_UP","KC_DEL","MO(1)","KC_LALT","KC_LGUI","KC_SPC","KC_S |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>CFBundleExecutable</key> | |
<string>myapp</string> | |
<key>CFBundleIdentifier</key> | |
<string>com.pocketgophers.myapp</string> | |
<key>CFBundleURLTypes</key> | |
<array> |
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
AzxKCABqlFKth6R2UdQ2RDUTEbMFh6FuovJXFX1Dqaapqp0i9kq7RQ1CKeUn0TAKvyk9V5WhEKeFDFeigyCcRSlxjOAciBaCWgrSYhTLgYcoxVPSMlWyjpCaSEhMpZqMkumKiwhXRbqscl1JGyF1G5K0WQnblfpIkVlIn1Wp75DESEI9Q6TRkBhHiJOouiWUa6pwHlEeC9ValJJeE5KuUK+y8GAGg69eRbHZgnoVJWKdXOeLWIdspHCnCm65Dp7I5nr1MmbCFe50qvEVgMvj61gQ4dBEqL4vH8ChXt2XWRaYACb7ClcZC1gH4jZYUK8yTYzqu4lRBU2MThWvY6G3xBGoIiQQbCGgVQbHRWUBu1xg1sVtsKBeZZoYZuPxV99NDLPx+KugiWE2Hn+nunFYL26DBfUq08QwiwiQ1XcTw/wQSKugiWE2IDvVKM8BsC4HIme75vhVoRC8KNWFzaMR6msisHeqqNp94KtXibBT9BOKI9ZvcHYfqLpESAi0UyLslEcwuDwUlu6SIyHQTn/6ixhV5AYCrrpEoLxJ7JQIO+URDC4PdYlAeZPYaUxEhMb+F2SVCDtFP6E4YnF2H6i6REgItFMi7JRHMLg8FJbukiMh0E5/+rOTV4mwIeDnqwpLd8lBeZPYKRF2yiMYXB4KS3fJQXmT2GnsJxfoXyXChoCff9UlAuVNYqdE2CmPYHB5qEsEypvETmM/OY2RQj6qsP0+eJ2xuQpLd8lRIuyURzC4PBSW7pKj5OxUgISsEmFDwM9H1SUC5U1ip0TYKY9gcHmoSwTKm8ROYz+NkUI+qmy1+SCYKERDVoWlu+QoEXbKIxhcHgpLd8nRGPuLCpCQVcmw/eIT7UMDjOpxdh+oukSgvEnslAg75REMLg91iUB5k9hpTGCHpLEX+V8lwk7RTyiOWMsbzu4DVZcICYF2SoSd8ggGl4fC0l1yJATa6U/ZScmrihItBgKuukRICLRTIuyURzC4PBSW7pIjIdBOfyoIkORVCHAZiw+zDnB2H6i6 |
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
git rebase -i HEAD~5 | |
git push origin +master |
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
MONGO_SCRIPT := $(shell cat ./rs_config) | |
start-mongo-rs: | |
@echo "Starting MongoDB Replica Set (localhost:30001)" | |
@docker-compose -f ./mongo_rs/docker-compose.yml up -d | |
@echo Wait... | |
@sleep 15 | |
@docker exec -it mongo_master mongo --eval "$(MONGO_SCRIPT)" | |
@docker exec -it mongo_master mongo --eval "rs.status()" |
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 express from "express"; | |
import multer = require("multer"); | |
import * as stream from "stream"; | |
import clamav from "clamav.js"; | |
var upload = multer({ | |
storage: multer.memoryStorage() | |
}); |
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
[supervisord] | |
nodaemon=true | |
[program:clamd] | |
directory=/ | |
command=clamd & | |
autostart=true | |
autorestart=true | |
stderr_logfile=/var/log/supervisor/%(program_name)s.log |
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 node:8 | |
MAINTAINER Yeung Yiu Hung <[email protected]> | |
# Install ClamAV and supervisord | |
# Debian Base to use | |
ENV DEBIAN_VERSION jessie | |
# Install ClamAV and supervisor | |
RUN echo "deb http://http.debian.net/debian/ $DEBIAN_VERSION main contrib non-free" > /etc/apt/sources.list && \ | |
echo "deb http://http.debian.net/debian/ $DEBIAN_VERSION-updates main contrib non-free" >> /etc/apt/sources.list && \ |
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
server { | |
listen 80; | |
access_log /var/log/nginx/api.log; | |
error_log /var/log/nginx/api_error.log; | |
server_name localhost; | |
location ^~ / { | |
proxy_pass http://api_one; | |
} | |
location ^~ /v2 { |
NewerOlder