-
Download & install the Windows OpenVPN Client
-
Extract the configuration (sent to you over email) inside C:\Program Files\OpenVPN\config directory
-
Run Command Prompt as Administrator.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub blah() | |
Dim rng As Range | |
With ActiveSheet | |
With Intersect(.UsedRange, .Range("B:BZ")) | |
.Value = .Value | |
For Each cll In .Cells | |
If Len(cll.Value) = 0 Then Set rng = Union(cll, IIf(rng Is Nothing, cll, rng)) | |
Next cll | |
End With | |
End With |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub parser() | |
Dim N As Long, wf As WorksheetFunction | |
Set wf = Application.WorksheetFunction | |
N = Cells(Rows.Count, "A").End(xlUp).Row | |
Dim i As Long, j As Long, k As Long | |
For i = 1 To N | |
ary = Split(wf.Trim(Cells(i, "A").Text), " ") | |
k = 2 | |
For j = LBound(ary) To UBound(ary) | |
Cells(i, k).Value = ary(j) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Public Function check(text As String) As Boolean | |
Dim reg As Object | |
Set reg = CreateObject("vbscript.regexp") | |
Dim reg1 As Object | |
Set reg1 = CreateObject("vbscript.regexp") | |
reg.Pattern = "^[a-zA-Z][0-9]+$" | |
reg1.Pattern = "^TP[0-9]+$" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"context" | |
"flag" | |
"fmt" | |
"log" | |
"net/http" | |
"os" | |
"os/signal" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
filter { | |
if [type] == "cassandralog" { | |
grok { | |
break_on_match => true | |
match => { | |
"message" => [ | |
"%{CASS_COMPACTION_LARGE_KEY}", | |
"%{CASS_SLAB_POOL_CLEANER_1}", | |
"%{CASS_SLAB_POOL_CLEANER_2}", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "aws_iam_group_policy" "my_developer_policy" { | |
name = "my_developer_policy" | |
group = "${aws_iam_group.my_developers.id}" | |
policy = <<EOF | |
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Action": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def concat_basic(iterations): | |
output = "" | |
for num in range(iterations): | |
output += str(num) | |
return output |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def concat_join(iterations): | |
output = [] | |
for num in range(iterations): | |
output.append(str(num)) | |
return "".join(output) |
OlderNewer