const { app, BrowserWindow, session } = require('electron');
const { ElectronChromeExtensions } = require('electron-chrome-extensions');
app.on('ready', async () => {
await session.defaultSession.loadExtension(`${process.cwd()}/extensions/ublock/`);
await session.defaultSession.loadExtension(`${process.cwd()}/extensions/minimal/`);
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width" /> | |
<title>Ethibox - Maintenance en cours</title> | |
<link href="https://unpkg.com/tailwindcss@2.2.8/dist/tailwind.min.css" rel="stylesheet"> | |
</head> | |
<body class="bg-gray-900 text-white min-h-screen flex justify-center items-center text-center"> | |
<main> |
This file contains 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/bash | |
export DISPLAY=:0 | |
export XAUTHORITY=/home/johackim/.Xauthority | |
export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus | |
export APPNAME=obsidian | |
export WIDTH=$(xdpyinfo | grep dimensions: | awk '{print $2}' | cut -d 'x' -f1) | |
export HEIGHT=$(xdpyinfo | grep dimensions: | awk '{print $2}' | cut -d 'x' -f2) | |
for ID in $(xdotool search --name $APPNAME); do |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width" /> | |
<title>Ethibox - Application suspendu</title> | |
<link href="https://unpkg.com/tailwindcss@2.2.8/dist/tailwind.min.css" rel="stylesheet"> | |
</head> | |
<body class="bg-gray-900 text-white min-h-screen flex justify-center items-center text-center"> | |
<main> |
This file contains 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
global: | |
scrape_interval: 30s | |
evaluation_interval: 30s | |
scrape_configs: | |
- job_name: prometheus | |
metrics_path: /prometheus/metrics | |
static_configs: | |
- targets: ['localhost:9090'] |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width" /> | |
<title>Ethibox - Installation en cours...</title> | |
<link href="https://unpkg.com/tailwindcss@2.2.8/dist/tailwind.min.css" rel="stylesheet"> | |
</head> | |
<body class="bg-gray-900 text-white min-h-screen flex justify-center items-center text-center"> | |
<main> |
This file contains 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
const uuid = require("uuid"); | |
const generateNodeId = (filePath) => { | |
const seedConstant = '638f7a53-c567-4eca-8fc1-b23efb1cfb2b'; | |
const gatsbySourceFilesystemNsHash = uuid.v5('gatsby-source-filesystem', seedConstant); | |
const gatsbySourceFilesystemNodeId = uuid.v5(filePath, gatsbySourceFilesystemNsHash); | |
const gatsbyPluginMdxNodeId = `${gatsbySourceFilesystemNodeId} >>> Mdx`; | |
const gatsbyPluginMdxNsHash = uuid.v5('gatsby-plugin-mdx', seedConstant); |
This file contains 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] | |
port = 8080 | |
bind = 0.0.0.0 | |
[database] | |
type = mysql | |
username = writefreely | |
password = myp@ssw0rd | |
database = writefreely | |
host = mariadb |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width" /> | |
<title>Ethibox - Configuration en cours...</title> | |
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet"> | |
</head> | |
<body class="bg-gray-800 text-white min-h-screen flex justify-center items-center"> | |
<main> |
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:
NewerOlder