Launch Server:
meteor
Which Meteor version
meteor --version
Launch Server:
meteor
Which Meteor version
meteor --version
shaserver
shaios
grunt ios
ulimit -n 8192
L'objectif de cet exercice est de réaliser une application native simple en s'inspirant fortement de la version de Shopmium actuellement sur iTunes. L'exercice est en temps libre.
Cette application doit permettre à un utilisateur :
L'objectif de cet exercice est de réaliser une application native simple en s'inspirant fortement de la version de Shopmium actuellement sur Google Play. L'exercice est en temps libre.
Cette application doit permettre à un utilisateur :
if [ $# -eq 1 ]; then | |
export JAVA_HOME=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home | |
# NOTICE: Compile modified SDK | |
cd ~/Dev/titanium_mobile/ | |
scons | |
tar -xf dist/mobilesdk-3.5.1.S2-osx.zip | |
cp -r dist/mobilesdk/osx/3.5.1.S2 ~/Library/Application\ Support/Titanium/mobilesdk/osx/ | |
echo "== SDK built\n" |
# lib/forest_liana/collections/bot.rb | |
class Forest::Bot | |
include ForestLiana::Collection | |
collection :bots | |
segment 'expressive bots' do | |
{ id: Bot | |
.joins(:expressions) | |
.group('bots.id') |
// forest/candidate.js | |
'use strict'; | |
const _ = require('lodash'); | |
const Liana = require('forest-express-sequelize'); | |
const models = require('../models'); | |
const { Op } = models.Sequelize; | |
Liana.collection('candidate', { | |
segments: [{ | |
name: 'Elections 2017', |
// forest/candidate.js | |
'use strict'; | |
const _ = require('lodash'); | |
const Liana = require('forest-express-sequelize'); | |
const models = require('../models'); | |
Liana.collection('candidate', { | |
fields: [{ | |
field: 'Area', | |
type: 'String', |
# https://ryanwinchester.ca/posts/install-php-5-6-in-osx-10-with-homebrew | |
brew install php56-pdo-pgsql | |
laravel new cars | |
php artisan key:generate | |
php artisan clear:cache | |
cd cars | |
composer install | |
php artisan make:migration create_cars_table | |
php artisan migrate |
class Forest::Customer | |
include ForestLiana::Collection | |
collection :customers | |
search_fullname = lambda do |query, search| | |
first_name, last_name = search.split | |
query.where_values.first << " OR (firstname = '#{first_name}' AND lastname = '#{last_name}')" | |
query |