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
// Create database: | |
use database | |
// Create a collection by insering some thing in it: | |
db.testCollection.insert({"test":"test"}) | |
show dbs | |
// LIst Data Base | |
show collections |
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
Class PANDA_decode { | |
var $PANDA_TR = - 1; | |
var $PANDA_TG = - 1; | |
var $PANDA_TB = - 1; | |
var $PANDA_TI = 0; | |
var $PANDA_buffer = Array(); | |
var $PANDA_arrays = Array(); | |
var $PANDA_delays = Array(); | |
var $PANDA_dispos = Array(); | |
var $PANDA_stream = ""; |
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
from os import path as ospath | |
from sys import path as syspath | |
# moving the path outside of the current dir | |
syspath.insert(1, ospath.join(syspath[0], '..')) | |
import module | |
# Or just in a specific parent directory in the sup folder: | |
# import sys | |
# sys.path.insert(0, '../module/') |
OlderNewer