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
| //https://habr.com/post/213515/ | |
| // This works on all devices/browsers, and uses IndexedDBShim as a final fallback | |
| var indexedDB = window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB || window.shimIndexedDB, | |
| IDBTransaction = window.IDBTransaction || window.webkitIDBTransaction || window.msIDBTransaction, | |
| baseName = "baseName", | |
| storeName = "storeName"; | |
| function logerr(err){ | |
| console.log(err); |
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
| <html> | |
| <head> | |
| <title>Realtime Chat</title> | |
| <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> | |
| <script src="https://code.jquery.com/jquery-2.2.4.min.js"></script> | |
| <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script> | |
| <style> | |
| .message-bubble | |
| { | |
| padding: 10px 0px 10px 0px; |
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 os | |
| import pandas | |
| import json | |
| import re | |
| from collections import OrderedDict | |
| import plotly.graph_objects as go | |
| import chart_studio.plotly as py | |
| from bs4 import BeautifulSoup | |
| import yaml |
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
| cd ../../Program/ | |
| ls | |
| cd controllers/ | |
| ls | |
| cat Program.php | |
| ls | |
| cd /home/mza/Documents/Pro/IndoAcro/data/core/ | |
| ls | |
| cd .. | |
| ls |
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 java.util.ArrayList; | |
| import java.util.Arrays; | |
| import java.util.Collections; | |
| import java.util.HashMap; | |
| import java.util.Vector; | |
| // args [0],[1] : index[row][col] for start postion !! value must be -1 | |
| // args [2],[3] : index[row][col] for goal postion !! value must be > 0 | |
| // but in test case, sometimes its not work for best minimum , see mark TODO |
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 | |
| if(sizeof($argv)==1){ | |
| echo "params can't be empty\n"; | |
| echo "php create.php <function>\n"; | |
| new Help("help"); | |
| return; | |
| } | |
| switch ($argv[1]){ | |
| case "modules": |
NewerOlder