1.Win10本月开始支持WSL2即将支持GPU和LinuxGui等
2.C语言调试的源码作用C语言调试器是如何工作的
3.Money spent on the brain is never spent in vain.
Win10本月开始支持WSL2即将支持GPU和LinuxGui等
此插件支持WSL 2容器映像甚至通过SSH的远程VM上的源代码进行远程开发因此,现在可以在受WSL 2支持的源码Linux分发版中创建项目文件夹,并使用安装在Windows 上的源码Visual Studio Code编辑器作为IDE它的功能包括全语言支持I。改进了单调的源码界面设计,任务管理器支持查看GPU温度并允许GPU显卡正确管理器视频内存,源码这也让视频播放更加流畅,源码树型结构源码新的源码设置页面等,我们都知道每一款系统或者软件都难免出现BUG错误,源码这一次微软同时还修复了大量已知错误。源码
WSL 1 和 WSL 2 之间的源码主要区别在于,在托管 VM 内使用实际的源码 Linux 内核支持完整的系统调用兼容性以及跨 Linux 和 Windows 操作系统的性能WSL2相比WSL1来说可以完美支持Docker与WSL1的模拟Linux API不同的是,WSL。源码Win NT端的源码WSL命令运行在NT的用户模式下,依靠Linux Session Manager Service管理Linux子系统这个Manager Service会通过容器服务启动Linux子系统,源码并调用init启动bash,源码随后将bash交给WSL命令,从而实现了Win和Linux的命令交互因。
运行以下命令行“DISPLAY=0 firefox”,注意0后面没有引号,是黑体部分不过需要注意的是,目前运行Linux程序并不顺畅,要比WinLinux原生应用慢得多,但比VNCX转换的要好得多动手能力强的开发者不妨一试。
注意如果我们不把docker集成到已有的wsl2的linux发行版如图,docker自己的发行版是没有bash如果有进入docker发行版shell的方法请大佬告知在power shell输入CMD 不支持将 UNC 路径作为当前目录最开始的想法是docker的。
cmd左上角右击属性就可以禁用,kwrite 源码之后重启就完美解决了。
目前似乎还不支持A卡,并且支持多个平台LinuxmacOS等等官网上说不支持Windows,但实际是可以跑的下面是Windows 上的部署过程小结Windows上用WSL来部署Linux的环境最为方便在Microsoft Store中搜索Ubuntu即可安装。
要完整的linux环境当然virtualbox wsl2不如VMwarevirtualbox wsl1很好,比如你只想用一下git,或写个脚本之类,wsl1起码比cygwinmsys2更快更稳更好用吧私货,wsl1下的debian很好。
WSL的改进 WSL Windows Subsystem for Linux即将Linux作为Windows子系统使用,可以在Windows上运行部分Linux软件,相当于 内置了一个Linux虚拟机 ,不用安装双系统来回切换了,对开发人员很方便此次版本的改进是将L。
而cygwin创建的则是Windows进程套个壳子,在运行configure脚本的时候,cygwin的性能是很差的而wsl性能很好另外wsl对linux是二进制兼容的可以直接执行linux elf,而cygwin却需要重新编译的。
命令行安装wireshark 安装过程中弹出设置框,选择 是 , 表示允许普通用户使用wireshark抓包 1将普通用户添加到wireshark组中将用户infuq添加到wireshark组2在etcprofile末尾增加两句 3启动 备注 不用忘记。
WiFiWireless Fidelity又称“行动热点”,是创建于IEEE标准的无线局域网的技术,基于两套系统的密切相关,有人把WiFi当做IEEE 标准的halo 源码同义术语WiFi由WiFi联盟成立于年,年月正式改名为。2确认“Windows Subsystem for LinuxBeta”功能为勾选状态 在开始菜单中搜索并打开“启用或关闭 Windows功能”,然后勾选其中的“Windows Subsystem for LinuxBeta”选项 启用WSL 3卸载linux子系统 打开命令提示符。
可以参考一下这篇博文Setting Up WSL with Graphics and Audio为Windows子系统设置图像和音频WSL does not natively support audio devices If you start Firefox under WSL, you will not hear anything Neither。
C语言调试的作用C语言调试器是如何工作的
C语言调试的作用,C语言调试器是如何工作的很多人还不知道,现在让我们一起来看看吧!
C语言调试器是如何工作的
当你用GDB 的时候,可以看到它完全控制了应用程序进程。当你在程序运行的时候用 Ctrl + C,程序的运行就能够终止,而GDB能展示它的当前地址、堆栈跟踪信息之类的内容。你知道C语言调试器是如何工作的吗?下面是小编为大家带来的关于C语言调试器是如何工作的的知识,欢迎阅读。
但是它们怎么不工作呢?
开始,让我们先研究它怎样才会不工作。它不能通过阅读和分析程序的二进制信息来模拟程序的运行。它其实能做,而那应该能起作用(Valgrind 内存调试器就是这样工作的),但是这样的话会很慢。Valgrind会让程序慢倍,但是GDB不会。它的ake 源码工作机制与Qemu虚拟机一样。
所以到底是怎么回事?黑魔法?……不,如果那样的话就太简单了。
另一种猜想?……?破解!是的,这里正是这样的。操作系统内核也提供了一些帮助。
首先,关于Linux的进程机制需要了解一件事:父进程可以获得子进程的附加信息,也能够ptrace它们。并且你可以猜到的是,调试器是被调试的进程的父进程(或者它会变成父进程,在Linux中进程可以将一个进程变为自己子进程:-))
Linux Ptrace API
Linux Ptrace API 允许一个(调试器)进程来获取低等级的其他(被调试的)进程的信息。特别的,这个调试器可以:
读写被调试进程的内存 :PTRACE_PEEKTEXT、PTRACE_PEEKUSER、PTRACE_POKE……
读写被调试进程的CPU寄存器 PTRACE_GETREGSET、PTRACE_SETREGS
因系统活动而被提醒:PTRACE_O_TRACEEXEC, PTRACE_O_TRACECLONE, PTRACE_O_EXITKILL, PTRACE_SYSCALL(你可以通过这些标识区分exec syscall、clone、exit以及其他系统调用)
控制它的执行:PTRACE_SINGLESTEP、PTRACE_KILL、PTRACE_INTERRUPT、PTRACE_CONT (注意,CPU在这里是单步执行)
修改它的信号处理:PTRACE_GETSIGINFO、PTRACE_SETSIGINFO
Ptrace是如何实现的?
Ptrace的实现不在本文讨论的范围内,所以我不想进一步讨论,只是tvbox源码简单地解释它是如何工作的(我不是内核专家,如果我说错了请一定指出来,并原谅我过分简化:-))
Ptrace 是Linux内核的一部分,所以它能够获取进程所有内核级信息:
读写数据?Linux有copy_to/from_user。
获取CPU寄存器?用copy_regset_to/from_user很轻松(这里没有什么复杂的,因为CPU寄存器在进程未被调度时保存在Linux的struct task_struct *调度结构中)。
修改信号处理?更新域last_siginfo
单步执行?在处理器出发执行前,设置进程task结构的right flag(ARM、x)
Ptrace是在很多计划的操作中被Hooked(搜索 ptrace_event函数),所以它可以在被询问时(PTRACE_O_TRACEEXEC选项和与它相关的),向调试器发出一个SIGTRAP信号。
没有Ptrace的系统会怎么样呢?
这个解释超出了特定的Linux本地调试,但是对于大部分其他环境是合理的。要了解GDB在不同目标平台请求的内容,你可以看一下它在目标栈里面的操作。
在这个目标接口里,你可以看到所有C调试需要的高级操作:
struct target_ops
{
struct target_ops *beneath;
/* To the target under this one. */
const char *to_shortname;
/* Name this target type */
const char *to_longname;
/* Name for printing */
const char *to_doc;
/* Documentation. Does not include trailing
newline, and starts with a one-line descrip-
tion (probably similar to to_longname). */
void (*to_attach) (struct target_ops *ops, const char *, int);
void (*to_fetch_registers) (struct target_ops *, struct regcache *, int);
void (*to_store_registers) (struct target_ops *, struct regcache *, int);
int (*to__breakpoint) (struct target_ops *, struct gdbarch *,
struct bp_target_info *);
int (*to__watchpoint) (struct target_ops *,
CORE_ADDR, int, int, struct expression *);
}
普通的GDB调用这些函数,然后目标相关的组件再实现它们。(概念上)这是一个栈,或者一个金字塔:栈顶的是非常通用的,比如:
系统特定的Linux
本地或远程调试
调试方式特定的(ptrace、ttrace)
指令集特定的(Linux ARM、Linux x)
那个远程目标很有趣,因为它通过一个连接协议(TCP/IP、串行端口)把两台“电脑”间的执行栈分离开来。
那个远程的部分可以是运行在另一台Linux机器上的'gdbserver。但是它也可以是一个硬件调试端口的界面(JTAG) 或者一个虚拟的机器管理程序(比如 Qemu),并能够代替内核和ptrace的功能。那个远程根调试器会查询管理程序的结构,或者直接地查询处理器硬件寄存器来代替对OS内核结构的查询。
想要深层次学习这个远程协议,Embecosm 写了一篇一个关于不同信息的详细指南。Gdbserver的事件处理循环在这,而也可以在这里找到Qemu gdb-server stub 。
总结一下
我们能看到ptrace的API提供了这里所有底层机制被要求实现的调试器:
获取exec系统调用并从调用的地方阻止它执行
查询CPU的寄存器来获得处理器当前指令以及栈的地址
获取clone或fork事件来检测新线程
查看并改变数据地址读取并改变内存的变量
但是这就是一个调试器的全部工作吗?不,这只是那些非常低级的部分……它还会处理符号。这是,链接源程序和二进制文件。被忽视可能也是最重要的的一件事:断点!我会首先解释一下断点是如何工作的,因为这部分内容非常有趣且需要技巧,然后回到符号处理。
断点不是Ptrace API的一部分
就像我们之前看到的那样,断点不是ptrace API的一部分。但是我们可以改动内存并获取被调试的程序信号。你看不到其中的相关之处?这是因为断点的实现比较需要技巧并且还要一点hack!让我们来检验一下如何在一个指定的地址设置一个断点。
1、这个调试器读取(ptrace追踪)存在地址里的二进制指令,并保存在它自己的数据结构中。
2、它在这个位置写入一个不合法的指令。不管这个指令是啥,只要它是不合法的。
3、当被调试的程序运行到这个不合法的指令时(或者更准确地说,处理器将内存中的内容设置好时)它不会继续运行(因为它是不合法的)。
4、在现代多任务系统中,一个不合法的指令不会使整个系统崩溃掉,但是会通过引发一个中断(或错误)把控制权交回给系统内核。
5、这个中断被Linux翻译成一个SIGTRAP信号,然后被发送到处理器……或者发给它的父进程,就像调试器希望的那样。
6、调试器获得信号并查看被调试的程序指令指针的值(换言之,是陷入 trap发生的地方)。如果这个IP地址是在断点列表中,那么就是一个调试器的断点(否则就是一个进程中的错误,只需要传过信号并让它崩溃)。
7、现在,那个被调试的程序已经停在了断点,调试器可以让用户来做任何他/她想要做的事,等待时机合适继续执行。
8、为了要继续执行,这个调试器需要 1、写入正确的指令来回到被调试的程序的内存; 2、单步执行(继续执行单个CPU指令,伴随着ptrace 单步执行); 3、把非法指令写回去(使得这个执行过程下一次可以再次停止) ;4、让这个执行正常运行
很整洁,是不是?作为一个旁观的评论,你可以注意到,如果不是所有线程同时停止的话这个算法是不会工作的(因为运行的线程可能会在合法的指令出现时传出断点)。我不会详细讨论GDB是如何解决这个问题的,但在这篇论文里已经说得很详细了:使用GDB不间断调试多线程程序。简要地说,他们把指令写到内存中的其他地方,然后把那个指令的指针指向那个地址并单步执行处理器。但是问题在于一些指令是和地址相关的,比如跳转和条件跳转……
处理符号和调试信息
现在,让我们回到信号和调试信息处理。我没有详细地学习这部分,所以只是大体地说一说。
首先,我们是否可以不使用调试信息和信号地址来调试呢?答案是可以。因为正如我们看到过的那样,所有的低级指令是对CPU寄存器和内存地址来操作的,不是源程序层面的信息。因此,这个到源程序的链接只是为了方便用户。没有调试信息的时候,你看程序的方式就像是处理器(和内核)看到的一样:二进制(汇编)指令和内存字节。GDB不需要进一步的信息来把二进制信息翻译成CPU指令:
(gdb) x/x $pc # heXadecimal representation
0xc: 0x 0x 0xf 0xfd
0xc: 0xa8ec 0x8b 0x8be 0x
0xc: 0x 0x
(gdb) x/i $pc # Instruction representation
=> 0xc: push %r
0xc: push %r
0xc: push %r
0xc: push %r
0xc: mov %rsi,%r
0xc6b: push %rbp
0xc6c: mov %edi,%ebp
0xc6e: push %rbx
0xc6f: sub $0x3a8,%rsp
0xc: mov (%rsi),%rdi
现在,如果我们加上调试信息,GDB能够把符号名称和地址配对:
(gdb) $pc
$1 = (void (*)()) 0xc
你可以通过 nm -a $file 来获取ELF二进制的符号列表:
nm -a /usr/lib/debug/usr/bin/ls.debug | grep " main"
c T main
GDB还会能够展示堆栈跟踪信息(稍后会详细说),但是只有感兴趣的那部分:
(gdb) where
#0 write ()
#1 0xde3 in _IO_new_file_write ()
#2 0xde4c in new_do_write ()
#3 _IO_new_do_write ()
#4 0xd in _IO_new_file_overflow ()
#5 0xbb in print_current_files ()
#6 0xb in main ()
我们现在有了PC地址和相应的函数,就是这样。在一个函数中,你将需要对着汇编来调试!
现在让我们加入调试信息:就是DWARF规范下的gcc -g选项。我不是特别熟悉这个规范,但我知道它提供的:
地址到代码行和行到地址的配对
数据类型的定义,包括typedef和structure
本地变量和函数参数以及它们的类型
$ dwarfdump /usr/lib/debug/usr/bin/ls.debug | grep ce4
0xce4 [, 0] NS
$ addr2line -e /usr/lib/debug/usr/bin/ls.debug 0xce4
/usr/src/debug/coreutils-8./src/ls.c:
试一试dwarfdump来查看二进制文件里嵌入的信息。addr2line也能用到这些信息:
很多源代码层的调试命令会依赖于这些信息,比如next命令,这会在下一行的地址设置一个断点,那个print命令会依赖于变量的类型来输出(char、int、float,而不是二进制或十六进制)。
最后总结
我们已经见过调试器内部的好多方面了,所以我只会最后说几点:
这个堆栈跟踪信息也是通过当前的帧是向上“解开(unwinded)”的($sp和$bp/#fp),每个堆栈帧处理一次。函数的名称和参数以及本地变量名可以在调试信息中找到。
监视点(<code>watchpoints)是通过处理器的帮助(如果有)实现的:在寄存器里标记哪些地址应该被监控,然后它会在那内存被读写的时候引发一个异常。如果不支持这项功能,或者你请求的断点超过了处理器所支持的……那么调试器就会回到“手动”监视:一个指令一个指令地执行这个程序,并检查是否当前的操作到达了一个监视点的地址。是的,这很慢!
反向调试也可以这样进行,记录每个操作的效果,并反向执行。
条件断点是正常的断点,除非在内部,调试器在将控制权交给用户前检查当前的情况。如果当前的情况不满足,程序将会默默地继续运行。
还可以玩gdb gdb,或者更好的(好多了)gdb --pid $(pid of gdb),因为把两个调试器放到同一个终端里是疯狂的:-)。还可以调试系统:
qemu-system-i -gdb tcp::
gdb --pid $(pidof qemu-system-i)
gdb /boot/vmlinuz --exec "target remote localhost:"
Money spent on the brain is never spent in vain.
1,æºåæèµç»ä¸ä¼ç½è±
è±è¯å人åè¨- ç¾æèµæ- è±è¯å¦ä¹ - ç ´éæ²è: æºç ä¸è½½,ç´ æä¸è½½,为 ...
/forum/viewtopic.php?t=
3,ç¨äºæè²çé±ç»ä¸æ¯èæ·.
æ¯æ¥ä¸å¥
/s/html/-/.htm
4,æºåä¸çæèµç»é浪费ã
LCES READER EZ GO | å人è°è¯åè¨å½PartM
e to the kingdom which God has given thee for such a time as this, when there is need of thee and all that thou hast?
Next, notice that the servants of God--whether called ministers or not,- those who are really so, are stewards because they are under the Masterâs near command. An ordinary servant in Godâs house may take his orders from the steward, but the steward takes no order from anybody but the Master; and hence, he is in an evil case, and the household is in an evil case, too, if he does not often resort to the Master, if he does not distinctly recognize his position as an underling of his Master, and if he does not so keep up his daily fellowship with the Master that he himself knows the Masterâs mind, and is able to communicate it to his fellow-servants.
The real steward is one who has been appointed to the position; and if he is not appointed, why, he has no right to be a steward at all! Things go right when there is no absentee landlord, but when the great Master is always close at hand, and the steward constantly goes to him with an account of all his work. The steward keeps his masterâs stores, and sees that they are not wasted; but he takes care also to magnify his masterâs liberality by seeing that none of the household know any want. I have known some who pretended to be stewards of Christ who evidently did not understand the business.
First, give an account of the stewardship of thy time. How hast thou spent it? Have not many hours been allowed to run to waste, or worse than waste, in frivolity and sin? Hast thou lived as a dying man should live? Hast thou employed thine hours as remembering that they are very few, and more precious than the diamonds in an emperorâs crown? What about thy time? Has there not been much of it spent in indolence, in frothy talk, or that did not minister to edification? Thou needest not accuse thyself for time spent in lawful recreation that may sustain thy body, and fit it better for the Lordâs service.
But, after all, to every man, whether he be rich, or whether he be in the office of the ministry, there may be a close of his stewardship before he dies. The mother has her little children swept away one after another; this is the message to her, âThou mayest be no longer steward.â The teacher has his class scattered, or he is himself unable to go to the school; the word to him also is, âThou mayest be no longer steward.â The man who went to his work, who might have spoken to his fellow-workman, is removed, perhaps to another land, or he is placed in a position where his mouth is shut; now he can be no longer steward. Use all opportunities while you have them, catch them on the wing, serve God while you can today! today! today! today! Let each golden moment have its pressing service rendered unto God, lest it should be said to thee, âThou mayest be no longer steward.â
Now, as Peter found this prayer so suitable for him, I commend it to each one of you. Have; you been growing rich lately? Then, you will be tempted to become proud and worldly; so pray, âLord, save me from the evils that, so often go, with riches; thou art giving me this wealth, help me to be a good steward of it, and not to make, an idol of it.â Or are you getting poor? Is your business proving a failure? Are your little savings almost gone? Well, there are perils connected with poverty; so pray, âLord, save me from becoming envious or discontented; let me be willing to be poor rather than do anything wrong in order to get money.â
First, a steward is a servant, and no more. Perhaps he does not always remember this; and it is a very pitiful Business when the servant begins to think that he is âmy lord.â It is a pity that servants when honored by their master should be so apt to give themselves airs. How ridiculous Jack-inoffice makes himself! I do not refer now to butlers and footmen, but to ourselves. If we magnify ourselves, we shall become contemptible, and we shall neither magnify our office nor our Lord. We are the servants of Christ, and not lords over his heritage.
My friend, keep money in thy purse: âIt is one of Solomonâs proverbs,â said one; another answered that it was not there. âThen,â said Kit Lancaster, âit might have been, and if Solomon had ever known the miss of a shilling he would have said it seven times over.â I think that he does say as much as this in substance, if not in so many words, especially when he talks about the ant; but be that how it may, be sure of this, that a pound in the pocket is as good as a friend at court, and rather better; and if ever you live to want what you once wasted, it will fill you with woe enough to last you to your grave. He who put a pound of butter on a gridiron, not only lost his butter, but made such a blaze as he wonât soon forget: foolish lavishness leads to dreadful wickedness, so John Ploughman begs all his mates to fight shy of it, and post off to the Post Office Savingsâ Bank. âFor age and want save while you may; No morningâs sun lasts all the day.â Money is not the chief thing, it is as far below the grace of God and faith in Christ as a ploughed field is below the stars; but still, godliness hath the promise of the life that now is; as well as of that which is to come, and he who is wise enough to seek first the kingdom of God and his righteousness, should also be wise enough to use aright the other things which God is pleased to add unto him.
âBlessed shall be thy basket and thy storeâ Deuteronomy :5 Obedience brings a blessing on all the provisions which our industry earns for us. That which comes in and goes out at once, like fruit in the basket which is for immediate use, shall be blest; and that which is laid by with us for a longer season shall equally receive a blessing. Perhaps ours is a handbasket portion. We have a little for breakfast, and a scanty bite for dinner in a basket when we go out to do our work in the morning. This is well, for the blessing of God is promised to the basket. If we live from hand to mouth, getting each dayâs supply in the day, we are as well off as Israel; for when the Lord entertained His favored people He Only gave them a dayâs manna at a time. What more did they need? What more do we need? But if we have a store, how much we need the Lord to bless it! For there is the care of getting, the care of keeping, the care of managing, the care of using; and, unless the Lord bless it, these cares will eat into our hearts, till our goods become our gods, and our cares prove cankers. O Lord, bless our substance. Enable us to use it for thy glory. Help us to keep worldly things in their proper places, and never may our savings endanger the saving of our souls.
Donât put all your eggs into one basket. It is unwise to risk all that you have in any one concern. If you have any savings, put them in several places. The marine form of this saying is: âDo not ship all your goods in one vessel.â
Many can get money; few can use it well. Even to keep it is not easy. Many of the silliest investments have been made by men who, in their own business, were shrewd to the highest degree. It is harder to weave than to gather wool.
Many save their silver, but lose their souls. Many a manâs soul has been ruined by his great love of money, although he had but little money to love.
Money borrowed is soon sorrowed. He that lends it begins to sorrow, even if the borrower does not; for, in general, he may mourn that he has parted from it to meet no more.
Money burns many. They are injured by their wealth. Some by bribes are burned; for when moneyâs taken, Freedomâs forsaken.
Money calls, but does not stay; It is round and rolls away. It makes the mill to go, but it goes faster than the mill-wheel. It is no more to be kept in the purse than snow in an oven; at least, so I find it. But why should we wish it to stay? It is the circulating medium! why should we detain it? If it rests it rusts. Let it go about doing good.
Money gained on Sabbath-day is a loss, I dare to say. No blessing can come with that which comes to us, on the devilâs back, by our willful disobedience of Godâs law. The loss of health by neglect of rest, and the loss of soul by neglect of hearing the gospel, soon turn all seeming profit into real loss.
Money gilds over guilt. Money is said to be a composition for taking out stains in character; but, in that capacity, it is a failure. Those characters which can be thus gilded must surely be of the gingerbread order.
Money has no blood relations. There is no friendship in business. Sad that this should be a proverb in any land, but so it is. The Chinese say: âThough brothers are closely akin, it is each for himself in money matters.â They also say: âTop and bottom teeth sometimes come into awkward collision.â So little power has relationship in the savage customs of business that, in some instances, one hand would skin the other, if it could make a profit by it.
Money is a good servant, but a bad master. Even as a servant it is not easy to keep it in due subordination. If âmoney makes dogs dance,â it makes men proud. If we make money our god, it will rule us like the devil.
Money is often lost for want of money. It is so when men cannot get their rights, from inability to pay legal charges. Yet if one had plenty of cash, it would not be wise to throw away good money after bad, Money is the best bait to fish for man with. He bites greedily at a gold or silver bait: but is the creature which is thus taken worth the catching? He who can be bought, I think is worth nought.
Money is the servant of the wise, and the master of fools. Money makes money. The goose that lays the golden eggs likes to lay where there are eggs already; perhaps because it is a goose. The lard comes to the fat; hog. Capital grows by interest, or by wise use it brings in profit, and thus increases.
Money is moneyâs brother. âIf riches increase, set not your heart upon them.â â Psalm :. Money makes the mare to go and the dog to dance. Pecuniae obediunt omnia.â All things obey money.â This saying comes from the Latin, but it is true in English. A little palm oil will gain entrance where nothing else will do it. Officials are greatly mollified when their hands are, crossed with silver. In a more allowable sense, a good wife would be happier and more active if her allowance could be increased. If she has too little money to keep house upon, it takes the âgoâ out of her. Money often unmakes the men who make it. It has a defiling and degrading power over the mind which thinks too much of it. âMoney and men a mutual falsehood show; Men make false money; money makes men so.â
Money speaks more powerfully than eloquence. Too often, because the speaker is a rich man he commands attention, and secures the approbation of persons who see no sound sense spoken by one who has no money bags. This is very well put in the following verse: â The man of means is eloquent: Brave, handsome, noble, wise; All qualities with gold are, sent, And vanish where it flies.
Money spent on the brain is never spent in vain. Pour your money into your brain, and you will never lose it all. Education is such a gain, that it is worth all that it costs, and more. Yet some fellows learn nothing in the schools. Many a father, when his son returns from the University, might say, âI put in gold into the furnace, and there came out this calf.â
Money will make the pot boil, though the devil should pour water on the fire. But such fuel is not to be depended on. We need something better than mere money to keep our pot a-boiling. Such boiling is apt to scald a man sooner or later.
Money wins where merit fails. It is a pity it should be so; but, with worldly minds, to be rich is to be good. This vulgar error is long in dying. âThe boy in yellow wins the day.â Canaries are still the favorite birds.
A hammer of gold will not open the gate of heaven. Money opens many of the gates of earth, for bribery is rife; but it has no power in the world to come. Money is more eloquent than ten members of parliament, but it cannot prevail with the Great Judge.
Better a purse empty than full of other menâs money. Gaining riches by chicanery is drawing down a curse upon ourselves. Honorable poverty is infinitely to be preferred to dishonest wealth, or to large indebtedness. In the Telugu we read: âA cupful of rice-water without debt is enough.â
Do good with your money, or it will do you no good. There is no power in it of itself to do real good to you. It may even do you evil; but, if used for God and his cause, and the poor, it will bless yourself.
æ»åèï¼
/search?num=&hl=zh-CN&newwindow=1&q=Money+spent+on+the+brain+is+never+spent+in+vain.&lr=