Skip to content

Instantly share code, notes, and snippets.

ston3o

Block or report user

Report or block ston3o

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View nginx-onlyoffice.conf
user www-data;
worker_processes 1;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
View traefik.yml
version: '3.7'
services:
traefik:
image: traefik:latest
command:
- --entrypoints.http.address=:80
- --entrypoints.https.address=:443
- --providers.docker
- --certificatesresolvers.mytlschallenge.acme.tlschallenge=true
View nextcloud.yml
version: '3.7'
services:
nextcloud:
image: nextcloud:${VERSION:-17.0.1}
volumes:
- nextcloud:/var/www/html
labels:
- traefik.http.routers.web.rule=Host(`${DOMAIN:-nextcloud.localhost}`)
- traefik.http.routers.web.tls=${HTTPS:-false}
@ston3o
ston3o / auto-boost.json
Last active Mar 27, 2019
Auto Boost Mastodon
View auto-boost.json
{
"schema_version": 1,
"name": "Auto Boost",
"description": "Auto Boost Mastodon Accounts",
"source_url": false,
"guid": "a2364ae9eccffe6d6af00f40f1d735eb",
"tag_fg_color": "#ffffff",
"tag_bg_color": "#5bc0de",
"icon": "gear",
"exported_at": "2019-03-25T15:51:31Z",
View reactform.js
'use strict';var _createClass=function(){function a(b,c){for(var f,d=0;d<c.length;d++)f=c[d],f.enumerable=f.enumerable||!1,f.configurable=!0,'value'in f&&(f.writable=!0),Object.defineProperty(b,f.key,f)}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}();function _classCallCheck(a,b){if(!(a instanceof b))throw new TypeError('Cannot call a class as a function')}function _possibleConstructorReturn(a,b){if(!a)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return b&&('object'==typeof b||'function'==typeof b)?b:a}function _inherits(a,b){if('function'!=typeof b&&null!==b)throw new TypeError('Super expression must either be null or a function, not '+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}var Form=function(a){function b(){var n,h,j,k;_classCallCheck(this,b);for(var l=arguments.length,g=Array(l),m=0;m<l;m++)g[m]=argumen
View stack.yml
version: '3'
services:
web:
image: ghost:2.2
ports:
- 0:2368
volumes:
- ghost:/var/lib/ghost/content
environment:
View mediaqueries.css
/* Mobile */
@media only screen and (max-width: 767px) {
[class*="mobile hidden"],
[class*="tablet only"]:not(.mobile),
[class*="computer only"]:not(.mobile),
[class*="large screen only"]:not(.mobile),
[class*="widescreen only"]:not(.mobile),
[class*="or lower hidden"] {
display: none !important;
}
@ston3o
ston3o / dashboard.sh
Last active Feb 13, 2018
Rasbperry dashboard script install
View dashboard.sh
#!/bin/bash
if [ "$(whoami)" != "root" ]; then
echo "$0: Permission denied"
exit 1;
fi
# Install dependencies
sudo apt-get update
sudo apt-get install -y i3 dmenu rxvt-unicode xorg xinit xdotool surf
@ston3o
ston3o / install.sh
Created Jan 29, 2018
Kubernetes installation
View install.sh
#!/bin/sh
export DEBIAN_FRONTEND=noninteractive;
if [ "$(whoami)" != "root" ]; then
echo "$0: Permission denied"
exit 1;
fi
# Install kubeadm
if [ -z "$(command -v kubeadm)" ]; then
View disable-webcam.sh
#!/bin/bash
sudo modprobe -r uvcvideo
echo 'blacklist uvcvideo' | sudo tee -a /etc/modprobe.d/blacklist.conf
You can’t perform that action at this time.