This project has moved to https://github.com/jonhoo/drwmutex so it can be imported into Go applications.
import QtQuick 2.0 | |
/** | |
* adapted from StackOverflow: | |
* http://stackoverflow.com/questions/26879266/make-toast-in-android-by-qml | |
*/ | |
/** | |
* @brief An Android-like timed message text in a box that self-destroys when finished if desired | |
*/ |
... or Why Pipelining Is Not That Easy
Golang Concurrency Patterns for brave and smart.
By @kachayev
package main | |
import ( | |
"fmt" | |
"io" | |
"net/http" | |
"os" | |
) | |
func init() { |
This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.
The script is here:
#!/bin/bash
convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS
REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
diff --git a/src/shared/CLucene/LuceneThreads.h b/src/shared/CLucene/LuceneThreads.h | |
index 97072ee..297cdef 100644 | |
--- a/src/shared/CLucene/LuceneThreads.h | |
+++ b/src/shared/CLucene/LuceneThreads.h | |
@@ -7,6 +7,9 @@ | |
#ifndef _LuceneThreads_h | |
#define _LuceneThreads_h | |
+#if defined(_CL_HAVE_PTHREAD) | |
+ #include <pthread.h> |
Monokai color to Sherwin-Williams mapping
(monokai-blue-light "#89BDFF") -> SW 6961 BLUE BEYOND
(monokai-gray "#595959") -> SW 7048 URBANE BRONZE
(monokai-gray-darker "#383830") -> SW 6258 TRICORN BLACK
(monokai-gray-darkest "#141411") -> SW 6990 CAVIAR
(monokai-gray-lightest "#595959") -> SW 7048 URBANE BRONZE
(monokai-gray-light "#E6E6E6") -> SW 6539 SOOTHING WHITE
(monokai-green "#A6E22A") -> SW 6920 CENTER STAGE
(monokai-green-light "#A6E22E") -> [SW 6920 CENTER STAGE]
(Client == Process talking to the Tomahawk instance)
- Client requests auth via GET /2/access/request_auth
- Client indicates that it requires Authorization in the running Tomahawk instance and provides it UUID to the User
- User sees authorization request in JobView and accepts it (for headless instances:
tomahawk --grant-api-access <UUID>
- Tomahawk indicates granted access to the client / Client polls if it has been granted access.
- Tomahawk stores the UUID and some additional information (e.g. client name) in its DB