I hereby claim:
- I am vanhecke on github.
- I am joris_vanhecke (https://keybase.io/joris_vanhecke) on keybase.
- I have a public key ASAaD3shMSNTsTTVsmsW2g9-Wld6IwAL18UFoZfS5ynriwo
To claim this, I am signing this object:
//Skipped some code from this part: | |
data_length = JSON.parse(data).length | |
var total_data = new Array(); | |
total_data.push(JSON.parse(data)); | |
/// | |
// What does this .concat.apply do? | |
var merged = []; | |
merged = merged.concat.apply(merged, total_data); | |
success(merged); |
@echo off | |
rem | |
rem | |
rem | |
rem | |
rem | |
rem START CONFIGURATION | |
cd "C:\Users\Joris\Videos\Converted" | |
set mkvextract="C:\Program Files\MKVToolNix\mkvextract.exe" |
# Works fine in browser and using wget. | |
# Using curl: | |
# ⊨ curl -v http://127.0.0.1:8080/ ~ | |
# * Hostname was NOT found in DNS cache | |
# * Trying 127.0.0.1... | |
# * Connected to 127.0.0.1 (127.0.0.1) port 8080 (#0) | |
# > GET / HTTP/1.1 | |
# > User-Agent: curl/7.37.1 | |
# > Host: 127.0.0.1:8080 | |
# > Accept: */* |
I hereby claim:
To claim this, I am signing this object:
# cat /etc/doas.conf | |
# Users | |
permit nopass joris cmd openup | |
permit joris cmd reboot | |
# Daemons - Startup | |
permit nopass root as _teleirc cmd /usr/local/bin/teleirc | |
permit nopass root as joris cmd /usr/local/bin/teleirc |
image: jhass/crystal-build-x86_64 | |
before_script: | |
- apt-get install redis-server -y | |
- service redis-server start | |
- crystal deps | |
- crystal run scripts/seed.cr | |
spec: | |
script: |
@echo off | |
goto start: | |
######################################## | |
### NZBGET POST-PROCESSING SCRIPT ### | |
# SickRage notifier | |
# | |
# This simple script will notify sickrage of completed downloads | |
################################ |
require 'rubygems' | |
require 'nessus' | |
require 'csv' | |
csv = CSV.open("results.csv", "w", force_quotes: true) | |
csv << ['Plugin ID','CVE','CVSS','Risk','Host','Protocol','Port','Name','Synopsis','Description','Solution','See Also','Plugin Output'] | |
Dir.glob('/PATH_TO_FILE(S)/*.nessus').each do |nessus_file| | |
Nessus::Parse.new(nessus_file) do |scan| |
Disable-GameBarTips | |
Disable-UAC | |
Disable-BingSearch | |
Enable-MicrosoftUpdate | |
cinst ccleaner | |
cinst ccenhancer | |
cinst googlechrome | |
cinst firefox | |
cinst chromedriver |
require "digest/md5" | |
module Captcha | |
def get_text(secret, random, alphabet = "abcdefghijklmnopqrstuvwxyz", character_count = 6) | |
if character_count < 1 || character_count > 16 | |
raise "Character count of #{character_count} is outside the range of 1-16" | |
end | |
input = "#{secret}#{random}" |