conda env export > environment_droplet.yml
This file has been truncated, but you can view the full file.
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
const communes = | |
[ | |
{ | |
"id": "010201", | |
"administrative_unit": { | |
"name_km": "ឃុំ", | |
"name_latin": "Khum", | |
"name_en": "Commune" | |
}, | |
"name_km": "បន្ទាយនាង", |
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
const districts = | |
[ | |
{ | |
"id": "0102", | |
"administrative_unit": { | |
"name_km": "ស្រុក", | |
"name_latin": "Srok", | |
"name_en": "District" | |
}, | |
"name_km": "មង្គលបូរី", |
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
const provinces = | |
[ | |
{ | |
"id": "01", | |
"administrative_unit": { | |
"name_km": "ខេត្ត", | |
"name_latin": "Khaet", | |
"name_en": "Province" | |
}, | |
"name_km": "បន្ទាយមានជ័យ", |
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
/// closure in javascript | |
// using parentheses | |
{ | |
const value = 0 | |
} | |
//console.log(value); | |
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 utility = ['pink bag','pink book','pink pen','pink shirt','pink shoe']; | |
var shop = [{'shopname':'aa shop','sell':'pink bag','price':30000,'distance':2},{'shopname':'bb shop','sell':'pink shirt','price':10000,'distance':3},{'shopname':'cc shop','sell':'pink shoe','price':15000,'distance':1},{'shopname':'dd shop','sell':'pink skirt','price':25000,'distance':0.5}] | |
var how ={'grab':5000,'own motor':2000}; | |
var moneyihave = 50000; | |
var findperfectgift = async(moneyihave)=>{ | |
findshop(moneyihave,(whatshop,whattobuy,moneyileft)=>{ | |
findhow(moneyileft,(moneytopay,howigo)=>{ |
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
print("Please, give your module name") | |
x = input() | |
print("insert 1 to use default directory, 2 to use your custom addon directory") | |
y = input() | |
if int(y) == 1: | |
print("Command to create the module. * Copy and paste in cmd - run cmd as administration") | |
directory = r"C:\Users\User\Desktop\custom_addons" | |
command = "\"C:\Program Files (x86)\Odoo 12.0\python\python.exe\""+" \"C:\Program Files (x86)\Odoo 12.0\server\odoo-bin\""+ " scaffold " + x | |
print(command + f' "{directory}"') | |
else: |