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: Jan-Erik Rediger <badboy at archlinux dot us> | |
# Contributor: Thorsten Toepper <atsutane at freethoughts dot de> | |
# Contributor: William Giokas <1007380@gmail.com> | |
# This PKGBUILD was prepared for pacman 4.1 by William. Thank you. :-) | |
pkgname=i3-git | |
pkgver=4.13.r1759.g5f6c4a92 | |
pkgrel=1 | |
pkgdesc='An improved dynamic tiling window manager' |
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
# if your system doesnt have faac in repos (eg. Debian) replace it with voaacenc | |
gst-launch-1.0 rtspsrc location="rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov" latency=10000 name=source \ | |
source. ! queue ! "application/x-rtp, media=(string)video" ! rtph264depay ! h264parse ! nvh264dec ! tee name=video \ | |
source. ! queue ! "application/x-rtp, media=(string)audio" ! rtpmp4gdepay ! decodebin ! audioconvert ! audioresample ! faac bitrate=128000 ! "audio/mpeg,rate=(int)44100" ! tee name=audio \ | |
video. ! queue ! videoconvert ! videoscale ! videorate ! "video/x-raw,width=842, height=480,framerate=30/1" ! nvh264enc bitrate=1280 ! "video/x-h264,profile=(string)baseline" ! mux480. \ | |
audio. ! queue ! mux480. \ | |
video. ! queue ! videoconvert ! videoscale ! videorate ! "video/x-raw,width=1280, height=720,framerate=30/1" ! nvh264enc bitrate=2560 ! "video/x-h264,profile=(string)baseline" ! mux720. \ | |
audio. ! queue ! mux720. \ | |
video. ! queue ! videoconvert ! videoscale ! videorate ! "video/x- |
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
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> | |
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> | |
<security> | |
<requestedPrivileges> | |
<requestedExecutionLevel level="requireAdministrator" uiAccess="false"/> | |
</requestedPrivileges> | |
</security> | |
</trustInfo> | |
</assembly> |
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
Hashtable env = new Hashtable(11); | |
authEnv.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory"); | |
authEnv.put(Context.PROVIDER_URL, "ldap://ldap.example.com:389";); | |
authEnv.put(Context.SECURITY_AUTHENTICATION, "simple"); | |
authEnv.put(Context.SECURITY_PRINCIPAL, userName); | |
authEnv.put(Context.SECURITY_CREDENTIALS, passWord); | |
try { | |
DirContext authContext = new InitialDirContext(authEnv); | |
} catch (AuthenticationException authEx) { | |
System.out.println("Authentication failed!"); |
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
<?php | |
class ISO9797Algorithm3 { | |
const BLOCK_SIZE = 8; | |
const KEY_SIZE = 8; | |
public static function generate($input, $key) { | |
$inputChunked = str_split($input, self::BLOCK_SIZE); | |
$desKeys = self::splitKey($key); | |
$output = str_pad("", self::BLOCK_SIZE, "\0"); |