$ gradle distZip $ gradle download $ tar cvzf deps.tgz ~/.gradle/caches/modules-2/files-2.1
View DebouncedRunnable.java
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 org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import java.io.Closeable; | |
import java.io.IOException; | |
import java.util.concurrent.Executors; | |
import java.util.concurrent.ScheduledExecutorService; | |
import java.util.concurrent.ScheduledFuture; | |
import java.util.concurrent.TimeUnit; |
View cool.component.ts
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 { State } from '../shared'; | |
constructor(store: Store<State>) { | |
// this call to errors because I haven't passed a "state" | |
store.select(selectNotificationsByGroupType(), { type: this.group.type }); | |
} |
View location.guard.spec.ts
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 { HttpClientTestingModule } from '@angular/common/http/testing'; | |
import { TestBed } from '@angular/core/testing'; | |
import { WindowLocationToken } from '../location'; | |
import { LocationHrefGuard } from './location-href.guard'; | |
describe('LocationHrefGuard', () => { | |
let guard: LocationHrefGuard; | |
const routeMock: any = { | |
snapshot: {}, | |
data: { pathname: '/app/logout.php' }, |
View run_postgres.sh
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 | |
DB_USER=user | |
DB_PASSWORD=password | |
DB=demo | |
DATA_DIR="$(pwd)/postgres-data" | |
mkdir -p $DATA_DIR | |
docker run -d -p 5432:5432 \ | |
-e POSTGRES_USER=$DB_USER \ |
View env.md
ACCUMULO_HOME=/opt/accumulo
ACCUMULO_VERSION=2.0.0-SNAPSHOT
APACHE_DIST_URLS=https://www.apache.org/dyn/closer.cgi?action=download&filename= https://www-us.apache.org/dist/ https://www.apache.org/dist/ https://archive.apache.org/dist/
HADOOP_CONF_DIR=/opt/hadoop/etc/hadoop
HADOOP_HOME=/opt/hadoop
HADOOP_PREFIX=/opt/hadoop
HADOOP_USER_NAME=accumulo
HADOOP_VERSION=2.7.4
HOME=/root
View blah.txt
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
this.connectionManager.start() | |
this.connectionManager.closeOnShutdown("amqp connection manager").start() |
View tcp_flags.txt
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
##TCP FLAGS## | |
Unskilled Attackers Pester Real Security Folks | |
============================================== | |
TCPDUMP FLAGS | |
Unskilled = URG = (Not Displayed in Flag Field, Displayed elsewhere) | |
Attackers = ACK = (Not Displayed in Flag Field, Displayed elsewhere) | |
Pester = PSH = [P] (Push Data) | |
Real = RST = [R] (Reset Connection) | |
Security = SYN = [S] (Start Connection) |
View Makefile
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
THRIFT_VERSION=0.11.0 | |
get_dockerfile: | |
@wget https://raw.githubusercontent.com/apache/thrift/master/build/docker/centos-7.3/Dockerfile | |
build_image: | |
@docker build -t thrift . | |
get_thrift: | |
@wget http://mirrors.ibiblio.org/apache/thrift/$(THRIFT_VERSION)/thrift-$(THRIFT_VERSION).tar.gz |
View input.txt
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
This document is about Cal Ripken and Edgar Allen Poe. It's | |
being written from a house in Carroll County, specifically Union Bridge. | |
The author is Craig Wickesser. |
NewerOlder