由买买提看人间百态

topics

全部话题 - 话题: mypath
1 (共1页)
l******9
发帖数: 579
1
I need to transfer a tar.gz file (2.6 GB) from a Linux server to my laptop (
win 7).
I have installed cygwin on my desktop.
On the linux server, I used scp:
scp myUserName@linux-server:/mypath/myFile.tar.gz myUserName@my-desktop/
mypath
But, the command did not have and response.The same problem happened if I
used scp to copy to my laptop.
When I used scp on my win7 laptop with cygwin openssh:
scp myUserName@linux-server:/mypath/myFile.tar.gz myUserName@my-laptop/
mypath
I got:
ssh: connect to h... 阅读全帖
l******9
发帖数: 579
2
【 以下文字转载自 JobHunting 讨论区 】
发信人: light009 (light009), 信区: JobHunting
标 题: transfer a tar.gz file from Linux server to win7 desktop
发信站: BBS 未名空间站 (Fri Nov 14 22:42:50 2014, 美东)
I need to transfer a tar.gz file (2.6 GB) from a Linux server to my laptop (
win 7).
I have installed cygwin on my desktop.
On the linux server, I used scp:
scp myUserName@linux-server:/mypath/myFile.tar.gz myUserName@my-desktop/
mypath
But, the command did not have and response.The same problem happened if I
used scp to ... 阅读全帖
l******9
发帖数: 579
3
【 以下文字转载自 JobHunting 讨论区 】
发信人: light009 (light009), 信区: JobHunting
标 题: transfer a tar.gz file from Linux server to win7 desktop
发信站: BBS 未名空间站 (Fri Nov 14 22:42:50 2014, 美东)
I need to transfer a tar.gz file (2.6 GB) from a Linux server to my laptop (
win 7).
I have installed cygwin on my desktop.
On the linux server, I used scp:
scp myUserName@linux-server:/mypath/myFile.tar.gz myUserName@my-desktop/
mypath
But, the command did not have and response.The same problem happened if I
used scp to ... 阅读全帖
l******9
发帖数: 579
4
【 以下文字转载自 JobHunting 讨论区 】
发信人: light009 (light009), 信区: JobHunting
标 题: transfer a tar.gz file from Linux server to win7 desktop
发信站: BBS 未名空间站 (Fri Nov 14 22:42:50 2014, 美东)
I need to transfer a tar.gz file (2.6 GB) from a Linux server to my laptop (
win 7).
I have installed cygwin on my desktop.
On the linux server, I used scp:
scp myUserName@linux-server:/mypath/myFile.tar.gz myUserName@my-desktop/
mypath
But, the command did not have and response.The same problem happened if I
used scp to ... 阅读全帖
n*****w
发帖数: 1325
5
☆─────────────────────────────────────☆
bluemoss (猫鱼) 于 (Tue Oct 4 21:44:26 2011, 美东) 提到:
明明知道是胡编乱造的,还是被赚掉好多眼泪。
看后感觉就是若羲就是在那里作,害人害己,典型的琼瑶戏女主角。好在大妈我
现在年纪一把,不会再中琼瑶戏的毒了------爱情就是这样苦逼,充满了drama
不过当年没迷上霹雳虎,二十年后倒是因为这出戏很喜欢老吴了
☆─────────────────────────────────────☆
qianqian (芊芊) 于 (Wed Oct 5 00:32:03 2011, 美东) 提到:
握手.当年小虎队我最喜欢的是乖乖虎苏有朋.可现在看着那身板. 只能长叹一声,美人
迟暮,帅哥发福,人生长恨啊

