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
declare @backup_to nvarchar(1000) | |
set @backup_to = 'arn:aws:s3:::evorafarma-backup/medicator/medicator-mssql-' + FORMAT(CURRENT_TIMESTAMP, 'yyyyMMddHHmmss') + '.bak' | |
exec msdb.dbo.rds_backup_database | |
@source_db_name='MEDICATOR', | |
@s3_arn_to_backup_to=@backup_to, | |
@overwrite_s3_backup_file=1, | |
@type='FULL'; |
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
import 'package:flutter/material.dart'; | |
import 'package:collection/collection.dart'; | |
import 'package:rxdart/rxdart.dart'; | |
import 'package:simple_gesture_detector/simple_gesture_detector.dart'; | |
enum _Kode { left, right, tap, longPress } | |
const List<_Kode> _konamiCode = [_Kode.left, _Kode.right, _Kode.left, _Kode.right, _Kode.tap, _Kode.longPress]; | |
class KonamiCodeTrigger extends StatefulWidget { |
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
const admin = require('firebase-admin') | |
const {DateTime} = require('luxon') | |
const _ = require('lodash') | |
const fbSource = admin.initializeApp( | |
{ | |
credential: admin.credential.cert(require(`./serviceAccountKey.production.json`)), | |
databaseURL: 'https://biblebox-prod.firebaseio.com', | |
}, | |
'source', |
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
module.exports = { | |
ignorePatterns: ['!.eslintrc.js', 'dist/', 'raw/', 'lib/', 'node_modules/'], | |
extends: [ | |
'plugin:import/errors', | |
'plugin:import/typescript', | |
'plugin:react/recommended', | |
'plugin:@typescript-eslint/recommended', | |
'plugin:json/recommended', | |
'prettier/@typescript-eslint', | |
'plugin:prettier/recommended', |
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
~/Projects/biblebox/amp/src (master)$ pt doublecl | |
./ChapterPage.tsx | |
32: <amp-ad width={320} height={100} type="doubleclick" data-slot="/1020455/Home" /> | |
./HomePage.tsx | |
39: <amp-ad width={320} height={100} type="doubleclick" data-slot="/1020455/Home" /> | |
./ui/AmpLayout.tsx | |
76: <amp-ad width={320} height={50} type="doubleclick" data-slot="/1020455/MobileSticky" /> |
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
# Biblebox DFP AD spots | |
# ------------------------------------------------------- | |
# LAYOUT_ID: | |
# SPOT_ID: | |
# path: DFP AD UNIT PATH | |
# RESPONSIVE_BREAKPOINT: | |
# POSIBLE_AND_TESTED_SIZE: yes|no | |
# | |
# Responsive breakpoints: | |
# xs: when the viewport is < 768 pixels |
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
/* global googletag */ | |
// tslint:disable no-any | |
import debounce from 'debounce-promise' | |
import _ from 'lodash' | |
import defer from 'lodash/defer' | |
import React from 'react' | |
type Props = { | |
id?: string | |
className?: string |
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
Gênesis - gen | |
Êxodo - exod | |
Levítico - lev | |
Números - num | |
Deuteronômio - deut | |
Josué - josh | |
Juízes - judg | |
Rute - ruth | |
1 Samuel - 1sam | |
2 Samuel - 2sam |
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
version: 2 | |
jobs: | |
build: | |
working_directory: /srv/biblebox | |
environment: | |
DISPLAY: :99 | |
BIBLEBOX_DATA_PATH: /srv/biblebox-data | |
BIBLEBOX_SEARCH_ENDPOINT: http://127.0.0.1:1234 | |
BIBLEBOX_DATA_ENDPOINT: http://127.0.0.1:2345 | |
TESTCAFE_CLI_XTRS: --app-init-delay 6000 --no-color --reporter list |
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
/* eslint-disable padded-blocks */ | |
import {Record, List} from 'immutable' | |
import {isEqual} from 'lodash' | |
export class Cake extends Record({ | |
id: null, | |
name: null, | |
}, 'Cake') {} | |
describe('isEqual', () => { |
NewerOlder