この記事は https://medium.com/@ryardley/react-hooks-not-magic-just-arrays-cd4f1857236e の日本語訳です。途中で力尽きて雑な翻訳になってる箇所がいくつかあります。
私は、新しい Hooks の API の "magic" な挙動に悩んでいる人が結構いると聞いています。なのでこの構文の提案が、少なくとも表面的なレベルではどう動いているか、解説してみようと思います。
この記事は https://medium.com/@ryardley/react-hooks-not-magic-just-arrays-cd4f1857236e の日本語訳です。途中で力尽きて雑な翻訳になってる箇所がいくつかあります。
私は、新しい Hooks の API の "magic" な挙動に悩んでいる人が結構いると聞いています。なのでこの構文の提案が、少なくとも表面的なレベルではどう動いているか、解説してみようと思います。
# -*- encoding: utf-8 -*- | |
Gem::Specification.new do |s| | |
s.name = 'parallel_assets_compiler' | |
s.version = '0.2.0' | |
s.platform = Gem::Platform::RUBY | |
s.author = 'Jørgen Orehøj Erichsen' | |
s.email = 'joe@erichsen.net' | |
s.summary = 'Compile assets in parallel' | |
s.description = 'Compile assets in parallel to speed up deployment' |
newpg=9.6.1 # set to new PG version number | |
oldpg=`pg_config --version | cut -d' ' -f2` | |
# PG 96. upgrades the readline to v7, which breaks anything linked against readline v6, like ruby via ruby-build. | |
# I *think* this should prevent it from installing v7. But if weird shit happens with various rubies, | |
# you'll have to reinstall them. | |
brew pin readline | |
# Stop current Postgres server | |
brew services stop postgresql |
Install MySQL + MeCab + Groonga using Homebrew
$ brew install mysql
$ brew install mecab
$ brew install groonga
$ cd /usr/local
$ sudo ln -s Cellar/mysql/5.5.15 mysql
Clone mroonga from Github
# Friend Requests | |
me = FbGraph::User.me(USER_ACCESS_TOKEN) | |
me.friend_requests # => Array of FbGraph::FriendRequest | |
# Checking if a user is an admin of a Page | |
user = FbGraph::User.new('matake') | |
page = FbGraph::Page.new('FbGraph') | |
page.admin?(user, :access_token => PAGE_ACCESS_TOKEN) # => true/false |
diff --git a/src/main/java/hudson/plugins/skype/im/transport/SkypeIMConnection.java b/src/main/java/hudson/plugins/skype/im/transport/SkypeIMConnection.java | |
index 744e4b0..7071069 100644 | |
--- a/src/main/java/hudson/plugins/skype/im/transport/SkypeIMConnection.java | |
+++ b/src/main/java/hudson/plugins/skype/im/transport/SkypeIMConnection.java | |
@@ -20,6 +20,7 @@ import hudson.plugins.im.IMPresence; | |
import hudson.plugins.im.bot.Bot; | |
import hudson.plugins.im.tools.ExceptionHelper; | |
import hudson.plugins.skype.im.transport.callables.SkypeChatCallable; | |
+import hudson.plugins.skype.im.transport.callables.SkypeGroupChatCallable; | |
import hudson.plugins.skype.im.transport.callables.SkypeSetupCallable; |
# NOTICE: to get Nginx+Unicorn best-practices configuration see the gist https://gist.github.com/3052776 | |
$ cd /usr/src | |
$ wget http://nginx.org/download/nginx-1.2.1.tar.gz | |
$ tar xzvf ./nginx-1.2.1.tar.gz && rm -f ./nginx-1.2.1.tar.gz | |
$ wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.30.tar.gz | |
$ tar xzvf pcre-8.30.tar.gz && rm -f ./pcre-8.30.tar.gz | |
$ wget http://www.openssl.org/source/openssl-1.0.1c.tar.gz |