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
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/autohide_bookmarks_and_main_toolbars.css made available under Mozilla Public License v. 2.0 | |
See the above repository for updates as well as full license text. */ | |
#navigator-toolbox{ | |
--uc-bm-padding: 4px; /* Vertical padding to be applied to bookmarks */ | |
--uc-bm-height: calc(20px + 2 * var(--uc-bm-padding)); /* Might need to adjust if the toolbar has other buttons */ | |
--uc-navbar-height: -40px; /* navbar is main toolbar. Use negative value */ | |
--uc-autohide-toolbar-delay: 600ms; /* The toolbar is hidden after 0.6s */ | |
} |
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: "3.7" | |
services: | |
traefik: | |
image: traefik:2.2 | |
ports: | |
- "80:80" | |
- "8080:8080" | |
- "443:443" | |
depends_on: | |
- dev-tls |
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
#later = datetime.utcnow() + timedelta(seconds=12) | |
#welcome_msg = welcome(request.user) | |
#mattermost_message.apply_async([welcome_msg.message, request.user.rebel.mm_bot_channel_id], eta=later) |
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
const createElement = (type, config, parent = null) => { | |
const element = document.createElement(type); | |
if(config && config.text) { | |
element.innerHTML = config.text; | |
} | |
if(!parent) { | |
root.appendChild(element); | |
} else { | |
parent.appendChild(element) |
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
<?php | |
require_once __DIR__ . "/vendor/autoload.php"; | |
require_once __DIR__ . "/helpers/Mysql.php"; | |
require_once __DIR__ . "/helpers/Tooling.php"; | |
require_once __DIR__ . "/helpers/Views.php"; | |
$app = new Leaf\App; | |
$app->blade; |
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
<?php | |
require_once __DIR__ . "/vendor/autoload.php"; | |
require_once __DIR__ . "/helpers/Tooling.php"; | |
$app = new Leaf\App; | |
$app->post("/exo-1", function() use($app) { |
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
<html> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
<script src="https://www.google.com/recaptcha/api.js" async defer></script> | |
</head> | |
<body> | |
<div> |
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
<?php | |
require_once __DIR__ . "/vendor/autoload.php"; | |
require_once __DIR__ . "/helpers/Tooling.php"; | |
$app = new Leaf\App; | |
$app->post("/exo-1", function() use($app) { |
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
package middleware | |
import ( | |
"net/http" | |
"github.com/gin-gonic/gin" | |
"github.com/go-vote/provider" | |
"github.com/go-vote/model" | |
) |
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
package middleware | |
import ( | |
"net/http" | |
"errors" | |
"time" | |
"strings" | |
"github.com/dgrijalva/jwt-go" | |
"github.com/gin-gonic/gin" | |
) |
NewerOlder