Skip to content

Instantly share code, notes, and snippets.

View michaeljymsgutierrez's full-sized avatar
:octocat:
I'm just a developer for fun ⌨️

Chael Gutierrez michaeljymsgutierrez

:octocat:
I'm just a developer for fun ⌨️
View GitHub Profile
- mobile
max-width: 800px - 1
- mobile-small
max-width: 320px
- desktop
min-width: 800px
- desktop-tiny
@michaeljymsgutierrez
michaeljymsgutierrez / local-npm-modules.txt
Created November 17, 2019 08:50
My local npm modules installed
@michaeljymsgutierrez
michaeljymsgutierrez / map-style-for-manila.js
Created November 15, 2019 05:27
For manial - map styling
[
{
"featureType": "administrative",
"elementType": "labels.text",
"stylers": [
{
"visibility": "on"
}
]
},
/**
* Set of functions for calculating distance
*/
const getDistance = (lat1, lon1, lat2, lon2) => {
let R = 6371;
let dLat = deg2rad(lat2 - lat1);
let dLon = deg2rad(lon2 - lon1);
let a =
Math.sin(dLat / 2) * Math.sin(dLat / 2) +
Math.cos(deg2rad(lat1)) *
{{#dropdown-button buttonLabel=(or selectedDeliverySlotLabel uniqCheckoutDeliverySlotLabel.firstObject) selected=(or selectedDeliverySlotLabel uniqCheckoutDeliverySlotLabel.firstObject) collapseOnSelect=true as |db|}}
{{#each uniqCheckoutDeliverySlotLabel as |label|}}
{{#db.option value=label onSelect=(action "selectDeliverySlotLabel" label)}}
{{label}}
{{/db.option}}
{{/each}}
{{/dropdown-button}}
@michaeljymsgutierrez
michaeljymsgutierrez / vim-gruvbox-pallete.txt
Created September 3, 2019 14:39
Vim Gruvbox Pallete for terminator
background color : #FFFFAF
font color : #303030
@michaeljymsgutierrez
michaeljymsgutierrez / git_globally_ignore_files.txt
Created June 10, 2019 02:51
Command for globally ignoring files
cd ~
touch .gitignore_global
git config --global core.excludesfile ~/.gitignore_global
@michaeljymsgutierrez
michaeljymsgutierrez / settings.json
Created May 29, 2019 07:43
VS Code Settings.json
{
"editor.fontSize": 12,
"editor.minimap.enabled": false,
"editor.detectIndentation": false,
"workbench.sideBar.location": "right",
"files.associations": {
"*.inc": "php",
"*.vue": "html",
"*.cgf": "shellscript"
},
@michaeljymsgutierrez
michaeljymsgutierrez / settings.json
Created May 17, 2019 04:43
Sublime Text 3 - Settings
{
"color_scheme": "Packages/Monokai++/themes/Monokai++.tmTheme",
"detect_indentation": false,
"font_size": 12,
"highlight_modified_tabs": true,
"hot_exit": false,
"ignored_packages":
[
"Vintage"
],
{
"data": [{
"type": "users",
"id": "1",
"attributes": {
"name": "John"
}
},{
"type": "users",
"id": "2",