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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <stdlib.h> | |
#include <locale.h> | |
#include <time.h> | |
#include <windows.h> | |
/* run this program using the console pauser or add your own getch, system("pause") or input loop */ | |
unsigned int getInt(unsigned char * d) |
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
-Go to the starting point of the project | |
>> git checkout origin master | |
-fetch all objects | |
>> git fetch origin | |
-Make the branch from the tag | |
>> git branch new_branch tag_name | |
-Checkout the branch | |
>> git checkout new_branch | |
-Push the branch up | |
>> git push origin new_branch |
- clone
- build_arm.sh
export NDKPATH="${HOME}/myndk_arm16"
export MAKE=${NDKPATH}/bin/make
export CC="${NDKPATH}/bin/clang"
export AR="${NDKPATH}/bin/x86_64-linux-android-ar"
export RANLIB="${NDKPATH}/bin/x86_64-linux-android-ranlib"
export CFLAGS=" --sysroot=${NDKPATH}/sysroot "
${MAKE} clean && ${MAKE}
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022
- install termux
- run ifconfig and get ip address
- run whoami and get uid
- set password
- run sshd
- connect to it using ssh client
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
<div class="box"> 1 </div> | |
<div class="box2"> 2 </div> | |
<div class="box"> 3 </div> |
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
sudo vi host-darwin.c | |
sudo vi aarch64.h | |
sudo make |
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
import cv2 | |
import io | |
import numpy as np | |
import torch | |
from u2net import U2Net | |
from yolov8 import detect_objects | |
from diffusion import StableDiffusionInpaintPipeline | |
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
#! /usr/bin/env python | |
# vim: tabstop=4 expandtab shiftwidth=4 | |
""" | |
vnote2txt - converts vNote files (e.g. from Galaxy S2 Memo app) to text | |
Windows users - please install Python from www.python.org | |
Can be double-clicked or run without arguments to show a file chooser | |
Or can be run from the commandline, e.g. python ./vnote2txt /home/user/docs/*.vn | |
""" |
OlderNewer