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
id: goip-default-login | |
info: | |
name: GoIP GSM VoIP Gateway Default Password | |
author: drfabiocastro | |
severity: high | |
description: GoIP GSM VoIP Gateway Default Password, Allows attackers to send, receive sms and calls. | |
reference: | |
- http://en.dbltek.com/ | |
- https://medium.com/@hackatnow/how-to-create-a-python-script-to-find-goip-gsm-gateway-on-shodan-and-send-sms-ussd-via-goip-e2e203f5d339 |
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
function getKeitaroData() { | |
let ss = SpreadsheetApp.getActiveSpreadsheet(); | |
let sheet = ss.getSheetByName('Keitaro'); | |
let apiKey = '<YOUR_KEITARO_API_KEY>'; | |
let url = 'http://<YOUR_TRACKER_DOMAIN>/admin_api/v1/report/build'; | |
let options= { | |
"method":"POST", | |
"headers":{ |
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 | |
# | |
# We use bash associative arrays indexed by the package name. | |
# | |
opkg status \* | { | |
declare -A packages | |
declare -A packages_depends | |
declare -A packages_skip |
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
[[ -f "$HOME/.profile" ]] && source "$HOME/.profile" | |
[[ $- == *i* && -f "$HOME/.bashrc" ]] && source "$HOME/.bashrc" |
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
// ==UserScript== | |
// @name Click to delete | |
// @author Antonio Bueno | |
// @namespace userscripts.atnbueno.com | |
// @description This script deletes page elements if clicked twice while simultaneously pressing Alt, Control, and Shift | |
// @version 2.0 | |
// @grant none | |
// ==/UserScript== | |
/* |
Description:
When headphone(analog) and HDMI connect to monitor, kde cannot auto switch audio to headphone.
What can we do is use plasmoid to adjust the audio channel manually.
Add the profile to /usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf
.
sudo vim /usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf
[Profile ouput:analog-stereo+output:hdmi-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
document.addEventListener('DOMContentLoaded', function() { | |
testWebP(document.body) | |
}) | |
function testWebP(elem) { | |
const webP = new Image(); | |
webP.src = 'data:image/webp;base64,UklGRjoAAABXRUJQVlA4IC4AAACyAgCdASoCAAIALmk0mk0iIiIiIgBoSygABc6WWgAA/veff/0PP8bA//LwYAAA'; | |
webP.onload = webP.onerror = function () { | |
webP.height === 2 ? elem.classList.add('webp-true') : elem.classList.add('webp-false') | |
} |
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
<?xml version='1.0' encoding='UTF-8'?> | |
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> | |
<fontconfig> | |
<match target="font"> | |
<edit mode="assign" name="antialias"> | |
<bool>true</bool> | |
</edit> | |
<edit mode="assign" name="hinting"> | |
<bool>true</bool> | |
</edit> |
NewerOlder