This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
var data: NSData = NSData.init(bytes: "Hello, World!", length: 13) | |
withUnsafePointer(to: data) { | |
print("value \(String(describing: data)) has address: \($0)") | |
} | |
var cfData: CFData = data | |
withUnsafePointer(to: cfData) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package jp.example.android.util.html | |
import android.content.Context | |
import android.graphics.Bitmap | |
import android.support.v4.content.ContextCompat | |
import android.text.SpannableString | |
import android.text.SpannableStringBuilder | |
import android.text.Spanned.SPAN_INCLUSIVE_INCLUSIVE | |
import android.text.style.TextAppearanceSpan | |
import android.view.Gravity.CENTER |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ThemeColorPicker.swift | |
// | |
// Created by PxP_ss on 2014/11/05. | |
// Copyright (c) 2014年 pxp_ss. All rights reserved. | |
// | |
import UIKit | |
protocol ThemeColorPickerDelegate { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"lunch_id": int, | |
"separateSize": int, | |
"members": [ | |
{ | |
"user_id": int, | |
"user_name": string, | |
"user_sex": boolean | |
"user_expense_times": int | |
"user_select_shop_times": int |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"sort-order": [ | |
"align-content", | |
"align-items", | |
"align-self", | |
"-o-animation", | |
"-ms-animation", | |
"-moz-animation", | |
"-webkit-animation", | |
"animation", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ScrollViewController.swift | |
// ScrollView | |
// | |
// Created by PxP_ss on 2014/10/08. | |
// Copyright (c) 2014年 pxp_ss. All rights reserved. | |
// | |
import UIKit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gulp = require('gulp'); | |
var fs = require('fs'); | |
var postcss = require('gulp-postcss'); | |
var scss = require('postcss-scss'); | |
var styleguide = require('postcss-style-guide'); | |
gulp.task('default', function () { | |
var processors = [ | |
styleguide |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exports.SocketServerClass = class SocketServerClass | |
_sioListenPort = 8080 | |
constructor : (@app, @node_modules, @appOption) -> | |
@sio = @node_modules.sio | |
@http = @node_modules.http | |
@appServer = @http.createServer(@app) | |
# session -------------------- | |
@mongoose = require 'mongoose' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exports.SocketServerClass = class SocketServerClass | |
_sioListenPort = 8080 | |
constructor : (@app, @node_modules, @appOption) -> | |
@sio = @node_modules.sio | |
@http = @node_modules.http | |
@appServer = @http.createServer(@app) | |
setup : () -> | |
# socketioの起動 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main(void) | |
{ | |
printf("Hello World\n"); | |
return (0); | |
} |
NewerOlder