Skip to content

Instantly share code, notes, and snippets.

@parse
parse / shell.c
Created May 11, 2011 07:31
Simple shell in C
/* Compile with: g++ -Wall –Werror -o shell shell.c */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/wait.h>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Infinite slider</title>
<link rel="stylesheet" href="style.css" type="text/css" media="screen" />
</head>
<body>
<ul id="splash-nav-ul">
<li id="left-arrow"><a class="back" href="#" title="Previous">&lt;</a></li>
<?php
/**
* /iPhone webapp & Favicon
*/
if (!function_exists('xc1_favicon')) {
function xc1_favicon() {
if (file_exists ( CHILD_THEME_IMAGES_PATH . 'xc1-iphone.png' ))
$apple_icon = CHILD_THEME_IMAGES_URI . 'xc1-iphone.png';
else
$apple_icon = XC1_THEME_IMAGES_URI . 'xc1-iphone.png';