Skip to content

Instantly share code, notes, and snippets.

@that0n3guy
that0n3guy / gist:9746673
Created March 24, 2014 18:53
openvpn no internet Nyr script
Mon Mar 24 13:43:38 2014 OpenVPN 2.3.2 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [eurephia] [IPv6] built on Aug 22 2013
Enter Management Password:
Mon Mar 24 13:43:38 2014 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Mon Mar 24 13:43:38 2014 Need hold release from management interface, waiting...
Mon Mar 24 13:43:38 2014 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
Mon Mar 24 13:43:38 2014 MANAGEMENT: CMD 'state on'
Mon Mar 24 13:43:38 2014 MANAGEMENT: CMD 'log all on'
Mon Mar 24 13:43:38 2014 MANAGEMENT: CMD 'hold off'
Mon Mar 24 13:43:38 2014 MANAGEMENT: CMD 'hold release'
Mon Mar 24 13:43:39 2014 Socket Buffers: R=[8192->8192] S=[8192->8192]
@that0n3guy
that0n3guy / gist:9747291
Created March 24, 2014 19:28
openvpn no internet Nyr script 2
C:\Users\polson>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : polson-THINK
Primary Dns Suffix . . . . . . . : oca-domain.lan
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : oca-domain.lan
@that0n3guy
that0n3guy / gist:9754047
Created March 25, 2014 02:11
laptop routeprint and ipconfig all
C:\Users\lappy>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : lappy-PC
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
@that0n3guy
that0n3guy / gist:9754054
Created March 25, 2014 02:11
laptop openvpn log
Mon Mar 24 21:07:03 2014 OpenVPN 2.3.2 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [eurephia] [IPv6] built on Aug 22 2013
Enter Management Password:
Mon Mar 24 21:07:03 2014 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Mon Mar 24 21:07:03 2014 Need hold release from management interface, waiting...
Mon Mar 24 21:07:04 2014 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
Mon Mar 24 21:07:04 2014 MANAGEMENT: CMD 'state on'
Mon Mar 24 21:07:04 2014 MANAGEMENT: CMD 'log all on'
Mon Mar 24 21:07:04 2014 MANAGEMENT: CMD 'hold off'
Mon Mar 24 21:07:04 2014 MANAGEMENT: CMD 'hold release'
Mon Mar 24 21:07:04 2014 Socket Buffers: R=[8192->8192] S=[8192->8192]
@that0n3guy
that0n3guy / gist:e8c25b6146f5b5b896ed
Last active August 29, 2015 14:02
ocalist model and contact model
<?php namespace OCA\Blasts\Models;
use Model;
/**
* Contact Model
*/
class Contact extends Model
{
@that0n3guy
that0n3guy / gist:7479972eb4160f9eaf9e
Created June 2, 2014 19:50
ocalist and contact form yaml
# ===================================
# Form Field Definitions for Contact
# ===================================
fields:
firstname:
label: First Name
lastname:
label: First Name
name:
@that0n3guy
that0n3guy / gist:1dc690374767dceba3cb
Created June 2, 2014 19:52
contacts and lists update (migration) files
<?php namespace OCA\Blasts\Updates;
use Schema;
use October\Rain\Database\Updates\Migration;
class CreateContactsTable extends Migration
{
public function up()
{
@that0n3guy
that0n3guy / gist:151fc54f7e0db8893ab7
Last active August 29, 2015 14:05
bauhaus issues for #21
//----------------- error
Symfony\Component\Debug\Exception\FatalErrorException thrown with message "Class 'diquoterequests' not found"
Stacktrace:
#1 Symfony\Component\Debug\Exception\FatalErrorException in C:\xamppPHP5.4\htdocs\diqc-laravel\vendor\krafthaus\bauhaus\src\KraftHaus\Bauhaus\Field\HasManyField.php:36
#0 Illuminate\Exception\Handler:handleShutdown in <#unknown>:0
(copied from error)
Symfony \ Component \ Debug \ Exception \ FatalErrorException (E_ERROR)
Class 'diquoterequests' not found
@that0n3guy
that0n3guy / gist:e392d763df4b21c04fd3
Created February 27, 2015 18:04
dokku build with variables
#!/bin/bash
DOCKERFILE="/home/ubuntu/dockerfiletest/Dockerfile"
ENVFILE='/home/dokku/oca/ENV'
env_list='ENV'
# itterate through ENV file to make a single line for use in Dockerfile
while read line; do
# Remove the 'export ' at the beginning of each line
@that0n3guy
that0n3guy / gist:905c812c0f65e7ffb5ec
Last active December 20, 2023 11:13
Mautic nginx config
server {
# see: http://wiki.nginx.org/Pitfalls
# see: http://wiki.nginx.org/IfIsEvil
listen 80;
root /app;
index index.html index.htm index.php;
error_page 404 /index.php;
# Make site accessible from http://set-ip-address.xip.io