Skip to content

Instantly share code, notes, and snippets.

View sethbergman's full-sized avatar
🐋
Building Docker Images for Dell Technologies

Seth Bergman sethbergman

🐋
Building Docker Images for Dell Technologies
View GitHub Profile
@synch-cc
synch-cc / webdev_online_resources.md
Created August 2, 2018 07:56 — forked from ParryQiu/webdev_online_resources.md
Online Resources For Web Developers (No Downloading)
@sethbergman
sethbergman / add-ssh-key.sh
Last active October 28, 2018 21:00
Add SSH Keys
# linux script to add a new ssh key to a bunch of different domains to which you have ssh access
# key_to_add.txt is a text file containing the ssh key and should be in the same directory
# add valid credentials for however many domains you need to add ssh keys for
# domain1 to add key to
cat key1.txt | ssh root@0.0.0.0 'cat >> ~/.ssh/authorized_keys'
# domain2 to add key to
cat key2.txt | ssh root@0.0.0.0 'cat >> ~/.ssh/authorized_keys'
# domain3 to add key to
cat key3.txt | ssh root@0.0.0.0 'cat >> ~/.ssh/authorized_keys'
@cjus
cjus / .docker_aliases
Last active July 13, 2023 23:50
Docker aliases
#!/bin/sh
alias dm='docker-machine'
alias dmx='docker-machine ssh'
alias dk='docker'
alias dki='docker images'
alias dks='docker service'
alias dkrm='docker rm'
alias dkl='docker logs'
alias dklf='docker logs -f'
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
@sethbergman
sethbergman / cloudSettings
Last active January 10, 2019 01:39
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-01-10T01:39:07.652Z","extensionVersion":"v3.2.4"}
@sethbergman
sethbergman / cloudSettings
Last active July 8, 2018 00:01
Visual Studio Code Settings Sync Gist
{"lastUpload":"2018-07-08T00:01:14.381Z","extensionVersion":"v2.9.2"}
@sethbergman
sethbergman / keybase.md
Created April 24, 2018 06:20
sethbergman - keybase

Keybase proof

I hereby claim:

  • I am sethbergman on github.
  • I am sethbergman (https://keybase.io/sethbergman) on keybase.
  • I have a public key ASBjHXfozXkY4xQx-GhGOPg6SGVbwz4kNHPp3gDsWCdB_go

To claim this, I am signing this object:

@superjose
superjose / .gitlab-ci.yml
Last active February 19, 2024 10:22
This is an example of a .gitlab-ci.yml that is required for Continuous Integration on GitLab projects.
# Reference: https://www.exclamationlabs.com/blog/continuous-deployment-to-npm-using-gitlab-ci/
# GitLab uses docker in the background, so we need to specify the
# image versions. This is useful because we're freely to use
# multiple node versions to work with it. They come from the docker
# repo.
# Uses NodeJS V 9.4.0
image: node:9.4.0
# And to cache them as well.
@dweldon
dweldon / install-docker.sh
Last active April 8, 2022 11:18
Install docker CE on Linux Mint 18.3
#!/usr/bin/env bash
# https://docs.docker.com/install/linux/docker-ce/ubuntu/
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable"
sudo apt-get update
sudo apt-get install docker-ce
# https://docs.docker.com/compose/install/
@eneko
eneko / list-of-curl-options.txt
Last active April 25, 2024 12:21
List of `curl` options
$ curl --help
Usage: curl [options...] <url>
--abstract-unix-socket <path> Connect via abstract Unix domain socket
--alt-svc <file name> Enable alt-svc with this cache file
--anyauth Pick any authentication method
-a, --append Append to target file when uploading
--basic Use HTTP Basic Authentication
--cacert <file> CA certificate to verify peer against
--capath <dir> CA directory to verify peer against
-E, --cert <certificate[:password]> Client certificate file and password