• Forum has been upgraded, all links, images, etc are as they were. Please see Official Announcements for more information

Allowed File Types for Attachments?

GreenRaccoon23

New member
What kinds of files are we allowed to attach in the forums? I'm sure there's a list somewhere on here, but I can't find it.

I ask because I was hoping to create some scripts for the guides I've posted to make cpuminer and sgminer installation easier.
 
No you cannot upload a script file. What you can do is use the upload code option like so:
There are many languages other than the three that are shown. I'll make a post later on how to do this.

PHP:
<html>
<head>
  <title>PHP Test</title>
</head>
<body>
<?php echo '<p>Hello World</p>'; ?>
</body>
</html>

HTML:
<!DOCTYPE html PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML>
   <HEAD>
      <TITLE>
         Hello World Example
      </TITLE>
   </HEAD>
<BODY>
   <H1>Hello</H1>
   <P>Hello World!</P>
</BODY>
</HTML>
 
GreenRaccoon23 Sorry for the late response. Anyway, you can put in any code you want using the Code tag.

For instance if you wanted to do bash, you would do the following:

Bash:
sudo apt-get update
sudo apt-get upgrade
mkdir Darkcoin
rm -fr Darkcoin

If you wanted to do Java you would do the same.

Java:
public static void main(String[] args){
    system.out.println("Hello Green Raccoon")
    }
}

One more example. How about C?

C:
#include <stdio.h>

int main() {
    printf("Hello, World!");
    return 0;
}

So almost every language you can think of is supported. Just add the Code=Language in the code box.
 
GreenRaccoon23 Sorry for the late response. Anyway, you can put in any code you want using the Code tag.

For instance if you wanted to do bash, you would do the following:

Bash:
sudo apt-get update
sudo apt-get upgrade
mkdir Darkcoin
rm -fr Darkcoin

If you wanted to do Java you would do the same.

Java:
public static void main(String[] args){
    system.out.println("Hello Green Raccoon")
    }
}

One more example. How about C?

C:
#include <stdio.h>

int main() {
    printf("Hello, World!");
    return 0;
}

So almost every language you can think of is supported. Just add the Code=Language in the code box.
Awesome. Thanks! Lol "Hello Green Raccoon"
 
Back
Top