Skip to content

Instantly share code, notes, and snippets.

Avatar

Marcin Kowalski yoshi314

  • PL
View GitHub Profile
@yoshi314
yoshi314 / teams-profile.sh
Created May 6, 2020
microsoft-teams-profile-switcher.sh
View teams-profile.sh
#!/bin/sh
if [ $# -lt 1 ] ; then
echo "$0 profile_name"
echo "profile directories will be created as needed"
exit 1
fi
View bosun.toml
# Hostname will be used when links are created in templates (i.e. acknowledge links)
#Hostname = "bosun.example.com"
# The HTTP IP and Port to Listen on. Default is ":8070"
#HTTPListen = ":8080"
# Alert checks are run by default every CheckFrequency * DefaultRunEvery. RunEvery can be overridden
# by indivdual alerts. Defaults are "5m" and 1
CheckFrequency = "1m"
DefaultRunEvery = 5
View output.html
<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"></head><body>string(189)
"SELECT word_id, word_token, word, class, type, country_code, operator,
search_name_count FROM word WHERE word_token in ('
stockholm','stockholm',' 111 64','111 64',' 111','111',' 64','64')"
array(2) {
[0]=&gt;
object(Nominatim\Phrase)#8 (4) {
["sPhrase":"Nominatim\Phrase":private]=&gt;
string(9) "stockholm"
View irfake-sw3.conf
#
# xTreamer SW3
#
"0","a8579f00","a8579f00","power"
"0","d9269f00","a35c9f00","eject"
"0","ba459f00","fa059f00","1"
"0","e8179f00","f6099f00","2"
"0","ed129f00","ea159f00","3"
"0","b04f9f00","fb049f00","4"
View sw3-irfake-codes.txt
# 1 .. bookmark
ba459f00 1/add
0
e8179f00 2/eject
0
ed129f00 3/delete
0
b04f9f00 4/zoom
0
View beachball.user.js
// ==UserScript==
// @name Beachball Loader
// @namespace http://github.com/codeRitter/BeachBall
// @version 1.1
// @description Beachball autoloader for Sandcastle Builder.
// @author codeRitter
// @match http://castle.chirpingmustard.com/castle.html
// @match http://castle.chirpingmustard.com/classic.html
// @grant none
// ==/UserScript==
@yoshi314
yoshi314 / output.xml
Created Sep 10, 2015
reset_rib output
View output.xml
hpilo_cli -dd -l admin -p sekrit 192.168.190.72 reset_rib
Connecting to 192.168.190.72 port 443
Connecting to 192.168.190.72 port 443
Sending XML request, 132 bytes
POST /ribcl HTTP/1.1
Host: localhost
Content-Length: 52
Connection: Close
@yoshi314
yoshi314 / request.xml
Created Sep 10, 2015
python-locfg run
View request.xml
./locfg.py -s 192.168.190.53 -f scripts/Import_Cert.xml -v
iLO version: 1
<!-- RIBCL Sample Script for HP Lights-Out Products -->
<!--Copyright (c) 2012 Hewlett-Packard Development Company, L.P. -->
<!-- Description: This is a sample XML script to import a signed -->
<!-- certificate into following devices: -->
@yoshi314
yoshi314 / saitek-config
Created Jun 10, 2015
xboxdrv config for saitek ps2700 / cybord V3 joypad
View saitek-config
[axismap]
-Y1=Y1
-Y2=Y2
X1=X1
X2=X2
[buttonmap]
[device-name]
You can’t perform that action at this time.