Download the installer from any of the links below.
It includes both the compiler(gcc) and IDE.
#include <stdio.h> | |
#include <stdlib.h> | |
#include <time.h> | |
#include <string.h> | |
#include <unistd.h> | |
#include <pthread.h> | |
/* | |
use the pthread flag with gcc to compile this code | |
~$ gcc -pthread dining_philosophers.c -o dining_philosophers |
// MIT License | |
// Copyright (c) 2022 Navin Mohan | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights | |
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
// copies of the Software, and to permit persons to whom the Software is | |
// furnished to do so, subject to the following conditions: |
# /etc/apt/apt.conf | |
Acquire::http::Proxy "http://mec:mec@192.168.0.4:3128"; |
#------------------------------------------------------------------------------# | |
# OFFICIAL DEBIAN REPOS | |
#------------------------------------------------------------------------------# | |
###### Debian Main Repos | |
deb http://deb.debian.org/debian/ stable main contrib non-free | |
deb-src http://deb.debian.org/debian/ stable main contrib non-free | |
deb http://deb.debian.org/debian/ stable-updates main contrib non-free | |
deb-src http://deb.debian.org/debian/ stable-updates main contrib non-free |
# Python 3 | |
import numpy as np | |
from PIL import Image | |
from io import BytesIO | |
from IPython import display | |
def split_test_train(dataset,percent): | |
'''Randomly splits the data set into test and train sets''' |
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.