[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]

/csp/ - Coding, Scripting, & Programming

The board dedicated to scripting.

Catalog

8chan Bitcoin address: 1NpQaXqmCBji6gfX8UgaQEmEstvVY7U32C
The next generation of Infinity is here (discussion) (contribute)
A message from @CodeMonkeyZ, 2ch lead developer: "How Hiroyuki Nishimura will sell 4chan data"
Name
Email
Subject
Comment *
File *
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Options
dicesidesmodifier
Password (For file and post deletion.)

Allowed file types:jpg, jpeg, gif, png, webm, mp4
Max filesize is 8 MB.
Max image dimensions are 10000 x 10000.
You may upload 5 per post.


Welcome to /csp/

File: 1423880151595.png (29.43 KB, 615x525, 41:35, scripting_icon.png)

 No.1[Reply]

Welcome to /csp/

What is this?

/csp/ is the board dedicated to scripting. Here you can share OC scripts, get help with scripts, and discuss scripting in general.


You can view the board rules at https://8ch.net/csp/rules.html
Post last edited at

 No.7

Updates

Update 27/2/15: Updated CSS and country flags removed.
Post last edited at



File: 1424469490062.jpg (138.09 KB, 1272x1024, 159:128, sites.jpg)

 No.2[Reply]

This thread is dedicated to listing sites you can use to help learn scripting languages. Feel free to contribute with any you know of that haven't been posted!

http://www.codecademy.com/
Languages: HTML & CSS, Javascript, jQuery, PHP, Python, Ruby, Various API tuts.

https://www.codeschool.com
Languages: Too many to name. It even has Lolcode.


File: 1441051026435.jpg (324.91 KB, 1146x768, 191:128, 1440960163410.jpg)

 No.19[Reply]

(you 'll cowerds don 't even use lisp)



File: 1438195716752.jpg (26.24 KB, 275x275, 1:1, 275px-PatchythePirate.jpg)

 No.18[Reply]

Where do you actually go to edit your own boards CSS for everyone else to see instead of just changing it for yourself?



File: 1433832431287.mp4 (4.17 MB, 680x510, 4:3, ..reginald died for your s….mp4)

 No.17[Reply]

Have you taken the brown pill yet, mateys?

it's a tough pill to swallow! The brown pill was founded in 1999 by Sir Reginald Brownpill, who presents and narrates the attached video.

Forget red and blue pills, brown pills are the way of the future.

Video related. Please leave your questions, comments, and concerns below about this radical new paradigm of thinking!

Swallow the brown pill today! Red pills are for fedora fucking wearing faggots, blue pills are for the ignorant masses. Ignore the other le epin /pol/ maymays, this one is the readl deal.

Have you taken the brown pill yet, mateys?

it's a tough pill to swallow! The brown pill was founded in 1999 by Sir Reginald Brownpill, who presents and narrates the attached video.

Forget red and blue pills, brown pills are the way of the future.

Video related. Please leave your questions, comments, and concerns below about this radical new paradigm of thinking!

Swallow the brown pill today! Red pills are for fedora fucking wearing faggots, blue pills are for the ignorant masses. Ignore the other le epin /pol/ maymays, this one is the readl deal.

agrea



File: 1425423495608.png (18.63 KB, 256x256, 1:1, python.png)

 No.13[Reply]

This thread is for script sharing!
use the code tag for your scripts
I'll start.
This one lists your IP.

 function getIP() {
$.getJSON("http://api.ipify.org/?format=json",

function (data) {
document.getElementById('output').innerHTML = "Your Ip is: " + data.ip;
});
}
Post last edited at

 No.14

This one counts how many characters are typed. Uses jQuery.

 $(document).ready( function() {
document.getElementById('input').onkeydown = function () {
document.getElementById('output').innerHTML = (this.value.length);
};
});

 No.15

This one takes user input for two numbers and adds it together. Uses Python


def Add():
a = input("Enter a number")
b = input("Enter another number")
print a+b

 No.16

 
void Figure2()
{
glColor3f(0.6, 0.1, 0.1);
glLineWidth(2);
glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
glBegin(GL_POLYGON);

glVertex3fv(&va);
glVertex3fv(&vb);
glVertex3fv(&vc);
glVertex3fv(&vd);

glEnd();

Makes a thing in OpenGL.

I need a script that renames files by removing their last char, Shell preferably, any help appreciated




File: 1424493275377.png (163.35 KB, 722x388, 361:194, Capture.PNG)

 No.4[Reply]

All right /csp/, let's break a web app
130.126.214.134
Find the paste with the title="flag"
The pastes are encrypted.

 No.10

Timeout



File: 1424957958531.png (130.41 KB, 1000x1620, 50:81, 8chaninfo.png)

 No.6[Reply]

Alright /csp/, so I've been working on a little side project written in JavaScript, I'm doing everything locally. Anyone know any ways to pass a JS variable to an external file (any extension type). I already know it's possible using PHP, but I was wondering if it's possible to do so using only JavaScript, or jQuery.

In the meantime, have some 8chan tips.

 No.9

I'm not too sure about this one, but I'm thinking it'd probably be easier on a server. You could try using a 000webhost server to test, but they're terrible. Or you could try setting up and running a local server using apache or something, and use that to test it.



File: 1424482795566.jpg (52.45 KB, 500x502, 250:251, 1423592953465.jpg)

 No.3[Reply]

No offence, but did we really need this board? With /tech/, /g/ and probably some other board dedicated to programming... Nice CSS, though.

 No.5

>>3
I actually thought about that same thing before I created /csp/, but I decided to go ahead and make it as a place dedicated to scripting, as opposed to simply having a scripting related thread on a board.

And thanks, it took me a while to figure it all out at first.



Delete Post [ ]
[]
Previous [1] Next | Catalog
[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]