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
<?php | |
namespace app\components; | |
use Exception; | |
use Yii; | |
use yii\base\Component; | |
use yii\filters\AccessControl; | |
use yii\helpers\Html; | |
use yii\helpers\Url; |
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
import requests | |
import json | |
import os | |
import random | |
import string | |
from django.conf import settings | |
import re | |
if os.environ.get("FIXIE_URL", ""): | |
os.environ["http_proxy"] = os.environ.get("FIXIE_URL") |
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
<!--Emojis are unicodes, so it wont have much problem showing in the mobile or mails--> | |
<div class="container full-width"> | |
<div class="row justify-content-center"> | |
<p class="lead emoji-picker-container"> | |
<textarea type="textbox" data-emoji-input="unicode" class="form-control" placeholder="Input field" data-emojiable="true"></textarea> | |
</p> | |
</div> | |
</div> |
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
// All rights reserved authors https://telegra.ph/07-05authors | |
// Strange.js no copyright ® 2022.01.27 registered | |
// version 1.0 | |
if (window === undefined) { | |
console.log("Strangejs requires window and document"); | |
} | |
function err(error_name, error_count) { | |
return `Uncaught TypeError: Failed to execute ${error_name} on document: ${error_count} arguments required`; | |
} |