- Ubuntu 14.04, 16.04, or 16.10
- Open up terminal
- Install core deps:
sudo apt-get install clang libicu-dev git
~ df | |
[show all devices] | |
~ sudo umount /dev/sdaX | |
~ sudo mkfs.vfat -F 32 -n "Nombre_pendrive" /dev/sdaX | |
source: | |
https://rootear.com/ubuntu-linux/formatear-usb-terminal-de-ubuntu |
class BooksTests: QuickSpec { | |
override func spec() { | |
describe("Book") { | |
let adapter = NetworkAdapter() | |
let mockFinder = MockBookFinder(adapter: adapter) | |
it("MockBookFinder.searchBy success") { | |
var wasSuccess = false | |
mockFinder.searchBy(author: "jhon doe", success: { data in | |
wasSuccess = true |
fastlane_version "1.57.0" | |
require 'fileutils' | |
default_platform :ios | |
platform :ios do | |
desc "Increment framework version" | |
private_lane :increment_framework_version do |lane| |
# 安裝 Homebrew | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
# 安装 OCLint | |
brew tap oclint/formulae | |
brew install oclint | |
# 安裝 xcpretty | |
gem install xcpretty |
http://slides.com/agar3s/que-debes-saber-para-hacer-un-juego-con-javascript#/ | |
capacidades canvas | |
http://codepen.io/agares/full/pJpoya/ | |
capacidades webgl | |
http://webglsamples.org/dynamic-cubemap/dynamic-cubemap.html | |
capacidades dispositivos de entrada | |
http://codepen.io/agares/full/NPdKOB/ |
#!/bin/bash | |
DIR=`pwd` | |
SRC_DIR=$1 | |
BUCKET=$2 | |
TMP_DIR="/tmp/gzsync" | |
mkdir -p $TMP_DIR | |
# check that we have a trailing slash | |
[[ $BUCKET != */ ]] && BUCKET="$BUCKET"/ |
var HelloMessage = React.createClass({ | |
render: function() { | |
return <div tabIndex="1" onBlur={this.onBlur}> | |
Hello <input type="text" value="wat"/> | |
</div>; | |
}, | |
onBlur: function(e) { | |
var currentTarget = e.currentTarget; |
# /etc/fstab: static file system information. | |
# | |
# Use 'blkid' to print the universally unique identifier for a | |
# device; this may be used with UUID= as a more robust way to name devices | |
# that works even if disks are added and removed. See fstab(5). | |
# | |
# <file system> <mount point> <type> <options> <dump> <pass> | |
# /home was on /dev/sda3 during installation |
FUENTE: https://github.com/bem/bem-method/blob/bem-info-data/articles/19-bem-principles/19-bem-principles.ru.md | |
1. Código abierto | |
2. Fácil de usar | |
3. Minimalismo | |
En el diseño de la funcionalidad necesaria, con el objetivo hacer intersecciones, en lugar ser unificado. | |
En una situación de elección se recomienda para resolver el problema, | |
se puede optar por la de menos código, Entidad o BEM fácil de soporte. | |
4. Pruebas unitarias | |
5. Uniformidad |