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
import axios, { AxiosPromise, AxiosRequestConfig } from 'axios' | |
import { URL } from 'consts' | |
import { ApiResponse } from '__src/types/api' | |
const cancelTokens = {} | |
// ==================================== | |
// Interceptors | |
// ==================================== | |
axios.interceptors.request.use((requestConfig: AxiosRequestConfig) => { |
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
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\Console] | |
"ColorTable00"=dword:000c0c0c | |
"ColorTable01"=dword:00da3700 | |
"ColorTable02"=dword:000ea113 | |
"ColorTable03"=dword:00dd963a | |
"ColorTable04"=dword:001f0fc5 | |
"ColorTable05"=dword:00981788 | |
"ColorTable06"=dword:00009cc1 |
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 | |
ADDR="192.168.1.9" # Replace with your traccar server address | |
PORT="5055" # Replace this with the port of your traccar server | |
ID="1234" # Replace this with your chosen traccar id | |
UPDATE="5" # Update interval | |
while [ true ] | |
do | |
{ echo "?WATCH={"enable":true}"; sleep 1; echo "?POLL;"; sleep 1; } | telnet 127.0.0.1 2947 2> /dev/null 1> gpsgrab-dump |
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 | |
/** | |
* Example usage (using jQuery): | |
* var url = "/path/mantisconnect_json.php?name=mc_project_get_issues&project_id=0&page_number=1&per_page=10"; | |
* $.getJSON(url, function(data) { | |
* $.each(data, function() { | |
* console.log(data.id + ': ' data.summary); | |
* }); | |
* }); | |
*/ |