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
general: | |
backend: webengine | |
completion.show: never | |
content: | |
javascript.modal_dialog: True | |
user_stylesheets: [ 'style.css' ] | |
downloads: | |
location.directory: /tmp/ | |
location.prompt: False |
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
# Maintainer: Jesse McClure aka "Trilby" <jesse dot mcclure at umassmed dot edu> | |
# Contributor: Doug Newgard <scimmia at archlinux dot info> | |
pkgname=qt5-webengine-widevine | |
pkgdesc='A browser plugin designed for the viewing of premium video content' | |
pkgver=1.4.8.903 | |
pkgrel=1 | |
epoch=1 | |
arch=('i686' 'x86_64') | |
url='http://www.google.com/chrome' |
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
// compile: gcc -o /somewhere/in/your/path/myprompt thisfile.c | |
// usage: PS1='$(myprompt $? \h \w)' | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <unistd.h> | |
void cprint(int col, const char *str) { printf("\001\033[%dm\002%s", col, str); } | |
int main(int argc, const char **argv) { |
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
// build: gcc -o iwtest iwtest.c -liw | |
#include <stdio.h> | |
#include <iwlib.h> | |
int main(int argc, const char **argv) { | |
/* Check uid */ | |
if (getuid() != 0) { | |
fprintf(stderr,"must be run as root.\n"); | |
return 1; |
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 <sys/stat.h> | |
#include <dirent.h> | |
int main(int argc, const char **argv) { | |
if (argc < 2) return 1; | |
DIR *dir; | |
struct dirent *de; | |
struct stat info; | |
time_t cur = 0,new = 0; |