Friday, February 26, 2016

Install Adobe Flash Player Plugin on Firefox [OpenSUSE]

Go to:
https://get.adobe.com/flashplayer/

Select Version to download from the list. I picked:
.rpm for other linux

Choose one click install

Done!

ImportError: No module named [OpenSUSE]

ImportError when importing Tkinter in Python:



 sudo zypper  install python-tk

Thursday, February 18, 2016

Core Courses CS NMSU

INSERT INTO `tbl_core_courses` (`id`, `department_id`, `subj`, `crse`, `credit`, `title`) VALUES
(127, 1, 'CS', 510, 3, 'AUTOMATA, LANG, COMP'),
(128, 1, 'CS', 550, 3, 'COMPLEXITY THEORY'),
(129, 1, 'CS', 570, 3, 'ANALYSIS OF ALGORITHMS'),
(130, 1, 'CS', 571, 3, 'OPERATING SYSTEMS 2'),
(131, 1, 'CS', 572, 3, 'ADVANCED ALGORITHMS'),
(132, 1, 'CS', 573, 3, 'ARCHITECTURAL CNCPT 2'),
(133, 1, 'CS', 574, 3, 'OPERATING SYSTEMS 2'),
(134, 1, 'CS', 575, 3, 'ARTIFICIAL INTLGNCE II'),
(135, 1, 'CS', 580, 3, 'COMPILER CONSTRUCTION'),
(136, 1, 'CS', 581, 3, 'ADV SOFTWARE ENGR'),
(137, 1, 'CS', 582, 3, 'DATABASE MGT SYST II'),
(138, 1, 'CS', 584, 3, 'COMPUTER NETWORKS II'),
(139, 1, 'CS', 586, 3, 'ALGORITHMIC SYSTEMS BIOLOGY');

Project Backup code

%clingo 0 -c length=4 q5.lp
%clingo 0 test.lp
semesters(1..2).
course(1..3).

available(cs574).
available(cs518).
available(cs579).
available(cs581).
available(cs582).
available(cs584).

taken(cs518).
taken(cs584).

cantake(A) :- available(A), not taken(A). %see the difference between :- and :

2{can(A): cantake(A)}3.

#show can/1.



Wednesday, February 10, 2016

Connect VPN Client on OpenSUSE

Once you install the vpnsetup.sh file using the following command:
sudo sh yoursetupfile.sh

your vpn software will be installed on the following location:
/opt/cisco

Now, navigate to:
/opt/cisco/anyconnect/bin

Open Terminal and Enter the following command:
 ./vpn connect vpn.nmsu.edu

Then you'll see the following screen:
Cisco AnyConnect Secure Mobility Client (version 3.1.04072) .

Copyright (c) 2004 - 2013 Cisco Systems, Inc.  All Rights Reserved.


  >> state: Disconnected
  >> state: Disconnected
  >> notice: Ready to connect.
  >> registered with local VPN subsystem.
  >> contacting host (vpn.nmsu.edu) for login information...
  >> notice: Contacting vpn.nmsu.edu.

  >> Connection Banner
  >> ©2014 NMSU Board of Regents

  >> Please enter your myNMSU username and password.
    0) NMSU
    1) NMSU-Full
    2) banner
Group: [NMSU]

Enter NMSU as a group.

Then, you'll be asked to enter username. Enter your nmsu username
Then, finally enter your nmsu password and you're done.

If you want to check if the connection is established, enter the following command again
 ./vpn connect vpn.nmsu.edu

and you'll see:
Cisco AnyConnect Secure Mobility Client (version 3.1.04072) .

Copyright (c) 2004 - 2013 Cisco Systems, Inc.  All Rights Reserved.


  >> state: Connected
  >> state: Connected
  >> notice: Connected to Not Available.
  >> registered with local VPN subsystem.
  >> contacting host (vpn.nmsu.edu) for login information...
  >> state: Connected
  >> state: Connected

Install .sh file on Opensuse

1. Download the .sh file
2. Navigate to the location where .sh file is located
3. Type the following command:

sudo sh yoursetupfile.sh

Now you're done!