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 settings = { | |
"url": "https://website.local:8443/api/event-checkin", | |
"method": "POST", | |
"timeout": 0, | |
"headers": { | |
"username": "usename", | |
"password": "password", | |
"Content-Type": "application/json" | |
}, | |
"data": JSON.stringify({ |
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
insert into `subModel` (`catalog_id`, `name`) values ('1', 'CCC'), ('2', 'GS'), ('3', 'SX'), ('4', 'GL'), ('10', 'Home,cc') on duplicate key update `catalog_id` = values(`catalog_id`), `name` = values(`name`) |
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
npm install -g psd-cli | |
You can then use it by typing in your terminal | |
psd myfile.psd -t | |
This will create myfile.txt, containing all text extracted from each PSD layer with the layer structure attached. | |
https://nodejs.org/en/ | |
https://www.npmjs.com/package/psd-cli |
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
Download mariabd zip for win 10 | |
https://mariadb.org/download/?t=mariadb&p=mariadb&r=11.3.2&os=windows&cpu=x86_64&pkg=zip&m=bkns | |
Installing MariaDB Windows ZIP Packages | |
Users need to run mysql_install_db.exe, without parameters to create a data directory, e.g | |
C:\zip_unpack\directory> bin\mysqld_install_db.exe | |
Then you can start server like this |
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
Save backup |
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
#include <Arduino.h> | |
#include <EEPROM.h> | |
const int EEPROM_SIZE = 512; // EEPROM size in bytes | |
const int MAX_STRING_LENGTH = 50; // Maximum string length | |
void setup() { | |
Serial.begin(115200); | |
EEPROM.begin(EEPROM_SIZE); // Initialize EEPROM | |
} |
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 | |
/* | |
* Template Name: Template-return-png | |
* Description: A Page Template with a darker design. | |
*/ | |
$database64 = ''; | |
if(isset($_GET['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 | |
//every page need login | |
//not page of /free | |
//http://myweb.com/free | |
//http://myweb.com/free/page1 | |
//http://myweb.com/free/page2.... | |
function _nok_force_user_login() { | |
global $wp; |
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 | |
class TextUtil { | |
public static function sanitize($title) { | |
$replacement = '-'; | |
$map = array(); | |
$quotedReplacement = preg_quote($replacement, '/'); | |
$default = array( | |
'/à|á|ạ|ả|ã|â|ầ|ấ|ậ|ẩ|ẫ|ă|ằ|ắ|ặ|ẳ|ẵ|À|Á|Ạ|Ả|Ã|Â|Ầ|Ấ|Ậ|Ẩ|Ẫ|Ă|Ằ|Ắ|Ặ|Ẳ|Ẵ|å/' => 'a', | |
'/è|é|ẹ|ẻ|ẽ|ê|ề|ế|ệ|ể|ễ|È|É|Ẹ|Ẻ|Ẽ|Ê|Ề|Ế|Ệ|Ể|Ễ|ë/' => 'e', | |
'/ì|í|ị|ỉ|ĩ|Ì|Í|Ị|Ỉ|Ĩ|î/' => 'i', |
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
vietnam | |
translate.google.com/translate_tts?ie=UTF-8&q=%C4%83n%20n%C3%AAn%20l%C3%A0m%20ra&tl=vi&total=1&idx=0&textlen=15&tk=350535.255567&client=webapp&prev=input | |
eng | |
translate.google.com/translate_tts?ie=UTF-8&q=This%20is%20a%20test.&tl=en&total=1&idx=0&textlen=15&tk=350535.255567&client=webapp&prev=input |
NewerOlder