Skip to content

Instantly share code, notes, and snippets.

View sworup's full-sized avatar
🦖
Normal

Sworup Shakya sworup

🦖
Normal
View GitHub Profile
@sworup
sworup / utf8_decode_all.php
Created March 1, 2017 10:16
Decode all the values in an array to UTF-8
<?php
function utf8_decode_all($dat)
{
if (is_string($dat)) return utf8_decode($dat);
if (!is_array($dat)) return $dat;
$ret = array();
foreach($dat as $i=>$d) $ret[$i] = utf8_decode_all($d);
return $ret;
}
@sworup
sworup / checkout_rebase.git
Last active June 16, 2017 06:11
Git commands listing
git checkout develop && git pull --rebase
@sworup
sworup / 01-scrum.md
Last active June 29, 2017 09:57
Scrum Documentation

Referenced from The Scrum Guide by Ken Schwaber and Jeff Sutherland

Scrum Definition

  • The Scrum framework consists of Scrum Teams and their associated roles, events, artifacts, and rules.
  • The rules of Scrum bind together the events, roles, and artifacts, governing the relationships and interaction between them.
  • Scrum is founded on empirical process control theory, or empiricism.
  • Empiricism asserts that knowledge comes from experience and making decisions based on what is known.
  • Scrum employs an iterative, incremental approach to optimise predictability and control risk.
@sworup
sworup / gist:d08f34579a1028b837cd045bec65a4a9
Created February 9, 2019 10:56
My Windows BoxStarter Script
# Configure Windows
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions -EnableShowFullPathInTitleBar
Enable-RemoteDesktop
Update-ExecutionPolicy Unrestricted
cinst -y Microsoft-Hyper-V-All -source windowsFeatures
# Packages
cinst -y hyper