Skip to content

Instantly share code, notes, and snippets.

View davebeach's full-sized avatar

David Beach davebeach

View GitHub Profile
@davebeach
davebeach / adb-screenshot.sh
Last active June 11, 2017 19:50 — forked from hkurokawa/adb-screenshot.sh
A shell script to take a screen shot of the android device, resize it and copy to clipboard
#! /bin/bash
## This script is for taking a screen shot of an Android device.
## If possible, it tries to resize the image file and then copy to the clipboard.
##
## Note the script generates screenshot_yyyyMMddHHmmss.png and screenshot_yyyyMMddHHmmss_s.png
## under /sdcard on the device (you can specify another location with '-t' option)
## and copies it to the current working directory.
##
## The script passes unrecognized arguments to adb command, which means you can specify "-e" or "-d"
<?php
/**
* @author
* https://drupal.stackexchange.com/questions/192616/how-to-make-a-theme-hook-suggestion-for-blocks-according-to-region/192623#192623
*/
use Drupal\block\Entity\Block;
function MODULE_theme_suggestions_block_alter(array &$suggestions, array $variables) {
@davebeach
davebeach / Documentation.php
Last active June 12, 2017 06:27
Drupal Documentation Standards PHP
/**
* This is a docblock
*
**/
/**
* This is a reference to @var: Class property data types
*
* @var \Drupal\Core\Database\Connectio
**/
@davebeach
davebeach / git_procedures.md
Last active October 9, 2017 18:59
GIT Procedures

Rename a Branch

  1. Create new branch name
git branch -m new-name
git branch -m old-name new-name
  1. Update remote
@davebeach
davebeach / ketch-hana.md
Last active December 29, 2017 01:54
Ketch SAP Hana Cloud

Ketch Google Cloud

SAP HANA Express Edition

Google Cloud Server

 
@davebeach
davebeach / agileScrum.md
Last active January 11, 2018 06:36
Agile Project Management Using Scrum Approach for SAP App Implementation

Agile Project Management

Scrum Approach

Scrum Management Framework

Agile Project Management is a management framework that delivers technology products in incremental releases. There are various methodologies for running agile projects; a leading approach is Scrum, created by Ken Schwaber and Jeff Sutherland. Recommended reading on the SCRUM Agile approach scrumguides.org.

A vital aspect of Agile SCRUM is delivering functionality in smaller smarter sets, often in shorter project cycles. Agile SCRUM removes the concept of a project and replaces iterative, ongoing rollout of product and fixes to bugs.

Problem with Traditional Waterfall

@davebeach
davebeach / SAP-icons.md
Created January 7, 2018 05:38
SAP Icon Fonts

SAP Icon Fonts

Font Face

/* Formating Style in Fiori Style */
/* BEGINNING */
@font-face {
font-family: 'SAP-icons';
src: url('SAP-icons.ttf'),
url('SAP-icons.eot'); /* IE9+ */
@davebeach
davebeach / linux-ubuntu.md
Last active January 16, 2018 01:19
LINUX Ubuntu Installation on Virtual Box
@davebeach
davebeach / sprint-schedule.html
Last active January 16, 2018 17:44
Sprint Schedule Timeline
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Sprint Schedule</title>
<meta name="description" content="Sprint Schedule Timeline">
<meta name="author" content="David Beach">
@davebeach
davebeach / notUNIX.md
Created February 6, 2018 17:49
Teaching open source to users using Windows Workarounds.