Skip to content

Instantly share code, notes, and snippets.

View Banhawy's full-sized avatar
🏠
Working from home

Adham El Banhawy Banhawy

🏠
Working from home
View GitHub Profile
@Banhawy
Banhawy / create-react-app package.json with SASS
Created August 15, 2017 02:16
Using create-react-app with SASS
{
"name": "activity-counter",
"version": "0.1.0",
"private": true,
"dependencies": {
"node-sass-chokidar": "0.0.3",
"npm-run-all": "^4.0.2",
"react": "^15.6.1",
"react-dom": "^15.6.1",
"react-scripts": "1.0.11"
{
"1": {
"leader": "Barak Obama",
"years": "1961 - present",
"wiki": "https://en.wikipedia.org/wiki/Barack_Obama",
"cover": "https://rooseveltcdc.files.wordpress.com/2016/01/flag.png?w=1500",
"pic": ["http://s1.lemde.fr/image/2016/01/13/534x0/4846180_6_6bb8_barack-obama-a-profite-de-son-adresse-au_5a3d3534c49599cad78039f91b7c2855.jpg", "http://pixel.nymag.com/imgs/daily/vulture/2016/08/11/11-obama-sex-playlist.w529.h529.jpg", "http://i2.cdn.cnn.com/cnnnext/dam/assets/160105151652-obama-90-sec-large-169.jpg", "http://15130-presscdn-0-89.pagely.netdna-cdn.com/wp-content/uploads/2016/04/obama-mic-drop.jpg"],
"quotes": [ "Torture is how you create enemies, not how you defeat them.", "There's not a liberal America and a conservative America - there's the United States of America.", "Do something, Congress. Do anything.", "Change doesn't come from Washington. Change comes to Washington.", "It took a lot of blood, sweat and tears to get to where we are today, but we have just begun. Today we begin in ea
@Banhawy
Banhawy / Browser Sync + SASS Setup
Last active July 15, 2017 23:54
Gulp file to watch and compile sass files and reloads browser on changes
var gulp = require('gulp');
var sass = require('gulp-sass');
var browserSync = require('browser-sync');
var uglify = require('gulp-uglify');
var useref = require('gulp-useref');
var cssnano = require('gulp-cssnano');
var runSequence = require('run-sequence');
// Basic Gulp task syntax
gulp.task('hello', function() {
<section>
<div class="container">
<div class="row">
<div class="col"></div>
<div class="col-12">
<div class="jumbotron">
<h1>Proactive Marketing & PR Report</h1>
<h2>October 2016</h2>
<h2>University Relations</h2>
</div>