Skip to content

Instantly share code, notes, and snippets.

View igorbarinov's full-sized avatar
🌿

Igor Barinov igorbarinov

🌿
View GitHub Profile
<link rel="import" href="../../salesforce/mobile-ui-elements/elements/force-ui-app/force-ui-app.html">
<link rel="import" href="../../salesforce/s1-elements/s1AnchorDark.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
@igorbarinov
igorbarinov / gist:38666a71c426e9bf123e
Created December 22, 2014 16:52
Profit Button CDN
<script>
$(document).ready(function () {
$.getScript('//cdn.probtn.com/probtn.js', function () {
$(document).StartButton({ 'mainStyleCss': '//cdn.probtn.com/style.css' });
});
});
</script>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?><!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
[Sun Jul 19 16:16:31.477537 2015] [:error] [pid 1659] [client 107.3.158.6:60566] WordPress database error Table 'wordpress.wp_qards_resource' doesn't exist for query SELECT `data` FROM `wp_qards_resource` WHERE template_id = 'common.header' AND type = 'css' LIMIT 1 made by require_once('wp-admin/admin.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), call_user_func_array, {closure}, Designmodo\\Qards\\Utility\\Migrations::init, Designmodo\\Qards\\Utility\\Migrations::migrate, Designmodo\\Qards\\Page\\Layout\\Component\\Template\\Template->__construct, Designmodo\\Qards\\Page\\Layout\\Component\\Template\\Template->getResource, Designmodo\\Qards\\Utility\\Db::getColumn, referer: http://46.101.248.78/wp-admin/update.php?action=upload-plugin
[Sun Jul 19 16:16:31.477951 2015] [:error] [pid 1659] [client 107.3.158.6:60566] WordPress database error Table 'wordpress.wp_qards_resource' doesn't exist for query SELECT `data` FROM `wp_qards_resource`
@igorbarinov
igorbarinov / server_certificates_to_pem.md
Created March 7, 2016 10:25 — forked from stevenhaddox/server_certificates_to_pem.md
Convert .crt & .key files into .pem file for HTTParty

Two ways to do it, but only worked for me so I'll put it first and the second for reference:

$ openssl pkcs12 -export -in hostname.crt -inkey hsotname.key -out hostname.p12
$ openssl pkcs12 -in hostname.p12 -nodes -out hostname.pem

Other options for this method in comments below:

# Note, the -certfile root.crt appends all CA certs to the export, I've never needed these so it's optional for my personal steps
$ openssl pkcs12 -export -in hostname.crt -inkey hsotname.key -certfile root.crt -out hostname.p12

Note, I've always had my hostname.crt as part of my .pem, so I keep my certs but apparently you may not have to, hence the nocerts flag being an extra option in this sample

Verifying that +barinov is my blockchain ID. https://onename.com/barinov
bis@ubuntu:/var/keyapproval/data/PaymentTest/out$ ls
Платежный регламент 1 013 от 03.04.2015 15_15_07.xml Платежный регламент 4 111 от 01.12.2015 10_45_52.xml Платежный регламент 4 461 от 23.12.2015 15_11_30.xml
Платежный регламент 1 313 от 09.04.2013 14_24_18.xml Платежный регламент 4 228 от 07.12.2015 15_20_12.xml Платежный регламент 4 462 от 23.12.2015 15_13_47.xml
Платежный регламент 1 638 от 27.05.2015 14_38_07.xml Платежный регламент 4 342 от 14.12.2015 13_55_30.xml Платежный регламент 87 от 24.07.2012 8_42_48.xml
Платежный регламент 1 849 от 28.05.2014 12_41_47.xml Платежный регламент 4 369 от 15.12.2015 10_30_43.xml Платежный регламент 88 от 24.07.2012 8_48_10.xml
Платежный регламент 1 916 от 16.06.2015 14_35_57.xml Платежный регламент 4 370 от 15.12.2015 10_35_58.xml Платежный регламент 89 от 24.07.2012 8_54_45.xml
Платежный регламент 2 721 от 07.08.2014 10_25_39.xml Платежный регламент 4 371 от 15.12.2015 10_37_54.xml Платежный регламент 90 от 24.07.2012 10_05_45.xml
Платежный регламент