Nyarsã®ã½ã¼ã¹ã³ã¼ã | t32k/Nyar... / CacooViewerã®ã½ã¼ã¹ã³ã¼ã | k1L... / ã´ã¡ãèªè¾å ¸ã®ã½ã¼ã¹ã³ã¼ã | morimori...ä»...å ¨5件
DigitalOcean provides cloud products for every stage of your journey. Get started with $200 in free credit! For the gallery section of this site, I wanted people to have the ability to see the screenshot at its original size. Due to the fluid nature of this site, itâs fairly common for the screenshot to be scaled down to fit into its column. So I put together this little solution. My plan is to op
1ï¼ä»¥ä¸ãåç¡ãã«ãããã¾ãã¦VIPããéããã¾ãï¼2011/11/23(æ°´) 14:42:41.46ID:MSep0Irf0 ä»äººããæ¯ããã¨ãã¨ããåããã¦ãã¡ã¼ã«æé¢ã«èãããã ï¼ï¼ï¼ã¯ããã¯ããï¼ï¼ 5ï¼ä»¥ä¸ãåç¡ãã«ãããã¾ãã¦VIPããéããã¾ãï¼2011/11/23(æ°´) 14:43:56.27ID:p76ykmPy0 ãæ¯ãããããã®ã 7ï¼ä»¥ä¸ãåç¡ãã«ãããã¾ãã¦VIPããéããã¾ãï¼2011/11/23(æ°´) 14:45:06.65ID:MSep0Irf0 >>5 誰ã§ããããã©ã©ãããåããæ¯ããã¨ããã¡ã¼ã«ãã¦ãªããã ãï¼ï¼ 6ï¼ä»¥ä¸ãåç¡ãã«ãããã¾ãã¦VIPããéããã¾ãï¼2011/11/23(æ°´) 14:44:44.41ID:FYrlkEJg0 èãã¦ãã®ï¼ 9ï¼ä»¥ä¸ãåç¡ãã«ãããã¾ãã¦VIPããéããã¾ãï¼2011/11/23(æ°´) 14:45:58.2
iOS Advent Calendar 2011ã¨ããä»å¹´ãç· ãããã売åã¤ãã³ããçªå¦çºè¶³ããã®ã§æããã¯ã¨ã¨ã³ããªã¼ãããããªãã ããhttp://atnd.org/events/22792 俺ã¯å ¥éæ¸ãããã¤èªãã§ãã¢ããªããã¤ã¾ã§ãã£ã¦ãå®æããããã¨ã®ã§ããªããåãã®çºã«ããããæ¸ãä¸ããäºã«ãããç²¾åçã«å ¥éè¨äºãæ¸ãã¦ãããã¨ã¾ããã(@motomaka)ã§ããæ¸ãã¦ããªãå 容ããªï¼ ä»æ´ã§ããiOSã¢ããªéçºã®åºç¤ã«ã¤ãã¦è²ã 調ã¹ã¦ã¿ã¾ããhttp://d.hatena.ne.jp/moto_maka/20110425/1303673150 12æ3æ¥ã¾ã§ã®è¨äºã¯ä»¥ä¸ã®éãã 12æ1æ¥ @glassonion1 失æããªã iOS In-App Purchase ããã°ã©ãã³ã°12æ2æ¥ @k_katsumi CAEmitterLayer ã§ã¯ãªã¹ãã¹ã¯ççºãã12æ3æ¥
Pythonã¯æ¨æºã¢ã¸ã¥ã¼ã«ã-mã«æå®ãã¦å®è¡ããã¨ãããããªæ©è½ãæä¾ãã¦ãããã®ã便å©ã§ãã ç¾å¨ã®ãã£ã¬ã¯ããªãHTTPã§å ¬éãã: $ python -m SimpleHTTPServer Serving HTTP on 0.0.0.0 port 8000 ... 対象ã¹ã¯ãªãããã¹ãããå®è¡ãã: $ python -m pdb foo.py > d:\foo.py(1)<module>() (Pdb) ã¡ã¼ã«ãµã¼ãã¼ãç«ã¦ã: $ python -m smtpd -d -n localhost:25 PureProxy started at Tue Nov 15 12:45:38 2011 Local addr: ('localhost', 25) Remote addr:('localhost', 25) ã¡ã¼ã«ãéã: $ python -m smtplib From:
Vim Text Objects: The Definitive Guide Jared Carroll · October 17th, 2011 To edit efficiently in Vim, you have to edit beyond individual characters. Instead, edit by word, sentence, and paragraph. In Vim, these higher-level contexts are called text objects. Vim provides text objects for both plaintext and common programming language constructs. You can also define new text objects using Vim script
社å ã®æå¿ã§ãã£ã¦ãã JavaScript åå¼·ä¼ããããããã®ãé¡ã§ Backbone.js ã®ã½ã¼ã¹ã³ã¼ããèªã¿å§ããã http://documentcloud.github.com/backbone/docs/backbone.html ä»æ¥ã¯é ããèªã㧠Backbone.Events ãçµã㦠Backbone.Model ã® has ã¾ã§ã Backbone.Events ã® trigger ãèªãã®ã«æéãããã£ãã trigger : function(eventName) { var list, calls, ev, callback, args; var both = 2; if (!(calls = this._callbacks)) return this; while (both--) { ev = both ? eventName : 'all'; if (
Backbone Demo: Todos ããåã«èªãã ã¯èªãã ãã©ã©ããã£ã¦åãã¦ãã®ãããããªãã®ã§æ¬ä½ã¨ãããã¦è¿½ã£ããç®ã¹ã¿ãã¯ãã¬ã¼ã¹ãã¨æ¸ãã¦ã¹ã¯ãªãããããã¬ä½¿ãã°ããã£ãã¨æ°ã¥ããã annotated source code 㯠github ã¬ãã¸ããªã«ãããã®ã¨å¾®å¦ã«ã¡ãã£ã¦ãã¦å½ã¦ã«ãªããªããã㨠localStorage ããèªã¿åºããããã¯å¥ã® .js ãã¡ã¤ã«ã«æ¸ãã¦ããã®ã§ãã£ã¡ãèªã¾ãªãã¨ããããªãé¨åããããã¨ãããã AppView ã® render() ãå¼ã³åºãããã¾ã§ã®æµãã window.App = new AppView; todos.js#L231 Backbone.View = function(options) { backbone.js#L870 this.initialize.apply(this, arguments); back
Backbone.Model ãèªãã ããã£ã¨çºããã ãã http://documentcloud.github.com/backbone/docs/backbone.html initialize ã«ããã©ã«ãã§ä½ãããªãé¢æ°ãå²ãå½ã¦ã¦ãããã¨ã§å¼ã³åºãæã« isFunction ã¨ãã§ãã§ãã¯ããªãã¦æ¸ãã¯ã¶ escape ã®å 容ã¯ååå¼ã³åºãæã«ãã£ãã·ã¥ set ã¯å¼ã³åºãæã«å ã®å¤ãã¨ã£ã¦ããã¦å¤ãåä¸ã§ãªããã®ï¼æ´æ°ãããã¹ãï¼ã ãæ´æ°ãã¦ããããã®ãã§ãã¯ã¯å¤åããå±æ§ã«å¯¾ãã change:xxx ã¤ãã³ãã®çºç«ã®ããã«å¿ è¦ unset ã§ãããªãã¼ã·ã§ã³ãèµ°ãã®ã¯ä½æ ã ããã void 0 㯠undefined ã¨ããã°ãã¼ãã«å¤æ°ã®å¤ã«ããããã常㫠undefined ãè¿ããã ã£ããã validObj ã« undefined ãã»ãããã¦ããªãã¼ã·ã§ã³ãå®è¡
Backbone.Collection ãèªãã ããã£ã¨çºããã ãã http://documentcloud.github.com/backbone/docs/backbone.html toJSON ãåã« models ããããã® toJSON ã map ã§å¼ãã§ãã ããã¨ããã®ã¯ããã add ã®ãªã㧠for ã使ã£ã¦ããã© _.each ã¨ãã§ã¯ãã¡ãªãã ãããã remove ãåæ§ get 㨠getByCid ãåããã¸ãã¯ã§ãããããªãã®ãªã®ã«å®è£ ãéãã®ããªããæ°ã«ãªã sort 㯠comparator ããªãã¨ä¾å¤ãæããããã ãã©ããã©ã«ãã§ã¯ãªã«ãè¨å®ãããªããã ããã https://github.com/rails/rails/commit/a382d60f6abc94b6a965525872f858e48abc00de ããã¿ã¦ pluck ã£ã¦ãªãã
Backbone.Router ãèªãã ããã£ã¨çºããã ãã http://documentcloud.github.com/backbone/docs/backbone.html ãããã Router ã¨ã¯ãªãããï¼ã¨ããã¨ãã¯ã©ã¤ã¢ã³ããµã¤ãã§ããµã¼ããµã¤ãåæ§ã« URL ã§ãã£ã¦å¦çå¤ãã¾ãããããã¨ããã History API ã使ããã° pushState ã使ããã§ãªããã° hash fragment ã使ããããã®ã¨ãããééçã«æ±ããæ©è½ãæä¾ãã¨ãããã¨ã route : function(route, name, callback) { Backbone.history || (Backbone.history = new Backbone.History); if (!_.isRegExp(route)) route = this._routeToRegExp(r
(1) ç»åãUIImageã«èªã¿è¾¼ã æå®ãããã¡ã¤ã«ããç»åãèªã¿è¾¼ã¿ãUIImageã«æ ¼ç´ããããã«ã¯UIImageã®ã¯ã©ã¹ã¡ã½ããã§ããimageNameã¡ã½ããã使ãã¾ãããã®ã¡ã½ããã¯initWithContentsOfFileãããé«éã§ãã //ç»åãèªã¿è¾¼ã UIImage *image = [UIImage imageNamed:@"test.jpg"]; (2) ç»åããã¡ã¤ã«ãã¹ããèªã¿è¾¼ã ãã¡ã¤ã«ãã¹ãæå®ãã¦ç»åãèªã¿è¾¼ãããã«ã¯ãNSBundleã¯ã©ã¹ãç¨ãã¦ãã¹ãä½æãããã®ãã¹ãinitWithContentsOfFileã®å¼æ°ã«ãã¦ãããã¾ãããã ããinitWithContentsOfFileã§ä½æããUIImageã®æç»ã¯é常ã«é ãã®ã§æ³¨æã NSString *filePath = [[NSBundle mainBundle] pathForRe
åé«ã§ããåé«ããã®åãç¥ãåãã®æ¥æ¬å¨ä½WEBå±ããããæ©ä¼ã ãããã¨ãæ¥æ¬åã§å¤§éã«ãã©ã³ããè³¼å ¥ãã¦ãã¦ã¾ããã åãã«ããã«åãã¦çå¦çã¨ãã¦æ¥ã4å¹´åã¯ï¼ã«ãããã«ã120åãããã ã£ãã®ã§ãä»ã®70åããããªã®ãç®ã®é¯è¦ã«è¦ãã¦ããããç¡ãä»æ¥ãã®é ã§ããï¼ã¡ãªã¿ã«ãã«ãããã«ã£ã¦æ¥æ¬äººã«é¦´æã¿ç¡ãããã§ãããæ¥æ¬ããã¿ããç±³ãã«ã¨å¤§ä½ä¸ç·ãããã§ããããï¼ ãã¦ãã¦ãå ææåãã©ã³ãã®ãã¨ãã¾ã¨ãã¾ãããããããªåé«ã«åããã¦ãã©ã³ã大éè³¼å ¥ãªç¥ãåãã®ãã¨ããããä»åã¯ãã®ç¥äººã¸ã®ãã¦ã¤ãï¼ï¼ï¼ã«ãæè¿ã¯ããªã¼ãã©ã³ãããããªã«ã¬ãã«é«ããã ãï¼ãã¨ãããã¨ãä¼ãããã¨æãã¾ããã®ã§ããã®ã¾ã¨ããæ¸ããã¦ãããã¾ãã â¦â¦ã¨ãæã£ãã®ã§ãããææãã©ã³ãã§ãæè¿ã ã¨çµæ§ä½ä¾¡æ ¼ã§è²·ããç©ããã£ã±ãããã®ã§ãåã®å¥½ããªã·ã³ãã«ãã§å¼·èª¿ããããªãææãã©ã³ããæåæãä¸å¿ã«ä¸ç·ã«
ããã¹ããã¤ãã³ã°ã«å¿ è¦ãªãã¿ã¼ã³èªèã¨æ©æ¢°å¦ç¿ã«ã¤ãã¦å¦ã³ã¾ããé常ã«åæ©çãªè©±ããå§ãã¾ãã対象è ã¯ãããã¹ããã¤ãã³ã°ã«èå³ããããç¨ããããææ³ã®ä¸èº«ãç¥ãããï¼ããã©é«åº¦ãªæ°å¦ã¯å³ããâ¦ï¼ãã¨ãããã¸ãã¹ãã³ãå¦çããã§ããæ°å¼ã¯åºæ¥ãéãã使ãã¾ããã使ããªãã¨æå³ããã¨ããã¯ç解ã§ãã¾ããããã ããæç´ã«æ°å¼ã®ä¸è¡ä¸è¡ãæè¨ç®ã§é ã追ã£ã¦è§£ãã¦ããã¾ãããå¿ è¦ãªæ°å¦ç¥èã¯ãã®é½åº¦èª¬æããåæç¥èã¯æ±ãã¾ããã®ã§ãæ°å¼åºã¦ããã®ï¼ãããã¤ãã¦ãããªãã®ã§ã¯â¦ãã¨ããå¿é ã¯ä¸è¦ã§ãããã®è¨äºã®ç¹å¾´ã¯ãæ©æ¢°å¦ç¿ã®ææ³ããããåé·ãªæ°å¼ã¨éå°ãªã¾ã§ã®ä¾ãç¨ãã¦ããã©ãã©ã¨åã話ãä½åº¦ã説æããããã¨ã§ãã çè ãã¨ããã¡ã¹ã¯ç´æç³»åºèº«ã§ãæ°å¦ãçµ±è¨å¦ãããã°ã©ãã³ã°ã¯å ¨ç¶å¦çæ代ãã£ã¦ããªãã£ãä¸ãæ¥åã§ãæ©æ¢°å¦ç¿ã使ããã¨ãªãã¦çç¡ãããã©ãããæ©æ¢°å¦ç¿ãªãã¦è¨èã¯å°±è·ãã¦ãããã
Sassã§ã¯@importããã¾ã使ãã¨ãSCSSãã¡ã¤ã«ãç®çå¥ã«æ´çãã¦ç®¡çãããã¨ãã§ãã¾ããã¢ã¸ã¥ã¼ã«åã§ããã¨ãããã¨ã§ããããã©ã¤ããªSCSSãã¡ã¤ã«ã¨ã¯åãåæã«ä»ããå¼ç§°ã§ãããã¤ã¾ãåã¢ã¸ã¥ã¼ã«ãèªã¿è¾¼ãã ãã®SCSSãã¡ã¤ã«ã®ãã¨ã§ããã°ãã¼ãã«ã«ä½¿ç¨ããå¤æ°ã®è¨å®ãã¡ã¤ã«ãªã©ãå«ãã¦æ´çãã¦ããã©ã¤ããªSCSSãã¡ã¤ã«ã§ã¯ããããèªã¿ããã ãã¨ãã¦ããã¨ç®¡çãå°ã楽ã«ãªãããããªããã¨ã ãã®Webãµã¤ãã®ãã©ã¤ããªSCSSãã¡ã¤ã«ã¯ä»¥ä¸ã®ãããªãã®ã§ãã $version: "6.10.21"; /*! * style.css v#{$version} * * LICENSE: http://hail2u.mit-license.org/2011 */ // Web Fonts @import url("http://fonts.googleapis.com/css
Backbone.js ã注ç®ãããã¡ã§ããã©ãBackbone.js ãæ¯ãã¦ãã Underscore.js ããå®ã¯ããªã便å©ãªã©ã¤ãã©ãªã§ããå ¬å¼ãµã¤ããè¦ãã¨ãããããªã¡ã½ãããçãã ãããã Underscore.js ç§èªèº«ã¯ã¾ã Backbone.js ã®ã¤ãã§ã«ä½¿ã£ã¦ãã段éã§ããã©ãã Underscore.js ãæä¾ããã¡ã½ããã¯æ°ãå¤ãã®ã§ãä»åã¯ãã使ã£ããã®ã«çµã£ã¦åãä¸ãã¦ã¿ã¾ãããã以å¤ã¯å ¬å¼ããã¥ã¡ã³ããè¦ã¦ãã ããã each test("each", function() { var data = []; _.each(["foo","bar","hoge","fuga"], function(n){ data.push(n); }); equals(data.length, 4); equals(data[0], "foo"); equals(da
âVertical-align isnât working!â cried the web developer. The vertical-align property is one of those features of CSS that sounds pretty self-explanatory, but can cause problems for CSS beginners. I think even many CSS veterans have had problems figuring this one out at times. In this post, Iâll try to cover it in an understandable manner. What it Does Not Do The common misconception about vertical
Overflow Image with vertical centering for Responsive Web Design If you want to use an image in your responsive web design you can use fluid images. But there is another way. You can set a maximum height and crop the image. So how does this work? It's simple. Just put your image in a container and set the width of your image to 100%. Then set the max-height of the container to 450px and hide the o
Checkboxã«ãããã§ãã¯ããªããã¦ãªããã¯ãªãã¯ãã¦ããé¸æãã¦ãããããã£ã¦æãã«ã§ããããã«ãã¦ã¿ãã âââââCheckboxã綺éºã«ããã â¼ãããªæãã§ã HTML <form action="" id="form" method="post"> <label for="checkbox1"> <input type="checkbox" name="Checkbox" value="Checkbox" id="checkbox1" checked="checked" />Checkbox </label> ......
ä»ãã£ã¦ãä»äºã®é¢ä¿ã§ï½¤å½¢æ ç´ è§£æã¢ã«ã´ãªãºã ã«ã¤ãã¦ã¡ãã£ã¨èª¿ã¹ãå¿ è¦ããã£ãã®ã§ï½¤ã¤ãã§ã«Rubyã§å½¢æ ç´ è§£æã©ã¤ãã©ãªãä½ã£ã¦ã¿ã。ã¨ããå 容ã®çºè¡¨ã§ã(ã®ã¯ãã ã、Rubyã®ã³ã¼ããä¸æåãæ¸ãã¦ãªãã§ããâ¦â¦)。 ã¹ã¿ã¼ãå½¢æ ç´ è§£æ View more presentations from todesking ã¡ãã£ã¨ãã¬ã¼ã³ã®ã¯ãªãªãã£ãã²ã©ãã®ã§ï½¤è¿ããã¡ã«ããã°ã§è£è¶³è¨äºãæ¸ããã¨æã£ã¦ããã¾ã。 ã½ã¼ã¹ã¯ https://github.com/todesking/okura ã«ã¦å ¬éä¸ï½¡ Pure Rubyã§gemä¸çºã§å ¥ããããªå½¢æ ç´ è§£æã©ã¤ãã©ãªãããã¨ï½¤Windowsãherokuãªã©ã§å½¢æ ç´ è§£æåããã¦ãã£ããã¹ãããªãããã¾ã。 ç´è¿(æ¥é±ããã)ã®éçºã§ã¯ï½¤ gemå è¾æ¸ãgemå è¾æ¸ã®ã³ã³ãã¤ã« Double Array Trieã®æ¡ç¨ æªç¥èªå¦ç対å¿
彼女ããã人ã«è³ªåã§ãã 彼女ã欲ããã§ãã 彼女ã欲ãããã⦠- 人åæ¤ç´¢ã¯ã¦ãª â彼女ã欲ããâãããã åãã®ç«ã¦æ¹ããä»é¢¨ã ãªã¨æããââã¡ããã¨ä»ãåãããã¨ããÃÃããã¨ä¸ç·ã«å¤é£ãé£ã¹ãããã¨ããããªãã¦ãâ彼女ã欲ããâããââããã«ã¢ããã¼ãããæ¹æ³ãæãã¦æ¬²ããããã好ããªå¥³ã®åã¨ãåããããã¦ãã¦ãæãã¦æ¬²ãããã¨ããåããã¿ãã¨ãããããã®è³ªåè ã¯èª°ãã«æãã¦ããã ãªãã¨æããã ãã©ãã彼女欲ãããã¨ã俺ã¢ããªããã¨ããç¬ç½ããã¯ãã³ãã¥ãã±ã¼ããããã»äº¤éããã対象ã¨ãã¦ã®ç°æ§ã®å½±ã¯ãã¾ãæµ®ãã³ä¸ãã£ã¦ããªããæ¸æã®å¿µã¯å¼·ãæããããã«ãã¦ãã ãã®åãã«å¯¾ãã¦ã¯ãã¯ã¦ãªããã¯ãã¼ã¯å´ã«ãç´°ã ã¨ããã¢ããã¤ã¹ãè¿çãæ¸ããã¦ããããã ãããããªãã®ããé¥ãã«ã¯ãªãã£ã«ã«ãªæ¡ä»¶ã¯ã 1.ã誰ãã好ãã«ãªããã¨ã 2.ããã®èª°ãã«å¯¾ãã¦ã(ãã¨ãä¸åºæ¥ä¸å®å ¨ã¨ã¯ãã
Fireworksã§ãå¾®å¦ãªè²ã®èª¿æ´ãããã¨ãã« æ¯åãã¬ãããããããããã®ãé¢åã§ããªã«ãããæ¹æ³ã¯ãªããã¨èª¿ã¹ãã ããã¬ã³ãã¼ãã¨ããããã«ãããããã§ãã ä»åã¯ãã®ããã¬ã³ãã¼ããç´¹ä»ãããã¾ãã Fireworksã§ã¯ããã¼ã«ã®è²ãã¿ã³ãé¸æããã¨webã«ã©ã¼ã®ãã¬ãããéã㦠ããããããå°ããããããã«ã©ã¼ãããã«ã«ããããã¨ãã§ãã¾ãã ã ãããã¯webã«ã©ã¼ã®ãã¬ããã§ããããã¤ãããã¨ã ãã®ãã«ã©ã¼ãããã«ã®æ¨ªã®ãã¼ã§ æ度ãä¸ãä¸ãããã°ãããããããããããããæããã¿ãã㪠è²èª¿æ´ãå¯è½ãªã®ã§ãã ãªã¬ã³ã¸ç³»çµ±ã®è²ãªã©ãä¸éè²ã«é¢ãã¦ã¯ã ä¸è¨ã®ããã«æ度ãä¸ãããããããã£ã¨æããããã§ããªãå ´åãããã¾ãã ãããã£ãå ´åã¯ç´æ¥çãä¸ã®ä¸¸ãã°ã©ãã¼ã·ã§ã³ã®ãã¤ã³ã¿ã é»è²å´ããç½å´ã«åããã®ã§ããããªããªããã¾ãè²ãã§ãªãã 赤ã«ãããããããé»è²ã«ãªã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}