This file contains hidden or 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
<input type="checkbox" id="switchTheme"> | |
<label for="switchTheme"></label> |
This file contains hidden or 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 | |
$headers = getallheaders(); | |
header("Content-Type: application/json"); | |
header("Access-Control-Allow-Credentials: true"); | |
header("Access-Control-Allow-Origin: ".$headers["Origin"]); | |
$data = $_POST["value"]; | |
if (isset($data) && !empty($data)) { |
This file contains hidden or 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
#!/bin/bash | |
cd ~/Desktop/root/github/spaces.ru && npm start | |
git commit -a -m "$(date +"%x %T")" && git push | |
read | |
# Windows .bat | |
# cd %USERPROFILE%/Desktop/root/github/spaces.ru && npm start | |
# git commit -a -m "$(date +"%x %T")" && git push | |
# pause |
This file contains hidden or 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 DEBUG_TIME_LEVEL = { | |
"QUICKLY": 1, | |
"VERY_QUICKLY": 0, | |
"VERY_SLOWLY": 4, | |
"COMPREHENSIBLE": 2, | |
"SLOWLY": 3 | |
}; | |
var DEBUG_TIME_LEVEL_LC_NAME = { | |
"4": "very_slowly", | |
"1": "quickly", |
NewerOlder