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
<?php | |
class ColorCLI { | |
static $foreground_colors = array( | |
'bold' => '1', 'dim' => '2', | |
'black' => '0;30', 'dark_gray' => '1;30', | |
'blue' => '0;34', 'light_blue' => '1;34', | |
'green' => '0;32', 'light_green' => '1;32', | |
'cyan' => '0;36', 'light_cyan' => '1;36', |
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
-module(ring_bench). | |
-export([start/1]). | |
%% start([N, M]) | |
%% Create N processes into ring and sned message round the ring M times | |
start([A, B]) -> | |
N = list_to_integer(atom_to_list(A)), | |
M = list_to_integer(atom_to_list(B)), | |
Self = self(), |
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
# Page TSConfig: | |
tx_gridelements.setup { | |
# ID of Element | |
1 { | |
title = Two Columns | |
config { | |
colCount = 2 | |
rowCount = 1 | |
rows { | |
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
/* | |
* TypoScript | |
*/ | |
# render headline | |
#tt_content.gridelements_pi1.10 = < lib.stdheader | |
tt_content.gridelements_pi1.20.10.setup { | |
1 < lib.gridelements.defaultGridSetup | |
1 { | |
cObject = FLUIDTEMPLATE | |
cObject { |
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
service cloud.firestore { | |
match /databases/{database}/documents { | |
// USERS // | |
function isAuthenticated() { | |
return request.auth != null; | |
} | |
function userExists(uid) { |
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
#!/usr/bin/env bash | |
# This simple bash script is aimed at excluding some development specific directories. | |
# | |
# In this configuration it will instruct Time Machine to exclude directories named: | |
# - env | |
# - node_modules | |
# - vendor | |
# - venv | |
# |