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
// On the basis: https://forum.unity.com/threads/export-obj-while-runtime.252262/ | |
// How to use: | |
// Put file to Assets/Editor folder | |
// then select GameObject -> Export selected objects | |
// in Unity's main panel. | |
using UnityEngine; | |
using UnityEditor; | |
using System.Collections; | |
using System.Collections.Generic; |
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 | |
/** | |
* Book ID on loveread.ec | |
* For example, for | |
* http://loveread.ec/read_book.php?id=2555&p=1 | |
* ID is 2555. | |
* | |
* @param int $id | |
*/ | |
public function getFromLoveread(int $id) { |
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 | |
// Related SO disscussion: | |
// https://stackoverflow.com/questions/52348483/pdo-mysqli-memory-leak-on-multiple-select-queries | |
$dbParams = [ | |
'host' => 'localhost', | |
'dbname' => 'playground', | |
'username' => 'homestead', | |
'password' => 'secret', | |
]; |
NewerOlder