This file contains hidden or 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 <SPI.h> | |
| #include <Wire.h> | |
| #include <Adafruit_GFX.h> | |
| #include <Adafruit_SSD1306.h> | |
| #define OLED_RESET -1 // Reset pin # (or -1 if sharing Arduino reset pin) | |
| #define SCREEN_WIDTH 128 // OLED display width, in pixels | |
| #define SCREEN_HEIGHT 32 // OLED display height, in pixels | |
| #define SCREEN_ADDRESS 0x3C ///< See datasheet for Address; 0x3D for 128x64, 0x3C for 128x32 |
This file contains hidden or 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/sh | |
| pkg install -y sudo podman | |
| sysrc pf_enable=YES | |
| sysrc linux_enable=YES | |
| cp /usr/local/etc/containers/pf.conf.sample /etc/pf.conf | |
| IFACE=$( netstat -rn | grep default | awk '{print $4}' ) | |
| sed -i '' -e "s/ix0/$IFACE/g" /etc/pf.conf |
This file contains hidden or 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 | |
| myenv="" | |
| if [ ! -z $container ]; then | |
| myenv="${myenv}In a $container container. " | |
| else | |
| myenv="${myenv}On a $(uname) server. " | |
| fi |
This file contains hidden or 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 <sys/ioctl.h> | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <time.h> | |
| #include <stdbool.h> | |
| #include <unistd.h> | |
| #include <string.h> | |
| int main (void) | |
| { |
This file contains hidden or 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 | |
| # | |
| # Problematic life by Simonas@irc.data.lt | |
| # Studying of bash performance | |
| # v0.2.0 | |
| term_width=$(($(tput cols) )) | |
| term_height=$(($(tput lines) * 2 - 2)) | |
| full_square='█' | |
| upper_square='▀' |
This file contains hidden or 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
| import re | |
| import time | |
| import ephem | |
| import telnetlib | |
| # put your rotctld address and port here | |
| rot_addr = "192.168.1.124" | |
| rot_port = "4533" | |
| home_lat = "54.687157" |
This file contains hidden or 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
| FROM ubuntu:latest | |
| ENV DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC | |
| ENV WSJTZ_VERSION="wsjtz-2.5.4-1.22.zip" | |
| RUN apt update && apt install -y cmake asciidoc g++ gfortran automake libtool libboost-dev \ | |
| libboost-log-dev libfftw3-dev libusb-1.0-0 libusb-1.0-0-dev \ | |
| qtbase5-dev libqt5serialport5-dev libqt5multimedia5 \ | |
| qtmultimedia5-dev qttools5-dev-tools qttools5-dev git |
This file contains hidden or 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
| #xxxxxxxxxxxxx IT 2 kursas 1 grupë 2013 m. ruduo | |
| #/bin/bash | |
| hex=16 | |
| echo "Pasirinkite veiksma:" | |
| echo "1. Sesioliktainis_sk = Desimtainis_sk" | |
| echo "2. Desimtainis_sk = Sesioliktainis_sk" | |
| echo "3. Baigti darba" | |
| read number | |
| if [ -z $number ] |
This file contains hidden or 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
| $programs = @{ | |
| "Adobe Acrobat" = "Acrobat.exe" | |
| "Firefox Private Browsing" = "private_browsing.exe" | |
| "Firefox" = "firefox.exe" | |
| "Google Chrome" = "chrome.exe" | |
| "Microsoft Edge" = "msedge.exe" | |
| "Parallels Client" = "APPServerClient.exe" | |
| "Remote Desktop" = "msrdcw.exe" | |
| "TeamViewer" = "TeamViewer.exe" | |
| "Royal TS6" = "royalts.exe" |
This file contains hidden or 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
| Opened rig model 3081, 'IC-9700' | |
| Backend version: 20220909.10, Status: Stable | |
| Rig command: f | |
| VFO: Sub | |
| rig_parse_vfo called | |
| rigctl_parse: rig_powerstat is not on = 0 | |
| 1:rig.c(5848):rig_get_powerstat entered | |
| 1:rig.c(5863):rig_get_powerstat returning(-11) Feature not available |
NewerOlder