Skip to content

Instantly share code, notes, and snippets.

View bogdangrigg's full-sized avatar

Luca-Bogdan Grigorescu bogdangrigg

View GitHub Profile
Update-ExecutionPolicy Unrestricted
Move-LibraryDirectory "Personal" "$env:UserProfile\skydrive\documents"
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
Set-TaskbarSmall
Enable-RemoteDesktop
cinst ChocolateyGUI
# dev tools
cinst VisualStudio2013Professional
@bogdangrigg
bogdangrigg / revert_lightroom.sqlite
Last active August 29, 2015 14:03
This SQLite query reverts all the pictures in a Lightroom collection the next-to-last step in their edit history
/*
The following SQLite query reverts all the photos in a Lightroom collection the next-to-last step in their edit history
It was initially provided by Dorin Nicolaescu-Musteață
Execution steps:
1. Create a Lightroom collection named "UndoLastOperation" and add the over-edited photos
2. Close Lightroom and backup the catalog
3. Open the .lrcat file (usually from C:\Users\<User>\Pictures\Lightroom) in SQLite Administrator (http://sqliteadmin.orbmu2k.de/)
4. Run this file (Copy-Paste + F9)
5. Close SQLite Administrator
@bogdangrigg
bogdangrigg / dev_base.ps1
Last active August 29, 2015 14:02
Dev machine base setup
$env:Path += ";C:\Chocolatey\bin"
choco install ChocolateyGUI
choco install git poshgit
choco install VisualStudio2013Professional
choco install python pip easy.install
choco install notepadplusplus SublimeText3 aptana-studio
choco install winmerge linqpad4 SourceTree dotPeek SourceCodePro ScriptCs sqliteadmin HxD
choco install sysinternals filezilla winscp putty fiddler4 windirstat lockhunter wireshark truecrypt rdcman nmap
choco install GoogleChrome Firefox flashplayerplugin adobereader
choco install skype xnview adobereader vlc dropbox teamviewer paint.net 7zip curl Wget