A curated list of awesome Go frameworks, libraries and software. Inspired by awesome-python.
Please take a quick gander at the contribution guidelines first. Thanks to all contributors; you rock!
A curated list of awesome Go frameworks, libraries and software. Inspired by awesome-python.
Please take a quick gander at the contribution guidelines first. Thanks to all contributors; you rock!
import java.util.concurrent.TimeUnit; | |
import javax.inject.Singleton; | |
import dagger.Module; | |
import dagger.Provides; | |
import id.haerulmuttaqin.jobfinder.App; | |
import id.haerulmuttaqin.jobfinder.Constants; | |
import id.haerulmuttaqin.jobfinder.data.api.ApiInterface; | |
import id.haerulmuttaqin.jobfinder.data.api.ConnectionServer; |
#!/usr/bin/env bash | |
if [ "$EUID" -ne 0 ];then | |
>&2 echo "This script requires root level access to run" | |
exit 1 | |
fi | |
if [ -z "${WORDPRESS_DB_PASSWORD}" ]; then | |
>&2 echo "WORDPRESS_DB_PASSWORD must be set" | |
>&2 echo "Here is a random one that you can paste:" |
Install, build and debug a react native app in WSL2 (Windows Subsystem for Linux) and Ubuntu.
data_dir = "/var/lib/vector" | |
# ------------------ SYSLOG message pipe ------------------ # | |
[sources.syslog_pipe_in] | |
type = "socket" | |
mode = "udp" | |
address = "127.0.0.1:3333" | |
[transforms.syslog_pipe_parsing] |
This is a fork of and builds upon the work of Eddie Webb's search and Matthew Daly's search explorations.
It's built for the Hugo static site generator, but could be adopted to function with any json index.
To see it in action, go to craigmod.com and press CMD-/
and start typing.
############ WordPress #################### | |
# Disable logging for favicon and robots.txt | |
location = /favicon.ico { | |
try_files /favicon.ico @empty; | |
access_log off; | |
log_not_found off; | |
expires max; | |
} |
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": "-- Grafana --", | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"name": "Annotations & Alerts", |
#!/bin/bash | |
BASE_URL="https://sandbox.zenodo.org" | |
API_TOKEN="<your-token>" | |
# 1. Create the first version | |
curl -i -X POST \ | |
-H "Content-Type: application/json" \ | |
-H "Authorization: Bearer $API_TOKEN" \ | |
"$BASE_URL/api/deposit/depositions" \ |
<?php | |
function bubble_sort($array) | |
{ | |
$start = microtime(true); | |
do | |
{ | |
$sw = false; | |
for($i = 0, $size = count($array) - 1; $i < $size; $i++) | |
{ | |
if( $array[$i] > $array[$i + 1] ) |