I hereby claim:
- I am jenyayel on github.
- I am jenyay (https://keybase.io/jenyay) on keybase.
- I have a public key ASDgRwIFzmFJbz-GJe2_wHmu87VQjtnCpq60rmNhSDNfXwo
To claim this, I am signing this object:
public class TraceLoggingProvider : INpgsqlLoggingProvider | |
{ | |
public NpgsqlLogger CreateLogger(string name) | |
{ | |
return new TraceLogger(); | |
} | |
} | |
public class TraceLogger : NpgsqlLogger | |
{ |
I hereby claim:
To claim this, I am signing this object:
from __future__ import print_function | |
from basicmotiondetector import BasicMotionDetector | |
from imutils.video import VideoStream | |
import numpy as np | |
import datetime | |
import imutils | |
import time | |
import cv2 | |
# initialize the video streams and allow them to warmup |
/// <summary> | |
/// When using 'withCredentials' in CORS, wildcard '*' cannot be used in the 'Access-Control-Allow-Origin' | |
/// header. The attribute generates a specific value for this header | |
/// </summary> | |
/// <seealso cref="System.Attribute" /> | |
/// <seealso cref="Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyProvider" /> | |
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, AllowMultiple = false)] | |
public class SpecificOriginAttribute : Attribute, ICorsPolicyProvider | |
{ | |
private string _originConfig; |
using System; | |
using System.Drawing; | |
using System.Drawing.Imaging; | |
using System.IO; | |
using System.Linq; | |
using System.Runtime.Serialization; | |
using System.Text; | |
namespace ExifDateFixer | |
{ |
( | |
/** | |
* @param {object} window - Reference to window object to make method shorter. | |
* @param {object} document - Reference to the element that will contain the script tag and to make method shorter. | |
* @param {string} scriptTagName - Contains the word 'script' to make method shorter. | |
* @param {string} scriptAddress - The address of the main script that we need to load. | |
* @param {string} globalName - This allows dynamically define global variable name to avoid conflicts with other SDKs. | |
* @param {object} scriptElement - Stores the element that will be created later (result variable to avoid declaration within the method body) | |
* @param {object} otherScriptElement - The script tag that already located in the body before which we'll inject a newly created script tag (result variable to avoid declaration within the method body) | |
*/ |
function ensureJquery(readyCallback) { | |
if (window.jQuery === undefined || parseFloat(window.jQuery.fn.jquery) < 1.9) { | |
var js = document.createElement('script'); | |
js.src = "http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"; | |
if (js.readyState) | |
js.onreadystatechange = function () { | |
if (this.readyState == 'complete' || this.readyState == 'loaded') { | |
jQueryLoadHandler(); | |
} | |
}; |
package main | |
import ( | |
"context" | |
"flag" | |
"fmt" | |
"log" | |
"net/http" | |
"os" | |
"os/signal" |
export CLICOLOR=1 | |
source ~/.git-completion.sh | |
PS1='\[\033[37m\]\W\[\033[0m\]$(__git_ps1 " (\[\033[35m\]%s\[\033[0m\])") \$ ' | |
GIT_PS1_SHOWDIRTYSTATE=1 | |
GIT_PS1_SHOWSTASHSTATE=1 | |
GIT_PS1_SHOWUNTRACKEDFILES=1 | |
GIT_PS1_SHOWUPSTREAM="auto" |