Skip to content

Instantly share code, notes, and snippets.

View denisinla's full-sized avatar


View GitHub Profile
denisinla / .gitlab-ci.yml
Created March 3, 2020 18:19 — forked from Mazuh/.gitlab-ci.yml
Example of gitlab CI/CD for a create-react-app application on Amazon S3 Bucket.
image: nikolaik/python-nodejs:latest
- install
- test
- deploy
stage: install
denisinla /
Last active September 13, 2019 05:36 — forked from hew/
Operator Mono w/ Italics on OSX VIm

Operator Mono w/ Italics on OSX Vim

denisinla / ParentChild.es6
Created October 1, 2018 05:52 — forked from robba86/ParentChild.es6
Basic example to pass values between parent and child components in React.
* Basic example to pass values between parent and child components in React
* Seems to be in line with this
* Now I have the state in parent and child. Is that good or bad? Why would I need it in child?
* Could probably take that out
* */
class Parent extends React.Component {
constructor(props) {
denisinla /
Last active February 25, 2018 08:01 — forked from thaJeztah/
Some docker examples

Commit, clone a container

To 'clone' a container, you'll have to make an image of that container first, you can do so by "committing" the container. Docker will (by default) pause all processes running in the container during commit to preserve data-consistency.

For example;

docker commit --message="Snapshot of my container" my_container my_container_snapshot:yymmdd
denisinla /
Created June 14, 2017 18:51
Instagram Access Token URL

Instagram API access token

  1. Make sure to register new application.
  2. Create new client.
  3. Replace [CLIENT_ID_HERE] & [CLIENT_URL] with your information (make sure to use the exact same URI and redirect URI as well and drop the www)[CLIENT_ID_HERE]&redirect_uri=[CLIENT_URL]&response_type=token
denisinla / Vagrantfile
Last active November 4, 2016 02:17 — forked from 0xIslamTaha/
Vagrant + Centos7 + Go
Vagrant.configure(2) do |config| = "centos/7" "private_network", ip: ""
config.vm.synced_folder ".", "/home/vagrant/dev", nfs: true
config.vm.provider "virtualbox" do |v| = "golangvbox"
config.vm.provision "shell", path: "", privileged: true, binary: false
denisinla /
Created August 26, 2016 19:12 — forked from lopezjurip/
OSX Homebrew: docker-machine setup


Make sure you have installed Homebrew and (Homebrew-Cask)[].

# Install Homebrew
ruby -e "$(curl -fsSL"

# Install Homebrew-cask
brew install caskroom/cask/brew-cask
denisinla / LICENSE
Created August 4, 2016 20:39 — forked from engelfrost/LICENSE
Fake localStorage. Useful for Safari Private Browsing and browsers that don't implement localStorage.
The MIT License (MIT)
Copyright (c) 2015 Textalk
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
denisinla /
Created December 1, 2015 19:33 — forked from hofmannsven/
My simply MySQL Command Line Cheatsheet
denisinla /
Last active March 8, 2016 21:42 — forked from arosenhagen/
[magento] - code snippets

Magento Code Snippets

Download extension manually using mage

./mage config-set preferred_state stable
./mage clear-cache
./mage sync
./mage download community Module_Name