Download the VM Ware Player bundle from here.
VM Ware requires the build tools to compile it's kernel modules. So let's install them.
import java.awt.*; | |
import java.awt.event.*; | |
import java.applet.Applet; | |
public class SimpleCalc extends Applet{ | |
private Label xInputLabel,yInputLabel; | |
private Label statusLabel; | |
private Panel xInputPanel; |
import java.util.Scanner; | |
import java.util.regex.Matcher; | |
import java.util.regex.Pattern; | |
import java.io.*; | |
public class WordCount{ | |
public static void main(String[] args) { |
Download the VM Ware Player bundle from here.
VM Ware requires the build tools to compile it's kernel modules. So let's install them.
A quick guide on installing and setting up debian.
You can download the Debian ISO image from the official debian website. It's available for download over HTTP, FTP and BitTorrent. The 64-bit CD version should work on most systems, get the DVD image if you need more packages preinstalled.
To install Debian on a VM, create a new VM and choose the downloaded Debian ISO file as the start-up disk. The VM should boot up with the installation screen.
#!/bin/bash | |
if [ -e ~/.nvm/nvm.sh ]; then | |
. ~/.nvm/nvm.sh | |
fi | |
if [ -e ~/.profile ]; then | |
. ~/.profile | |
fi | |
if [ -e ~/.bashrc ]; then | |
. ~/.bashrc |
#!/bin/bash | |
cat << EOF > ~/src | |
deb [arch=amd64] http://mirror.cse.iitk.ac.in/debian/ jessie main contrib non-free | |
deb-src [arch=amd64] http://mirror.cse.iitk.ac.in/debian/ jessie main contrib non-free | |
deb [arch=amd64] http://mirror.cse.iitk.ac.in/debian/ jessie-updates main contrib non-free | |
deb-src [arch=amd64] http://mirror.cse.iitk.ac.in/debian/ jessie-updates main contrib non-free | |
deb [arch=amd64] http://security.debian.org/ jessie/updates main contrib non-free |
#include <Joystick.h> | |
Joystick_ Joystick(JOYSTICK_DEFAULT_REPORT_ID, | |
JOYSTICK_TYPE_MULTI_AXIS, 32, 0, | |
false, false, false, false, false, false, | |
true, true, false, false, false); // only rudder and throttle | |
const int rudderPin = A1; | |
const int throttlePin = A2; |
#include <iostream> | |
#include <stack> | |
using namespace std; | |
class bracket_matcher: public stack<char>{ | |
public: | |
bracket_matcher(): stack<char>() { matching = 1;} | |
void push_bracket(const char &arg){ |
/* | |
Automatic Plant Watering System Using Soil Moisture Sensor | |
------------------------------------------------------------- | |
This is an Arduino based Plant watering system that uses a soil moisture sensor | |
to monitor the garden soil and automatically water the plants when the moisture | |
level falls below a threshold value. The minimum moisture level can be set using | |
a Potentiometer. | |
Arduino Pin Config: | |
-> A0 : The analog output from the moisture sensor |