sudo apt install -y \
x264 \
fcitx-libs-dev fcitx-libs-qt5 \
mesa-utils \
libgtk2.0-dev \
libxvidcore-dev \
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
#!/bin/bash | |
echo "creating file to work with" | |
dd if=/dev/zero of=/var/tmp/bsopt count=1145140 | |
for buff in 1M 2M 4M 8M 16M 32M 64M 128M 256M | |
do | |
echo "---------------------------------------" | |
echo "Testing block size = $buff" |
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
#!/bin/sh | |
repl=`grep -e "vfat" -n /etc/fstab | sed -e 's/:.*//g'` | |
echo -n "Input EFI Partition: " | |
read efip | |
DUUID=`blkid -o export $efip | grep -m 1 UUID` | |
echo $DUUID |
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
/* | |
* Copyright 2017 Adam H. Leventhal. All Rights Reserved. | |
*/ | |
#include <unistd.h> | |
#include <fcntl.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <strings.h> |
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
#!/bin/bash | |
COMMAND=`basename $0` | |
while getopts mhv OPTION | |
do | |
case $OPTION in | |
m ) OPTION_m="TRUE" ;; | |
h ) OPTION_h="TRUE" ;; | |
v ) OPTION_v="TRUE" ;; |
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
javascript:d=document; | |
c=d.charset%7C%7C0; | |
i=0; | |
o=d.documentElement; | |
d.write(%22%3Cpre%3E%22+(o.outerHTML%7C%7Co.innerHTML).replace(/&/g,%22&%22).replace(/%3C/g,% | |
22<%22).replace(/%3E/g,%22>%22)+%22%3C/pre%3E%22); | |
c?d.charset=c:0; | |
void(document.close()); |
PREREQUISITES:
See cctools/ld64 README + libssl-dev, git, bash, cmake and a jailbroken iOS device
USAGE:
Please ensure you have read and understood the Xcode license terms before building this toolchain: https://www.apple.com/legal/sla/docs/xcode.pdf.
- Download WinSCP or SCPcleint
winscp - SFTP connection to the device
- Forward rm_topanga.sh to /var/root directory
This Gist assumes that the installation of ArchLinux(CUI) is over. If installation is not finished please look at here and finish the installation.
-
First of all, install "sudo" so that you can operate with administrator privileges.
pacman -S --noconfirm sudo
-
The default console keymap is US. To list available layouts, run ls /usr/share/kbd/keymaps/**/*.map.gz. To modify the layout, append a corresponding file name to loadkeys, omitting path and file extension.
For example, run
loadkeys jp106
to set a Japanese keyboard layout.