Skip to content

Instantly share code, notes, and snippets.

View kolyabres's full-sized avatar
🚜
trrrrrrrrrrrrrr

Mykola kolyabres

🚜
trrrrrrrrrrrrrr
View GitHub Profile
#!/usr/bin/env php
<?php
$snapshotsFolder = '/home/kolyabres/bin/snapshots';
if(!file_exists($snapshotsFolder)) {
mkdir($snapshotsFolder);
}
if($argc < 2) {
docker build -t=gateway_web .
docker tag gateway_web servme/gateway_web
docker push servme/gateway_web
const functions = require('firebase-functions');
const admin = require('firebase-admin');
admin.initializeApp(functions.config().firebase);
const errors = (e) => {
console.log('catch', e)
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<link rel="stylesheet" type="text/css" href="/server/main.css">
</head>
<body>
<div class="content">
<div class="questionnaire-header clearfix">
@kolyabres
kolyabres / countries.sql
Created May 9, 2017 06:57 — forked from adhipg/countries.sql
Sql dump of all the Countries, Country Codes, Phone codes.
CREATE TABLE IF NOT EXISTS `country` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`iso` char(2) NOT NULL,
`name` varchar(80) NOT NULL,
`nicename` varchar(80) NOT NULL,
`iso3` char(3) DEFAULT NULL,
`numcode` smallint(6) DEFAULT NULL,
`phonecode` int(5) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;