Gayan Weerakutti

 Ask Ubuntu General Room

Normally: General discussion around Ask Ubuntu, Ubuntu & offic...
Apr 22, 2018 06:53
SOME_VAR="${SOME_VAR:-$(rbenv root)}"
Apr 22, 2018 06:53
what does this command do?
Apr 22, 2018 06:52
RBENV_ROOT="${RBENV_ROOT:-$(rbenv root)}"
May 18, 2017 12:56
I want to know the value of key: browser.download.importedFromSqlite in firefox config
May 18, 2017 12:55
Anyone here have debian or may be firefox-esr?
Dec 10, 2016 12:54
@terdon Oops you right missing S on https.
Dec 10, 2016 12:46
but always get different stripped output when running from script
Dec 10, 2016 12:45
nope. btw it is simple as $ curl -vk localhost:8080/api/v1/projects
Dec 10, 2016 12:43
@terdon yup. you probably right. I get different outputs when on the terminal and when running from script
Dec 10, 2016 12:14
What'd be the easiest way to write and execute sequence of curl commands in a script? I did write a bash script, but it didn't print the curl response.
Sep 9, 2016 13:02
Didn't knew that 'please copy <Name>' means to email somebody the same copy of that email
Sep 9, 2016 12:59
@ByteCommander ohh just figured it out. Thanks anyway
Sep 9, 2016 12:55
ok.
Sep 9, 2016 12:53
@ByteCommander can you help me with some English please? : )
Sep 9, 2016 12:30
Special thanks to AskUbuntu and all the Unixes
Sep 9, 2016 12:29
SE at WSO2
Sep 9, 2016 12:28
Voila! Got selected for internships.. Yay : )
 
Feb 23, 2016 15:20
thanks.. I gotta go
Feb 23, 2016 15:20
it's maybe an driver issue which i have no idea about
Feb 23, 2016 15:19
sudo usb_modeswitch -I -c /etc/usb_modeswitch.d/12d1:1505 -R
Feb 23, 2016 15:19
and output of this
Feb 23, 2016 15:19
cat /etc/usb_modeswitch.d/12d1:1505
Feb 23, 2016 15:19
You may include
Feb 23, 2016 15:19
that would really help others
Feb 23, 2016 15:19
you'd better update your question with the above outputs
Feb 23, 2016 15:18
oops! that's all I can help :(
Feb 23, 2016 15:17
now lsusb
Feb 23, 2016 15:16
what did you get?
Feb 23, 2016 15:15
sudo usb_modeswitch -I -c /etc/usb_modeswitch.d/12d1:1505 -R
Feb 23, 2016 15:14
sudo usb_modeswitch -I -c 12d1\:1505 -R
Feb 23, 2016 15:14
ok great now
Feb 23, 2016 15:13
sudo usb_modeswitch -I -c 12d1\:1505 -R
Feb 23, 2016 15:13
then
Feb 23, 2016 15:11
replace the content and save the file
Feb 23, 2016 15:11
sudo gedit /etc/usb_modeswitch.d/12d1:1505
Feb 23, 2016 15:10
edit it with the content
Feb 23, 2016 15:10
OK try this for the last time
Feb 23, 2016 15:08
cat /etc/usb_modeswitch.d/12d1:1505
Feb 23, 2016 15:04
again
Feb 23, 2016 15:04
usb_modeswitch -v 0x12d1 -p 0x1505 -V 0x12d1 -P 0x140b -M "55534243123456780000000000000011062000000100000000000000000000" -R
Feb 23, 2016 15:04
just plug on different port then run
Feb 23, 2016 15:03
I dont think so. did you try different port
Feb 23, 2016 14:57
thats enough
Feb 23, 2016 14:57
faster.. :D
Feb 23, 2016 14:57
just paste the output here
Feb 23, 2016 14:56
lsusb
Feb 23, 2016 14:54
copy and paste as single command
Feb 23, 2016 14:53
usb_modeswitch -v 0x12d1 -p 0x1505 -V 0x12d1 -P 0x140b -M "55534243123456780000000000000011062000000100000000000000000000" -R
Feb 23, 2016 14:53
paste this