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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>LostKeyGuard-primary — Wiki</title> | |
| <script src="https://cdn.jsdelivr.net/npm/marked@11.0.0/marked.min.js"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/mermaid@11/dist/mermaid.min.js"></script> | |
| <style> |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>vindecoder — Wiki</title> | |
| <script src="https://cdn.jsdelivr.net/npm/marked@11.0.0/marked.min.js"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/mermaid@11/dist/mermaid.min.js"></script> | |
| <style> |
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
| <div style="font-family: Arial; font-weight: bold; font-size: 12px;"> | |
| <form name="decode" id="decode" action="http://www.decodethis.com/vin_decoded.aspx"> | |
| <span style="color: #b43616;">Decode Any Car VIN Here</span><br /> | |
| <input id="vin" type="text" value="" name="vin" size="13" style="border: solid 1px gray; background-color: #eee;"/> | |
| <input type="submit" value="Go!" /> | |
| <br /> | |
| <span style="font-size: 10px; color: #9e2f13;">Free Decoder by <a href="http://www.decodethis.com" title="Decode This!">Decode This!</a> | |
| </span> | |
| </form> | |
| </div> |
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
| # Takes a string and matches the value portion of the JSON. | |
| # The block then searches for any double quotes and replaces them with a blank string | |
| my_str = "{ \"key\" : \"value \"3\" is here\"}" | |
| puts my_str.gsub(/(:)\s+\"(?<str>.+)\"/){|m| ": \"#{$~[:str].gsub('"','')}\""} |
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 | |
| $url = 'http://api.vinvault.com/api/decodes.json'; | |
| $data = array('vin' => '1D7RB1CT8AS203937', 'auth_token' => 'RLBVPvj8riQmRuPzcT'); // Replace with your token | |
| // use key 'http' even if you send the request to https://... | |
| $options = array( | |
| 'http' => array( | |
| 'header' => "Content-type: application/x-www-form-urlencoded\r\nAccept: application/vnd.vindata.v1\r\n", | |
| 'method' => 'POST', | |
| 'content' => http_build_query($data), |