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
//pragma solidity 0.5.17; | |
pragma experimental ABIEncoderV2; | |
contract Context { | |
// Empty internal constructor, to prevent people from mistakenly deploying | |
// an instance of this contract, which should be used via inheritance. | |
constructor () internal { } | |
// solhint-disable-previous-line no-empty-blocks | |
function _msgSender() internal view returns (address payable) { |
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
// https://github.com/muaz-khan/RecordRTC | |
/* | |
<!-- recommended --> | |
<script src="https://www.WebRTC-Experiment.com/RecordRTC.js"></script> | |
<!-- use 5.6.2 or any other version on cdnjs --> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/RecordRTC/5.6.2/RecordRTC.js"></script> | |
<!-- NPM i.e. "npm install recordrtc" --> |
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 | |
/* | |
Author: Gkiokan Sali | |
Date: 2020-10-23 | |
Comment: This is a working updated Facebook Provider for the Laraval Package Socialite. | |
It inherits the new changes on the User Image Endpoint and returns the new full User Image path | |
according to the new specs of fb with an access_token. | |
https://developers.facebook.com/docs/facebook-login/access-tokens#clienttokens | |
https://developers.facebook.com/docs/graph-api/reference/user/picture/ |
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 | |
/* | |
Author: Gkiokan Sali | |
Web: https://gkiokan.net | |
Date: 11.08.2020 | |
Comments: | |
Use Google Geocoding API in Laravel | |
but it can be extracted to any other PHP Application, too. | |
It has also helper functions that can help others, too. | |
*/ |
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
/* | |
Author: Gkiokan Sali | |
Date: 02.01.2020 | |
Notes: Utility for Vue JS functions, used as this.$util.{functionName} | |
*/ | |
import Vue from 'vue' | |
import moment from 'moment' | |
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
var recognition = new webkitSpeechRecognition(); | |
recognition.lang = 'de'; //Sprache auf Deutsch festlegen | |
recognition.continuous = true; | |
recognition.interimResults = true; | |
//recognition.onstart = function() { recognizing = true; }; | |
//recognition.onerror = function(event) { console.log(event.error); }; | |
//recognition.onend = function() { recognizing = false; }; | |
recognition.onresult = function (event) { |
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 mix = require('laravel-mix'); | |
require('laravel-mix-merge-manifest'); | |
const VuetifyLoaderPlugin = require('vuetify-loader/lib/plugin'); | |
mix.setPublicPath('../../public').mergeManifest(); | |
mix.js(__dirname + '/Resources/assets/src/main.js', 'modules/web/app.js') | |
.sass( __dirname + '/Resources/assets/sass/app.scss', 'modules/web/app.css'); |
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 | |
/* | |
Gist: PHP Token Generator v2 | |
Author: Gkiokan Sali | |
Date: 2019-05-24 | |
Description: Generate a unique token with a special format. | |
*/ | |
namespace App\Utils; |
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
/* | |
Autoload all current vue files as component and register them by their name. | |
--- | |
Author: Gkiokan Sali | |
Date: 2019-05-09 | |
*/ | |
import Vue from 'vue' | |
const requireContext = require.context('./', false, /.*\.vue$/) |
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 | |
/* | |
File: WP Custom Columns Extension | |
Author: Gkiokan Sali | |
Date: 25.07.2018 | |
*/ | |
class CustomColumn { |