Skip to content

Instantly share code, notes, and snippets.

:octocat:

denisinla

:octocat:
Block or report user

Report or block denisinla

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@denisinla
denisinla / _readme.md
Last active Sep 13, 2019 — forked from hew/_readme.md
Operator Mono w/ Italics on OSX VIm
View _readme.md

Operator Mono w/ Italics on OSX Vim

@denisinla
denisinla / ParentChild.es6
Created Oct 1, 2018 — forked from robba86/ParentChild.es6
Basic example to pass values between parent and child components in React.
View ParentChild.es6
/**
* Basic example to pass values between parent and child components in React
* Seems to be in line with this
* http://stackoverflow.com/questions/24147331/react-the-right-way-to-pass-form-element-state-to-sibling-parent-elements
* 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) {
super(props);
@denisinla
denisinla / docker-examples.md
Last active Feb 25, 2018 — forked from thaJeztah/docker-examples.md
Some docker examples
View docker-examples.md

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
denisinla / ig-access-token.md
Created Jun 14, 2017
Instagram Access Token URL
View ig-access-token.md

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)
https://instagram.com/oauth/authorize/?client_id=[CLIENT_ID_HERE]&redirect_uri=[CLIENT_URL]&response_type=token
@denisinla
denisinla / Vagrantfile
Last active Nov 4, 2016 — forked from 0xIslamTaha/install_golang.sh
Vagrant + Centos7 + Go
View Vagrantfile
Vagrant.configure(2) do |config|
config.vm.box = "centos/7"
config.vm.network "private_network", ip: "192.168.55.20"
config.vm.synced_folder ".", "/home/vagrant/dev", nfs: true
config.vm.provider "virtualbox" do |v|
v.name = "golangvbox"
end
config.vm.provision "shell", path: "provision.sh", privileged: true, binary: false
@denisinla
denisinla / README.md
Created Aug 26, 2016 — forked from lopezjurip/README.md
OSX Homebrew: docker-machine setup
View README.md

Prerequisites

Make sure you have installed Homebrew and (Homebrew-Cask)[http://caskroom.io/].

# Install Homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

# Install Homebrew-cask
brew install caskroom/cask/brew-cask
@denisinla
denisinla / LICENSE
Created Aug 4, 2016 — forked from engelfrost/LICENSE
Fake localStorage. Useful for Safari Private Browsing and browsers that don't implement localStorage.
View LICENSE
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
denisinla / README.md
Created Dec 1, 2015 — forked from hofmannsven/README.md
My simply MySQL Command Line Cheatsheet
View magento-code-snippets.md

Magento Code Snippets

Download extension manually using mage

./mage config-set preferred_state stable
./mage clear-cache
./mage sync
./mage download community Module_Name
@denisinla
denisinla / osx_install.sh
Created Oct 3, 2015 — forked from t-io/osx_install.sh
Install most of my Apps with homebrew & cask
View osx_install.sh
#!/bin/sh
echo Install all AppStore Apps at first!
# no solution to automate AppStore installs
read -p "Press any key to continue... " -n1 -s
echo '\n'
echo Install and Set San Francisco as System Font
ruby -e "$(curl -fsSL https://raw.github.com/wellsriley/YosemiteSanFranciscoFont/master/install)"
echo Install Homebrew, Postgres, wget and cask
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
You can’t perform that action at this time.