Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

George Kiknadze kiknaio

🏠
Working from home
Block or report user

Report or block kiknaio

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
@kiknaio
kiknaio / npm-permission.sh
Last active Apr 29, 2019
Fix NPM permission problem
View npm-permission.sh
sudo chown -R $USER:$GROUP ~/.npm
sudo chown -R $USER:$GROUP ~/.config
View i18n-express4-cookie-example.js
@kiknaio
kiknaio / app.js
Created Feb 18, 2017
How to make guestbook with Express.js (part 1)
View app.js
const express = require('express');
const morgan = require('morgan');
const bodyParser = require('body-parser');
// Define port for the server
const PORT = 3000;
const app = express();
// Require routes
const routes = require('./routes/routes');
@kiknaio
kiknaio / app.jsx
Created Feb 17, 2017
React WesBos
View app.jsx
import React from 'react';
const ReactDOM = require('react-dom');
import {Router, Route, History, Navigation} from 'react-router';
import helpers from './helpers';
// For changing navbar link and remove hashes
import createBrowserHistory from 'history/lib/createBrowserHistory';
// App
@kiknaio
kiknaio / index.html
Last active Jan 8, 2017 — forked from anonymous/index.html
FreeCodeCamp - Advanced challenge
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
@kiknaio
kiknaio / datalists.html
Created Sep 1, 2016
HTML5 Datalists for suggesting completion
View datalists.html
<form>
<input list='countries'> <!-- input list name and datalist id should be same -->
<datalist id='countries'>
<option value="Germany"></option>
<option value="Austria"></option>
<option value="London"></option>
<option value="Belgium"></option>
<option value="Brazil"></option>
</datalist>
</form>
@kiknaio
kiknaio / object-to-array.js
Last active Aug 31, 2016
Turning object into an array - JavaScript
View object-to-array.js
let persons = {
"George Kiknadze" : {
"name" : "George",
"lasntame" : "Kiknadze"
},
"Luka Kiknadze" : {
"name" : "Luka",
"lastname" : "Kiknadze"
}
};
View .gitignore boilerplate
# Logs
logs
*.log
npm-debug.log*
# Runtime data
pids
*.pid
*.seed
You can’t perform that action at this time.