This file contains 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
Show hidden characters
{ | |
"auto_close_tags": false, | |
"auto_complete_commit_on_tab": true, | |
"auto_match_enabled": false, | |
"bold_folder_labels": true, | |
"caret_style": "phase", | |
"close_windows_when_empty": true, | |
"color_scheme": "Packages/User/SublimeLinter/brogrammer (SL).tmTheme", | |
"copy_with_empty_selection": false, | |
"font_face": "Input", |
This file contains 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
# /etc/profile.d/prompt.sh | |
if [ "$PS1" ]; then | |
if [[ ${EUID} == 0 ]] ; then | |
PS1='\[\033[01;31m\]\H\[\033[01;34m\] \w \$\[\033[00m\] ' | |
else | |
PS1='\[\033[01;32m\]\u@\H\[\033[01;34m\] \w \$\[\033[00m\] ' | |
fi | |
fi |
This file contains 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
Dim list As IList(Of String) = text.Split(" ") | |
Dim number As String = "" | |
For Each entry In list | |
If Char.IsDigit(entry) Then | |
number = entry | |
Exit For | |
End If | |
Next | |
If number = 1 Then | |
Return True |
This file contains 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
# Note: requires a Powerline-patched font to display properly | |
# See https://github.com/powerline/fonts | |
$CURRENT_BG = $null | |
$SEGMENT_DELIMETER_GLYPH = "" | |
$GIT_BRANCH_GLYPH = "" | |
function prompt { | |
Write-PowerlineUserContext | |
Write-PowerlineLocation | |
Write-PowerlineGit |
This file contains 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
/* ==UserStyle== | |
@name Arial font replacement | |
@namespace vivelin.net | |
@version 1.0.4 | |
@description Replace Arial, Helvetica and similar fonts with Roboto. Requires Roboto to be installed locally. Available from <https://github.com/google/roboto/releases>. | |
@author Vivelin | |
@updateURL https://gist.github.com/Vivelin/cd37bbcee8caa00bd8eb5383f07667d6/raw/ArialRoboto.user.css | |
@license unlicense | |
==/UserStyle== */ |
This file contains 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
/* ==UserStyle== | |
@name Courier font replacement | |
@namespace vivelin.net | |
@version 1.0.2 | |
@description Replace Courier and similar fonts with Courier Prime. Requires Courier Prime to be installed locally. Available from <https://quoteunquoteapps.com/courierprime/>. | |
@author Vivelin | |
@updateURL https://gist.githubusercontent.com/Vivelin/7b73bde9d62fb99741eab4e16de38eb6/raw/CourierNewPrime.user.css | |
@license unlicense | |
==/UserStyle== */ |
This file contains 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
namespace Vivelin.Environment | |
{ | |
public class Configuration | |
{ | |
public Configuration() : this(new JsonConfigurationProvider()) | |
{ } | |
public Configuration(IConfigurationProvider provider) | |
{ | |
File = provider; |
This file contains 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
using System; | |
using System.Data.Common; | |
using System.Data.Entity.Infrastructure.Interception; | |
using System.Data.SqlClient; | |
using System.IO; | |
/// <summary> | |
/// Represents an interceptor that writes insert and update statements to a | |
/// <see cref="TextWriter"/> instead of executing them against a database. | |
/// </summary> |
This file contains 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
/// <summary> | |
/// Represents a Swagger filter that removes duplicate properties in 'allOf' | |
/// schema definitions. | |
/// </summary> | |
public class DuplicatePropertySchemaFilter : ISchemaFilter | |
{ | |
private const string DefinitionsRefPrefix = "#/definitions/"; | |
/// <summary> | |
/// Removes duplicate properties from the specified schema. |
This file contains 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
/* ==UserStyle== | |
@name Trello text label tweaks | |
@namespace vivelin.net | |
@version 1.0.5 | |
@description Minor personal tweaks to Trello labels in text mode. | |
@author Vivelin | |
@updateURL https://gist.githubusercontent.com/Vivelin/07610abd03c47290442a71beb905160a/raw/TrelloTextLabelTweaks.user.css | |
@license unlicense | |
==/UserStyle== */ | |
@-moz-document domain("trello.com") { |
OlderNewer