Skip to content

Instantly share code, notes, and snippets.

View megheaiulian's full-sized avatar
🎯
Focusing

Meghea Iulian megheaiulian

🎯
Focusing
View GitHub Profile
@megheaiulian
megheaiulian / ReactDebug.js
Created February 4, 2019 13:33
React Update debug
componentDidUpdate(prevProps, prevState) {
Object.keys(prevProps)
.filter(key => prevProps[key] !== this.props[key])
.map((key) => {
console.log(
'changed property:',
key,
'from',
prevProps[key],
'to',
@megheaiulian
megheaiulian / gist:ec80e7286a61a1ca646b
Last active August 29, 2015 14:14
Sublime Packages
{
"installed_packages":
[
"SFTP",
"Stylus",
"Better CoffeeScript",
"Jade",
"SublimeGit",
"LESS"
]
@megheaiulian
megheaiulian / setup.ps1
Last active December 4, 2015 19:14
Windows 10 setup
# Boxstarter options
$Boxstarter.RebootOk=$true # Allow reboots?
$Boxstarter.NoPassword=$false # Is this a machine with no login password?
$Boxstarter.AutoLogin=$true # Save my password securely and auto-login after a reboot
Update-ExecutionPolicy Unrestricted
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowFileExtension -DisableShowProtectedOSFiles
Set-TaskbarOptions -Size Large -Lock -Dock Bottom
# Update Windows and reboot if necessary