Skip to content

Instantly share code, notes, and snippets.

View turboBasic's full-sized avatar
🔮
Focusing

andriy melnyk turboBasic

🔮
Focusing
View GitHub Profile
@turboBasic
turboBasic / keybase.md
Last active June 23, 2017 06:28
keybase proof TurboBasic

Keybase proof

I hereby claim:

  • I am turbobasic on github.
  • I am mao (https://keybase.io/mao) on keybase.
  • I have a public key whose fingerprint is E243 8E64 20BB 90D0 BC79 0F31 DCDB 41E6 19AE 106A

To claim this, I am signing this object:

@turboBasic
turboBasic / pspad.png
Last active June 23, 2017 06:28
pspad.portable icon for chocolatey package
pspad.png
@turboBasic
turboBasic / Get-Gist.cmd
Last active June 23, 2017 13:45
Get links to gists, CMD.EXE version. Get links to gists of current github user. Dependencies: see comments
REM Get links to all gists of current github user
REM
REM 2017 Andriy Melnyk https://github.com/TurboBasic
REM
REM Dependencies: Windows 7+, cmd.exe, curl, jq, environment variable
REM curl: If unsure - use curl from Git for Windows - it works fine.
REM jq: JSON command-line parser. Packages from chocolatey.org and scoop.sh are of excellent quality
REM %githubUser%: default GitHub account to fetch gists from. If not set, fetches 300 random public gists
REM Some useful jq filters, insert them before closing square bracket:
REM |select(.filename |startswith(\"box\"))
@turboBasic
turboBasic / Get-Gist.ps1
Last active June 23, 2017 13:45
Get links to gists, Powershell version. Get links to gists of active github user
<#
Get list of public gists from GitHub
Dependencies: Powershell v3+
ConvertTo-Hashtable: see in my gists
2017 Andriy Melnyk https://github.com/TurboBasic
#>
$DEFAULT_API = 'https://api.github.com/gists'
#$DEFAULT_API = 'https://api.github.com/users/USERNAME/gists'
@turboBasic
turboBasic / ConvertTo-Hashtable.ps1
Created June 23, 2017 08:59
ConvertTo-Hashtable: Powershell utility function which converts psCustomObject to HashTable for betters seeking and iteration
Function ConvertTo-Hashtable {
<#
.SYNOPSIS
Converts PsCustomObject type to Hashtable. Takes pipeline input and common arguments
.DESCRIPTION
Converts PsCustomObject type to Hashtable. Takes pipeline input, common arguments,
array arguments for bulk processing
#>
@turboBasic
turboBasic / boxstarter-short.ps1
Last active March 28, 2018 17:30
Windows 10 bootstarter script: deployment of configurations and application
# Run: START http://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/maoizm/7d0192e9b9493dcd503449fa6a389b49/raw/4a7470fe1b0a81c8b78d7d42150d55c303f826bb/boxstarter.ps1
# or: START http://boxstarter.org/package/nr/url?c:\install\boxstarter.ps1
#
# @TODO add lib_environment.ps1
Set-ExecutionPolicy RemoteSigned
# Enable Group Policy for Powershell
$_urlBase = 'https://raw.githubusercontent.com/turboBasic/.dotfiles/master/windows/GroupPolicy/'
@turboBasic
turboBasic / InnerShadow-SVGFilter.xml
Created June 23, 2017 13:51
SVG Filter Inner Shadow for Illustrator
<filter id="InnerShadow">
<!-- https://gist.github.com/seanbarclay/8627991 -->
<!-- Shadow Offset, don't make vals lower or you'll break it -->
<feOffset
dx='2'
dy='3'
/>
<!-- Shadow Blur -->
<feGaussianBlur
stdDeviation='1'
@turboBasic
turboBasic / google+.svg
Last active June 24, 2017 12:19
Google+ SVG logo, 2016 year version
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@turboBasic
turboBasic / instagram.svg
Last active June 24, 2017 12:16
Instagram logo SVG
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@turboBasic
turboBasic / facebook.svg
Last active June 24, 2017 12:06
Facebook SVG logo
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.