This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Works in Next.js 10.x | |
*/ | |
import React from 'react' | |
import parse, { | |
domToReact, | |
attributesToProps, | |
Element, | |
HTMLReactParserOptions, | |
} from 'html-react-parser' |
a
able
about
above
abst
accordance
according
accordingly
across
act
Α
ΑΔΙΑΚΟΠΑ
ΑΙ
ΑΚΟΜΑ
ΑΚΟΜΗ
ΑΚΡΙΒΩΣ
ΑΛΗΘΕΙΑ
ΑΛΗΘΙΝΑ
ΑΛΛΑ
ΑΛΛΑΧΟΥ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@DATABASE@__%Y-%m-%d_%H-%M-%S |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# add yourself to the docker group | |
# useradd -G docker USERNAME | |
# then you can enjoy this (for instance) | |
# dockr get logstash_container ip - to get the ip of the container | |
# or | |
# dockr stop last - to stop the last container you ran | |
# or | |
# dockr rmi none - to remove all <none> images |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# usage: drupal-quick-dump user host database D8 ("D8" is optional) | |
# remember to chmod u+x drupal-quick-dump.sh | |
BOLD="$(tput bold)" | |
RED="$(tput setaf 1)" | |
GREEN="$(tput setaf 2)" | |
MAG="$(tput setaf 5)" | |
RESET="$(tput sgr0)" | |
USER="$1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is how I managed to set up Singularitygs + Breakpoint + Compass with Gulp (for Drupal theming). | |
Install gulp globally | |
"sudo npm install -g gulp" | |
Copy the following package.json to the root folder of your project. | |
{ | |
"name": "your_project", | |
"version": "1.0.0", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function greeklish($string) | |
{ | |
$replace_pairs = [ | |
'Α' => 'A', | |
'Ά' => 'A', | |
'Β' => 'V', | |
'Γ' => 'G', | |
'Δ' => 'D', | |
'Ε' => 'E', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Usage: IE={box} vagrant up | |
# | |
# Eg. IE=XPIE6 vagrant up | |
boxes = { | |
"XPIE6" => "http://aka.ms/vagrant-xp-ie6", | |
"XPIE8" => "http://aka.ms/vagrant-xp-ie8", | |
"VistaIE7" => "http://aka.ms/vagrant-vista-ie7", | |
"Win7IE8" => "http://aka.ms/vagrant-win7-ie8", | |
"Win7IE9" => "http://aka.ms/vagrant-win7-ie9", |
NewerOlder