Oracle queries can fail for no good reason when running in Access.
When using || to concatenate, or at other times.
# https://github.com/nix-community/nix-direnv | |
# https://github.com/oxalica/rust-overlay | |
{ | |
description = "A basic flake with a shell"; | |
nixConfig.bash-prompt = "\[rust-plot\]($(parse_git_branch))$ "; | |
inputs.nixpkgs-pinned.url = "github:NixOS/nixpkgs?rev=85f1ba3e51676fa8cc604a3d863d729026a6b8eb"; | |
inputs.flake-utils.url = "github:numtide/flake-utils"; | |
inputs.rust-overlay.url = "github:oxalica/rust-overlay"; |
{ pkgs ? import <nixpkgs> {} }: with pkgs; | |
stdenv.mkDerivation { | |
name = "frontend"; | |
src = ../.; | |
buildInputs = [ elmPackages.elm nodejs nodePackages.yarn ]; | |
HOME="."; |
import boto | |
import boto.s3 | |
import os.path | |
import sys | |
# Fill these in - you get them when you sign up for S3 | |
AWS_ACCESS_KEY_ID = '' | |
AWS_ACCESS_KEY_SECRET = '' | |
# Fill in info on data to upload |
import Dict exposing (Dict) | |
import Html exposing (Html, div, text, input, ul, li) | |
import Html.Events exposing (..) | |
import Task exposing (Task) | |
import String | |
--------------------------- | |
main = | |
Html.program |
package controllers | |
import play.api.Play | |
import play.api.mvc.Action | |
import play.api.mvc.AnyContent | |
import com.google.inject.Inject | |
import play.api.http.HttpErrorHandler | |
class ConfigurableAssets @Inject() (playConfig: play.api.Configuration, errorHandler: HttpErrorHandler) extends AssetsBuilder(errorHandler) { |
Oracle queries can fail for no good reason when running in Access.
When using || to concatenate, or at other times.
let | |
pkgs = import <nixpkgs> {}; | |
in | |
{ stdenv ? pkgs.stdenv, python ? pkgs.python, pythonIRClib ? pkgs.pythonIRClib }: | |
stdenv.mkDerivation { | |
name = "python-nix"; | |
version = "0.1.0.0"; | |
src = ./.; |
#this is a bad version of a python NIX expression, with pythonIRClib dependency. | |
#arguments for the nix expression, syntax is { argname ? defaultvalue, argname ? defaultvalue } | |
{ stdenv ? (import <nixpkgs> {}).stdenv ,python ? (import <nixpkgs> {}).python, pythonPackages ? (import <nixpkgs> {}).pythonPackages, pythonIRClib ? (import <nixpkgs> {}).pythonIRClib }: | |
stdenv.mkDerivation { | |
name = "python-nix"; | |
version = "0.1.0.0"; | |
src = ./.; |
VERSION=1.6.1 | |
ARCH=`uname -m` | |
ARCH_SYS=`uname -s | tr "[A-Z]" "[a-z]"` | |
if [[ "$ARCH" = "i386" ]] | |
then | |
ARCH = "i686" | |
fi | |
WORK_DIR=`pwd` |
package firewall | |
import org.bridj.Pointer | |
import org.bridj.BridJ | |
import org.bridj.Pointer | |
import org.bridj.cpp.com.COMRuntime | |
object FirewallMain extends App { | |
val x: INetFwMgr = COMRuntime.newInstance(classOf[INetFwMgr]); | |
val point = Pointer.allocatePointer(classOf[INetFwPolicy]); |