- 2 x 15.5 oz cans of Trappy's jalapeno black-eyed peas cooked and rinsed
- 3/4 cup of tahini
- 3 cloves of fresh garlic
- 1/4 cup of oil (I used avocado)
- 1 lemon juiced
- 2 tsp salt
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
var gulp = require("gulp"), | |
rimraf = require("rimraf"), | |
concat = require("gulp-concat") | |
exec = require("gulp-exec"); | |
gulp.task('report', ['test'], function(cb) { | |
return exec('ReportGenerator.exe -reports:coverage.xml" -targetdir:"coverage\"'); | |
}); | |
gulp.task('test', function(cb) { |
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
private async Task<string> GetHtml(Controller controller, ViewResult viewResult) | |
{ | |
using (var stringWriter = new StringWriter()) | |
{ | |
var viewEngineResult = viewResult.ViewEngine.FindView(controller.ControllerContext, | |
viewResult.ViewName, | |
false); | |
var viewContext = new ViewContext( | |
controller.ControllerContext, |
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
# Pull dockerfile | |
docker pull grafana/grafana | |
# Run the docker container | |
docker run -i -p 3000:3000 grafana/grafana |
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
pp Model | |
._save_callbacks | |
.select {|cb| cb.kind == :after} | |
.map{|cb| { key: cb.instance_variable_get(:@key), name: cb.instance_variable_get(:@name)} |
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
Add-Type -AssemblyName System.Web | |
function New-Title { | |
param( | |
[Parameter(ValueFromPipeline=$true)] | |
$title | |
) | |
Process { | |
@{title=$title} | |
} |
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
screen -S "my screen name" | |
# Ctrl-A + D will detach you from that screen | |
# Show the list of available screens | |
screen -r | |
# To reattach to that screen | |
screen -r "screen id" |
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
$key = "mykey" | |
$secretKey = "mysecretkey" | |
$bucketName = "bucketName" | |
Set-AWSCredentials -AccessKey $key -SecretKey $secretKey -StoreAs MyProfileName | |
foreach ($file in Get-ChildItem "D:\Exceed Extracts\Batch") | |
{ | |
if ($file.Length -gt 0) | |
{ |
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
-- Credit to https://basitaalishan.com/2013/03/13/find-missing-indexes-using-sql-servers-index-related-dmvs/ | |
SELECT CAST(SERVERPROPERTY('ServerName') AS [nvarchar](256)) AS [SQLServer] | |
,db.[database_id] AS [DatabaseID] | |
,db.[name] AS [DatabaseName] | |
,id.[object_id] AS [ObjectID] | |
,id.[statement] AS [FullyQualifiedObjectName] | |
,id.[equality_columns] AS [EqualityColumns] | |
,id.[inequality_columns] AS [InEqualityColumns] | |
,id.[included_columns] AS [IncludedColumns] | |
,gs.[unique_compiles] AS [UniqueCompiles] |
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
openssl x509 -outform der -in your-cert.pem -out your-cert.crt |