Skip to content

Instantly share code, notes, and snippets.

--- Visual C++ Packages ---
The MSVC runtime libraries VC9, VC10, VC11 are required for Wampserver 2.4, 2.5 and 3.0, even if you use only Apache and PHP versions with VC11. Runtimes VC13, VC14 is required for PHP 7 and Apache 2.4.17
-- VC9 Packages (Visual C++ 2008 SP1)
http://www.microsoft.com/en-us/download/details.aspx?id=5582
http://www.microsoft.com/en-us/download/details.aspx?id=2092
-- VC10 Packages (Visual C++ 2010 SP1)
http://www.microsoft.com/en-us/download/details.aspx?id=8328
http://www.microsoft.com/en-us/download/details.aspx?id=13523
-- VC11 Packages (Visual C++ 2012 Update 4)
The two files VSU4\vcredist_x86.exe and VSU4\vcredist_x64.exe to be download are on the same page: http://www.microsoft.com/en-us/download/details.aspx?id=30679
<Location /.well-known>
Require all granted
</Location>
#
# Matches everything /.well-known (used by Letsencrypt)
<Location ~ /^(?!\.well-known)>
DAV svn
# any "/svn/foo" URL will map to a repository /srv/svn/foo
SVNParentPath /srv/svn/
<ion-menu [content]="content">
<ion-toolbar>
<ion-title>Menu</ion-title>
</ion-toolbar>
<ion-content>
<ion-list>
<ion-list-header>
Navigate
</ion-list-header>
root@remote:~# cat /etc/openvpn/server.conf | grep -v "^#" | grep -v "^;" | uniq -u
port 1194
proto udp
dev tap
up "/etc/openvpn/up.sh br0 eth1"
ca ca.crt
cert myservername.crt
@jonvargas
jonvargas / zabbix-server.service
Created November 24, 2015 02:25
Zabbix Server systemd's unit file for SUSE Linux Enterprise 12
[Unit]
Description=Zabbix Server
After=syslog.target network.target
[Service]
# Since zabbix forks itself after starting, this is mandatory
Type=forking
# The RuntimeDirectory directive creates the /run/zabbix directory for you,
# but it's supported until systemd version 211, this is 210. As a workaround
@jonvargas
jonvargas / gist:9669a86a942e22e16e1e
Created August 21, 2015 16:25
apache-scm-ldap.conf
<VirtualHost *:80>
ServerAdmin webmaster@dummy-host.example.com
ServerName dev-rcp-scm.alkaid.cr
DocumentRoot /srv/www/scm.recope.net
ErrorLog /var/log/apache2/scm.recope.net-error_log
extension=apc.so
apc.enabled=1
apc.shm_segments=1
;32M per WordPress install
apc.shm_size=128M
;Relative to the number of cached files (you may need to watch your stats for a day or two to find out a good number)
apc.num_files_hint=7000
$ curl -o /dev/null -w "Connect: %{time_connect} TTFB: %{time_starttransfer} Total time: %{time_total} \n" -s http://192.168.43.103/
Connect: 0,000 TTFB: 2,057 Total time: 2,076
192.168.43.100:/example /srv/www/portal nfs4 auto,rw,timeo=100,actimeo=60 0 0
resource nfs {
protocol C;
disk {
on-io-error pass_on;
}
on rcp-portal-storage-sles12-a {
address 10.0.2.4:7790;
device /dev/drbd_nfs minor 0;
disk /dev/sdb2;
meta-disk internal;