Skip to content

Instantly share code, notes, and snippets.

View jeblister's full-sized avatar

Mohamed jeblister

View GitHub Profile
@jeblister
jeblister / History|-1125c998|8BQd.json
Last active June 7, 2022 15:13
Synchronize settings, snippets, themes, icons, launch, keybindings, workspaces and extensions across machines using GitHub Gist.
{
"container": {
"width": "100%"
},
"pointer-events-none": {
"pointerEvents": "none"
},
"absolute": {
"position": "absolute"
},
@jeblister
jeblister / Bulletproof_foods.md
Created April 14, 2019 20:28 — forked from JamesDullaghan/Bulletproof_foods.md
Dave Aspreys bulletproof diet food list

How many servings should I eat per day?

  • Fruit = 1-2 servings
  • Animal protein = 4 - 6 servings
  • Healthy fats = 5 - 9 servings
  • Healthy vegetables = 6 - 11 servings

How should I allocate my calories per day?

  • Healthy fats = 50%
@jeblister
jeblister / README.md
Created March 4, 2018 12:30 — forked from dartharthur/README.md
ESLint + Prettier in 5 Minutes

ESLINT + Prettier in 5 Minutes

This short guide is meant to get you going with ESLint and Prettier quickly and pain-free. This guide also assumes that you have Node and, by extension, npm installed. If that is not the case, you can head over here to download and install: https://nodejs.org/en/download/.

Why Use a Linter?

Code quality and maintainability is important. Part of code quality is ensuring that code is easy to read, so we can make use of ESLint and Prettier to help accomplish this. ESLint allows us to set a style and automatically fix any code that doesn't conform to that style. Prettier is a more powerful formatter that supplements ESLint very nicely.

@jeblister
jeblister / ISOCurrencySymbols.csv
Created January 6, 2018 11:51 — forked from jacobbubu/ISOCurrencySymbols.csv
iOS Currency Symbols
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
ADP ADP
AED AED
AFA AFA
AFN Af
ALK ALK
ALL ALL
AMD AMD
ANG NAf.
AOA Kz
AOK AOK
@jeblister
jeblister / index.js
Last active July 20, 2016 11:13
requirebin sketch
// Welcome! require() some modules from npm (like you were using browserify)
// and then hit Run Code to run your code on the right side.
// Modules get downloaded from browserify-cdn and bundled in your browser.
const extend = require('xtend')
const choo = require('choo')
const html = require('choo/html')
const app = choo()
app.model({
state: {
import Signal
import Time exposing (every, second)
import Date exposing (year, hour, minute, second, fromTime)
import Graphics.Element exposing (..)
import Text
import Window
import Color exposing (..)
view : (Int, Int) -> Float -> Element
@jeblister
jeblister / echoHttpRequest.js
Created January 30, 2016 20:00 — forked from Marak/echoHttpRequest.js
Echo HTTP requests
module['exports'] = function echoHttp (hook) {
console.log("Console messages are sent to /logs");
console.log(hook.params);
console.log(hook.req.path);
console.log(hook.req.method);
@jeblister
jeblister / index.md
Last active September 22, 2015 19:17
topics
group
web-dev-4

A 404 error occurs when a page cannot be found on a web server.


Error pages

@jeblister
jeblister / git-simple.md
Last active September 5, 2015 12:02
git - the simple guide of commands : just a simple guide for getting started with git.

Basic Git Commands

Creating a repository online for the 1st time!

# navigated into your folder you want to put on Github
$ touch README.md # create a file called README.md where you can put instructions/info about your folder like what you are reading right now!
$ git init # initialize your git repository locally
$ git add . # adds everything changed from local to staging
$ git add -i #  interactive shell mode. If you type 2 or u at the What now> prompt, the script prompts you for which files you want to stage. you can type the numbers of file to stage. press Enter in the end.
$ git commit -m "first commit" # commits everything in staging to be ready to be pushed to Github
@jeblister
jeblister / css_resources.md
Last active August 29, 2015 14:25 — forked from jookyboi/css_resources.md
CSS libraries and guides to bring some order to the chaos.

Libraries

  • 960 Grid System - An effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. There are two variants: 12 and 16 columns, which can be used separately or in tandem.
  • Compass - Open source CSS Authoring Framework.
  • Bootstrap - Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.
  • Font Awesome - The iconic font designed for Bootstrap.
  • Zurb Foundation - Framework for writing responsive web sites.
  • SASS - CSS extension language which allows variables, mixins and rules nesting.
  • Skeleton - Boilerplate for responsive, mobile-friendly development.

Guides