#Ruby on Railsとわたし
2年ほど前よりrailsの理解を進める上で、企業向けtwitterクライアントの必要性を感じ個人的にwebアプリが作成できればと取り組んでおりました。
昨年夏頃より会社での個人目標にうっかり採用してしまいました。
結果形にならず、保留としています。
今年中にはわずかな機能でも使える様にしたいと思っています。
#Github とあなたについて
ほぼほぼ使っていないです。
もっぱらGistをpastebinの様に使っています。
This file contains hidden or 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
| Do you agree with this license? [y/n]: y | |
| This appears to be your first time running this version of Splunk. | |
| Copying '/opt/splunk/etc/openldap/ldap.conf.default' to '/opt/splunk/etc/openldap/ldap.conf'. | |
| Generating RSA private key, 1024 bit long modulus | |
| ....++++++ | |
| .......................................................++++++ | |
| e is 65537 (0x10001) | |
| writing RSA key |
This file contains hidden or 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
| actionmailer (3.2.13, 3.1.12) | |
| actionpack (3.2.13, 3.1.12) | |
| activemodel (3.2.13, 3.1.12) | |
| activerecord (3.2.13, 3.1.12) | |
| activeresource (3.2.13, 3.1.12) | |
| activesupport (3.2.13, 3.1.12) | |
| arel (3.0.2, 2.2.3) | |
| builder (3.0.4) | |
| bundler (1.3.5) | |
| coffee-rails (3.1.1) |
This file contains hidden or 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
| ./configure \ | |
| --prefix=%{_sysconfdir}/nginx \ | |
| --sbin-path=%{_sbindir}/nginx \ | |
| --conf-path=%{_sysconfdir}/nginx/nginx.conf \ | |
| --error-log-path=%{_localstatedir}/log/nginx/error.log \ | |
| --http-log-path=%{_localstatedir}/log/nginx/access.log \ | |
| --pid-path=%{_localstatedir}/run/nginx.pid \ | |
| --lock-path=%{_localstatedir}/run/nginx.lock \ | |
| --http-client-body-temp-path=%{_localstatedir}/cache/nginx/client_temp \ | |
| --http-proxy-temp-path=%{_localstatedir}/cache/nginx/proxy_temp \ |
This file contains hidden or 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
| fs = require 'fs' | |
| path = require 'path' | |
| app = require('http').createServer (req, res) -> | |
| res.writeHead 200, 'Content-Type': 'text/html' | |
| res.end fs.readFileSync (path.resolve 'public', 'index.html'), 'utf-8' | |
| app.listen 3000 | |
| require('socket.io').listen(app).on 'connection', (socket) -> |
This file contains hidden or 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
| root# motion update | |
| Connecting to the server... | |
| Downloading software update... | |
| ######################################################################## 100.0% | |
| Installing software update... | |
| /Library/RubyMotion/lib/motion/project/command/update.rb:108: warning: Insecure world writable dir /usr/local in PATH, mode 040777 | |
| Software update installed. | |
| = RubyMotion 2.17 = |
This file contains hidden or 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
| ossl_pkey_ec.c: In function 'ossl_ec_group_initialize': | |
| ossl_pkey_ec.c:766: warning: implicit declaration of function 'EC_GF2m_simple_method' | |
| ossl_pkey_ec.c:766: warning: assignment makes pointer from integer without a cast | |
| ossl_pkey_ec.c:821: error: 'EC_GROUP_new_curve_GF2m' undeclared (first use in this function) | |
| ossl_pkey_ec.c:821: error: (Each undeclared identifier is reported only once | |
| ossl_pkey_ec.c:821: error: for each function it appears in.) | |
| make[2]: *** [ossl_pkey_ec.o] Error 1 | |
| make[2]: Leaving directory `/root/rpm/BUILD/ruby-2.0.0-p247/ext/openssl' | |
| make[1]: *** [ext/openssl/all] Error 2 | |
| make[1]: Leaving directory `/root/rpm/BUILD/ruby-2.0.0-p247' |
This file contains hidden or 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
| curl -X POST \ | |
| -H "X-Parse-Application-Id: yourParseApplicationId" \ | |
| -H "X-Parse-REST-API-Key: yourParseRESTAPIKey" \ | |
| -H "Content-Type: application/json" \ | |
| -d '{ | |
| "where": { | |
| "channels": { | |
| "$in": [""] | |
| }, | |
| "deviceType": "ios" |
This file contains hidden or 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
| pear install Archive_Zip | |
| Failed to download pear/Archive_Zip within preferred state "stable", latest release is version 0.1.2, stability "beta", use "channel://pear.php.net/Archive_Zip-0.1.2" to install | |
| install failed | |
| [root@localhost ~]# pear install archive_zip-beta | |
| WARNING: "pear/Archive_Zip" is deprecated in favor of "pecl/zip" | |
| downloading Archive_Zip-0.1.2.tgz ... | |
| Starting to download Archive_Zip-0.1.2.tgz (19,213 bytes) | |
| ......done: 19,213 bytes | |
| install ok: channel://pear.php.net/Archive_Zip-0.1.2 | |
| [root@localhost ~]# pear list |
This file contains hidden or 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
| [root@localhost ~]# rpm -ivh couchbase-server-community_2.2.0_x86_64.rpm | |
| 準備中... ########################################### [100%] | |
| Minimum RAM required : 4 GB | |
| System RAM configured : 1020348 kB | |
| Minimum number of processors required : 4 cores | |
| Number of processors on the system : 1 cores | |
| 1:couchbase-server ########################################### [100%] | |
| Starting couchbase-server[ OK ] |