Skip to content

Instantly share code, notes, and snippets.

View xibbar's full-sized avatar

Takeyuki FUJIOKA xibbar

View GitHub Profile
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>サンプル</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js" type="text/javascript"></script>
<link href="https://cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css" rel="stylesheet">
2.0.0-p598
.ext/include/x86_64-darwin14.0.0/ruby/config.h unchanged
2.1.5
.ext/include/x86_64-darwin14.0/ruby/config.h unchanged
#define RUBY_BASE_NAME "ruby"
#define RUBY_VERSION_NAME RUBY_BASE_NAME"-"RUBY_LIB_VERSION
#define RUBY_LIB_VERSION_STYLE 3 /* full */
#define RUBY_EXEC_PREFIX "/usr/local"
#define RUBY_LIB_PREFIX RUBY_EXEC_PREFIX"/lib/ruby"
#define RUBY_ARCH_PREFIX_FOR(arch) RUBY_LIB_PREFIX"/"arch
#define RUBY_SITEARCH_PREFIX_FOR(arch) RUBY_LIB_PREFIX"/"arch
#define RUBY_LIB RUBY_LIB_PREFIX"/"RUBY_LIB_VERSION
#define RUBY_ARCH_LIB_FOR(arch) RUBY_LIB"/"arch
#define RUBY_SITE_LIB RUBY_LIB_PREFIX"/site_ruby"
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
couldn't understand kern.osversion `14.0.0'
checking for nroff... /usr/bin/nroff
.ext/include/x86_64-darwin14.0.0/ruby/config.h unchanged
sed: confdefs.h: No such file or directory
verconf.h unchanged
ruby library version = 2.0.0
configure: creating ./config.status
config.status: creating Makefile
config.status: creating ruby-2.0.pc
#ifndef INCLUDE_RUBY_CONFIG_H
#define INCLUDE_RUBY_CONFIG_H 1
/* confdefs.h */
#define CANONICALIZATION_FOR_MATHN 1
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
fujioka@fujioka-no-MacBook-Pro:/tmp/ruby-2.0.0-p598% make [/tmp/ruby-2.0.0-p598]
CC = gcc-4.2
LD = ld
LDSHARED = gcc-4.2 -dynamic -bundle
CFLAGS = -O3 -g -pipe
XCFLAGS = -include ruby/config.h -include ruby/missing.h -DRUBY_EXPORT
CPPFLAGS = -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -I. -I.ext/include/x86_64-darwin14.0.0 -I./include -I.
DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -Wl,-u,_objc_msgSend
SOLIBS =
compiling main.c
ruby library version = 2.0.0
configure: creating ./config.status
config.status: creating Makefile
config.status: creating ruby-2.0.pc
configure: WARNING: unrecognized options: --with-openssl-dir, --with-readline-dir
CC = clang
LD = ld
LDSHARED = clang -dynamic -bundle
CFLAGS = -O3 -Wno-error=shorten-64-to-32 -pipe
XCFLAGS = -include ruby/config.h -include ruby/missing.h -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fvi
ActiveRecord::Base.connection.tables.delete_if{|m|m=~/^schema_migrations|delayed_jobs$/}.sort.each{|m|m.classify.constantize.attribute_names.each{|n|puts "add_index :#{m}, :#{n}" if !ActiveRecord::Base.connection.index_exists?(m, n) && n=~/deleted_at|type|_id$/}}
/*
* File: main.c
* Author: fujioka
*
* Created on 2013/08/31, 14:10
*/
#include <xc.h>
#define MHz 000000
#define _XTAL_FREQ 8MHz