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
| <body class="antialiased sans-serif bg-gray-300"> | |
| <!-- Alert Box --> | |
| <div class="fixed w-full z-50 flex inset-0 items-start justify-center pointer-events-none md:mt-5" x-data="{ | |
| message: '', | |
| showFlashMessage(event) { | |
| this.message = event.detail.message; | |
| setTimeout(() => this.message = '', 3000) | |
| } | |
| }"> | |
| <template x-on:flash.window="showFlashMessage(event)"></template> |
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
| version: '2' | |
| services: | |
| nginx-proxy: | |
| container_name: nginx-proxy | |
| image: jwilder/nginx-proxy:alpine | |
| ports: | |
| - "80:80" | |
| - "443:443" | |
| volumes: | |
| - /var/run/docker.sock:/tmp/docker.sock:ro |
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
| public static class ObjectToDictionaryHelper | |
| { | |
| public static IDictionary<string, object> ToDictionary(this object source) | |
| { | |
| return source.ToDictionary<object>(); | |
| } | |
| public static IDictionary<string, T> ToDictionary<T>(this object source) | |
| { | |
| if (source == null) |
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 | |
| QUERY=query.json | |
| time curl -i -XPOST \ | |
| -o output.log \ | |
| --data "@$QUERY" \ | |
| -H "Accept: application/json" \ | |
| -H "Content-Type: application/json" \ | |
| http://127.0.0.1:7474/db/data/transaction/commit |
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
| -- this file Embedded resource | |
| SELECT * FROM "Sellers" | |
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
| -- this file Embedded resource | |
| SELECT * FROM "Sellers" | |
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
| var fs = require('fs'); | |
| var INTERVAL = 1000; | |
| var cycle_stop = false; | |
| var daemon = false; | |
| var timer; | |
| process.argv.forEach(function (arg) { | |
| if (arg === '-d') daemon = true; |
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
| public class FSGrep | |
| { | |
| public FSGrep() | |
| { | |
| this.Recursive = true; | |
| } | |
| public String RootPath { get; set; } | |
| public Boolean Recursive { get; set; } | |
| public String FileSearchMask { get; set; } |
NewerOlder