Skip to content

Instantly share code, notes, and snippets.

View dbilovd's full-sized avatar
💭
#StartingOver

David Lartey dbilovd

💭
#StartingOver
View GitHub Profile
<template>
<div>
<Button>{{ text }}</Button>
<div>
</template>
<script>
export default {
props: {
text: {
<template>
<Page class="page">
<ActionBar class="action-bar"
flat="true"
title="Home">
<android>
<NavigationButton
icon="res://ic_menu_black_24dp"
@tap="showSideMenu"
text="Menu"></NavigationButton>

Effective Engineer - Notes

What's an Effective Engineer?

  • They are the people who get things done. Effective Engineers produce results.

Adopt the Right Mindsets

@dbilovd
dbilovd / countries.json
Created April 3, 2017 13:56 — forked from keeguon/countries.json
A list of countries in JSON
[
{name: 'Afghanistan', code: 'AF'},
{name: 'Åland Islands', code: 'AX'},
{name: 'Albania', code: 'AL'},
{name: 'Algeria', code: 'DZ'},
{name: 'American Samoa', code: 'AS'},
{name: 'AndorrA', code: 'AD'},
{name: 'Angola', code: 'AO'},
{name: 'Anguilla', code: 'AI'},
{name: 'Antarctica', code: 'AQ'},
@dbilovd
dbilovd / post-commit.sample
Last active March 24, 2017 09:09
Git Hooks
#!/bin/sh
#
#
#
# To enable this hook, rename this file to "post-commit".
echo "Running Post-Commit hook: Push immediately to master after commits"
# Get current branch
branch=$(git rev-parse --abbrev-ref HEAD)
@dbilovd
dbilovd / startOfWeek.js
Last active March 17, 2017 13:03
Get date of start of week
function startOfWeek (weekStart) {
var today = new Date();
var todayInWeek = today.getDay();
var todayDate = today.getDate();
var startOfWeekDate = (weekStart == "m") ?
todayDate - (todayInWeek - 1) : todayDate - todayInWeek;
var startOfWeek = new Date();
@dbilovd
dbilovd / ide-plugins.md
Last active February 1, 2019 20:52
IDE Plugins
@dbilovd
dbilovd / updateObjectWithObject.js
Created August 6, 2016 10:21
Update object properties with values from another object.
var objA = {
"a" : 1,
"b" : 2
},
objB = {
"a" : 3,
"c" : 4
};
var updateObj = function (a, b) {
@dbilovd
dbilovd / iterm2-solarized.md
Created July 27, 2016 21:02 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + oh my zsh + solarized + Meslo powerline font (OS X / macOS)

Solarized

@dbilovd
dbilovd / 0_reuse_code.js
Created June 8, 2016 12:31
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console