Skip to content

Instantly share code, notes, and snippets.

johackim

Block or report user

Report or block johackim

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 chrome
#!/bin/bash
/opt/google/chrome/chrome.orig --no-sandbox --ignore-certificate-errors $@
View traefik-ssl.yml
version: "3.7"
services:
consul:
image: consul:1.7.1
command: agent -server -bootstrap-expect=1
environment:
- CONSUL_BIND_INTERFACE=eth0
- CONSUL_CLIENT_INTERFACE=eth0
volumes:
View keybase.md

Keybase proof

I hereby claim:

  • I am johackim on github.
  • I am johackim (https://keybase.io/johackim) on keybase.
  • I have a public key ASDSkU2rkJKtRtocyzKoW0IX7pL8R4cMG1znxim0Z7dWhQo

To claim this, I am signing this object:

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}
@johackim
johackim / 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;
}
You can’t perform that action at this time.