Install the OpenSSL on Debian based systems
sudo apt-get install openssl
'use strict'; | |
const path = require('path'); | |
const glob = require('glob'); | |
const webpack = require('webpack'); | |
const WebpackExtractTextPlugin = require('extract-text-webpack-plugin'); | |
const WebpackCleanPlugin = require('clean-webpack-plugin'); | |
const WebpackStyleLintPlugin = require('stylelint-webpack-plugin'); | |
const nodeModulesPath = path.resolve(__dirname, 'node_modules'); | |
const cartridgesPath = path.resolve(__dirname, 'cartridges'); |
# IPB4 Working NGINX site conf file | |
# Tested on IPB 4.1.8.1+ and Centminmod 123.09beta01 | |
# This file is for a FORCED SSL site. Non-SSL requests will be directed to SSL. | |
# Replace 10.0.0.121 with your IP address or domain name. | |
# Information gathered from | |
# Centminmod.com / Information pulled from multiple guides. Thx eva2000! | |
# Makoto on IPB Forum via https://community.invisionpower.com/topic/384522-how-to-set-up-a-secure-ipboard-installation-with-nginx-and-php-fpm/ version 3.4.8 guide. | |
# Base building forum thread: https://community.centminmod.com/threads/ipb-v4-1-x-files.4922/ | |
# Anyone else not mentioned who helped modify and create this file: Thanks! |
// Check if a slave has < 10 GB of free space, wipe out workspaces if it does | |
import hudson.model.*; | |
import hudson.util.*; | |
import jenkins.model.*; | |
import hudson.FilePath.FileCallable; | |
import hudson.slaves.OfflineCause; | |
import hudson.node_monitors.*; | |
#!/bin/bash | |
# | |
# When you are working on your macbook sitting in cafe and you have to go pee, | |
# you need some way to guard you machine. | |
# | |
# Start this script, remove any earphones, and go do the job. | |
# The assumption is the thief will close the lid of the laptop before taking it away. | |
# This script detects the closing of the lid and plays some loud audio that will | |
# likely distract the thief and/or grab attention of nearby people, making the |
# Make a fresh clone of YOUR_REPO | |
git clone YOUR_REPO | |
cd YOUR_REPO | |
# Create tracking branches of all branches | |
for remote in (git branch -r | grep -v /HEAD) | |
git checkout --track (echo -n $remote | tr -d '[:space:]') | |
end | |
# Remove DIRECTORY_NAME from all commits, then remove the refs to the old commits |
777 Brockton Avenue, Abington MA 2351 | |
30 Memorial Drive, Avon MA 2322 | |
250 Hartford Avenue, Bellingham MA 2019 | |
700 Oak Street, Brockton MA 2301 | |
66-4 Parkhurst Rd, Chelmsford MA 1824 | |
591 Memorial Dr, Chicopee MA 1020 | |
55 Brooksby Village Way, Danvers MA 1923 | |
137 Teaticket Hwy, East Falmouth MA 2536 | |
42 Fairhaven Commons Way, Fairhaven MA 2719 | |
374 William S Canning Blvd, Fall River MA 2721 |
set SID "?" | |
set SESSIONID "?" | |
set COOKIE "?" | |
while true | |
for i in (seq 4) | |
curl \ | |
--form "MAX_FILE_SIZE=1048576" \ | |
--form "type=player_avatar_image" \ | |
--form "sId=$SID" \ |
package com.iankwalter.rhinostockexample; | |
import org.mozilla.javascript.Context; | |
import org.mozilla.javascript.Scriptable; | |
import org.mozilla.javascript.ScriptableObject; | |
/** | |
* An example of how to use Mozilla Rhino to execute JavaScript within Java | |
* | |
* @author Ian Kennington Walter |
[Unit] | |
Description=Python Virtualenv service example | |
After=network.target | |
[Service] | |
User=my_user | |
Group=my_group | |
Environment=VIRTUAL_ENV=/home/my_user/.virtualenvs/my_venv | |
Environment=PATH=$VIRTUAL_ENV/bin:$PATH | |
ExecStart=$VIRTUAL_ENV/bin/my_entrypoint |