2014-01-01ãã1å¹´éã®è¨äºä¸è¦§
é§ ãã¼ã¿.jpã«ã¦å ¨å½ã®é§ ãã¼ã¿ãcsvã§ç¡æãã¦ã³ãã¼ãã§ããããæ®å¿µãªãã¨ã«é§ åã®èªã¿æ¹ï¼ãµãããªï¼ã¯ææçã§ããä»ãã¦ããªã 4000åæãã®ããã¼ãã£ã¦æããªã®ã§æãã®Wikipediaããæ½åºã§ããªãããã£ã¦ã¿ãã 使ç¨è¨èªã¯Rubyãä¸è¦§ã¯ãã®ãºã¼ããâ¦
ãã¼ã¸ãã¼ã·ã§ã³ããããã¯ãã¼ã¸ã³ã° é常ã¯Railsã§ããã§ããªããã©ãããã¨ããã°Sinatraã§ãå®ç¾å¯è½ ã¤ã³ã¹ãã¼ã« Gemfileã«ä»¥ä¸ã追å gem 'will_paginate-bootstrap' will_paginateã¯ActiveRecordã«ä¾åï¼ãã¦ãããããªã®ã§ä»¥ä¸ã追å ãã¦ãã gem â¦
PEAR::XML_Serializerã¨ããã©ã¤ãã©ãªãå©ç¨ãã ã¤ã³ã¹ãã¼ã« apt-get install php-pear pear install --alldeps xml_serializer-beta ã¹ã¯ãªãã é©å½ã«é¢æ°åãã¦ã¿ã TRUE, 'encoding' => 'UTF-8', 'indent' => ' ', 'rootName' => 'json', 'mode'â¦
[ { "created_at":"Wed Dec 03 06:42:43 +0000 2014", "id":540033368948084736, "id_str":"540033368948084736", "text":"ããï½é»æ± ãªã®ã ï½âª ããã¯é»æ± ã«ç®ããªãã®ã âª", "source":"<a href=\"https:\/\/apps.twitter.com\/app\/new\" rel=\"nofollow\">ã§ã°ã£ããã<\/a>", "truncated":false, "in_reply_to_status_id":nul</a>â¦
ããããã£ãã㨠é ç®ã®è¿½å ã¨åé¤ãã§ãããªã¹ãåå ¥åãã©ã¼ã å®æå å ã«å®æåè¦ãã»ããæ©ã 失æä½ ã¾ãã¨ãããããªã¹ãã ãã¯ãªãã¯ããããªã¹ãçªå·åå¾ãã¦remove()ããã°ãããã£ããã£ã¦æã£ã¦ããã©ããã ã¨åé¤ãã¿ã³ã ããããªãã¦ãªã¹ãã®â¦
ã´ãªã´ãªcountå¤æ°åããã¨ãªãã¦ãªãã£ãããã»ã»ã»ï¼ console.log(Object.keys(io.nsps["/"].adapter.rooms["room"]).length)
åºæ¬ var port = 3000 var io = require('socket.io')(port) io.sockets.on("connection", function (socket) { io.sockets.emit("info", "å ¨å¡ã«éä¿¡") //éä¿¡å å«ãå ¨å¡ã«éä¿¡ io.emit("info", "çç¥å¯") //ä¸ã¨åã socket.broadcast.emit("info", "éä¿¡â¦
ä¹ ã ã«Apacheå¼ã£ã VirtualHostæããã éµã®é ç½® äºãéµèªä½ã¯çæããã¦ãããã®ã¨ãã/etc/apache2/sslãããã«server.key server.crtå¦¥å½ conf.dã ã¨ä¸å¯ã ã£ã ã¢ã¸ã¥ã¼ã«ã®æå¹å ããã©ã«ãã§ã¯æå¹åããã¦ããªãã®ã§æ³¨æ sudo a2enmod ssl è¨å® å¿ â¦
Mecabã®ã¤ã³ã¹ãã¼ã« ã¾ãã¯Mecabæ¬ä½ãã¤ã³ã¹ãã¼ã« apt-getã§ãã¤ã³ã¹ã³ã§ãããã©ãã¼ã¸ã§ã³ãå¤ãã®ã§ãã«ãããã»ããããã sudo apt-get install build-essential libc6-dev g++ MeCabæ¬ä½ã®ãã¦ã³ãã¼ã wget http://mecab.googlecode.com/files/mecâ¦
ããããã°PHPã§ã¢ãããã¼ããããã©ã¼ã ç»é¢ä½ã£ããã¨ãªããªãã£ã¦ãã¨ã§ä½æ ä»å㯠JSONå½¢å¼ã®ã¿ã¢ãããã¼ãå¯ æ¥æ¬èªå«ããã¡ã¤ã«åã¯ã¾ã æ³å®ãã¦ããªã ãã¡ã¤ã«ãµã¤ãºä¸éä»ã
ååã®ç¶ã ãªã«ããããã® Rubyã使ã£ãWebãµã¼ãã¹ ãã®ããã«Sinatra+Unicorn+Nginxã®çµã¿åãã ãã¼ã¢ã³åãã¦åæ°¸ä¹ çãªéç¨ è¤æ°ã¢ããªãèµ·åã§ãããããªè¨å® ãã£ã¬ã¯ããªæ§é ï½ï½ï½/hogehoge |-- Gemfile |-- Gemfile.lock |-- app.rb |-- configâ¦
ãããã Sinatraã¯ãWebã¢ããªã±ã¼ã·ã§ã³ãã¬ã¼ã ã¯ã¼ã¯ãã¨ã㦠Unicornã¯ãã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã¼ãã¨ã㦠Nginxãããªãã¼ã¹ãããã·ãã¨ã㦠ããããå¿ è¦ã§ãããSinatraåä½ã§ãWebãµã¼ãã¼ã¨ãã¦æ©è½ã¯ãããã©ãã¼ã¢ã³åã§ããªãã®ã§éç¨ãã§ãâ¦
ç¹å®ã®ããã±ã¼ã¸ãã¤ã³ã¹ãã¼ã«ãããã¨ããã¨ã¨ã©ã¼ã«ãªã£ã¦ã¤ã³ã¹ãã¼ã«ã§ããªãã ä¾ãã°mysql2ã®å ´å Gem::Ext::BuildError: ERROR: Failed to build gem native extension. /home/thr3a/.rvm/rubies/ruby-2.1.2/bin/ruby extconf.rb checking for rubyâ¦
ã¾ãã¯Hello Worldã表示ãã bundle initã§Gemfileçæ Gemfileã«ä»¥ä¸ã追å gem 'sinatra' gem 'json' gem 'sinatra-contrib' bundle install --path vendor/bundleã§ã¤ã³ã¹ãã¼ã« é©å½ã«api.rbã§ãä½ã£ã¦ require 'sinatra' require 'json' require "sinaâ¦
<div class="btn-group"> <button type="button" data-toggle="dropdown" class="btn btn-default dropdown-toggle">ãããããã¦ã³<span class="caret"></span></button> <ul id="pinlist" class="dropdown-menu"> <li class="pinlist"><a href="#">ã¡ãã¥ã¼1</a></li> <li class="pinlist"><a href="#">ã¡ãã¥ã¼2</a></li> </ul></div>
ãã§ãã¯ããã¯ã¹ã®ç¶æ ãåå¾ attrã¯éæ¨å¥¨ã¨ã®ãã¨ãprop使ã if($("#chk").prop('checked')){ alert("ãã§ãã¯ãã¦ãã"); } ãã§ãã¯ããã¯ã¹ãå ¥ã£ã¦ããã°ãtrueããå ¥ã£ã¦ããªããã°ãfalseããè¿ã£ã¦ãã ãã§ãã¯ããã¯ã¹ã«ãã§ãã¯ãå ¥ãã/å¤ã â¦
kurotwiã®æ¡å¼µæ©è½IDã¯kcijnjkpackkklmkicldmkbhpdeilbgf kcijnjkpackkklmkicldmkbhpdeilbgf\ãã¼ã¸ã§ã³\js\background.js"å ã®1410è¡ç®ããã ï¼ç¥ï¼ var message = { method: param.type, action: param.url, parameters: { oauth_signature_method: 'HMACâ¦
諸äºæ ã§SC-02Cãåæåããããªã£ãã®ã§ã¡ã¢ ç¨æãããã® Odin3_v1.85.zip(é称ãã§ã) SC02COMMP7_SC02CDCMMP7_DCM.zipï¼å ¬å¼ICSROMã®æçµçï¼ TriangleAwayï¼Custom Binaryãã¦ã³ãã¼ãã»ã«ã¦ã³ã¿ã®ãªã»ããã«ä½¿ç¨ TriangleAway-v1.25.apkï¼ ã¾ãã¯å ¬å¼Râ¦
è²ã æ¯è¼ãã¦ããããµã¤ãããã£ãã®ã§ ãPHPããã® CSV å¤æãæ¬å½ã«ãfgetcsvãã§ããã®ï¼ (ãã§ã³ãªã« | ãããããã¼ãºããã°) fopen + fgetcsv $file = new SplFileObject("dummy.csv"); $file->setFlags(SplFileObject::READ_CSV); foreach ($file as â¦
ãªãããéçºãã¦ãã¦ä»»æã®ä½ç½®æ å ±ãã»ãããããå ´åããããï¼ æè¿ã®Chromeã®ãã¼ã¸ã§ã³ã§ã¯ä»¥åã¨è¨å®ã®ä»æ¹ãè¥å¹²å¤ãã£ã¦ãããããªã®ã§ã¡ã¢ F12ãCtrl+Shift+Iã§ãããããã¼ãã¼ã«èµ·å å·¦ä¸ã®ã¹ããã£ã½ãã¢ã¤ã³ã³ã¯ãªãã¯ããã¨æ°´è²ã«å¤ããã¯ã(â¦
UltimateOAuth é常ã«é«æ©è½ãª PHPã®Twitterã©ã¤ãã©ãªã§ãã English @Version: 5.3.4 @Author : CertaiN @License: BSD 2-Clause @GitHub : http://github.com/certainist [ç¹é·] twitteroauthã¨ä½¿ãæ¹ãé常ã«ããä¼¼ã¦ãã¾ãã ä¸æ¹ããã®ã©ã¤ãã©ãªç¬èªâ¦
ã³ã¼ã ãã£ãç°¡åãªãµã³ãã« var zlib = require('zlib'); zlib.Z_DEFAULT_COMPRESSION = 6; var rawData = "ãã¯ããããã«ã¡ã¯ããã°ãã¯"; console.log("å§ç¸®å:" + rawData); //å§ç¸® zlib.deflate(rawData, function(err, buffer) { if (err) { consoleâ¦
todo(å¹³æ26å¹´11æ12æ¥15:15ç¾å¨) ããããä¿åãã¿ã³ãã¤ãã¦ãã®ããããã ãã¦ã³ãã¼ãããã¨ãGETã¡ã½ããã ã¨æ»ã¬ 確èªãã©ã¼ã åãã£ã¦ä½æãã¦ãããJSONãèªã¿è¾¼ãã§çµå ããªãã¼ã·ã§ã³ APIãã¼ã®åå¾æ¹æ³ Google Developers Consoleã«ã¢ã¯ã»ã¹ â¦
Javascriptã§ããããããã©ããã¯ä»¥ä¸ã®ããã«ãã¦ã§ãããæååã«ããããå«ã¾ãã¦ãããã©ãããã§ãã¯ãããå ´å var str = "ããããã"; if(str.match("ã")){ console.log('match!'); } ãã®å ´åã¯æ£è¦è¡¨ç¾ã使ã£ããããã§ã¯ãªãã®ã§å¤æ°ã使ãã vâ¦
mnpããæã®ãã ããã MNP転åºææ°æ 2100å å¥ç´äºåææ°æ 3000å LTEãã©ã³ 934å/æï½ â»èª°ã§ãå²é©ç¨æ auã«ãããå² Plusãé©å¿ã§ããæ©ç¨®ã¯ãiPhone 6ããiPhone 6 PlusããTORQUE G01ããHTC J butterfly HTL23ãã®ã¿
VirtualBoxå ¬å¼ãµã¤ãä¸ã ã¨ã¬ãã¸ããªããã¤ã³ã¹ãã¼ã«åºæ¥ãã®ã¯ããããDebianã®ã¿ã£ã¦ããé°å²æ°ã ãã©å®éãããªãã¨ã¯ãªãã£ã éµã®é©ç¨ wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add - ã¬ãã¸â¦
SSHããå©ããªããã ããLXDEã¯ä¸è¦ã ãã£ã£ã¦ãã¨ã§éå ¬å¼ã¤ã¡ã¼ã¸çºè¦ãã ãã¦ã³ãã¼ã 以ä¸ããRasPiã¤ã¡ã¼ã¸ãè½ã¨ãã Raspbian Wheezy armhf Raspberry Pi minimal image ä»åã¯raspbian_wheezy_20140726.img.7zã使ç¨ãã ã¤ã³ã¹ãã¼ã« ãã¨ã¯ä»ã¾ã§â¦
ä»åã¯Debianã®èªä½ãã³ãã¬ã¼ããä½ã£ã¦ã¿ããã¡ãªã¿ã«å ¬å¼Wikiã«ãæ¸ãã¦ãã ç¨æ ããããå ¬å¼ãã³ãã¬ã¼ãããã¦ã³ãã¼ããããä»åã¯debian-7.0-i386-minimal.tar.xzããã¦ã³ãã¼ããã ãã¦ã³ãã¼ãå¾èµ·åãã¦SSHã«ã¦ä»¥ä¸å®è¡ sources.listã®ç·¨é /etâ¦
<canvas id="mycanvas" style="border:3px solid #999" width="700" height="400"></canvas> <script> document.addEventListener('DOMContentLoaded', function(){ var drawing = false; // ãã©ãã°ä¸ãã©ã° mycanvas = document.getElementById("mycanvas"); cCtx = mycanvas.getContext('2d'); mycanvas.onmousedown = functionâ¦
Name ==== Overview ## Description ## Features ## Demo ## Requirement ## Install ## Usage ## Licence [MIT](http://opensource.org/licenses/mit-license.php)