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
{ | |
"name": "Cardano Test Pool - A", | |
"description": "Cardano Test pool", | |
"ticker": "TEST-A", | |
"homepage": "https://github.com/abracadaniel/cardano-node-docker" | |
} |
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
function Write-BranchName () { | |
try { | |
$branch = git rev-parse --abbrev-ref HEAD | |
if ($branch -eq "HEAD") { | |
# we're probably in detached HEAD state, so print the SHA | |
$branch = git rev-parse --short HEAD | |
Write-Host " ($branch)" -ForegroundColor "red" | |
} | |
else { |
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
git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
} | |
if [[ ${EUID} == 0 ]] ; then | |
PS1='\[\033[01;31m\]\h\[\033[01;36m\] \W\[\033[01;31m\]\[\033[00;37m\]$(git_branch 2>/dev/null)\[\033[01;32m\]\$\[\033[00m\] ' | |
else | |
PS1='\[\033[01;32m\]\u@\h\[\033[01;37m\] \W\[\033[01;32m\]\[\033[00;37m\]$(git_branch 2>/dev/null)\[\033[01;32m\]\$\[\033[00m\] ' | |
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
--- node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/webpack-configs/styles.js | |
+++ node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/webpack-configs/styles.js | |
@@ -220,7 +220,7 @@ function getStylesConfig(wco) { | |
options: { | |
ident: 'embedded', | |
plugins: postcssPluginCreator, | |
- sourceMap: cssSourceMap | |
+ sourceMap: cssSourceMap ? 'inline' : false | |
} | |
}, |
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
export PATH="/usr/local/bin:$PATH" | |
# Git branch in prompt. | |
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
} | |
PS1='\[\033[32m\]' # change to green | |
PS1="$PS1"'\u@\h ' # user@host<space> |
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
// Import this file after select2 bootstrap theme. Content won't be centered if you don't include this file. | |
.select2-container--bootstrap { | |
.select2-selection--multiple { | |
.select2-selection__choice { | |
margin-top: calc(#{$s2bs-padding-base-vertical} - 1px); | |
} | |
.select2-search--inline .select2-search__field { | |
height: $s2bs-input-height-base; | |
} |
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
// globals jQuery | |
(function ($) { | |
'use strict'; | |
// TODO: Replace pluginExample and PluginExample with your plugin name | |
$.fn.pluginExample = function (option/*, varArgs*/) { | |
var args = Array.prototype.slice.call(arguments, 1); | |
return this.each(function () { | |
var $element = $(this); |
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
#!/usr/bin/env node | |
// Disables crosswalk release time SSL errors check | |
// v1.0 | |
// Install mkdirp before using this hook. Run npm install mkdirp --save | |
// Place this file in hooks/after-prepare | |
// Confirmed working with Crosswalk 1.7.2 | |
var fs = require('fs'); | |
var path = require('path'); |
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
#!/usr/bin/env node | |
// Changes your app to use STREAM_RING instead of STREAM_MEDIA | |
// v1.0 | |
// Install mkdirp before using this hook. Run npm install mkdirp --save | |
// Place this file in hooks/after-prepare | |
// This hook will change AudioManager.STREAM_MUSIC to AudioManager.STREAM_RING | |
var fs = require('fs'); | |
var path = require('path'); |
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
(function() { | |
'use strict'; | |
var XHRRequest = createjs.XHRRequest; | |
var XHRRequest_checkError = XHRRequest.prototype._checkError; | |
XHRRequest.prototype._checkError = function () { | |
// Override of version 0.62 implementation | |
if ('cordova' in window) { |
NewerOlder