Skip to content

Instantly share code, notes, and snippets.

View kaleem-elahi's full-sized avatar
🌍
Remote Frontend Engineer

Kaleem Elahi Shaikh kaleem-elahi

🌍
Remote Frontend Engineer
View GitHub Profile
@gokulkrishh
gokulkrishh / media-query.css
Last active November 10, 2024 02:00
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
/* CSS */
@Bhavdip
Bhavdip / sketch-never-ending.md
Created October 6, 2016 15:53
Modify Sketch to never ending trial

###Sketch trial non stop

Open hosts files:

$ open /private/etc/hosts

Edit the file adding:

127.0.0.1 backend.bohemiancoding.com

127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com

@kaleem-elahi
kaleem-elahi / sortAll.js
Last active July 16, 2018 14:34
A Sorting function that sorts Letters and Numbers both in ascending order (Made for React)
export function sortAll(arr, key = 'key', direction = 'asc', type = 'string') {
return arr.sort((a, b) => {
let keyA;
let keyB;
if (type === 'string') {
keyA = a[key].toLowerCase();
keyB = b[key].toLowerCase();
}
if (type === 'number') {
keyA = parseInt(a[key], 2);
@rachelandrew
rachelandrew / smashing-template.md
Last active January 15, 2023 23:31
Template for Smashing Magazine authors

Authors Guide: Article Template

Please submit your article including all of the information below. You can include this as a seperate file if you like - but please complete each section. Please use an online service to write your article, for example Dropbox Paper, Draft.in, Google Docs. For more help, see the editorial guide

Article Title

Ideally under 67 characters, what problem does this article solve?

Quick Summary