This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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", |
This file contains hidden or 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
| # Open crontab with nano | |
| # env EDITOR=nano crontab -e | |
| # Examples from https://crontab.guru | |
| # 0 03 * * 1-5 | |
| # */15 * * * * | |
| # 33 * * * * | |
| 0 03 * * 1-5 /usr/local/bin/curl "http://www.domain.com/cron.php?cron_key=vHhbh21L3NXkiF5wKb5QXg3EHCp1ODDvN5DM0gH9OzO" > /dev/null 2>&1 |
NewerOlder