I hereby claim:
- I am drazisil on github.
- I am drazisil (https://keybase.io/drazisil) on keybase.
- I have a public key whose fingerprint is F8D8 0649 FD55 F862 E1B4 E227 1EE4 D5E2 5311 E3CD
To claim this, I am signing this object:
const opacity = 0.4; | |
const current = document.querySelector("#current"); | |
const [maxHeight, maxWidth] = [current.height, current.width]; | |
const imgs = document.querySelectorAll(".imgs img"); | |
imgs[0].style.opacity = opacity; |
class MyRC4 { | |
constructor(key) { | |
const keyBytes = Buffer.from(key) | |
const keyLength = keyBytes.length | |
this.m_state = Array(256) | |
this.m_x = 0 | |
this.m_y = 0 | |
git fetch -p && for branch in `git branch -vv | grep ': gone]' | awk '{print $1}'`; do git branch -D $branch; done | |
H/T: https://github.com/wearehive/project-guidelines |
#!/bin/sh | |
# This is a script that checks to see if the open ports on a host are what you expect them to be. | |
# If your firewall isn't doing what it's supposed to, it will post a message to Slack to alert you. | |
# Intended to be run as a cron job. | |
# | |
# Requires nmap to be installed | |
# | |
# Invoke as | |
# ./portscanyourself example.com 80 443 | |
# To alert you if any ports other than 80 and 443 are listening on a host |
for /r d:\ %f in (*) do @if %~zf gtr 1000000000 echo %f %~zf |
I hereby claim:
To claim this, I am signing this object:
"scripts": { | |
"test": "istanbul cover ./node_modules/mocha/bin/_mocha" | |
}, |
'use strict' | |
var gulp = require('gulp') | |
var standard = require('gulp-standard') | |
var mocha = require('gulp-mocha') | |
var istanbul = require('gulp-istanbul') | |
var coveralls = require('gulp-coveralls') | |
var output_path = process.cwd() |
#!/bin/bash | |
#curl -s -k -H "Accept: application/json" "https://circleci.com/api/v1/recent-builds?circle-token=:$CIRCLE_BUILD_TOKEN&limit=1" | echo | |
#foo=$(($?)) | |
WHO_BROKE_IT=$(git log HEAD^..HEAD --pretty='%aN <%aE>' | sort -u) | |
echo "Build Broke! (I blame $WHO_BROKE_IT)" | |
echo "Installing email software..." | |
sudo apt-get install bsd-mailx sendemail | |
echo "Sending email to the offending party..." | |
#uuencode file1.png file1.png | mail -s "Funny" users@groups.nixcraft.net.i | |
sendEmail -f "build status <build-status@no-reply.circleci.localhost>" -t "$WHO_BROKE_IT" -u "You Broke the build!" -m "https://circleci.com/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME/$CIRCLE_BUILD_NUM" |
'use strict' | |
var gulp = require('gulp') | |
var standard = require('gulp-standard') | |
var mocha = require('gulp-mocha') | |
var istanbul = require('gulp-istanbul') | |
var coveralls = require('gulp-coveralls') | |
gulp.task('standard', function () { | |
return gulp.src(['./app.js']) |