- https://gist.github.com/PGMY/4991912
⇒Gistに貯めていってたのをもってきました。 - http://qiita.com/PGMY/items/2a9d1f6355693b6e9712
⇒Qiita編
自分用めも。気になるもの・使ってみたいものと、実際利用して比較してみたいなーと思ってるチェックリスト的な for ios dev
自分用めも。気になるもの・使ってみたいものと、実際利用して比較してみたいなーと思ってるチェックリスト的な for ios dev
A DMG Installer is convenient way to provide end-users a simple way to install an application bundle. They are basically a folder with a shortcut to the Applications directory but they can be customized with icons, backgrounds, and layout properties. A DMG file (.dmg) is a Mac OS X Disk Image file and it is used to package files or folders providing compression, encryption, and read-only to the package.
##Creating the DMG file #Disk Utility
import AVFoundation | |
import Foundation | |
// The maximum number of audio buffers in flight. Setting to two allows one | |
// buffer to be played while the next is being written. | |
private let kInFlightAudioBuffers: Int = 2 | |
// The number of audio samples per buffer. A lower value reduces latency for | |
// changes but requires more processing but increases the risk of being unable | |
// to fill the buffers in time. A setting of 1024 represents about 23ms of |
ruby-jpには大量にチャンネルがあります。 rubyist-istの観点から少し整理してみました。
#include <M5Atom.h> | |
#include <BLEDevice.h> | |
// Contact Tracing Bluetooth Specification (Apple/Google) | |
// https://blog.google/documents/58/Contact_Tracing_-_Bluetooth_Specification_v1.1_RYGZbKW.pdf | |
const char* uuid = "0000fd6f-0000-1000-8000-00805f9b34fb"; | |
bool found = false; | |
class MyAdvertisedDeviceCallbacks: public BLEAdvertisedDeviceCallbacks { | |
void onResult(BLEAdvertisedDevice advertisedDevice) { |
#include <FastLED.h> | |
const int NUM_LEDS = 25; | |
const int LED_PIN = 27; | |
static CRGB leds[NUM_LEDS]; | |
CRGB correct(CRGB c) { | |
// fix RGB order :( | |
return CRGB(c.g, c.r, c.b); | |
} |