- premailer installation and config script
- [x]
- normal formatting, @mentions, #1234 refs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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/' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Initializes Environment variables both globally and for current user session | |
# | |
# for login sessions run via | |
# | |
# powershell --file ./set_environment.ps1 | |
# | |
function set_env ($name, $text, $scope="User") { | |
(getRegistryKey $scope).SetValue($name, $text, [Microsoft.Win32.RegistryValueKind]::ExpandString) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
; Registry file that maps the solarized palette to the 16 avaliable colors | |
; in a Windows command prompt. Note, hex values in the table are RGB but byte | |
; ordering of a DWORD is BGR, e.g. "ColorTable<##>"=dword:00<B><G><R> | |
; | |
; Solarized color table from http://ethanschoonover.com/solarized. | |
; | |
; NR cmd.exe PowerShell SOLARIZED HEX DWORD | |
; -- ------- ----------- --------- ------- -------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<filter id="InnerShadow"> | |
<!-- Shadow Offset, don't make vals lower or you'll break it --> | |
<feOffset | |
dx='2' | |
dy='3' | |
/> | |
<!-- Shadow Blur --> | |
<feGaussianBlur | |
stdDeviation='1' | |
result='offset-blur' |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
gunzip < $1 | mysql -uпользователь -pпароль --database=имяБазыДанных |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
mysqldump -hHost -PportOfMYSQLserver -uUserName -pPassword DatabaseName --no-create-db --skip-add-drop-table | sed -r -e "s/CREATE TABLE (`[^`]+`)/CREATE TABLE IF NOT EXISTS \1/g" -e "s/LOCK TABLES (`[^`]+`)/DELETE FROM \1;\nLOCK TABLES \1/g" | gzip > "$(date +%Y%m%d_%H%M%S)_backup.sql.gz" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Font=InputMono Light | |
ForegroundColour=131,148,150 | |
BackgroundColour=40,40,40 | |
CursorColour=220,50,47 | |
Black=7,54,66 | |
BoldBlack=0,43,54 | |
Red=220,50,47 | |
BoldRed=203,75,22 | |
Green=133,153,0 | |
BoldGreen=88,110,117 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
# curl https://gist.github.com/maoizm/dd11b34049be5a328865b2be92ec93d0/raw/babun-post-install | zsh | |
# | |
# based on script of @prabirshrestha at https://gist.github.com/prabirshrestha/279d8b179d9353fe8694 | |
successfully() { | |
$* || (echo "\nfailed" 1>&2 && exit 1) | |
} |
NewerOlder