- VZAN Action 36 furos
- Pedivela Shimano Deore FC-M610
- Sapata Shimano Alívio
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"/> | |
<title>Untitled benchmark</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script> | |
<script src="./suite.js"></script> | |
</head> | |
<body> | |
<h1>Open the console to view the results</h1> |
// [[1,2,[3]],4] -> [1,2,3,4] | |
function flatten(a) { | |
let result = []; | |
function searchItemAndAdd(array) { | |
array.forEach((item) => { | |
if (typeof(item) === 'object') { | |
searchItemAndAdd(item); | |
} else { |
[ | |
{ | |
"internalCustomerId":"1b2a773b-bdec-4d5a-b00d-5b7553d6df89", | |
"isNew":true, | |
"name":"Brightcom", | |
"customerId":8, | |
"containers":[ | |
{ | |
"containerId":"b4c28679-db58-458f-9809-b92a0cc12bcd", | |
"deploymentId":null, |
npm WARN optional Skipping failed optional dependency /chokidar/fsevents: | |
npm WARN notsup Not compatible with your operating system or architecture: [email protected] | |
npm WARN [email protected] No repository field. | |
npm WARN [email protected] No license field. | |
npm ERR! Linux 4.4.0-31-generic | |
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" | |
npm ERR! node v5.7.1 | |
npm ERR! npm v3.6.0 | |
npm ERR! path /projects/dashbid/imo_vpaid-html5/node_modules/nyc/node_modules/yargs/node_modules/window-size/cli.js | |
npm ERR! code ENOENT |
# Resumo 01 | |
## Autor: Luciano | |
Na semana 1 criamos exemplos de Toast Notification. | |
Segue o exemplo do código no github: | |
[Androidinrio/ForkinAndroidCatete/blob/master/src/com/todo/android/MainActivity.java#L28](Androidinrio/ForkinAndroidCatete/blob/master/src/com/todo/android/MainActivity.java#L28) | |
# Semana 003 - Resumo |
function countCSSRules() { | |
var results = '', | |
log = ''; | |
if (!document.styleSheets) { | |
return; | |
} | |
for (var i = 0; i < document.styleSheets.length; i++) { | |
countSheet(document.styleSheets[i]); | |
} | |
function countSheet(sheet) { |
# Definitive solution for apache production setup! | |
LoadModule passenger_module /home/vagrant/.gems/gems/passenger-4.0.45/buildout/apache2/mod_passenger.so | |
<IfModule mod_passenger.c> | |
PassengerRoot /home/vagrant/.gems/gems/passenger-4.0.45 | |
PassengerDefaultRuby /usr/bin/ruby2.1 | |
</IfModule> | |
# Snippet for passenger module installed with sudo, but this is not needed | |
# LoadModule passenger_module /var/lib/gems/2.1.0/gems/passenger-4.0.45/buildout/apache2/mod_passenger.so |
#!/bin/sh | |
for FILE in `git diff-index --name-status HEAD -- | awk '{print $2}'`; do | |
if [ "echo $FILE | grep .rb" ]; then | |
if [ "grep 'binding.pry|debugger' $FILE" ]; then | |
echo "$FILE: pry or debugger call. Fix it before committing." | |
exit 1 | |
fi | |
fi | |
done |