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
unbind r | |
bind r source-file ~/.tmux.conf | |
unbind C-b | |
set -g prefix \\ | |
bind \\ send-prefix | |
set -g base-index 1 | |
setw -g pane-base-index 1 | |
unbind x | |
bind x kill-pane |
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 debian:bullseye-slim as e2e-builder | |
RUN apt-get update && apt-get install -y --no-install-recommends make=4.3-4.1 gcc=4:10.2.1-1 libc6-dev=2.31-13+deb11u7 wget=1.21-1+deb11u1 ca-certificates=20210119 \ | |
&& apt-get clean \ | |
&& rm -rf /var/lib/apt/lists/* | |
WORKDIR /libfaketime | |
RUN wget https://github.com/wolfcw/libfaketime/archive/refs/tags/v0.9.10.tar.gz -O libfaketime-0.9.10.tar.gz | |
RUN tar -xzvf ./libfaketime-0.9.10.tar.gz --strip-components=1 && rm ./libfaketime-0.9.10.tar.gz | |
RUN make |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="content-type" content="text/html;charset=utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"> | |
<script src="js/jquery-1.12.4.min.js"></script> | |
<script src="js/fastclick.js"></script> | |
<script src="js/player.js"></script> | |
<script src="js/render.js"></script> | |
<script src="js/vmsuicore.js"></script> |
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
apt-get install xvfb | |
apt-get install firefox |
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
var sinon = require("sinon") | |
str = new String('foo'); | |
var spy = sinon.spy(str, 'replace'); | |
str.replace(str, 'bar'); | |
spy.firstCall.returnValue |
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
var mongoose = require('mongoose'); | |
var Schema = mongoose.Schema; | |
var assert = require('assert') | |
console.log('\n==========='); | |
console.log(' mongoose version: %s', mongoose.version); | |
console.log('========\n\n'); | |
mongoose.connect('localhost', 'testing_1088'); | |
mongoose.connection.on('error', function () { |