UPDATE 2014-12-21: RubyGems 1.8.30, 2.0.15 and 2.2.3 have been released. It requires manual installation, please see instructions below.
Hello,
If you reached this page, means you've hit this SSL error when trying to
import random | |
random.seed(0) | |
def MakeData(): | |
Data = ["Spam"] * 5 | |
Data.extend(["Eggs"] * 2) | |
Data.extend(["Ham"] * 2) | |
return Data | |
<?php | |
/** | |
* Implements COMMANDFILE_drush_command(). | |
*/ | |
function toolkit_drush_command() { | |
$items = array(); | |
// Command for Clear Cache All. | |
// The 'cca' array key is what you type in the terminal, like: drush cca. |
# replace these details (also consider using Get-Credential to enter password securely as script runs).. | |
$username = "SomeUser@SomeOrg.onmicrosoft.com" | |
$password = "SomePassword" | |
$url = "https://SomeSite.sharepoint.com" | |
$securePassword = ConvertTo-SecureString $Password -AsPlainText -Force | |
# the path here may need to change if you used e.g. C:\Lib.. | |
Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.dll" | |
Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.Runtime.dll" |
UPDATE 2014-12-21: RubyGems 1.8.30, 2.0.15 and 2.2.3 have been released. It requires manual installation, please see instructions below.
Hello,
If you reached this page, means you've hit this SSL error when trying to
TMP_PATH=~/tmp_install_python | |
#Install python3-tk and tk-dev | |
sudo aptitude install python3-tk | |
sudo aptitude install tk-dev | |
# Versions section | |
PYTHON_MAJOR=2.7 | |
PYTHON_VERSION=$PYTHON_MAJOR.10 | |
mkdir $TMP_PATH && cd $TMP_PATH |
There is a long standing issue in Ruby where the net/http library by default does not check the validity of an SSL certificate during a TLS handshake. Rather than deal with the underlying problem (a missing certificate authority, a self-signed certificate, etc.) one tends to see bad hacks everywhere. This can lead to problems down the road.
From what I can see the OpenSSL library that Rails Installer delivers has no certificate authorities defined. So, let's go fetch some from the curl website. And since this is for ruby, why don't we download and install the file with a ruby script?
This guide shows howto install Apache HTTP Server (httpd) with PHP 5.5.9 and following modules on Fedora 20/19/18/17, CentOS 6.5/6.4/6.3/6.2/6.1/6/5.10 and Red Hat (RHEL) 6.5/6.4/6.3/6.2/6.1/6/5.10 systems.
su -
## OR ##
sudo -i
#!/bin/sh | |
# | |
# pptpd installation script on my own CentOS 7 box. | |
# inspired by: https://www.digitalocean.com/community/questions/how-to-install-pptp-vpn-on-centos-7 | |
# and http://unix.stackexchange.com/questions/150837/redhat-centos-7-firewalld-best-practice-for-pptp-or-l2tp-ipsec-rules | |
# | |
# Author: 2015 Steve Yang <me@iyyang.com> | |
# The script comes with ABSOLUTELY NO WARRANTY. | |
--- | |
ssl_certificates: | |
- certificate_src: secure.example.com.pem | |
certificate_dest: /etc/ssl/certs/secure.example.com.pem | |
key_src: secure.example.com.protected.key | |
key_dest: /etc/ssl/private/secure.example.com.protected.key | |
key_stripped: /etc/ssl/private/secure_example.com.key | |
key_password: "{{ssl_passphrase}}" |
#!/bin/bash | |
aptitude -y install expect | |
// Not required in actual script | |
MYSQL_ROOT_PASSWORD=abcd1234 | |
SECURE_MYSQL=$(expect -c " | |
set timeout 10 |