Skip to content

Instantly share code, notes, and snippets.

Erlan Kotov epexa

Block or report user

Report or block epexa

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 uppy_sweetalert2_bug_fix.html
<div id="uppy"></div>
<button id="show-uppy-btn">Show Uppy</button>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/uppy@1.0.2/dist/uppy.min.css">
<script src="https://cdn.jsdelivr.net/npm/uppy@1.0.2/dist/uppy.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@8.11.7/dist/sweetalert2.all.min.js"></script>
<script>
document.addEventListener('DOMContentLoaded', () => {
const uppy = Uppy.Core().use(Uppy.Dashboard, {
target: '#uppy',
View uppy_sweetalert2_bug.html
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/uppy@1.0.2/dist/uppy.min.css">
<script src="https://cdn.jsdelivr.net/npm/uppy@1.0.2/dist/uppy.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@8.11.7/dist/sweetalert2.all.min.js"></script>
<script>
document.addEventListener('DOMContentLoaded', () => {
const uppy = Uppy.Core().use(Uppy.Dashboard);
Swal.fire({ toast: true });
View space.html
<!DOCTYPE html>
<html lang="ru">
<head>
<title>Как добраться до площадки Space</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.1.3/dist/css/bootstrap.min.css">
</head>
<body>
<div class="container-fluid">
View bootstrap_issue.html
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.1.3/dist/css/bootstrap.min.css">
<div class="modal" id="first-modal">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body">
<p>First modal</p>
<button class="btn btn-success" onclick="$('#second-modal').modal('show');">Open second modal</button>
</div>
</div>
View bootstrap_issue.html
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.1.3/dist/css/bootstrap.min.css">
<div class="modal" id="first-modal">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body">
First modal
</div>
</div>
</div>
View bootstrap.native_issue.html
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.1.3/dist/css/bootstrap.min.css">
<div class="modal" id="first-modal">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body">
First modal
</div>
</div>
</div>
@epexa
epexa / belarus_landscapes_changed_150_years.html
Last active Jul 12, 2018
Как изменились пейзажи Беларуси за 150 лет: воссоздаем места Наполеона Орды https://cdn.rawgit.com/epexa/22edff6436b63f2daf1fa57b825f91e4/raw/belarus_landscapes_changed_150_years.html
View belarus_landscapes_changed_150_years.html
<!-- https://nn.by/?c=ar&i=206341&lang=ru original not work -->
<!DOCTYPE html>
<html>
<head>
<!-- Yandex.Metrika counter -->
<script type="text/javascript" >
(function (d, w, c) {
(w[c] = w[c] || []).push(function() {
try {
w.yaCounter47580142 = new Ya.Metrika({
View bug_get_blog_entries.html
<script src="https://cdn.jsdelivr.net/npm/golos-js@0.7.0/dist/golos.min.js"></script>
<script>
golos.api.getBlogEntries('goloscore', 0, 20, (err, res) => {
console.log(res.length);
console.log(res);
});
let query = {
select_authors: ['goloscore']
};
@epexa
epexa / golos.min.js
Created Jun 15, 2018
Golos.js the JavaScript API for Golos blockchain version 0.7.0
View golos.min.js
!function(t){function e(n){if(r[n])return r[n].exports;var i=r[n]={exports:{},id:n,loaded:!1};return t[n].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var r={};return e.m=t,e.c=r,e.p="",e(0)}(function(t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))switch(typeof t[e]){case"function":break;case"object":t[e]=function(e){var r=e.slice(1),n=t[e[0]];return function(t,e,i){n.apply(this,[t,e,i].concat(r))}}(t[e]);break;default:t[e]=t[t[e]]}return t}([function(t,e,r){(function(n){"use strict";var i=r(1),o=r(170),s=r(274),a=r(165),u=r(277)(i),f=r(291),c=r(168),l={api:i,auth:o,broadcast:s,config:a,formatter:u,memo:f,utils:c};"undefined"!=typeof window&&(window.golos=l),"undefined"!=typeof n&&(n.golos=l),e=t.exports=l}).call(e,function(){return this}())},function(t,e,r){(function(n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if(!t)throw new ReferenceError("this hasn't b
@epexa
epexa / golos_promise.js
Last active Apr 25, 2018
Example promise on blockchain Golos
View golos_promise.js
let accounts = ['goloscore'];
golos.api.getAccounts(accounts)
.then(response => {
console.log(response);
})
.catch(error => {
console.error(error);
});
You can’t perform that action at this time.