|
|\_ app
|...
|\_ docker
| |
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
/* | |
* dropbox_ext4.c | |
* | |
* Compile like this: | |
* gcc -shared -fPIC -ldl -o libdropbox_ext4.so dropbox_ext4.c | |
* | |
* Run Dropbox like this: | |
* LD_PRELOAD=./libdropbox_ext4.so ~/.dropbox-dist/dropboxd | |
*/ | |
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
extern crate gtk; | |
#[macro_use] | |
extern crate relm; | |
#[macro_use] | |
extern crate relm_derive; | |
use gtk::{ | |
Button, ButtonExt, ContainerExt, Inhibit, | |
Orientation::{Horizontal, Vertical}, | |
WidgetExt, Window, WindowType, |
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/perl | |
# Author: Todd Larason <jtl@molehill.org> | |
# $XFree86: xc/programs/xterm/vttests/256colors2.pl,v 1.2 2002/03/26 01:46:43 dickey Exp $ | |
# use the resources for colors 0-15 - usually more-or-less a | |
# reproduction of the standard ANSI colors, but possibly more | |
# pleasing shades | |
# colors 16-231 are a 6x6x6 color cube | |
for ($red = 0; $red < 6; $red++) { |
This guide uses the domain your-domain.tld
and its www.
prefixed version.
It starts the rocket application on 127.0.0.1:1337
and as the user www-data
. The proxy listens on port 80 and 443 though.
If you need other values, update them accordingly in your nginx and systemd configs.
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
#![feature(proc_macro)] | |
/// # `#[widget] attribute` | |
/// | |
/// For the nightly users, a `#[widget]` attribute is provided to simplify the creation of a widget. | |
/// | |
/// This attribute does the following: | |
/// | |
/// * Provide a view! macro to create the widget with a declarative syntax. | |
/// * Automatically create the fn root(), type Msg, type Model, type ModelParam and type Root items. |
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
/// First, add this to you Cargo.toml: | |
// gtk = "^0.2.0" | |
// relm = "^0.10.0" | |
// relm-derive = "^0.10.0" | |
/// Next, add this to your crate: | |
extern crate gtk; | |
#[macro_use] | |
extern crate relm; | |
#[macro_use] |
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
[ 5.277214] OF: /soc@01c00000/i2c@01c2b800/edt-ft5x06@38: could not get #gpio-cells for /clocks/cpu@01c20054 | |
[ 5.287182] edt_ft5x06 2-0038: Failed to request GPIO wake pin, error -22 | |
[ 5.294046] edt_ft5x06: probe of 2-0038 failed with error -22 | |
[ 5.301030] mousedev: PS/2 mouse device common for all mice | |
root@bananapro:~# |
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
DEBUG: Executing shell function do_compile | |
NOTE: make -j 8 CROSS_COMPILE=arm-poky-linux-gnueabi- CC=arm-poky-linux-gnueabi-gcc --sysroot=/home/build/shared/build-bananapro/tmp/work/bananapro-poky-linux-gnueabi/u-boot/1_2017.07-r0/recipe-sysroot V=1 HOSTCC=gcc -isystem/home/build/shared/build-bananapro/tmp/work/bananapro-poky-linux-gnueabi/u-boot/1_2017.07-r0/recipe-sysroot-native/usr/include -O2 -pipe -L/home/build/shared/build-bananapro/tmp/work/bananapro-poky-linux-gnueabi/u-boot/1_2017.07-r0/recipe-sysroot-native/usr/lib -L/home/build/shared/build-bananapro/tmp/work/bananapro-poky-linux-gnueabi/u-boot/1_2017.07-r0/recipe-sysroot-native/lib -Wl,-rpath-link,/home/build/shared/build-bananapro/tmp/work/bananapro-poky-linux-gnueabi/u-boot/1_2017.07-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/home/build/shared/build-bananapro/tmp/work/bananapro-poky-linux-gnueabi/u-boot/1_2017.07-r0/recipe-sysroot-native/lib -Wl,-rpath,/home/build/shared/build-bananapro/tmp/work/bananapro-poky-linux-gnueabi/u-boot/1_2017 |
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
DEBUG: Executing shell function do_compile | |
NOTE: make -j 8 CROSS_COMPILE=arm-poky-linux-gnueabi- CC=arm-poky-linux-gnueabi-gcc --sysroot=/home/build/shared/build-bananapro/tmp/work/bananapro-poky-linux-gnueabi/u-boot/1_2017.07-r0/recipe-sysroot V=1 HOSTCC=gcc -isystem/home/build/shared/build-bananapro/tmp/work/bananapro-poky-linux-gnueabi/u-boot/1_2017.07-r0/recipe-sysroot-native/usr/include -O2 -pipe -L/home/build/shared/build-bananapro/tmp/work/bananapro-poky-linux-gnueabi/u-boot/1_2017.07-r0/recipe-sysroot-native/usr/lib -L/home/build/shared/build-bananapro/tmp/work/bananapro-poky-linux-gnueabi/u-boot/1_2017.07-r0/recipe-sysroot-native/lib -Wl,-rpath-link,/home/build/shared/build-bananapro/tmp/work/bananapro-poky-linux-gnueabi/u-boot/1_2017.07-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/home/build/shared/build-bananapro/tmp/work/bananapro-poky-linux-gnueabi/u-boot/1_2017.07-r0/recipe-sysroot-native/lib -Wl,-rpath,/home/build/shared/build-bananapro/tmp/work/bananapro-poky-linux-gnueabi/u-boot/1_2017 |