Skip to content

Instantly share code, notes, and snippets.

View TheBITLINK's full-sized avatar
🤔
working, maybe

TheBITLINK aka BIT TheBITLINK

🤔
working, maybe
View GitHub Profile
@TheBITLINK
TheBITLINK / .bashrc
Created October 16, 2016 19:08
.bashrc
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '
@TheBITLINK
TheBITLINK / Latest Uploaded Image
Last active August 29, 2015 14:21
This PHP script displays the last image uploaded to the server, simply. When somebody uploads an image, the next visitor (or person who reloads the page) will see that image. It was made Just For Fun, and you can do anything with the code.
<?php
$html = '<!DOCTYPE html>
<html>
<head>
<title>Latest Uploaded Image</title>
<meta charset="utf-8">
<meta property="og:title" content="Latest Uploaded Image" />
<meta property="og:type" content="website" />
<meta property="og:description" content="It shows the last image uploaded.
Upload your own image and give a surprise to the next visitor." />