Skip to content

Instantly share code, notes, and snippets.

View DimazzzZ's full-sized avatar

Dmitriy Zhavoronkov DimazzzZ

View GitHub Profile
@DimazzzZ
DimazzzZ / composer.sh
Last active March 2, 2016 10:16
Composer without XDebug
# Create file /usr/sbin/composer with following content:
#!/bin/bash
options=$(ls -1 /usr/lib/php5/20131226/| \
grep --invert-match xdebug| \
# remove problematic extensions
egrep --invert-match 'mysql|wddx|pgsql|opcache'| \
@DimazzzZ
DimazzzZ / SassMeister-input.scss
Created March 24, 2015 16:04
Generated by SassMeister.com.
// ----
// Sass (v3.4.12)
// Compass (v1.0.3)
// ----
$column-count-middle: 3;
$max-weights: (1000: 3, 800: 2, 400: 1);
@each $weight, $count in $max-weights {
@media (max-width: #{$weight}px) {
@DimazzzZ
DimazzzZ / iso-639-1-codes.php
Last active April 27, 2024 04:34 — forked from ddebin/iso_array_lang.php
ISO 639-1 language codes array
<?php
$codes = [
'ab' => 'Abkhazian',
'aa' => 'Afar',
'af' => 'Afrikaans',
'ak' => 'Akan',
'sq' => 'Albanian',
'am' => 'Amharic',
'ar' => 'Arabic',