Not: Mart 2016 itibariyle aşağıdaki ilan geçersizdir. Şu an için açık pozisyon bulunmamaktadır.
This file contains 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
/** | |
* Sample React Native App | |
* https://github.com/facebook/react-native | |
*/ | |
'use strict'; | |
var React = require('react-native'); | |
var { | |
AppRegistry, | |
Navigator, |
This file contains 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
/*global Immutable*/ | |
var raw_urls = _.range(1, 5).map(function (i) { | |
return {id: i, url: "url.com" + i, title: "Title of " + i, content: "Content of " + i};}); | |
var some_map = _.object(_.map(raw_urls, function(item) { | |
return [item.id, item]; | |
})); |
This file contains 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
youtube-dl -citk --max-quality mp4 http://www.youtube.com/playlist?list=PLZdCLR02grLoc322bYirANEso3mmzvCiI |
This file contains 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
(defun cider-eval-defun-at-point-in-repl () | |
(interactive) | |
(let ((form (cider-defun-at-point))) | |
;; Strip excess whitespace | |
(while (string-match "\\`\s+\\|\n+\\'" form) | |
(setq form (replace-match "" t t form))) | |
(cider-switch-to-current-repl-buffer) | |
;;(set-buffer (cider-find-or-create-repl-buffer)) | |
(goto-char (point-max)) |
This file contains 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
# How to handle forms with React | |
1- Save all raw values in state, never read from dom using getdomnode. | |
2- Do not save whether the value is valid or not in state. This is the most | |
important point. Whether a form is valid or not can be inferred from state | |
form variables during render. So, we never have a state variable like | |
formValid. Otherwise, it can go out of sync. | |
3- Showing errors: We initially do not want to show the errors, even if the |
This file contains 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
./4clojure-20131014.1507 | |
./ac-python-20110519 | |
./ace-jump-mode-20140616.115 | |
./ack-and-a-half-20130815.1917 | |
./anzu-20140703.2228 | |
./archives | |
./auto-complete-20140803.2118 | |
./blank-mode-20130824.1159 | |
./browse-kill-ring-20140807.720 | |
./buffer-move-20140522.58 |
This document contains some notes I have gathered while I was trying to setup a redis service using boot2docker running on OS X. This won't cover what Docker is, see Docker website for details.
First, install Virtualbox and follow the steps at http://docs.docker.com/installation/mac/
Since Docker only runs on Linux, boot2docker runs a virtual machine in Virtualbox (or VMWare etc), however you can run the docker command on OS X
This file contains 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
// include http://fgnass.github.io/spin.js/jquery.spin.js first | |
var SpinningMixin = { | |
componentWillUpdate: function (nextProps, nextState) { | |
if (this.state.inProgress && !nextState.inProgress) { | |
this.stopSpinning(); | |
} | |
if (!this.state.inProgress && nextState.inProgress) { |
This file contains 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
{# react_component.html #} | |
{% comment %} | |
Template for a custom template tag for a React component. Includes the jQuery DOM ready call | |
Props: | |
- id | |
- js_mount_callback_name that takes a jquery selector and mounts the component | |
{% endcomment %} |