Skip to content

Instantly share code, notes, and snippets.

View kostysh's full-sized avatar

Kostiantyn Smyrnov kostysh

View GitHub Profile
@kostysh
kostysh / gist:1f6f56660ce08e0d4c69
Created August 20, 2014 01:33
Install Git on Ubuntu
sudo apt-get install git
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
@kostysh
kostysh / gist:3fc46e010e07d1ec1a63
Created August 20, 2014 01:46
Environment for OpenShift development on Ubuntu
# Install Git
# https://gist.github.com/kostysh/1f6f56660ce08e0d4c69
# Install Ruby
sudo apt-get install ruby
# Install OpenShift gem
sudo gem install rhc
# Setup for OpenShift client
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc
. ~/.bashrc
mkdir ~/local
mkdir ~/node-latest-install
cd ~/node-latest-install
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1
./configure --prefix=~/local
make install # ok, fine, this step probably takes more than 30 seconds...
curl https://www.npmjs.org/install.sh | sh
sudo chown -R $(whoami) ~/.npm
@kostysh
kostysh / gist:f3e2b798000c37a6f78c
Created May 19, 2015 21:03
Android device config for debug
Dial this: *#*#2846579#*#*
Service menu will appear.
Go to "ProjectMenu" -> "Background Setting" -> "Log Setting"
Open "Log switch" and set it to ON.
Open "Log level setting" and set the log level you wish.
@kostysh
kostysh / gist:e63cb831bc2153b76523
Created May 19, 2015 21:17
Start web server using sencha cmd
sencha web -port 8080 start -map [project_name]=/[path_to_project_folder] &
### Keybase proof
I hereby claim:
* I am kostysh on github.
* I am kostysh (https://keybase.io/kostysh) on keybase.
* I have a public key ASB6t2pvJ6TiSFpJ2w_xKYW0HOz8vS2wClOUbnatyhS43Qo
To claim this, I am signing this object:
@kostysh
kostysh / ORG.ID
Last active February 19, 2020 10:56
ORG.ID example
{
"@context": "https://windingtree.com/ns/did/v1",
"id": "did:orgid:0xd1e15bcea4bbf5fa55e36bb5aa9ad5183a4acdc1b06a0f21f3dba8868dee2c99",
"created": "2019-01-01T13:10:02.251Z",
"updated": "2019-06-03T13:20:06.398Z",
"publicKey": [
{
"id": "did:orgid:0x00000000000000000000000000000000000tree#firstkey",
"type": "X25519",
"controller": "did:orgid:0x00000000000000000000000000000000000tree",
@kostysh
kostysh / Subsidiary ORG.ID
Last active February 10, 2020 04:06
Subsidiary ORG.ID example
{
"@context": "https://windingtree.com/ns/did/v1",
"id": "did:orgid:0xDa3D89fda52DE133DBbcC06d71E05Af75b8fcE52",
"created": "2019-01-01T13:10:02.251Z",
"updated": "2019-06-03T13:20:06.398Z",
"publicKey": [],
"service": [
{
"id": "did:orgid:0xA0B74BFE28223c9e08d6DBFa74B5bf4Da763f959#org-id-rest",
"type": "org-id-rest-0.7.1a",
{
"@context": [
"https://www.w3.org/ns/did/v1",
"https://windingtree.com/ns/orgid/v1"
],
"id": "did:orgid:0x5e6994f76764ceb42c476a2505065a6170178a24c03d81c9f372563830001171",
"created": "2019-01-01T13:10:02.251Z",
"updated": "2019-06-03T13:20:06.398Z",
"publicKey": [
{