Recent Posts

Recent Posts

Pages: 1 2 [3] 4
21
Hendri's Programing Notes / Lamp Stack Ubuntu
« Last post by admin on March 25, 2017, 10:17:55 am »
Code: [Select]
sudo apt-get install apache2
Code: [Select]
sudo apt-get install mysql-server
Code: [Select]
sudo apt-get install php5 libapache2-mod-php5
Code: [Select]
sudo service apache2 restart
Code: [Select]
sudo apt-get install php5-mysqlnd
Code: [Select]
sudo service apache2 restart
22
Hendri's Programing Notes / How do I install Netbeans on Ubuntu / Linux Mint ?
« Last post by admin on March 24, 2017, 10:06:39 am »
Code: [Select]
sudo apt-get install netbeans
23
Had this error when compiling freebasic code. ld: cannot find -lncurses

Code: [Select]
sudo apt-get install libncurses5-dev
This solved the problem.
24
Hendri's Programing Notes / 'tree' command installation on a Linux
« Last post by admin on March 22, 2017, 11:58:25 am »
By default the tree command is not installed. Type the following command to install the same on a RHEL / CentOS / Fedora Linux using
Code: [Select]
yum install treeIf you are using Debian / Mint / Ubuntu Linux, type the following apt-get command to install the tree command:
Code: [Select]
sudo apt-get install tree
Here is a list of all options supported by the tree program:
Quote
  -a            All files are listed.
  -d            List directories only.
  -l            Follow symbolic links like directories.
  -f            Print the full path prefix for each file.
  -i            Don't print indentation lines.
  -q            Print non-printable characters as '?'.
  -N            Print non-printable characters as is.
  -p            Print the protections for each file.
  -u            Displays file owner or UID number.
  -g            Displays file group owner or GID number.
  -s            Print the size in bytes of each file.
  -h            Print the size in a more human readable way.
  -D            Print the date of last modification.
  -F            Appends '/', '=', '*', or '|' as per ls -F.
  -v            Sort files alphanumerically by version.
  -r            Sort files in reverse alphanumeric order.
  -t            Sort files by last modification time.
  -x            Stay on current filesystem only.
  -L level      Descend only level directories deep.
  -A            Print ANSI lines graphic indentation lines.
  -S            Print with ASCII graphics indentation lines.
  -n            Turn colorization off always (-C overrides).
  -C            Turn colorization on always.
  -P pattern    List only those files that match the pattern given.
  -I pattern    Do not list files that match the given pattern.
  -H baseHREF   Prints out HTML format with baseHREF as top directory.
  -T string     Replace the default HTML title and H1 header with string.
  -R            Rerun tree when max dir level reached.
  -o file       Output to file instead of stdout.
  --inodes      Print inode number of each file.
  --device      Print device ID number to which each file belongs.
  --noreport    Turn off file/directory count at end of tree listing.
  --nolinks     Turn off hyperlinks in HTML output.
  --dirsfirst   List directories before files.
  --charset X   Use charset X for HTML and indentation line output.
  --filelimit # Do not descend dirs with more than # files in them.
25
Hendri's Programing Notes / SDCC - Small Device C Compiler
« Last post by admin on March 21, 2017, 09:41:20 pm »
Install SDCC on Mint/ Ubuntu
Code: [Select]
sudo apt-get install sdcc
26
Hendri's Programing Notes / Quickly Install in Linux Mint / Ubuntu
« Last post by admin on March 18, 2017, 10:50:47 am »
Installation

Code: [Select]
sudo apt-get install quickly quickly-ubuntu-template
Code: [Select]
sudo apt-get install build-essential ( I had to install this, i had some 'package' errors')

How to Get Started
0. Read the tutorial (optional):

$ quickly tutorial ubuntu-application
1. Create an Ubuntu project:

$ quickly create ubuntu-application foo
$ cd foo
When you run this first command (quickly create ubuntu-application foo), a window will pop up telling you you can run quickly design to start editing the default windows and dialogs. If you do this before changing directory to foo (cd foo) you'll get the following error:

No template were found on the command line for command glade.

Candidates template are: ubuntu-application

Aborting.

2. You can also try:

$ quickly edit

$ quickly design

$ quickly run
Use bash completion to get the available commands

3. How to play with package and release:

optional, but recommended to build first your package locally

$ quickly package
BE WARNED: the two following commands will connect to Launchpad. You need to have a Launchpad account and a PPA already created.

For quickly release, you also need a project on Launchpad to which you can bind your work, as well as keys set up:

$ quickly release
or

$ quickly share
27
Hendri's Programing Notes / Adobe PDF reader on Linux Mint 19.3
« Last post by admin on December 01, 2016, 05:59:17 pm »
Adobe PDF reader  on Linux Mint 19.3

Code: [Select]
sudo apt-get install libxml2:i386 gdebi-core
Code: [Select]
wget ftp://ftp.adobe.com/pub/adobe/reader/unix/9.x/9.5.5/enu/AdbeRdr9.5.5-1_i386linux_enu.deb
Code: [Select]
sudo apt-get install ./AdbeRdr9.5.5-1_i386linux_enu.deb

Code: [Select]
acroread
28
Hendri's Programing Notes / Thunderbird to open winmail.dat file
« Last post by admin on June 10, 2016, 10:17:46 am »
Attachments not present but winmail.dat file is there instead on Thunderbird
Tags:
Windows
E-mail
Often times when a sender sends attachments using Microsoft Outlook, the attachments do not show up on Thunderbird but instead show up as a winmail.dat file that is unreadable.
There is an add-on/extension to resolve this issue for Thunderbird, it's called LookOut.
To install the LookOut extension:

1. Open Thunderbird
2. Go to the Tools Menu and select "Add-ons" (If there is no menu bar, you could press Alt on your keyboard to make it appear)
3. When the Add-ons Manager tab opens, go to the upper right corner search bar and type "lookout"
4. Click "Install" then Click "Accept and Install..."
5. Click "Restart now" or close and reopen Thunderbird


After the installation is complete and Thunderbird is restarted LookOut should automatically display attachments properly.
29
Arduino Tech Talk / ATTINY with Adruino IDE
« Last post by admin on March 23, 2016, 05:38:25 pm »
The link to copy into "preferences" In the Arduino IDE

Code: [Select]
http://drazzy.com/package_drazzy.com_index.json
Connect the Arduino to the ATtiny as follows:

    Arduino +5V      --->  ATtiny Pin 8
    Arduino Ground --->  ATtiny Pin 4
    Arduino Pin 10   --->  ATtiny Pin 1
    Arduino Pin 11    --->  ATtiny Pin 5
    Arduino Pin 12    --->  ATtiny Pin 6
    Arduino Pin 13    --->  ATtiny Pin 7
30
Arduino Tech Talk / Hendri's Notes
« Last post by admin on March 21, 2016, 08:31:14 pm »
Code to read ATmega328p-pu with AVRDUDE in linux using the uno as arduino ISP as programmer.
Code: [Select]
avrdude -p m328p -P /dev/ttyACM0 -c STK500v1 -U flash:r:hendri.hex:r -b 19200
And this is to write the file back to a chip.
Code: [Select]
avrdude -p m328p -P /dev/ttyACM0 -c STK500v1 -U flash:w:hendri.hex:r -b 19200
Pages: 1 2 [3] 4