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
| /* | |
| Copyright Phil Haack | |
| Licensed under the MIT license - https://github.com/haacked/CodeHaacks/blob/main/LICENSE. | |
| */ | |
| using System; | |
| using System.Linq; | |
| using System.Linq.Expressions; | |
| using System.Reflection; | |
| using Microsoft.EntityFrameworkCore; | |
| using Microsoft.EntityFrameworkCore.Metadata.Builders; |
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
| const aws = require('aws-sdk') | |
| aws.config.update({ | |
| accessKeyId: process.env.aws_access_key_id, | |
| secretAccessKey: process.env.aws_secret_access_key, | |
| region: process.env.aws_region}); | |
| const options = { | |
| Bucket: process.env.s3_bucket, | |
| region: process.env.aws_region, |
Thank you everybody, Your comments makes it better
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
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
| #!/usr/bin/env bash | |
| uninstall() { | |
| list=`gem list --no-versions` | |
| for gem in $list; do | |
| gem uninstall $gem -aIx | |
| done | |
| gem list | |
| gem install bundler | |
| } |
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
| <?xml version="1.0" encoding="utf-8" ?> | |
| <nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
| <targets> | |
| <target name="coloredConsole" xsi:type="ColoredConsole" useDefaultRowHighlightingRules="false" | |
| layout="${longdate}|${pad:padding=5:inner=${level:uppercase=true}}|${message}" > | |
| <highlight-row condition="level == LogLevel.Debug" foregroundColor="DarkGray" /> | |
| <highlight-row condition="level == LogLevel.Info" foregroundColor="Gray" /> | |
| <highlight-row condition="level == LogLevel.Warn" foregroundColor="Yellow" /> |