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.
| import android.content.Context; | |
| import android.util.AttributeSet; | |
| import android.view.MotionEvent; | |
| import android.widget.ScrollView; | |
| public class VerticalScrollView extends ScrollView { | |
| public VerticalScrollView(Context context, AttributeSet attrs, int defStyle) { | |
| super(context, attrs, defStyle); | |
| } |
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.
| # Basically the nginx configuration I use at konklone.com. | |
| # I check it using https://www.ssllabs.com/ssltest/analyze.html?d=konklone.com | |
| # | |
| # To provide feedback, please tweet at @konklone or email eric@konklone.com. | |
| # Comments on gists don't notify the author. | |
| # | |
| # Thanks to WubTheCaptain (https://wubthecaptain.eu) for his help and ciphersuites. | |
| # Thanks to Ilya Grigorik (https://www.igvita.com) for constant inspiration. | |
| server { |
| // List all files in a directory in Node.js recursively in a synchronous fashion | |
| var walkSync = function(dir, filelist) { | |
| var fs = fs || require('fs'), | |
| files = fs.readdirSync(dir); | |
| filelist = filelist || []; | |
| files.forEach(function(file) { | |
| if (fs.statSync(dir + file).isDirectory()) { | |
| filelist = walkSync(dir + file + '/', filelist); | |
| } | |
| else { |
This is a curated set of conventions and best practices for Stylus, an expressive, dynamic, robust and advanced CSS preprocessor. Frustrated with there not being a set of conventions set in place (that could be easily found), I set forth to find out on my own.
| GitHub tip: easily sync your master to GitHub Pages | |
| On the occasion that you’re working on a web-related project using GitHub, you may want to simply mirror your demo pages or entire master branch over to the Github Pages for your project to make them web-accessible. An example case for this would be the development of a JavaScript tool that includes an “examples/” section. It would be most convenient to just let people browse that as a webpage from GitHub, keeping it up to date every time the master branch changes. | |
| GitHub Pages make it possible to serve web content from a branch of your repository, and the automatic page generator is very nice. To make it work in the example above, though, an update to both the base repository and the website requires at least: | |
| git checkout master | |
| git status | |
| git commit -am "Committing changes to master" | |
| git push origin master |
| git bash ls命令显示中文乱码, | |
| 1,在根目录下c:\Users\xxx 下面新建一个.bashrc文件和.bash_aliases文件 | |
| 2,打开bashrc文件里面加入~/.bash_aliases | |
| 3,在bash_aliases文件中加入alias ls='ls --show-control-chars --color=auto' |
| /** | |
| * ------- | |
| * threeVR (https://github.com/richtr/threeVR) | |
| * ------- | |
| * | |
| * W3C Device Orientation control (http://www.w3.org/TR/orientation-event/) | |
| * with manual user drag (rotate) and pinch (zoom) override handling | |
| * | |
| * Author: Rich Tibbett (http://github.com/richtr) | |
| * License: The MIT License |
| --- | |
| parser: espree | |
| env: | |
| amd: false | |
| browser: false | |
| es6: false | |
| jasmine: false | |
| jquery: false | |
| meteor: false | |
| mocha: false |
| ### No longer needed as of nginx-1.13.6-1.el7_4.ngx.x86_64.rpm from nginx.org | |
| ### it was compiled against OpenSSL 1.0.2 from CentoOS 7.4 so it supports ALPN (HTTP2 works) | |
| yum -y groupinstall 'Development Tools' | |
| yum -y install wget openssl-devel libxml2-devel libxslt-devel gd-devel perl-ExtUtils-Embed GeoIP-devel rpmdevtools | |
| OPENSSL="openssl-1.0.2l" | |
| NGINX_VERSION="1.13.5-1" | |
| NJS_VERSION="1.13.5.0.1.13-1" |