Skip to content

Instantly share code, notes, and snippets.

Update-ExecutionPolicy Unrestricted
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowFileExtension -DisableShowProtectedOSFiles
#7Zip, putty, git
cinst 7zip
cinst putty
cinst git.commandline
[Environment]::SetEnvironmentVariable( "GIT_SSH", "plink.exe", [System.EnvironmentVariableTarget]::Machine )
[
{ "keys": ["alt+d"], "command": "duplicate_line" },
{ "keys": ["ctrl+alt+k"], "command": "swap_line_up" },
{ "keys": ["ctrl+alt+j"], "command": "swap_line_down" },
{ "keys": ["alt+s"], "command": "save" },
{ "keys": ["ctrl+l"], "command": "next_view_in_stack" },
{ "keys": ["ctrl+h"], "command": "prev_view_in_stack" }
]
{
"installed_packages":
[
"AutoHotkey"
]
}
@SvitlanaShepitsena
SvitlanaShepitsena / dev_setup.ps1
Created December 4, 2015 19:31 — forked from thitemple/dev_setup.ps1
A PowerShell script for installing a dev machine using Chocolatey.
function Add-Path() {
[Cmdletbinding()]
param([parameter(Mandatory=$True,ValueFromPipeline=$True,Position=0)][String[]]$AddedFolder)
# Get the current search path from the environment keys in the registry.
$OldPath=(Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment' -Name PATH).Path
# See if a new folder has been supplied.
if (!$AddedFolder) {
Return 'No Folder Supplied. $ENV:PATH Unchanged'
}
# See if the new folder exists on the file system.
@SvitlanaShepitsena
SvitlanaShepitsena / setup.ps1
Last active December 4, 2015 20:04 — forked from megheaiulian/setup.ps1
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
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowFileExtensions -EnableShowFullPathInTitleBar
Update-ExecutionPolicy RemoteSigned
[Environment]::SetEnvironmentVariable("HTTP_PROXY", "http://seproxy.hm.com:8080/", "Machine")
[Environment]::SetEnvironmentVariable("HTTP_PROXY", "http://seproxy.hm.com:8080/", "Process")
[Environment]::SetEnvironmentVariable("EDITOR", "notepad.exe", "User")
choco install netfx-4.5.2-devpack
choco install git.install
[Environment]::SetEnvironmentVariable("LANG", "C", "User")
.videoWrapper {
position: relative;
//padding-bottom: 56.25%; /* 16:9 */
padding-top: 25px;
height: 0;
}
.videoWrapper iframe {
position: absolute;
top: 0;
//=bookmarks
.listing-bookmark-wrapper
position relative
width 150px
.listing-bookmark.ng-hide-add, .listing-bookmark.ng-hide-remove
transition 0s linear all
.listing-bookmark.ng-hide-add-active,
.listing-bookmark.ng-hide-remove-active
@SvitlanaShepitsena
SvitlanaShepitsena / gist:99cd41666f2bbfeabdcc
Last active October 21, 2015 16:53
angular-flexslider custom styles for displaying portrait and landscape images
using-slider.jade
=======================================
.card.card-flex-slider.bgc-grey-50.m
flex-slider(slide='s in home.images', animation='slide')
li()
img.img-flex-slider(ng-src='{{s}}' )
styles.styl
=======================================
.flexslider
@SvitlanaShepitsena
SvitlanaShepitsena / sv-auth-btn.js
Last active August 29, 2015 14:23
mdMedia for different screen sizes template 2
==============================
js
======================
$scope.logout = function () {
AuthenticationServ.logout();
$state.go('app.home');
};
$scope.$watch(function () {
return $mdMedia('gt-md');