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
/* | |
* Replace all SVG images with inline SVG | |
*/ | |
jQuery('img.svg').each(function(){ | |
var $img = jQuery(this); | |
var imgID = $img.attr('id'); | |
var imgClass = $img.attr('class'); | |
var imgURL = $img.attr('src'); | |
jQuery.get(imgURL, function(data) { |
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
# Redirect http to https | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{HTTPS} !=on | |
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] | |
</IfModule> | |
# Browser Caching | |
<IfModule mod_expires.c> | |
ExpiresActive On |
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
/** | |
* @title Solidity Snippets | |
* @author Alexander Schmidt | |
* @notice Smart Contract Bootcamp | |
*/ | |
/** | |
* Table of Content | |
* | |
* Constructor |
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
; This file lists the default values used by Gitea | |
; Copy required sections to your own app.ini (default is custom/conf/app.ini) | |
; and modify as needed. | |
; see https://docs.gitea.io/en-us/config-cheat-sheet/ for additional documentation. | |
; App name that shows in every page title | |
APP_NAME = My VCS | |
; Change it if you run locally | |
RUN_USER = git |
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 xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" > | |
<head> | |
<jdoc:include type="head" /> | |
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/template.css" type="text/css" /> | |
</head> | |
<body> | |
<jdoc:include type="message" /> | |
<jdoc:include type="component" /> | |
<jdoc:include type="modules" name="debug" /> |
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
// Dieser Smart Contract erstellt einen Token mit dem Namen "My Token", | |
// dem Symbol "MYT" und 18 Dezimalstellen. Die Gesamtmenge des Token | |
// wird auf 100000000 festgelegt und der Besitzer des Smart Contracts | |
// wird automatisch als Besitzer des Token gesetzt. | |
// Der Smart Contract enthält auch die Funktionen "transfer", "approve" | |
// und "transferFrom", die es ermöglichen, Token an andere Adressen zu | |
// senden, die Übertragung von Token zu genehmigen und Token von einer | |
// Adresse auf eine andere zu übertragen. |
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 lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Notification Test</title> | |
</head> | |
<body> | |
<button id="btn">Test</button> |
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 php files :: disallow direct access of file | |
# between <?php and ?> | |
defined('_JEXEC') or die; | |
# index.php :: define variable with application | |
# between <?php and ?> | |
$app = JFactory::getApplication(); | |
# index.php :: define variable with document | |
# between <?php and ?> |
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
startExternalMap() { | |
if (this.location.latitude) { | |
this.platform.ready().then(() => { | |
Geolocation.getCurrentPosition().then((position) => { | |
// ios | |
if (this.platform.is('ios')) { | |
window.open('maps://?q=' + this.location.name + '&saddr=' + position.coords.latitude + ',' + position.coords.longitude + '&daddr=' + this.location.latitude + ',' + this.location.longitude, '_system'); | |
}; | |
// android | |
if (this.platform.is('android')) { |
This file has been truncated, but you can view the full file.
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
123456 | |
password | |
12345678 | |
qwerty | |
123456789 | |
12345 | |
1234 | |
111111 | |
1234567 |
NewerOlder