Skip to content

Instantly share code, notes, and snippets.

View CarlasHub's full-sized avatar
🌐
http://carlashub.com/

Carla Goncalves CarlasHub

🌐
http://carlashub.com/
View GitHub Profile
{
"id":"6ce4a00a-677d-4265-8144-4873d3d0075d",
"url":"https://api.filepreviews.io/v2/previews/6ce4a00a-677d-4265-8144-4873d3d0075d/",
"status":"success",
"preview":{
"original_size":{
"width":"1280",
"height":"1024"
},
"page":1,
@CarlasHub
CarlasHub / Random-images.json
Created December 7, 2020 17:04 — forked from awadhawan18/Random-images.json
Sample json data with image and a text for testing
{
"sample":[
{
"description":"Lady with a red umbrella",
"image-url":"https://i.imgur.com/pwpWaWu.jpg"
},
{
"description":"Flowers and some fruits",
"image-url":"https://i.imgur.com/KIPtISY.jpg"
},
@CarlasHub
CarlasHub / _media-queries.scss
Created June 5, 2020 13:40 — forked from anthonyshort/_media-queries.scss
Media Queries in Sass
// Media Queries in Sass 3.2
//
// These mixins make media queries a breeze with Sass.
// The media queries from mobile up until desktop all
// trigger at different points along the way
//
// And important point to remember is that and width
// over the portrait width is considered to be part of the
// landscape width. This allows us to capture widths of devices
// that might not fit the dimensions exactly. This means the break
@CarlasHub
CarlasHub / gulpfile.js
Created December 23, 2018 10:16 — forked from mikaelbr/gulpfile.js
Example gulpfile for complete set-up.
var gulp = require('gulp');
var browserify = require('gulp-browserify');
var concat = require('gulp-concat');
var less = require('gulp-less');
var refresh = require('gulp-livereload');
var lr = require('tiny-lr');
var server = lr();
var minifyCSS = require('gulp-minify-css');
var embedlr = require('gulp-embedlr');
@CarlasHub
CarlasHub / DEV_RESOURCES.md
Created August 19, 2018 21:03 — forked from bradtraversy/webdev_online_resources.md
Online Resources For Web Developers (No Downloading)
@CarlasHub
CarlasHub / git-clearHistory
Created May 20, 2018 23:26 — forked from stephenhardy/git-clearHistory
Steps to clear out the history of a git/github repository
-- Remove the history from
rm -rf .git
-- recreate the repos from the current content only
git init
git add .
git commit -m "Initial commit"
-- push to the github remote repos ensuring you overwrite history
git remote add origin git@github.com:<YOUR ACCOUNT>/<YOUR REPOS>.git
@CarlasHub
CarlasHub / restful_routes.md
Created May 14, 2018 20:09 — forked from alexpchin/restful_routes.md
7 Restful Routes
URL HTTP Verb Action
/photos/ GET index
/photos/new GET new
/photos POST create
/photos/:id GET show
/photos/:id/edit GET edit
/photos/:id PATCH/PUT update
/photos/:id DELETE destroy