This file contains hidden or 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
# From /Originales (.NEF) to ../Convertidas (.JPG) | |
for i in *.NEF; do sips -s format jpeg $i --out "../Convertidas/${i%.*}.jpg"; done |
This file contains hidden or 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
export DEBIAN_FRONTEND=noninteractive | |
sudo apt-get -q -y update | |
sudo apt-get -q -y install build-essential | |
sudo apt-get -q -y install cmake | |
sudo apt-get -q -y install pkg-config | |
sudo apt-get -q -y install libpng12-0 libpng12-dev libpng++-dev libpng3 | |
sudo apt-get -q -y install libpnglite-dev libpngwriter0-dev libpngwriter0c2 | |
sudo apt-get -q -y install zlib1g-dbg zlib1g zlib1g-dev | |
sudo apt-get -q -y install pngtools libtiff4-dev libtiff4 libtiffxx0c2 libtiff-tools | |
sudo apt-get -q -y install libjpeg8 libjpeg8-dev libjpeg8-dbg libjpeg-progs |
This file contains hidden or 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
var gulp = require('gulp'), | |
gutil = require('gulp-util'), | |
concat = require('gulp-concat'), | |
sourcemaps = require('gulp-sourcemaps'), | |
uglify = require('gulp-uglify'), | |
debug = require('gulp-debug'), | |
clean = require('gulp-clean'), | |
autoprefixer = require('gulp-autoprefixer'), | |
uncss = require('gulp-uncss'), | |
cssmin = require('gulp-cssmin'), |
This file contains hidden or 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
#!/bin/bash | |
colorPrint () { | |
echo "$(tput setaf 1) $(tput setab 7) Visualizer Installer $(tput sgr 0) $(tput setaf 3) $(tput bold) $1 $(tput setaf 7)" | |
} | |
colorPrint "Welcome, $C9_FULLNAME!" | |
colorPrint "You are installing King of App Visualizer in C9.io..." | |
colorPrint "1. Let's check your system (Node & Npm)..." |
This file contains hidden or 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
{ | |
"name": "koapp-spinner-doc-simple", | |
"authors": "Ulises Gascón", | |
"description": "Documentation simple sample spinner for King of App", | |
"main": "koapp-spinner-doc-simple.html", | |
"moduleType": [ | |
"globals" | |
], | |
"keywords": [ | |
"kingofapp", |
This file contains hidden or 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
{ | |
"name": "koapp-spinner-doc-complex", | |
"authors": "Ulises Gascón", | |
"description": "Documentation complex sample spinner for King of App", | |
"main": "koapp-spinner-doc-complex.html", | |
"moduleType": [ | |
"globals" | |
], | |
"keywords": [ | |
"kingofapp", |
This file contains hidden or 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
'use strict'; | |
module.exports = function(grunt) { | |
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks); | |
grunt.initConfig({ | |
karma: { | |
options: { | |
configFile: 'karma.conf.js' | |
}, | |
unit: { |
This file contains hidden or 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
function updateHTML (datosdb){ | |
console.log("Data from Ajax request: ", datosdb); | |
/* | |
-- UPDATE HTML -- | |
*/ | |
} | |
function errorDatos (err){ | |
console.warn("Error in Ajax Request: ", err); | |
/* |
This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> | |
<meta name="description" content=""> | |
<meta name="author" content=""> |
This file contains hidden or 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
#!/usr/bin/env node | |
var http = require('http'); | |
if (!process.argv[2]) { | |
console.error('Necesito un parámetro para afinar mis resultados'); | |
process.exit(1); | |
} else { | |
if (process.argv[2] !== "all" && | |
process.argv[2] !== "1.0" && |