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
<?php | |
// This is untested code | |
class smsGateway_gatewayapi { | |
public $apifields = array( | |
'apitoken' => array("FriendlyName" => "API Token", "Type" => "text", "Size" => "64", ), | |
'senderid' => array("FriendlyName" => "Sender ID", "Type" => "text", "Size" => "15", ), | |
); | |
function sendSMSMessage() { |
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
package main | |
import ( | |
"flag" | |
"image" | |
"io/ioutil" | |
"log" | |
"sync" | |
"github.com/strukturag/libheif/go/heif" |
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 | |
# baraction.sh script for spectrwm status bar | |
print_backlight() { | |
if [ -e /sys/class/backlight/intel_backlight/brightness ]; then | |
BL=$(oled-backlight current) | |
echo -n " BL:$BL%" | |
else | |
echo -n " BL:Unknown" | |
fi |
OlderNewer