View install-vuejs-doc.sh
# Clone the repository | |
git clone https://github.com/vuejs/vuejs.org.git | |
cd vuejs.org | |
# Install the JS dependencies | |
yarn | |
# Start the server | |
yarn start | |
# The server should now be running on http://localhost:4000/ |
View .project-sentryclirc
[defaults] | |
org=howfast | |
project=frontend |
View .home-sentryclirc
[auth] | |
token = deadbeef |
View config.js
/* eslint-env node */ | |
// ... | |
// We store the release ID in a VUE_APP_SENTRY_RELEASE environment variable | |
export const SENTRY_RELEASE = process.env.VUE_APP_SENTRY_RELEASE; | |
// ... | |
export default { |
View main.js
/* eslint-env node */ | |
import Vue from 'vue'; | |
// You should not have to import anything special before Raven | |
// Import Raven, Sentry's SDK | |
import Raven from 'raven-js'; | |
import RavenVue from 'raven-js/plugins/vue'; | |
// Import our local "config.js" file |
View poc-security-influx-go-client.go
package main | |
import ( | |
"log" | |
"time" | |
client "github.com/influxdata/influxdb/client/v2" | |
) | |
const database = "poc" |
View celery_poc.py
from celery import Celery | |
class config(object): | |
CELERY_BROKER_CONNECTION_TIMEOUT = 1 # 1s | |
CELERY_BROKER_CONNECTION_MAX_RETRIES = 0 | |
CELERY_BROKER_CONNECTION_RETRY = False | |
CELERY_TASK_PUBLISH_RETRY = False | |
CELERY_TASK_PUBLISH_RETRY_POLICY = { | |
'max_retries': 0, |
View timelapse-pi.py
#!/usr/bin/python3 | |
import os | |
import time | |
from datetime import datetime | |
while(True): | |
os.system("/usr/bin/raspistill -o 'timelapse-{}.jpg'".format(datetime.now().isoformat())) | |
time.sleep(15) |
View owncloud-docker-compose.yml
# Composition of the containers | |
owncloud: | |
image: owncloud | |
ports: | |
- 80:80 | |
volumes_from: | |
- owncloud-data | |
links: | |
- postgres:owncloud-db |
View owncloud-docker-compose.yml
# Composition of the containers | |
owncloud: | |
image: owncloud | |
ports: | |
- 80:80 | |
volumes_from: | |
- owncloud-data | |
links: | |
- postgres:owncloud-db |
NewerOlder