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
#This section replaces date `cat /dev/clock` | |
# Combines the two suggestions from http://ohlandl.ipv7.net/AIX_1-3/AIX_Set_Date.html | |
TMPDATE=`cat /dev/clock` | |
date `echo "$TMPDATE"\ | |
| awk '{printf("12312000.00%s",substr($0,0,2));}'` | |
date `echo "$TMPDATE"\ | |
| awk '{printf("%s",substr($0,3,11));}'` |
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/main/linux-lts/APKBUILD b/main/linux-lts/APKBUILD | |
index fd0941cb33..20cd747404 100644 | |
--- a/main/linux-lts/APKBUILD | |
+++ b/main/linux-lts/APKBUILD | |
@@ -238,7 +238,7 @@ cbe85cf34e8420c91d2276c2d2aa0ab5023af68e57a1fa613f073f16a76766c67f585eda71c28f23 | |
16b2d5b0255b37075ba894fc797673d633395907ce0b93400c5a8bd05b512b5cd040b91000fa41f9240d42afc664a69206597d1e3f754a1aa64b9be21a67f5c6 ampere-mt-jade.patch | |
7b23c573a058c1a88f40ad0f4413d98150accf4485db2db8117fbd4b5561825b0ceeb886421a32daa4620cf06866f0547f8fe0eb8f5a50403ebca8eab1cebc64 config-lts.aarch64 | |
0bd67a64a5cf791a065945fa4c59a9bab783bc3974008c400b74527323d78c8936269f0868ad52ebb557d3ed53e4f4f7458beafc07ba2f0c4dc73cdd681ecb7f config-lts.armv7 | |
-05239a12b2cf373774d5aaf237fb0a02c648c63f6ae7f294b2bc7eb314bfa5b12db1665fc9098c0e65b0c681578786adf803d9ffb7a3dce3985fae257528995a config-lts.x86 | |
+cc90643ddf1451d0ab71358dc20fb6cd76df6d5cf146a74e9c0423e12549221ac1b29c342026c1c914d993e99bcf39769787fc485d70959cf740157b502ed8fa config-lts.x86 |
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/python3 | |
import dbus | |
import sys | |
import subprocess | |
from gi.repository import GLib | |
from dbus.mainloop.glib import DBusGMainLoop |
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
/** | |
A program for testing InsTime/RmvTime cycles during timer events | |
Reading list: | |
- Inside Macintosh: Processes, Ch. 3 Time Manager, Using the Time Manager | |
To use, in THINK C 5.x |
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 <stdio.h> | |
#include <new> | |
class Foo { | |
int i; | |
int j; | |
public: | |
Foo() { | |
printf("The Foo at %p is constructing\n", this); | |
i = 1; |
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
_realname=sheepshaver | |
pkgbase=mingw-w64-${_realname} | |
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}" | |
pkgver=2.5 | |
pkgrel=1 | |
pkgdesc="an open-source PowerPC Apple Macintosh emulator (mingw-w64)" | |
arch=('any') | |
url="https://sheepshaver.cebix.net/" | |
license=("GPL") | |
makedepends=("${MINGW_PACKAGE_PREFIX}-gcc" |
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
// ==UserScript== | |
// @name google news opinion remover | |
// @namespace http://rakslice.net/userscripts/google-news-opinion-remover | |
// @version 0.1 | |
// @description remove google news opinion articles | |
// @author You | |
// @match https://news.google.com/* | |
// @grant none | |
// @require http://code.jquery.com/jquery-3.4.1.min.js | |
// ==/UserScript== |
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 | |
set -e | |
# Convert vtt transcript to text | |
# For use with e.g. youtube-dl --write-auto-sub --skip-download $URL | |
tail -n +4 | sed 's/<c>//g' | sed 's/<[0-9][0-9]:[0-9][0-9]:[0-9][0-9].[0-9][0-9][0-9]>//g' | sed 's/<\/c>//g' | sed '/[0-9][0-9]:[0-9][0-9]:[0-9][0-9].[0-9][0-9][0-9] --> [0-9][0-9]:[0-9][0-9]:[0-9][0-9].[0-9][0-9][0-9] align.*/d' | sed '/^\s*$/d' | uniq |
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
# A Soarer's Converter configuration for the NCD N-107 keyboard | |
# https://archive.org/details/bitsavers_ncd9300584nualOct1997_1647905/page/n469 | |
# (which is a PS/2 keyboard with a Sun Type 4 style layout) | |
force set3 | |
remapblock | |
# Main keyboard area | |
INTERNATIONAL_1 BACKSLASH |
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
$ git diff | |
diff --git a/webview.h b/webview.h | |
index 61f7146..5847ac8 100644 | |
--- a/webview.h | |
+++ b/webview.h | |
@@ -1244,6 +1244,7 @@ WEBVIEW_API int webview_init(struct webview *w) { | |
return -1; | |
} | |
+ SetWindowLong(w->priv.hwnd, GWL_STYLE, WS_DLGFRAME); |