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
ADHD_HEAD="`awk ' | |
BEGIN { | |
crosver = "'"$CROS_VER"'" | |
crosvers[0] = crosver | |
while (sub(/\.[^.]*$/, "", crosver)) | |
crosvers[length(crosvers)] = crosver | |
bestmatch = length(crosvers)-1 | |
} | |
sub(/refs\/heads\//, "", $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
OpenJDK Runtime Environment (IcedTea 2.3.9) (ArchLinux build 7.u21_2.3.9-4-armv7h) | |
OpenJDK Zero VM (build 22.0-b10, mixed mode) | |
WARNING: You are launching the IDE using OpenJDK Java runtime. | |
ITS KNOWN TO HAVE PERFORMANCE AND GRAPHICS ISSUES! | |
SWITCH TO THE ORACLE(SUN) JDK BEFORE REPORTING PROBLEMS! | |
NOTE: If you have both Oracle (Sun) JDK and OpenJDK installed | |
please validate either IDEA_JDK, JDK_HOME, or JAVA_HOME environment variable points to valid Oracle (Sun) JDK installation. | |
See http://ow.ly/6TuKQ for more info on switching default JDK. |
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
# Contributor: Alexsandr Pavlov <kidoz at mail dot ru> | |
pkgname=ruby-rmagick | |
_gemname=${pkgname#ruby-} | |
pkgver=2.13.2 | |
pkgrel=2 | |
pkgdesc="Interface between the Ruby programming language and the ImageMagick" | |
arch=('i686' 'x86_64') | |
url="http://rmagick.rubyforge.org" | |
license=(MIT) | |
depends=('ruby' 'imagemagick' 'rubygems') |
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/PKGBUILD b/PKGBUILD | |
index 1da05b7..4728eea 100644 | |
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -10,6 +10,7 @@ url='http://roboticoverlords.org/gendesk/' | |
license=('MIT') | |
makedepends=('go') | |
depends=('glibc') | |
+options=('!strip') | |
source=("http://roboticoverlords.org/$pkgname/$pkgname-$pkgver.tar.xz" |
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
time sudo cpio -idm < ../bash-4.2-37.4.mga3.x86_64.cpiodec | |
Proper cpio: | |
real 0m0.031s | |
user 0m0.003s | |
sys 0m0.027s | |
Using dd: | |
real 0m3.277s | |
user 0m0.103s |
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
# Generate cras/src/test.h that dumps the structures size and field relative offsets | |
awk 's && /};/ { s = 0; print; } | |
s { gsub(/[;\[].*$/, ""); gsub(/^.* \**/, ""); print "printf(\" "$0" @ %ld\\n\", (long)&(s." $0 ")-(long)&s);"; } | |
/^struct [^ ]* {$/ { s=1; print "{ struct " $2 " s; printf(\"sizeof("$2")=%zu\\n\", sizeof(s));" } | |
' common/cras_iodev_info.h common/cras_messages.h common/cras_types.h common/cras_shm.h > test.h | |
Then, add in cras/src/libcras/cras_client.c: | |
int cras_client_create(struct cras_client **client) | |
{ | |
#include "../test.h" |
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
# | |
# Recommended minimum configuration: | |
# | |
# Example rule allowing access from your local networks. | |
# Adapt to list your (internal) IP networks from where browsing | |
# should be allowed | |
acl localnet src 10.0.0.0/8 # RFC1918 possible internal network | |
acl localnet src 172.16.0.0/12 # RFC1918 possible internal network | |
acl localnet src 192.168.0.0/16 # RFC1918 possible internal network |
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
UID PID PPID PGID SID C STIME TTY TIME CMD | |
root 1857 1 1857 1857 0 Oct29 ? 00:00:00 /usr/sbin/sshd | |
root 4601 1857 4601 4601 0 Oct29 ? 00:00:00 \_ sshd: chronos [priv] | |
chronos 4603 4601 4601 4601 0 Oct29 ? 00:02:38 | \_ sshd: chronos@pts/0 | |
chronos 4604 4603 4604 4604 0 Oct29 pts/0 00:00:00 | \_ -bash | |
root 9140 4604 9140 4604 0 13:47 pts/0 00:00:00 | | \_ sudo enter-chroot -n wheezy sh -ec dd if=/dev/ | |
root 9143 9140 9140 4604 0 13:47 pts/0 00:00:00 | | \_ /bin/sh -e /usr/local/bin/enter-chroot -n | |
root 9335 9143 9140 4604 0 13:47 pts/0 00:00:00 | | \_ su -s /bin/sh -c export SHELL='/bin/ba | |
chronos 9336 9335 9336 9336 0 13:47 ? 00:00:00 | | \_ -su -c export SHELL='/bin/bash';'s | |
chronos 9340 9336 9336 9336 0 13:47 ? 00:00:00 | | \_ sh -ec dd if=/dev/zero bs=4800 |
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
0*: tester | |
1*: basic, background, upgrade | |
3*: cli-extra, audio | |
5*: DEs | |
9*: misc (e.g. chrome) |
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 | |
# Reset partition format (Samsung ARM Chromebook only!) | |
cgpt add -i 13 -t unused /dev/mmcblk0 | |
cgpt add -i 1 -s 22073344 /dev/mmcblk0 | |
partprobe /dev/mmcblk0 | |
# We could resize2fs here, maybe after next reboot |
OlderNewer