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
| #!/usr/bin/env python3.8 | |
| import argparse | |
| import logging | |
| import os | |
| import re | |
| import subprocess | |
| import time | |
| from datetime import datetime | |
| from ipaddress import ip_address, IPv4Address, IPv6Address |
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 | |
| DEV_ROOT=/sys/bus/usb/devices | |
| read_usb_sysfs() { | |
| cat "$DEV_ROOT/$1/$2" | |
| } | |
| write_usb_sysfs() { | |
| path="$DEV_ROOT/$1/$2" |
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
| #!/usr/bin/env python3 | |
| import os | |
| import sys | |
| from glob import glob | |
| from lxml import html | |
| from typing import List, NamedTuple, Optional | |
| from urllib.parse import urljoin | |
| from urllib.request import urlopen | |
| BASE_URL = "https://beta.xonotic.org/autobuild-bsp/" |
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
| diff --git a/src/common/text.c b/src/common/text.c | |
| index 73ea7f9..ece22e4 100644 | |
| --- a/src/common/text.c | |
| +++ b/src/common/text.c | |
| @@ -2080,8 +2080,6 @@ pevt_build_string (const char *input, char **output, int *max_arg) | |
| /* also light/dark gray (14/15) */ | |
| /* 5,7,8 are all shades of yellow which happen to look damn near the same */ | |
| -static char rcolors[] = { 19, 20, 22, 24, 25, 26, 27, 28, 29 }; | |
| - |
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 | |
| INTERFACE="${1}" | |
| ACTION="${2}" | |
| if [[ "${INTERFACE}" =~ ^wl.+ ]]; then | |
| case "${ACTION}" in | |
| up) iw dev "${INTERFACE}" set power_save off ;; | |
| down) iw dev "${INTERFACE}" set power_save on ;; | |
| esac |
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
| diff --git a/steam/steam-api.c b/steam/steam-api.c | |
| index a4ce110..2d42eaf 100644 | |
| --- a/steam/steam-api.c | |
| +++ b/steam/steam-api.c | |
| @@ -1336,12 +1336,11 @@ static void steam_api_cb_user_info(SteamApiReq *req, const json_value *json) | |
| } | |
| g_hash_table_destroy(ght); | |
| - req = steam_api_req_fwd(req); | |
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
| <?php | |
| /* | |
| * Copyright 2015 James Geboski <jgeboski@gmail.com> | |
| * | |
| * This program is free software: you can redistribute it and/or modify | |
| * it under the terms of the GNU General Public License as published by | |
| * the Free Software Foundation, either version 3 of the License, or | |
| * (at your option) any later version. | |
| * | |
| * This program is distributed in the hope that it will be useful, |
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
| #!/usr/bin/env python2 | |
| import argparse | |
| import json | |
| import os | |
| import string | |
| import sys | |
| import zlib | |
| def dump(data, desc = None): |
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
| <?php | |
| /* | |
| * Copyright 2014 James Geboski <jgeboski@gmail.com> | |
| * | |
| * This program is free software: you can redistribute it and/or modify | |
| * it under the terms of the GNU General Public License as published by | |
| * the Free Software Foundation, either version 2 of the License, or | |
| * (at your option) any later version. | |
| * | |
| * This program is distributed in the hope that it will be useful, |
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
| #!/usr/bin/env python2 | |
| # | |
| # Copyright 2014 James Geboski <jgeboski@gmail.com> | |
| # | |
| # This program is free software: you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation, either version 3 of the License, or | |
| # (at your option) any later version. | |
| # | |
| # This program is distributed in the hope that it will be useful, |
NewerOlder