<div class="container">
<img src="http://thetvdb.com/banners/fanart/original/78804-61.jpg">
</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
@import '../../node_modules/vuetify/src/stylus/settings/_colors' | |
$color-root := #FFFFFF | |
$body-bg := $grey.darken-4 | |
$theme := { | |
primary: $blue.base, | |
accent: $blue.accent-1, | |
secondary: #181818, | |
info: $blue.base, | |
warning: $amber.base, | |
error: $red.base, |
If you want to test the vuetify development branch in your project, you might think you could use the github URL to the dev branch of the repository, like this:
yarn add git://github.com/vuetifyjs/vuetify#dev
However, this does not work. The files in dist/* are not rebuilt after every commit- you're probably just importing the most recent release.
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 <string.h> | |
int str_split(char *in, char *out[2]) | |
{ | |
out[0] = strtok(in, "="); | |
out[1] = strtok(NULL, "="); | |
return out[1] == NULL ? -1 : 0; | |
} |
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 <string.h> | |
#include <malloc.h> | |
struct key_val { | |
char *key; | |
char *value; | |
}; | |
struct key_val *key_val_split(char *input) |
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 libc; | |
extern crate tokio_uds; | |
use std::os::unix::io::AsRawFd; | |
// this is automatically enabled on stream socket - only for | |
// datagram sockets do you need to manually enable it. | |
fn enable_so_passcred(unix_socket: &tokio_uds::UnixListener) { | |
let fd = unix_socket.as_raw_fd(); | |
let val: libc::c_int = 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
use std::io::{self,Error,ErrorKind}; | |
use std::path::Path; | |
use openssl::pkey::PKey; | |
use openssl::x509::X509; | |
use openssl::pkcs12::Pkcs12; | |
use openssl::stack::Stack; | |
use native_tls::{self,Identity}; | |
fn read_pems(key: impl AsRef<Path>, cert: impl AsRef<Path>, password: &str) -> io::Result<Vec<u8>> { |
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 futures; | |
use futures::prelude::*; | |
use std::io; | |
macro_rules! trait_alias { | |
($alias:ident = $($trait_:tt)*) => { | |
trait $alias: $($trait_)* {} | |
impl<T: $($trait_)*> $alias for T {} | |
} |
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
/* cc -DTEST -Wall -o pamtest pam.c -lpam */ | |
#include <security/pam_appl.h> | |
#include <sys/resource.h> | |
#include <string.h> | |
#include <stdlib.h> | |
struct creds { | |
char *user; | |
char *password; |
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 <sys/time.h> | |
#include <sys/resource.h> | |
#include <sys/types.h> | |
#include <sys/socket.h> | |
#include <netdb.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <resolv.h> | |
#include <netdb.h> |
OlderNewer