sudo apt-get install tigervnc-scraping-server
vncpasswd
class Tree | |
attr_accessor :elements | |
def initialize(&block) | |
@elements = '' | |
instance_eval(&block) | |
end | |
def method_missing(method_name, *args, &block) | |
@elements << "<#{method_name}>" |
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
import argparse | |
import os | |
import random | |
import string | |
import tempfile | |
import binascii | |
import sys | |
import subprocess |
import os | |
import sys | |
""" | |
This (pure!) python script streams a YUV4MPEG format video to stdout. It easily | |
runs at 1080p60fps on my machine. | |
Pipe it into a media player like this: | |
python3 swar_life.py | mpv - |
M[16],X=16,W,k;main(){T(system("stty cbreak") | |
);puts(W&1?"WIN":"LOSE");}K[]={2,3,1};s(f,d,i | |
,j,l,P){for(i=4;i--;)for(j=k=l=0;k<4;)j<4?P=M | |
[w(d,i,j++)],W|=P>>11,l*P&&(f?M[w(d,i,k)]=l<< | |
(l==P):0,k++),l=l?P?l-P?P:0:l:P:(f?M[w(d,i,k) | |
]=l:0,++k,W|=2*!l,l=0);}w(d,i,j){return d?w(d | |
-1,j,3-i):4*i+j;}T(i){for(i=X+rand()%X;M[i%X] | |
*i;i--);i?M[i%X]=2<<rand()%2:0;for(W=i=0;i<4; | |
)s(0,i++);for(i=X,puts("\e[2J\e[H");i--;i%4|| | |
puts(""))printf(M[i]?"%4d|":" |",M[i]);W-2 |
Go Back | |
Leave Feedback | |
Homebrew App Store | |
by fortheusers.org | |
Licensed under the GPLv3 license. This app is free and open source because the users (like you!) deserve it. | |
Let's support homebrew and the right to control what software we run on our own devices! | |
Repo Maintenance and Development | |
These are the primary people responsible for actively maintaining and developing the Homebrew App Store. If there's a problem, these are the ones to get in touch with! | |
Library Development and Support | |
Without the contributions to open-source libraries and projects by these people, much of the functionality within this program wouldn't be possible. |
This guide will set up VS Code to work with debugging Wii U apps using the GDB stub plugin for Aroma.
To debug you will need a compatible GDB version installed which supports the powerpc:750
archtitecture.
The one which is bundled with devkitPPC
is not recommended, due to being several versions behind.
Edit: It has now been updated to the latest version and can be used without issues. Use /opt/devkitpro/devkitPPC/bin/powerpc-eabi-gdb
for the gdb path.
You also install a PowerPC specific version, or use gdb-multiarch
which comes with several linux distributions.
Note down the path to the gdb executable, this is required for the next steps.
# pip3 install pyusb | |
# Requires root on macOS to kick the kernel driver off the device. | |
import usb.core | |
import usb.util | |
import struct | |
import time | |
import base64 | |
import sys |
You might want to read this to get an introduction to armel vs armhf.
If the below is too much, you can try Ubuntu-ARMv7-Qemu but note it contains non-free blobs.
First, cross-compile user programs with GCC-ARM toolchain. Then install qemu-arm-static
so that you can run ARM executables directly on linux