Skip to content

Instantly share code, notes, and snippets.

@S2
S2 / gist:3890745
Created October 15, 2012 04:00
cpp error_message
"Waves::Waves(unsigned int)", referenced from:
_main in ccbii2Dr.o
"Waves::saw_wave(int, int, double)", referenced from:
_main in ccbii2Dr.o
ld: symbol(s) not found for architecture x86_64
#!/usr/local/bin/perl
use 5.14.2;
use strict;
use warnings;
use utf8;
my @hoge = qw/aaa bbb ccc/;
say $_ for @hoge;
#!/usr/local/bin/perl
use 5.14.2;
use strict;
use warnings;
use utf8;
my @hoge = qw/aaa bbb/;
my @fuga = qw/111 222/;
for(@hoge){
snippet u
#!/usr/local/bin/perl
use 5.14.2;
use strict;
use warnings;
use utf8;
snippet d
use Data::Dumper;
warn Dumper ${1}
var Test = (function () {
function Test(){
this.value = "base";
};
Test.prototype = {
method : function(){
console.log(this.value);
}
};
return Test;
var fs = require('fs');
fs.readFile('./thanks_log.txt', 'utf8', function (err, text) {
text = text.replace(/\\s/g , "");
var rows = text.split("\n")
var dataArray = [];
for( var i = 0 , arrayLength = rows.length ; i < arrayLength ; i++){
var row = rows[i];
var data = row.split("|")
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="viewport" content="width=device-width">
</head>
<body>
</body>
<script type="text/javascript">
class Hoge{
constructor(){
this.overRidableMethod()
}
public overRidableMethod():void{
}
}
class HogeDash extends Hoge{
// オーバーライド
#!/usr/bin/env perl
use 5.20.2;
use strict;
use warnings;
use utf8;
use feature 'signatures' ;
sub hoge($a , $b){
return $a + $b;
}
#!/usr/bin/env perl
use 5.16.2;
use strict;
use warnings;
use utf8;
sub r{
our $v;
return $v++;
}