Skip to content

Instantly share code, notes, and snippets.

View IsaEs's full-sized avatar
👊
Jack of all trades master of one

İsa Eş IsaEs

👊
Jack of all trades master of one
View GitHub Profile
@IsaEs
IsaEs / SA-EPS-02-0002-Edited.svg
Created April 10, 2019 02:45
Saudi Arabia Vector Map
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@IsaEs
IsaEs / Install and Run jenkins.md
Created February 13, 2019 15:27
Jenkins Docker

Pull Jenkins image

docker pull jenkins/jenkins:lts or docker pull jenkins/jenkins

Run image

docker run -p 8080:8080 -d jenkins/jenkins

Get Inital Admin password

docker exec jenkins cat /var/jenkins_home/secrets/initialAdminPassword

@IsaEs
IsaEs / docker-command-list.md
Created February 8, 2019 07:08
Docker complete command list Docker18
attach      Attach local standard input, output, and error streams to a running container
build       Build an image from a Dockerfile
commit      Create a new image from a container's changes
cp          Copy files/folders between a container and the local filesystem
create      Create a new container
diff        Inspect changes to files or directories on a container's filesystem
events      Get real time events from the server
exec        Run a command in a running container
export      Export a container's filesystem as a tar archive
@IsaEs
IsaEs / docker-ubuntu-18.04-digital-ocean.md
Last active February 8, 2019 08:28
Install Docker on Ubuntu 18.04
sudo apt update
sudo apt 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 bionic stable"
sudo apt update
apt-cache policy docker-ce
sudo apt install docker-ce
sudo systemctl status docker
sudo usermod -aG docker ${USER}
@IsaEs
IsaEs / Basics.scala
Created January 8, 2019 19:41
Scala Basics falan filan
package ies
import scala.collection.mutable.ArrayBuffer
object Main {
def main(args: Array[String]): Unit = {
println("Hello World");
//Byte
@IsaEs
IsaEs / terminal-commands.md
Created September 3, 2018 08:48
Some useful terminal command

Downloading file, resume broken download.

curl -L -O -C - url curl -L -o 'filename-here' -C - url

@IsaEs
IsaEs / git-commands.md
Last active August 27, 2020 18:30
Some Useful Git Commands

Merging Git Repositories

Start creating new project folder

mkdir new_parent_project
cd new_parent_project
git init

Initial commit.

 touch README.md