I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
from aiohttp import web | |
async def handle(request): | |
response = web.StreamResponse( | |
status=200, | |
reason='OK', | |
headers={'Content-Type': 'text/plain'}, | |
) | |
await response.prepare(request) |
index 54952fc..6d5d168 100644 | |
--- a/libethash-cl/ethash_cl_miner_kernel.cl | |
+++ b/libethash-cl/ethash_cl_miner_kernel.cl | |
@@ -277,7 +277,7 @@ __kernel void ethash_search( | |
for (int i = 0; i < THREADS_PER_HASH; i++) | |
{ | |
// share init with other threads | |
- if (i == thread_id) | |
+ if ((uint) i == thread_id) | |
copy(share[hash_id].ulongs, state, 8); |
// App | |
import { Component } from '@angular/core'; | |
@Component({ | |
selector: 'app', | |
template: '<span>{{ sayHello() }}</span>', | |
}) | |
export class App { | |
public name: string = 'John'; |
#!/bin/bash | |
set -e | |
if [ $# -eq 0 ]; then | |
echo "USAGE: $0 plugin1 plugin2 ..." | |
exit 1 | |
fi | |
plugin_dir=/var/lib/jenkins/plugins |
var app = require(process.cwd() + '/app'); | |
var winston = require('winston'); | |
var _ = require('lodash'); | |
// Set up logger | |
var customColors = { | |
trace: 'white', | |
debug: 'green', | |
info: 'green', | |
warn: 'yellow', |
I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
require 'faraday' | |
require 'zlib' | |
module FaradayMiddleware | |
class Gzip < Faraday::Response::Middleware | |
def on_complete(env) | |
encoding = env[:response_headers]['content-encoding'].to_s.downcase | |
case encoding | |
when 'gzip' |
on vpnToggle(vpnName) | |
tell application "System Events" | |
tell current location of network preferences | |
set VPNservice to service vpnName | |
set isConnected to connected of current configuration of VPNservice | |
if isConnected then | |
disconnect VPNservice | |
do shell script "./ip-down" with administrator privileges | |
else | |
do shell script "./ip-up" with administrator privileges |
#import <SystemConfiguration/CaptiveNetwork.h> | |
NSString *currentSSID = @""; | |
CFArrayRef myArray = CNCopySupportedInterfaces(); | |
if (myArray != nil){ | |
NSDictionary* myDict = (NSDictionary *) CNCopyCurrentNetworkInfo(CFArrayGetValueAtIndex(myArray, 0)); | |
if (myDict!=nil){ | |
currentSSID=[myDict valueForKey:@"SSID"]; | |
} else { | |
currentSSID=@"<<NONE>>"; |
javascript:void((function(){var e=document.createElement('script');e.setAttribute('src','http://xlxx.sinaapp.com/xlvod.js');document.body.appendChild(e);})()) |