Skip to content

Instantly share code, notes, and snippets.

View tagliala's full-sized avatar
🏠
Working from home

Geremia Taglialatela tagliala

🏠
Working from home
View GitHub Profile
@tagliala
tagliala / datepicker.scss
Last active September 3, 2021 08:23
jQuery UI Datepicker BS4
@use "sass:math";
$calendar-padding-y: math.div($spacer, 3) !default;
$calendar-padding-x: math.div($spacer, 3) !default;
$calendar-active: $primary !default;
$calendar-hover: $primary !default;
.ui-datepicker {
display: none;
padding: $popover-body-padding-y $popover-body-padding-x;
@tagliala
tagliala / bash.sh
Last active September 30, 2021 21:39
Postgres 11 - Postgis 3 - brew
# Create postgis.control
/usr/local/opt/postgresql@11/share/postgresql@11/extension/postgis.control
# Manually move files to postgres folder
cp /usr/local/Cellar/postgis/3.0.1/lib/*.so /usr/local/Cellar/postgresql@11/11.7/lib
cp /usr/local/Cellar/postgis/3.0.1/share/postgis/*.* /usr/local/Cellar/postgresql@11/11.7/share/postgresql@11/extension
# Pin formuale
@tagliala
tagliala / config.log
Created April 7, 2019 16:45
proj.4 6.0.0
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by PROJ configure 6.0.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --prefix=/app/.heroku/vendor
## --------- ##
## Platform. ##
@tagliala
tagliala / diff.patch
Last active September 12, 2018 18:32
ThingsBoard Autoprefixer
146,149c145
< -webkit-transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1);
< -webkit-transition-delay: 0ms;
< -moz-transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
< -o-transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
---
181,182c177,179
< transform-origin: left top;
< -webkit-font-smoothing: antialiased;
---
@tagliala
tagliala / popup.coffee
Created May 30, 2018 14:01
Google Maps popup
definePopupClass = ->
###*
# A customized popup on the map.
# @param {!google.maps.LatLng} position
# @param {!Element} content
# @constructor
# @extends {google.maps.OverlayView}
###
@tagliala
tagliala / yarn.lock
Created May 27, 2018 11:11
ES6 #741 CSV
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1
"@types/estree@0.0.38":
version "0.0.38"
resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.38.tgz#c1be40aa933723c608820a99a373a16d215a1ca2"
"@types/node@*":
version "10.1.2"

Keybase proof

I hereby claim:

  • I am tagliala on github.
  • I am tagliala (https://keybase.io/tagliala) on keybase.
  • I have a public key whose fingerprint is 8F1A 55B5 E8B3 9F60 590E FDF7 4A63 4443 0AD4 E29F

To claim this, I am signing this object:

@tagliala
tagliala / mysql56.sh
Created January 28, 2016 10:48
Switch from mysql56 to mysql
#!/bin/bash
if mysql --version | grep -q "Distrib 5.6"
then
echo "Deactivating MySQL 5.6";
mysql.server stop
brew unlink mysql56
mv /usr/local/var/mysql /usr/local/var/mysql56
mv /usr/local/var/mysql.prev /usr/local/var/mysql
brew link mysql
@tagliala
tagliala / test_425.rb
Created January 15, 2016 13:39
Rails 5 routing issue with prefixed optionals
begin
require 'bundler/inline'
rescue LoadError => e
$stderr.puts 'Bundler version 1.10 or later is required. Please update your Bundler'
raise e
end
gemfile(true) do
source 'https://rubygems.org'
# Activate the gem you are reporting the issue against.
@tagliala
tagliala / SassMeister-input.scss
Created June 19, 2015 09:32
Generated by SassMeister.com.
// ----
// Sass (v3.4.14)
// Compass (v1.0.3)
// ----
@mixin variable-icon-font($icon-code) {
content: #{"\"\\"}#{$icon-code + "\""};
}