Skip to content

Instantly share code, notes, and snippets.

View Liferenko's full-sized avatar

Pavel Liferenko Liferenko

View GitHub Profile
@Liferenko
Liferenko / gist:8a8e2471215ddcb59136ba9ccaead15f
Last active July 31, 2019 11:53
кусок данных из файла "Все города мира с часовым поясом" (22mb, ~900 000 lines)
{
"geoname_id": 458695,
"country_iso_code": "LV",
"country_name": "Латвия",
"region_name": "",
"city_name": "Коцены",
"time_zone": "Europe/Riga"
},
{
"geoname_id": 458880,
@Liferenko
Liferenko / README.md
Created July 12, 2018 10:31 — forked from hofmannsven/README.md
My simply MySQL Command Line Cheatsheet
@Liferenko
Liferenko / gist:f7f0bae1d8ebccb2a681433966cbd92d
Created June 22, 2017 09:33
Warm and softy contact form (html+css+vue.js) / php script for form action - later
<div id="comments" class="comments-area">
<style>
@charset "UTF-8";
.container {
background-image: linear-gradient(-128deg, rgba(255, 181, 32, 0.93) 3%, rgba(239, 39, 153, 0.93) 88%, rgba(237, 18, 171, 0.93) 100%);
display: flex;
width: 100%;
height: 100%;
justify-content: center;
@Liferenko
Liferenko / emailer.py
Created November 20, 2016 17:14 — forked from sarahholderness/emailer.py
Python scripts to read a list of customer emails and send an email with the daily weather forecast
import weather
import smtp
'''
Send a greeting email to our customer email list
with the daily weather forecast and schedule
'''
def get_emails():
# Reading emails from a file
@Liferenko
Liferenko / gist:67e2f4eb192c13366160c1127f4011c7
Last active July 28, 2016 12:14
Поп-ап при закрытии страницы
//1. Обрабатывает
//2. отрывает и закрывает попап
// 1. Обрабатывает
/*
* SimpleModal 1.2.2 - jQuery Plugin
* http://www.ericmmartin.com/projects/simplemodal/
* Copyright (c) 2008 Eric Martin
* Dual licensed under the MIT and GPL licenses
@Liferenko
Liferenko / gist:73b40a4eab2cd2f90eb0635fdea67aa7
Created July 16, 2016 12:07 — forked from derekmartinla/gist:b719840542406322bb27
AdWords Countdown Ads Updater Script
/***************************************************************************************
* AdWords Countdown Ad Updater -- Find stale countdown ads and replace them with
* Ads that are updated with new dates.
* Version 1.0
* Created By: Derek Martin
* DerekMartinLA.com or MixedMarketingArtist.com
****************************************************************************************/
var DESCRIPTION2_TEXT = "Sale Ends In"
@Liferenko
Liferenko / Lights-Off!.markdown
Created January 15, 2014 14:29
A Pen by Oleksiy.

Lights Off!

A little experiment with user experience. Here you can find the website's content only with the help of the "flashlight".

A Pen by Oleksiy on CodePen.

License.

<html>
<head>
<style>
a {
background:url(https://cdn4.iconfinder.com/data/icons/free-silver-button-icons/96/Podcast.png);
height:80px;
}
a:hover {
background:url(https://cdn4.iconfinder.com/data/icons/free-silver-button-icons/96/Arrow_bottom_left.png);
height:100px;