Skip to content

Instantly share code, notes, and snippets.

View andzi's full-sized avatar

andzil andzi

View GitHub Profile
@andzi
andzi / README-Template.md
Last active August 3, 2017 22:59 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Build Status Code Climate

Note: This project is under development. It is not yet ready for production use.

Project Title

One Paragraph of project description goes here

Getting Started

@andzi
andzi / GMailReminder.gs
Created July 26, 2017 14:06 — forked from kshwetabh/GMailReminder.gs
Reminder script for GMail: A simple Google Apps Script to create a Google Calendar event (reminder) for any mail (with a specific label). You can then setup ("timed") triggers in Apps Script... (public version of the GMailReminder gist)
/**
* Reminder script for GMail: A simple Google Apps Script to create a Google Calendar event (reminder) for any mail (with a
* specific label). You can then setup ("timed") triggers in Apps Script (hourly, etc) to monitor your Inbox.
* How to Use:
* 1. Log into Google Drive account and create a Google Script.
* 2. Copy and paste the below snippet into the gs file.
* 3. Make sure to update the 'reminderLabel', 'calendarName' and 'reminderDuration' as per your preference.
* 4. Test the script to make sure it is working properly.
* 5. Setup a time-driven Project Trigger (hourly, etc) to automatically run this script and create calendar events.
*
@andzi
andzi / SumLT_VBA.html
Created March 16, 2017 23:03
Excel funkcijos "Suma žodžiais" įrašymas
<html><HEAD>
<link type="text/css" rel="stylesheet" href="/static/css/banner-styles.css"/>
<TITLE>Verslas-Banga</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1257">
<!-- Software, design (C) UAB Metasite (www.metasite.net) -->
<base href="/web/20071025011434/http://verslas.banga.lt/">
<LINK REL="stylesheet" TYPE="text/css" HREF="stuff/style.css" TITLE="web">
<?
/////////////////////
// slack2html
// by @levelsio
/////////////////////
//
/////////////////////
// WHAT DOES THIS DO?
/////////////////////
//
@andzi
andzi / exporteps.py
Created September 13, 2016 21:56 — forked from brechtm/exporteps.py
Libre/OpenOffice Draw script to bulk export figures
# Libre/OpenOffice: Export selected or all figures as EPS
# 2010 Brecht Machiels
#
# Usage:
# - drop script in user scripts folder
# Max OSX: $HOME/Library/Application Support/LibreOffice/4/user/scripts/python/
# (Arch) Linux: $HOME/.config/libreoffice/4/user/Scripts/python/
# other Linux: $HOME/.libreoffice/4/user/Scripts/python/
# Windows: C:\Document and Settings\<username>\Application Data\libreoffice\4\user\Scripts\python
# - start Draw and draw some figures
@andzi
andzi / .md
Created September 6, 2016 17:28 — forked from iAdramelk/.md
Длинная телега про Бутстрап

Английская версия: https://evilmartians.com/chronicles/bootstrap-an-intervention

Вводная часть

У CSS есть несколько базовых проблем, которые позволяют очень быстро отстрелить себе ногу при неправильном использовании:

  1. Глобальный неймспейс – в серверном программировании все что написано в файле, в файле и остается. Все же что написано в css и js засирает глобальное пространство имен со всеми вытекающими. В JS эту проблему сейчас побороли всякими модульными системами, а вот с css сложнее. В идеальном мире это должен починить Shadow DOM и настоящие Web Components, но пока их нет единственный способ с этим бороться – следовать какой-то системе именований селекторов, которая по возможности уменьшает и исключает возможные конфликты.

  2. Каскадность – если на один элемент может сработать несколько правил, то они все и сработают последовательно. Если есть элемент h1.title, на него сработают все правила для тегов h1 и все правила для класса .title. Так как весь html состоит из тегов, то правил которые п

@andzi
andzi / bem.md
Created September 6, 2016 16:28 — forked from iamstarkov/bem.md
bem
@andzi
andzi / b2bbasis-ru-ru-subscribe-confirm.markdown
Created September 6, 2016 15:16
b2bbasis.ru ru subscribe confirm
@andzi
andzi / index.html
Created September 6, 2016 15:02 — forked from anonymous/index.html
[B2Bbasis registration - Подтверждение регистрации] // source https://jsbin.com/xobiwa
<style id="jsbin-css">
#DIV_1 {
height: 737px;
min-width: 940px;
width: 1074px;
perspective-origin: 537px 378.5px;
transform-origin: 537px 378.5px;
background: rgb(247, 246, 246) none repeat scroll 0% 0% / auto padding-box border-box;
font: normal normal normal normal 14px / normal "Open Sans", sans-serif;
padding: 10px 0px;
<div class="register-form">
<div class="row">
<p ng-show="shortRegistration" class="ng-hide">We hope you enjoy your resource. Why not register to gain access to the rest of our resource library?</p>
<h3 style="margin-bottom: 10px;">Tell us about yourself and your interests</h3>
<div class="block-left">