Working in Linux 02: Jtext2code–Use Python to make a QR code generator

Sometimes, I need copy some links or text from computer to my smart phone.  It’s such a bad experience to type all of the contents by myself. So I made a tool  in Linux called “Jtext2code”, which  can  generate a QR code according to the text you choose. Use your smart phone application like Scanner to scan the picture generated, you can get the information you choose easily.

test

Let’s build this.
继续阅读“Working in Linux 02: Jtext2code–Use Python to make a QR code generator”

Solution for the Error “*** is not in the sudoers file. This incident will be reported. “

On the Raspbian system, when I created a new user with the commands
#useradd gang
There is no directory named “gang” under the home directory. When I login as a user (gang) and want to use the sudo command to create a main directory for myself, I saw the error “gang is not in the sudoers file. This incident will be reported. ” This error implies that I have to edit the sudoers file to give myself the privilege to use sudo. To have the root privilege, I need to do as follows.
继续阅读“Solution for the Error “*** is not in the sudoers file. This incident will be reported. “”

Linux下使用Keil MDK 开发TM4C123G LaunchPad

Using Keil MDK develop TM4C123G LaunchPad in LinuxMint

Linux下有原生的Code Composer Studio (CCS)可以开发德州仪器的TM4C123G LaunchPad,用起来也很方便。但是我自己在edx上面上了一门课程叫做 “Embedded System –Shape the World”。课程用的是Keil集成开发环境。然而Keil没有Linux的版本,在上课的时候我是用Virtual Box 虚拟了一个Windows XP完成了课程。课程结束之后我参考网络上一些博文结合自己的经验,实现了利用wine安装keil,并成功编译代码,烧写到LaunchPad中。

继续阅读“Linux下使用Keil MDK 开发TM4C123G LaunchPad”

编译含.eps图片的Tex文件时遇到的问题

One solution of “Package pdftex.def Error: File ‘eps-converted-to.pdf’ not found

The problem:
In Textstudio, when I compile a  tex file including a .eps file, I meet  a error like this:
Error:  ! Package pdftex.def Error: File `P_ba_at_t-eps-converted-to.pdf’ not found.
Here is one solution I found from web. MichaelChirico answered this question. The answer is as follows.

继续阅读“编译含.eps图片的Tex文件时遇到的问题”

LinuxMint安装教程

1.Linux–简介

Linux操作系统是Unix操作系统的一种克隆系统,它能运行主要的Unix工具软件、应用程序和网络协议。它支持32位和64位硬件。Linux继承了Unix以网络为核心的设计思想,是一个性能稳定的多用户网络操作系统。它诞生于1991 年的 10 月5 日,以后借助于Internet网络,并通过全世界各地计算机爱好者的共同努力,已成为今天世界上使用最多的一种类Unix操作系统,并且使用人数还在迅猛增长。

2.LinuxMint–安装过程

首先将USB制作成LinuxMint的启动盘,插入电脑,重新启动电脑并连续按F12(不同电脑的按键不同), 如无意外将出现如下图:

继续阅读“LinuxMint安装教程”