Skip to content

Instantly share code, notes, and snippets.

View another-guy's full-sized avatar
💻
01001000 01000101 01001100 01001100 01001111

Igor Soloydenko another-guy

💻
01001000 01000101 01001100 01001100 01001111
View GitHub Profile
@another-guy
another-guy / gist:f750b2db3811c0ee7df8
Created January 16, 2015 04:25
PDF.js stack trace
Warning: Unsupported feature "unknown"
pdf.worker.js:235 Warning: Ignoring invalid character "33" in hex string
pdf.worker.js:235 Warning: Ignoring invalid character "111" in hex string
pdf.worker.js:235 Warning: Ignoring invalid character "116" in hex string
pdf.worker.js:235 Warning: Ignoring invalid character "121" in hex string
pdf.worker.js:235 Warning: Ignoring invalid character "112" in hex string
pdf.worker.js:235 Warning: Ignoring invalid character "104" in hex string
pdf.worker.js:235 Warning: Ignoring invalid character "116" in hex string
pdf.worker.js:235 Warning: Ignoring invalid character "109" in hex string
pdf.worker.js:235 Warning: Ignoring invalid character "108" in hex string
Test Name: TheNextOne2ServiceUnitTests.Integration.Tasks.LifeIsGood
Test FullName: TheNextOne2ServiceUnitTests.Integration.Tasks.LifeIsGood
Test Source: C:\Users\Igor\documents\visual studio 2015\Projects\TheNextOne2\TheNextOne2ServiceUnitTests\Integration\Tasks.cs : line 29
Test Outcome: Failed
Test Duration: 0:01:21.225
Result StackTrace:
at Microsoft.IdentityModel.Protocols.ConfigurationManager`1.<GetConfigurationAsync>d__24.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

Keybase proof

I hereby claim:

  • I am another-guy on github.
  • I am anotherguy (https://keybase.io/anotherguy) on keybase.
  • I have a public key ASD97xo8uefg0JF_pxjenS6VJWczHucJ01OHbO3tWcIj8wo

To claim this, I am signing this object:

@another-guy
another-guy / install-comodo-ssl-cert-for-nginx.rst
Created July 27, 2017 01:14 — forked from bradmontgomery/install-comodo-ssl-cert-for-nginx.rst
Steps to install a Comodo PositiveSSL certificate with Nginx.

Setting up a SSL Cert from Comodo

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.

Purchase the cert

@another-guy
another-guy / https-server-bin-www.js
Created July 28, 2017 03:15 — forked from pineoc/https-server-bin-www.js
make https server using expressjs v4
#!/usr/bin/env node
/**
* Module dependencies.
*/
var app = require('../app');
var debug = require('debug')('logstash_test:server');
var http = require('http');
@another-guy
another-guy / iso8601dateStringAdapter.ts
Created September 12, 2017 19:04
ISO8601 string based Date Adapter for angular material
import { DateAdapter } from '@angular/material';
import {
addDays,
addMonths,
compareAsc,
format,
getDate,
getDay,
getDaysInMonth,
getMonth,
export class Mammal {
mammalName: string;
}
export class Dog extends Mammal {
dogName: string;
}
export class Cat extends Mammal {
catName: string;
}

$ which lerna /c/Program Files/nodejs/lerna

$ lerna --version 3.9.0

$ lerna bootstrap lerna notice cli v3.9.0 lerna info Bootstrapping 3 packages lerna info Symlinking packages and binaries

@another-guy
another-guy / yo-code.sh
Last active March 4, 2019 07:50
Scaffolding VS Code extension project via Yeoman
# Install Yeoman and VS Code extension generator
npm install -g yo generator-code
# Generate VS Code extension project
yo code
@another-guy
another-guy / declarations.d.ts
Created March 4, 2019 08:31
ITestRunner's interface definition
interface ITestRunner {
run(testsRoot: string, clb: (error: Error, failures?: number) => void): void;
}