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 | |
# Rowan Hamilton 2022 | |
# This is a simple script to change between two audio devices | |
# additional cases can be added to fit your needs | |
# Use this with a keyboard hotkey to quickly jump between devices | |
# Exact names must be used as sinks change on reboot | |
# can get these names by using: $ pactl get-default-sink | |
DEFAULT=alsa_output.pci-0000_0d_00.4.analog-stereo | |
HEADSET=alsa_output.usb-SteelSeries_Arctis_7_-00.analog-stereo |
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
const _ = require('lodash') | |
, moment = require('moment') | |
, discord = require('discord.js') | |
, eshop = require('nintendo-switch-eshop') | |
; | |
const bot = new discord.Client() | |
const clientId = | |
const token = '' |
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
CVE-2016-2775 bind9-host (remotely exploitable, medium urgency) | |
CVE-2016-2776 bind9-host (remotely exploitable, high urgency) | |
CVE-2016-8864 bind9-host (remotely exploitable, medium urgency) | |
CVE-2016-9131 bind9-host (remotely exploitable, medium urgency) | |
CVE-2016-9147 bind9-host (remotely exploitable, medium urgency) | |
CVE-2016-9444 bind9-host (remotely exploitable, medium urgency) | |
CVE-2017-3135 bind9-host | |
CVE-2017-3136 bind9-host | |
CVE-2017-3137 bind9-host | |
CVE-2017-3138 bind9-host |
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 | |
# created by djazz (@daniel_hede) | |
# Video | |
width=640 | |
height=360 | |
fps=25 | |
vkbits=128 | |
# Audio |
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
r0r0@debx1:~/Desktop/tmk_keyboard/converter/adb_usb$ make -f Makefile.teensy KEYMAP=m0116 | |
sh: 1: dfu-programmer: not found | |
sh: 1: dfu-programmer: not found | |
-------- begin -------- | |
avr-gcc (GCC) 4.9.2 | |
Copyright (C) 2014 Free Software Foundation, Inc. | |
This is free software; see the source for copying conditions. There is NO | |
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
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
#include "keymap_common.h" | |
const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |
/* Default Layer: plain keymap | |
* +-------+ | |
* | power | | |
* +-------+ | |
* |----------------------------------------------------------. ,---------------. | |
* |ESC| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|Backspa| |Ins|Hom|End|Mut| |
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
#!/usr/bin/env node | |
/* | |
* Inspired by: http://stackoverflow.com/questions/4360060/video-streaming-with-html-5-via-node-js | |
* Modified from https://gist.github.com/paolorossi/1993068 | |
*/ | |
var http = require('http') | |
, fs = require('fs') | |
, util = require('util') |
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
// basic auth | |
app.use(function(req, res, next) { | |
var auth; | |
// check whether an autorization header was send | |
if (req.headers.authorization) { | |
// only accepting basic auth, so: | |
// * cut the starting "Basic " from the header | |
// * decode the base64 encoded username:password | |
// * split the string at the colon |