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: '3.8' | |
| volumes: | |
| metabase-data: | |
| driver: local | |
| services: | |
| metabase: | |
| image: metabase/metabase | |
| container_name: metabase |
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
| document.querySelector('.note').forEach(island => { | |
| const bells = Number(island.children[2].children[2].children[1].innerText.split(' ')[0]) | |
| if (bells > 500) { | |
| const islandName = island.children[1].children[1].innerText.split('\n')[0]; | |
| console.log(bells, islandName); | |
| } | |
| }) |
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
| // Future versions of Hyper may add additional config options, | |
| // which will not automatically be merged into this file. | |
| // See https://hyper.is#cfg for all currently supported options. | |
| module.exports = { | |
| config: { | |
| // choose either `'stable'` for receiving highly polished, | |
| // or `'canary'` for less polished but more frequent updates | |
| updateChannel: 'stable', |
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 AWS = require('aws-sdk'); | |
| const _ = require('lodash'); | |
| AWS.config.update({ | |
| region: 'us-east-1', | |
| accessKeyId: '', | |
| secretAccessKey: '', | |
| }); | |
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 AWS = require('aws-sdk'); | |
| AWS.config.update({ | |
| region: 'us-east-1', | |
| accessKeyId: '', | |
| secretAccessKey: '', | |
| }); | |
| const copySSMNamespace = async () => { |
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/sh | |
| x=0 | |
| for file in *.jpg | |
| do | |
| mv "$file" "print-$x.jpg" | |
| x=$((x+1)) | |
| done |
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
| <template lang="pug"> | |
| .sample | |
| </template> | |
| <script> | |
| export default { | |
| name: 'sample', | |
| components: { | |
| }, | |
| props: { |
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
| set runtimepath^=~/.vim runtimepath+=~/.vim/after | |
| let &packpath=&runtimepath | |
| source ~/.vimrc |
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
| FROM ubuntu | |
| # Add the PostgreSQL PGP key to verify their Debian packages. | |
| # It should be the same key as https://www.postgresql.org/media/keys/ACCC4CF8.asc | |
| RUN apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8 | |
| # Add PostgreSQL's repository. It contains the most recent stable release | |
| # of PostgreSQL, ``9.3``. | |
| RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main" > /etc/apt/sources.list.d/pgdg.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
| export ZSH="/home/cafe/.oh-my-zsh" | |
| ZSH_THEME="jnrowe" | |
| plugins=( | |
| adb | |
| aws | |
| bgnotify | |
| dnf | |
| docker-compose | |
| git |