Posts

Showing posts from November 24, 2018

Dynamic-like Express routing for dynamic-object to print

Image
up vote 0 down vote favorite I'm sending an object back to express that needs to be printed via escpos (for a thermal printer on Ubuntu 18). My front end server is react. I need to print 'receipts' for information that can be of a variety of object after the first set of variables date name customer name customer phone [array of objects] I can create a route for the first set of vars router.post('/printer/:date/:name/:custName/:custPhone/', function(req,res,next) { But is it possible to add to that route dynamically for object that can be various such as: type: 'pizza', drinks : '2' or extra : 'garlic bread' I current send the data back like this in the front end: axios.post('/api/printer/' + newDate + '/' + userName + '/' + selectedCustomerName + '/' + selectedCustomerPhone) I've considered posting such as this: axios.post('/api/printer', name : userName, date : newDate, customerN

N-甲基-D-天門冬胺酸受體

Image
NMDA ( 英语 : NMDA ) 穀氨酸 一個NMDA受體的示意圖。麩胺酸鹽會與麩胺酸鹽結合位結合,而甘胺酸會與甘胺酸結合位結合。而會造成抑制受體活性的異位並沒有被佔據。NMDA受體需要有兩分子麩胺酸鹽或天門冬胺酸,與兩分子甘胺酸進行結合 [1] 。 N-甲基-D-天門冬胺酸受體 ( 英语: N-methyl-D-aspartate receptor ,簡稱 NMDA受體 或 NMDAR )為麩胺酸鹽受體,是一個主要的分子裝置,控制突觸的可塑性與記憶功能 [2] 。 NMDA受體是一種離子型麩胺酸鹽受體的特別型態。NMDA( N -甲基-D-天門冬胺酸)是一種選擇性致效劑,可以與NMDA受體結合,但是無法和其他麩胺酸鹽受體結合。NMDA受體的結合,會導致離子通道非選擇性地開啟,使陽離子通過,進而使平衡電位改變至接近0毫伏特。NMDA受體進行活化,必須依賴電壓,這會導致離子通道會阻擋細胞外的Mg 2+ 與Zn 2+ 離子通過,並允許Na + 離子與少量Ca 2+ 離子流入細胞,以及使K + 離子流出細胞,並保持電壓的依賴性 [3] [4] [5] [6] 。 參見 中西重忠 沼正作 參考文獻 ^ Laube B, Hirai H, Sturgess M, Betz H, Kuhse J. Molecular determinants of agonist discrimination by NMDA receptor subunits: analysis of the glutamate binding site on the NR2B subunit. Neuron. 1997, 18 (3): 493–503. PMID 9115742 . doi:10.1016/S0896-6273(00)81249-0 .   ^ Li F, Tsien JZ. Memory and the NMDA receptors. N. Engl. J. Med. 2009, 361 (3): 302–3. PMC 3703758 . PMID 19605837 . doi:10.1056/NEJMcibr0902052 .   ^ Dingledine R, Borges K, Bowie D, Traynelis SF. The glutamate recepto