☆─────────────────────────────────────☆
bluemoss (猫鱼) 于 (Wed Oct 5 00:41:46 2011, 美东) 提到:
恩,娃娃脸男老了是比较悲催。老吴脸上虽然添了沧桑,却别有... 阅读全帖
l******9
发帖数: 579
6
I need to access read a csv file located in a server from python 3.2 on win7.
The file name is
csv_file =
file_loc = '\serverName.myCompanyName.com\mypath\Files\myfile.csv'
with open(file_loc , 'r') as csv_file # error !!!
csv_reader = csv.reader(csv_file, delimiter=',')
error:
IOError: [Errno 2] No such file or directory: '\serverName.myCompanyName
.com\mypath\Files\myfile.csv'
But, I can access the folder and open the file from win 7 .
Thanks
t*****s
发帖数: 124
7
来自主题: DotNet版 - Powershell dot sourcing question.
解决依赖问题在PowerShell 2.0里可以用Module
可参考 http://msdn.microsoft.com/en-us/library/dd878310(v=vs.85).aspx
如果非要用dot source的话,在A.ps1里加入
$myPath = Split-Path -Path $MyInvocation.MyCommand.Definition -Parent
. $myPath/relativePathToB/B.ps1
l********s
发帖数: 358
8
来自主题: Programming版 - 问C++文件路径的问题
比如我有个叫Project的文件夹,里面有程序的可执行文件exec和数据文件夹data。
当我运行程序 $ ./exec, 程序会从data文件夹的文件比如data0.txt读相应的数据。
我的想法是如果我在source code里面给出相对的路径,比如./data/data0.txt,这样
我直接运行./exec时可以找到data0.txt,因为运行exec的当前文件夹和data相同。但
是如果我用perl来调用程序exec时,./就变成了perl文件所在的路径,就找不到我要的
文件。
但我又不想改成绝对路径,因为我希望我把程序copy到其他机器上也可以运行。我想到
的解决办法是给个environment variable比如叫$MYPATH,在程序运行前把$MYPATH改为
数据文件的绝对路径。
但我还是觉得麻烦,有没有办法在exec运行可以提取到exec运行的绝对路径,不管我是
直接运行或者用script,这样我就有办法得到数据文件的绝对路径?
thx!!!
l******9
发帖数: 579
9
【 以下文字转载自 JobHunting 讨论区 】
发信人: light009 (light009), 信区: JobHunting
标 题: error of opening a file located in a remote server from pyton
发信站: BBS 未名空间站 (Sun Jul 27 19:03:52 2014, 美东)
I need to access read a csv file located in a server from python 3.2 on win7.
The file name is
csv_file =
file_loc = '\serverName.myCompanyName.com\mypath\Files\myfile.csv'
with open(file_loc , 'r') as csv_file # error !!!
csv_reader = csv.reader(csv_file, delimiter=',')
error:
IOError: [Err... 阅读全帖
w*s
发帖数: 7227
10
来自主题: Programming版 - Angular ng-include not working
1./mypath/status.html works fine, it sends "testJson" to node server, then
displays data to the webpage
2. now i have /mypath/index2.html, which ng-include status.html, it won't
trigger "testJson" in the server code
i'll put more details
l******9
发帖数: 579
11
【 以下文字转载自 JobHunting 讨论区 】
发信人: light009 (light009), 信区: JobHunting
标 题: error of opening a file located in a remote server from pyton
发信站: BBS 未名空间站 (Sun Jul 27 19:03:52 2014, 美东)
I need to access read a csv file located in a server from python 3.2 on win7.
The file name is
csv_file =
file_loc = '\serverName.myCompanyName.com\mypath\Files\myfile.csv'
with open(file_loc , 'r') as csv_file # error !!!
csv_reader = csv.reader(csv_file, delimiter=',')
error:
IOError: [Err... 阅读全帖
l******9
发帖数: 579
12
【 以下文字转载自 JobHunting 讨论区 】
发信人: light009 (light009), 信区: JobHunting
标 题: error of opening a file located in a remote server from pyton
发信站: BBS 未名空间站 (Sun Jul 27 19:03:52 2014, 美东)
I need to access read a csv file located in a server from python 3.2 on win7.
The file name is
csv_file =
file_loc = '\serverName.myCompanyName.com\mypath\Files\myfile.csv'
with open(file_loc , 'r') as csv_file # error !!!
csv_reader = csv.reader(csv_file, delimiter=',')
error:
IOError: [Err... 阅读全帖
l******9
发帖数: 579
13
I would like to load data from a txt file (9 KB) to SQL IBM netezza database
in Aginity workbench.
After creating the table:
I right-clicked the table and go to "import data" tab and chose "comma" as
field delimiter and skip the first row for the header in the file.
The SQL query is:
INSERT INTO username.my_table // the table has 12 columns and all are
characters
SELECT * FROM
EXTERNAL 'C:\mypath\my_file.txt'
USING
(
DELIMITER ','
LOGDIR 'C:\temp'
Y2BASE 2000
ENCODING 'internal'
SKIP... 阅读全帖
o**********e
发帖数: 18403
14
【 以下文字转载自 CivilSociety 讨论区 】
发信人: onetiemyshoe (onetiemyshoe), 信区: CivilSociety
标 题: Honor Our Friends (V): Iowan Governor Robert D. Ray
发信站: BBS 未名空间站 (Fri Jul 25 11:03:41 2014, 美东)
For his effort in welcoming Vietnamese boat people
(including Vietnamese Chinese refugees), to the state of Iowa,
we honor Iowan Governor Robert D. Ray.
http://www.iptv.org/iowapathways/mypath.cfm?ounid=ob_000348
Earlier Series:
Celebrate our Friends and our Heroes
http://www.mitbbs.com/article_t/CivilSociety/6127... 阅读全帖
o**********e
发帖数: 18403
15
【 以下文字转载自 CivilSociety 讨论区 】
发信人: onetiemyshoe (onetiemyshoe), 信区: CivilSociety
标 题: Honor Our Friends (V): Iowan Governor Robert D. Ray
发信站: BBS 未名空间站 (Fri Jul 25 11:03:41 2014, 美东)
For his effort in welcoming Vietnamese boat people
(including Vietnamese Chinese refugees), to the state of Iowa,
we honor Iowan Governor Robert D. Ray.
http://www.iptv.org/iowapathways/mypath.cfm?ounid=ob_000348
Earlier Series:
Celebrate our Friends and our Heroes
http://www.mitbbs.com/article_t/CivilSociety/6127... 阅读全帖
o**********e
发帖数: 18403
16
【 以下文字转载自 CivilSociety 讨论区 】
发信人: onetiemyshoe (onetiemyshoe), 信区: CivilSociety
标 题: Honor Our Friends (V): Iowan Governor Robert D. Ray
发信站: BBS 未名空间站 (Fri Jul 25 11:03:41 2014, 美东)
For his effort in welcoming Vietnamese boat people
(including Vietnamese Chinese refugees), to the state of Iowa,
we honor Iowan Governor Robert D. Ray.
http://www.iptv.org/iowapathways/mypath.cfm?ounid=ob_000348
Earlier Series:
Celebrate our Friends and our Heroes
http://www.mitbbs.com/article_t/CivilSociety/6127... 阅读全帖
m****h
发帖数: 41
17
来自主题: LeisureTime版 - Re: 半随流水,半入尘埃
谢谢妹妹青眼--如果想转我的原帖,只要注明作者是“影入平羌 mypath” 就可。如
果要转那两篇散文,作者名字已在上面了,只要注明转载就可以。再次谢谢妹妹鉴赏。
l*****d
发帖数: 7963
18
来自主题: Poetry版 - [合集] 醉西风
☆─────────────────────────────────────☆
shot (野水横木) 于 (Thu Oct 6 18:36:27 2011, 美东) 提到:
悲来忽饮三百盅,
魂轻影孤半身空。
开匣取长剑,
愁深劈不中。
满眼草木衰,
一山秋意浓。
百鸟尽飞去,
独吾醉西风。
风吹芦花白,
霜染秋叶红。
红叶舞秋山,
墨客独凭栏。
栏外荒坟葬枯骨,
栏内残灯照白颜。
皆是寂寞身,
孤帆入冥间。
照例云横浪乱。
一把新尘埃,
全是旧恩怨。
酒醒心更寒。
☆─────────────────────────────────────☆
shot (野水横木) 于 (Thu Oct 6 19:24:47 2011, 美东) 提到:
改了又改,古文不熟悉,写起来忒费劲。

☆─────────────────────────────────────☆
ladyred (落红万点,好运名:小旺红) 于 (Thu Oct 6 19:34:32 2011, 美东) 提到:
不错啊,赞愁深劈不中。
☆─────────────────────────... 阅读全帖
l******9
发帖数: 579
19
【 以下文字转载自 JobHunting 讨论区 】
发信人: light009 (light009), 信区: JobHunting
标 题: error of importing data from txt file to IBM netezza SQL database
发信站: BBS 未名空间站 (Fri Nov 21 14:55:51 2014, 美东)
I would like to load data from a txt file (9 KB) to SQL IBM netezza database
in Aginity workbench.
After creating the table:
I right-clicked the table and go to "import data" tab and chose "comma" as
field delimiter and skip the first row for the header in the file.
The SQL query is:
INSERT INTO username.my_table... 阅读全帖
b******n
发帖数: 592
20
来自主题: Programming版 - 问C++文件路径的问题
you mean MYPATH??? PATH is definitely not what he wants
l******9
发帖数: 579
21
【 以下文字转载自 JobHunting 讨论区 】
发信人: light009 (light009), 信区: JobHunting
标 题: error of importing data from txt file to IBM netezza SQL database
发信站: BBS 未名空间站 (Fri Nov 21 14:55:51 2014, 美东)
I would like to load data from a txt file (9 KB) to SQL IBM netezza database
in Aginity workbench.
After creating the table:
I right-clicked the table and go to "import data" tab and chose "comma" as
field delimiter and skip the first row for the header in the file.
The SQL query is:
INSERT INTO username.my_table... 阅读全帖
a********t
发帖数: 1810
22
来自主题: Statistics版 - 我这个VBA里的SQL 错哪儿了?
两张sheets,一个名子是wageclean,一个是shift.我在shift上create一个VBA,错误是:
run-time error'-2147217904(80040e10)'
Automation Error
code:
Sub Shift()

Dim mySQL As String, i As Long
Dim mycnn As ADODB.Connection
Dim rs As New ADODB.Recordset

Application.ScreenUpdating = False
myPath = ThisWorkbook.Path

'*******************connection to ODBC
Range("A1:F65536").ClearContents
Set mycnn = CreateObject("adodb.connection")
mycnn.Open ("provider=microsoft.jet.oledb.4.0;exten... 阅读全帖
o**********e
发帖数: 18403
23
For his effort in welcoming Vietnamese boat people
(including Vietnamese Chinese refugees), to the state of Iowa,
we honor ex Iowan Governor Robert D. Ray.
http://www.iptv.org/iowapathways/mypath.cfm?ounid=ob_000348
Earlier Series:
Celebrate our Friends and our Heroes
http://www.mitbbs.com/article_t/CivilSociety/6127.html
Honor our heroes (II): 西雅图华人陈宜禧 (转载)
http://www.mitbbs.com/article_t/Boston/31718411.html
Honor Our Heroes (III): Danny from Boston
http://www.mitbbs.com/article_t/CivilSociety... 阅读全帖
1 (共1页)