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
{"lastUpload":"2018-03-28T15:16:41.593Z","extensionVersion":"v2.9.0"} |
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
{"lastUpload":"2019-06-13T21:46:55.975Z","extensionVersion":"v3.2.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
#!/usr/bin/env bash | |
docker exec CONTAINER_NAME mysqldump -u USERNAME -pPASSWORD DATABASE_NAME --no-data > db_schema_dump/vc.sql | |
# add outputted sql to current commit | |
git add db_schema_dump/vc.sql |
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
apiVersion: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
name: ksql-server | |
namespace: kafka | |
labels: | |
app: ksql-server | |
spec: | |
replicas: 1 | |
selector: |
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
//notes on how I manually installed openconnect from source on Ubuntu 19.04 | |
//install dependencies first | |
sudo apt install libxml2 pkg-config libssl-dev zlib1g-dev | |
//ensure vpnc script is there | |
wget http://git.infradead.org/users/dwmw2/vpnc-scripts.git/blob_plain/HEAD:/vpnc-script | |
sudo mkdir /usr/share/vpnc-scripts/ | |
sudo cp vpnc-script /usr/share/vpnc-scripts/ | |
sudo chmod +x /usr/share/vpnc-scripts/vpnc-script |
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 Worksheet_SelectionChange(ByVal Target As range) | |
If TypeName(Target) = "Range" Then | |
If Target.Cells.Count > 1 Then | |
Application.StatusBar = "# of Characters: " & _ | |
Application.Evaluate( _ | |
"=MAX(LEN(" & _ | |
Target.Address & _ | |
":" & _ | |
Target.Address & _ | |
"))" _ |
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
// How to create a SQL backup using Drush for D7 and write to file that can later be sent to S3 | |
drush sql-dump | gzip | aws s3 cp - s3://<bucket>/backups/database/dev-full.sql.gz | |
// Import from S3 directly | |
aws s3 cp s3://<bucket>/backups/database/dev-full.sql.gz - | gunzip -c | drush sqlc |
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
CREATE TABLE [dbo].[Audit_Info]( | |
[EventTime] [datetime] NULL, | |
[LoginName] [varchar](255) NULL, | |
[UserName] [varchar](255) NULL, | |
[HostName] [varchar](255) NULL, | |
[ApplicationName] [varchar](255) NULL, | |
[DatabaseName] [varchar](255) NULL, | |
[SchemaName] [varchar](255) NULL, | |
[ObjectName] [varchar](255) NULL, | |
[ObjectType] [varchar](255) NULL, |
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
sudo lvextend -l+100%FREE /dev/mapper/ubuntu--vg-ubuntu--lv | |
sudo growpart /dev/sda 3 | |
sudo pvresize /dev/sda3 | |
sudo lvextend -r -l +100%FREE /dev/mapper/ubuntu--vg-ubuntu--lv |
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
sudo route add -net <some_destiation_cidr> gw 10.0.2.2 enp0s3 |
OlderNewer