I hereby claim:
- I am snuxoll on github.
- I am snuxoll (https://keybase.io/snuxoll) on keybase.
- I have a public key ASAPgKjfdqJPkMO0scS8itc6iHwX-96RPwnu-1gDev02bwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| ## Last changed: 2017-12-29 06:53:26 MST | |
| version 12.3R12.4; | |
| groups { | |
| storage { | |
| interfaces { | |
| <ae*> { | |
| aggregated-ether-options { | |
| lacp { | |
| active; | |
| periodic fast; |
| type Result<'TOk,'TError> = | |
| | Ok of 'TOk | |
| | Error of 'TError | |
| let bind fn = | |
| function | |
| | Ok r -> fn r | |
| | Error e -> Error e | |
| let (>>=) x fn = |
| class FoodException < Exception | |
| end | |
| class Food | |
| attr_reader :type | |
| def initialize(type) | |
| @type = type | |
| end | |
| end |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <project xmlns="http://maven.apache.org/POM/4.0.0" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
| <groupId>com.snuxoll.example</groupId> | |
| <artifactId>ember-maven-example</artifactId> | |
| <version>0.1-SNAPSHOT</version> | |
| <modelVersion>4.0.0</modelVersion> | |
| <artifactId>getcheckedin-frontend</artifactId> |
| <Macro name="Fix X12" Ctrl="no" Alt="no" Shift="no" Key="0"> | |
| <Action type="3" message="1700" wParam="0" lParam="0" sParam="" /> | |
| <Action type="3" message="1601" wParam="0" lParam="0" sParam="\r" /> | |
| <Action type="3" message="1625" wParam="0" lParam="1" sParam="" /> | |
| <Action type="3" message="1602" wParam="0" lParam="0" sParam="" /> | |
| <Action type="3" message="1702" wParam="0" lParam="896" sParam="" /> | |
| <Action type="3" message="1701" wParam="0" lParam="1609" sParam="" /> | |
| <Action type="3" message="1700" wParam="0" lParam="0" sParam="" /> | |
| <Action type="3" message="1601" wParam="0" lParam="0" sParam="\n" /> | |
| <Action type="3" message="1625" wParam="0" lParam="1" sParam="" /> |
| user = Shop::LDAP.find_user("snuxoll") | |
| if (Shop::LDAP.authenticate_user(user.dn, password) && Shop::LDAP.user_authorized?(user)) | |
| # Cool, we've got the right password and we're in the correct security group | |
| true | |
| else | |
| # Somebody dun goofed | |
| false | |
| end |
| module Shop | |
| module Config | |
| LDAP_HOST = ENV["LDAP_HOST"] | |
| LDAP_BIND_DN = ENV["LDAP_BIND_DN"] | |
| LDAP_BIND_PASS = ENV["LDAP_BIND_PASS"] | |
| LDAP_SEARCH_BASE = ENV["LDAP_SEARCH_BASE"] | |
| LDAP_SEARCH_PROPERTY = ENV["LDAP_SEARCH_PROPERTY"] | |
| LDAP_SECURITY_GROUP = ENV["LDAP_SECURITY_GROUP"] | |
| end | |
| using GLib; | |
| namespace SoupServer { | |
| class ServerApplication : Object { | |
| private Soup.Server server; | |
| public ServerApplication() { | |
| server = new Soup.Server(Soup.SERVER_PORT, 8000, null); |
| require 'ftools' | |
| require "vala" | |
| require "pkg_config" | |
| require "source_modules" | |
| desc "Compile droppit" | |
| task :default => [:build] | |
| task :build => [:check_deps, :droppit] | |
| desc "Regenerate code and build" | |
| task :rebuild => [:generate, :build] |