[ create a new paste ] login | about

kinopiko

Name: Kinopiko
Email:
Site/Blog: http://stackoverflow.com/users/181548/kinopiko
Location:
Default language:
Favorite languages:
About:

Saved pastes by kinopiko:

Perl, pasted on Dec 8:
1
2
3
4
5
my $lines = <<EOF;
"  AString "   // leading and trailing spaces together allowed
"AString "     // trailing spaces allowed
"  AString"    // leading spaces allowed
"newString03"  // numeric chars allowed
...
view (21 lines, 9 lines of output)
C, pasted on Nov 13:
1
2
3
4
5
#include <string.h>
#include <stdio.h>

int main ()
{
...
view (13 lines, 4 lines of output)
C++, pasted on Nov 7:
1
2
3
4
5
#include <iostream>
#include <string>
#include <iomanip>

using std::cout;
...
view (71 lines, 4 lines of output)
Perl, pasted on Nov 4:
1
2
3
$string='abcd94%かきくけこ';
$string =~ s/[^[:ascii:]]//g;
print "$string\n";
view (3 lines, 1 line of output)
Perl, pasted on Nov 3:
1
2
3
4
5
#!perl
use warnings;
use strict;

my @matches = (
...
view (27 lines)
Perl, pasted on Oct 30:
1
2
3
    my $html = '<tr class="Highlight"><td>Time Played</a></td><td></td><td>Artist</td><td width="1%"></td><td>Title</td><td>Label</td></tr>';
    my @stuff = $html =~ />([^<]+)</g;
    print join (", ", @stuff), "\n";
view (3 lines, 1 line of output)
Perl, pasted on Oct 28:
1
2
3
4
5
#! perl
use warnings;
use strict;

my $allDirArray = [{dir => "b"},{c => "d"}];
...
view (8 lines, 1 line of output)
C, pasted on Oct 28:
1
2
3
4
5
#include <string.h>
#include <stdio.h>

const char* rstrstr (const char* haystack, const char* needle)
{
...
view (78 lines, 11 lines of output)
C, pasted on Oct 25:
1
2
3
4
5
#include <ctype.h>
#include <stdio.h>
#include <string.h>

int getpos (char c)
...
view (32 lines, 10 lines of output, 4 comments)
C, pasted on Oct 24:
1
2
3
4
5
#define F(r)for(r=0;r<98;r++)
#define C(y,s)for(k=0;s[k];k++)b[49-i][w+k+y]=s[k];i++;
char k,i,j,w,t,b[98][99];main(){

int c=9;
...
view (10 lines, 100 lines of output)
C, pasted on Oct 18:
1
2
3
4
5
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

void spellCheck(char article[], char dictionary[]) {
...
view (22 lines, 2 lines of output)