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
gulp-ruby-sass, gulp-plumber | |
gulp.task('sass', function () { | |
return sass(path.SCSS, {style:'compressed'}) | |
.on('error', function (err) { | |
console.error('Error!', err.message); | |
}) | |
.pipe(plumber()) | |
.pipe(gulp.dest(path.SCSS_DEST)); |
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
var HeadLine = React.createClass({ | |
prieteni = this.props.prieteni | |
render: function() { | |
return ( | |
<div className="headline"> | |
<p>{prieteni == 0 ? 'Nu ai niciun prieten YOU.': prieteni == 1 ? 'Ai un prieten YOU.' : prieteni + ' dintre prietenii tăi sunt YOU.'}</p> | |
</div> | |
); | |
} | |
}); |
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
var React = require('react'); | |
var request = require('request'); | |
var ScrollArea = require('react-scrollbar'); | |
var FriendItem = require('./friendItem'); | |
var AppConstants = require('../../app-constants'); | |
var Recomandari = React.createClass({ | |
getDefaultProps: function() { | |
return { | |
url: AppConstants.API_URI, |
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.js Starter Kit | |
* Copyright (c) Konstantin Tarkus (@koistya), KriaSoft LLC | |
* | |
* This source code is licensed under the MIT license found in the | |
* LICENSE.txt file in the root directory of this source tree. | |
*/ | |
'use strict'; |
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
var request = require('superagent'); | |
var http = require('http'); | |
var fs = require('fs'); | |
var mysql = require('mysql'); | |
var connection = mysql.createConnection({ | |
host : '127.0.0.1', | |
user : 'root', | |
password : 'firewall', | |
database : 'scrap' |
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
$visual-grid: false; | |
$visual-grid-color: #ccc; | |
$visual-grid-index: front; | |
$visual-grid-opacity: .1; | |
$max-width: em(1140); | |
// Breakpoints | |
$mobile-size: em(320); | |
$tablet-size: em(720); | |
$desktop-size: em(960); |
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
{ | |
"name": "html5-ad", | |
"version": "1.0.0", | |
"description": "How i’ve made an ad with HTML5, CSS3 & ZeptoJS", | |
"main": "index.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"keywords": [ | |
"ad", |
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
var gulp = require('gulp'), | |
gulpif = require('gulp-if'), | |
sprity = require('sprity'), | |
gutil = require('gulp-util'), | |
jshint = require('gulp-jshint'), | |
sass = require('gulp-ruby-sass'), | |
concat = require('gulp-concat'), | |
uglify = require('gulp-uglify'), | |
sourcemaps = require('gulp-sourcemaps'), | |
plumber = require('gulp-plumber'); |
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
<link rel="stylesheet" href="http://clients.v8i.ro/becks-ncp-15/assets/css/b-bridge.css" /> | |
<script src='http://cdnjs.cloudflare.com/ajax/libs/zepto/1.1.6/zepto.min.js'></script> | |
<script src='http://clients.v8i.ro/becks-ncp-15/assets/js/bridge.js'></script> |