Posts

office365 - How do i create an account to access the MS Graph API? -

i need access ms graph apis hit basic apis , need create account. have created free business account through https://www.office.com/ not have access mail box, calendar, contacts. need create separate account? or objects available in paid version? chaitanya, if have office 365 account can use microsoft graph api data in account. can start accessing basic set of requests using microsoft graph api explorer: https://graph.microsoft.io/en-us/graph-explorer . list of request can try in overview documentation: https://graph.microsoft.io/en-us/docs/overview/overview . after can register own app programmatic access data.

php - Two forms submit to the same controller update action in Laravel -

i have 2 form updating users table. each form update different columns , routes following: route::get('users/preferences', 'auth\authcontroller@pref'); route::get('users/profile/{id}/edit', 'auth\authcontroller@edit'); route::patch('users/profile/{id}', 'auth\authcontroller@update'); both form actions route: users/profile/{id} is there way can identify form submitted , therefore can apply validate or manipulate data before inserting? note: not need id in preferences because used current logged in id in case. public function pref() { return view('pages.users.pref'); } public function edit(user $id) { return view('pages.users.edit')->with('profile', $id); } public function update(request $request, user $id) { // want know of best way know form submitted /* if(this from) else */ return redirect('users/profile/'.$id->userid); } if ha...

amazon web services - ansible ec2 ami module not working time out -

i'm trying implement playbook dealing amazon ec2 . came part want create new image( used role ), here did: --- - debug: msg="{{ id_image }}" - ec2_ami: instance_id: "{{ id_image }}" name: azzouz wait: no region: "{{ aws_region }}" tags: project: "{{ project }}" register: image i tried specifiy timeout 900 , it's still not working. changed wait: no , i'm still dealing same problem, here last part of error: ... return self._sslobj.read(len)\nssl.sslerror: read operation timed out\n", "module_stdout": "", "msg": "module failure", "parsed": false} could please me. you don't have set wait: no . use syntax , work. - ec2_ami: aws_access_key: xxxxxxxxxxxxxxxxxxxxxxx aws_secret_key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx instance_id: i-xxxxxx wait: yes name: newtest tags: name: newtest serv...

html - CSS - form not well formatted on CPanel -

Image
im adding form website. when working on computer looks want when update on server gets unformated. this want like and how looks when on-line code i've tried: html subscreve nossa mailing list nome e-mail <div class="clear mc-field-group"><input type="submit" value="subscrever" name="subscribe" id="mc-embedded-subscribe" class="button "></div> <div id="mce-responses" class="clear "> <div class="response" id="mce-error-response" style="display:none"></div> <div class="response" id="mce-success-response" style="display:none"></div...

Voicemail using Twilio and Android -

i have implement functionality of voicemail using twilio. possible implement voicemail functionality using twilio? our twilio call working don't have idea how implement voicemail functionality. twilio developer evangelist here. you absolutely can use twilio implement voicemail. you'll want using twiml verb <record> records messages person on phone . it might best check out tutorial on phone screening , voicemail twilio voice , might give idea how update existing twilio setup. let me know if helps @ all.

html - white-space:nowrap expands div? -

i made code in css div .name width of 75% text truncate if doesn't fit. when resize window text stays same , whole site falls apart. this code: <tr> <td class="check_td"><input type="checkbox" name="products" value="<?php echo $row['id']; ?>"</td> <td class="product_td"> <div class="product"> <div class="thumbnail"> <img class="img" src="<?php echo $row['img_path'].'/'.$row['img_name']; ?>"> </div> <div class="name"> <?php echo $row['product_name']; ?> // problem </div> <div class="list"> <ul> <li>prodavač: <a href="" style="color:black;"><strong><?ph...

javascript - I want to keep on storing and displaying the result I am getting from mysql -

i not expert @ php newbie not sure do.what trying keep on saving result getting textbox this textbox , shirt,color , price result getting table , keep on displaying on page. picture textbox attached. want keep on storing new result table , keep displaying old one. hope clear trying do. code has 3 files main file products.php has following code <!doctype html> <html> <head> <title>products</title> <p> scan barcode of product </p> <link href="mystyle.css" rel="stylesheet"> </head> <body> <input type="text" name="enter" required id="item" style="text-align:centre" placeholder=" barcode id" autofocus /> <div id="item-data"></div> <script src="js/jquery-2.2.0.min.js"></script> <!--jquery link--> <script src="js/global.js"></script> ...