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
CIFilter *filter = [CIFilter filterWithName: @"CIZoomBlur"]; | |
[filter setDefaults]; | |
[filter setValue: [CIVector vectorWithX: self.title.bounds.size.width / 2 | |
Y: self.title.bounds.size.height / 2] | |
forKey: @"inputCenter"]; | |
[filter setValue: [NSNumber numberWithFloat: 0.0] | |
forKey: @"inputAmount"]; | |
// [filter setValue: [NSNumber numberWithFloat: 90.0] forKey: @"inputAngle"]; | |
[filter setName: @"zoomBlur"]; | |
[self.title setFilters: [NSArray arrayWithObject: filter]]; |
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
CIAdditionCompositing - Adds color components to achieve a brightening effect. This filter is typically used to add highlights and lens flare effects. | |
CIAffineClamp - Performs an affine transform on a source image and then clamps the pixels at the edge of the transformed image, extending them outwards. This filter performs similarly to the CIAffineTransform filter except that it produces an image with infinite extent. You can use this filter when you need to blur an image but you want to avoid a soft, black fringe along the edges. | |
CIAffineTile - Applies an affine transform to an image and then tiles the transformed image. | |
CIAffineTransform - Applies an affine transform to an image. You can scale, translate, or rotate the input image. You can also apply a combination of these operations. | |
CIAreaAverage - Calculates the average color for the specified area in an image, returning the result in a pixel. | |
CIAreaHistogram - Calculates a histogram for the specified area in an image, returning the result in a 1D image. |
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
/** | |
* Marlin 3D Printer Firmware | |
* Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] | |
* | |
* Based on Sprinter and grbl. | |
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm | |
* | |
* This program is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by | |
* the Free Software Foundation, either version 3 of the License, or |
This file has been truncated, but you can view the full file.
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
M190 S80.000000 | |
M109 S235.000000 | |
;Sliced at: Thu 23-06-2016 23:38:53 | |
;Basic settings: Layer height: 0.2046 Walls: 0.7 Fill: 20 | |
;Print time: 1 hour 4 minutes | |
;Filament used: 3.546m 10.0g | |
;Filament cost: None | |
;M190 S80 ;Uncomment to add your own bed temperature line | |
;M109 S235 ;Uncomment to add your own temperature line | |
G21 ;metric values |
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
// | |
// expected.hpp | |
// LiveNet | |
// | |
// Created by Jeffrey Drake on 1/3/2014. | |
// Copyright (c) 2014 Jeffrey Drake. All rights reserved. | |
// | |
#ifndef LiveNet_expected_hpp | |
#define LiveNet_expected_hpp |
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
// C++ 11 | |
#include <iostream> | |
#include <utility> | |
#include <string> | |
long long BinaryFib(long k) | |
{ |
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
$ cabal install happstack-heist | |
Resolving dependencies... | |
cabal: cannot configure happstack-server-7.0.2. It requires blaze-html ==0.5.* | |
For the dependency on blaze-html ==0.5.* there are these packages: | |
blaze-html-0.5.0.0. However none of them are available. | |
blaze-html-0.5.0.0 was excluded because xmlhtml-0.1.7 requires blaze-html | |
>=0.3.2 && <0.5 | |
blaze-html-0.5.0.0 was excluded because heist-0.8.0 requires blaze-html | |
==0.4.* |
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
/* example question implementation in spirit: | |
7. Construct an attribute grammar for the language L so that: | |
@ has value 2 | |
*@* has value 4 - surrounding an expression with two stars squares its value | |
(@) has value 3 - putting brackets around an expressions adds 1 to the value | |
((@)) has value 4 | |
(*(@)*) has value 10 | |
((*((@))*)) has value 18 | |
(((*(*(@)*)*))) has value 103 |
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
make "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2" "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-g -O2" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "JC1FLAGS=" "LDFLAGS=" "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-g -O2" "MAKE=make" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/opt/arm" "infodir=/opt/arm/share/info" "libdir=/opt/arm/lib" "prefix=/opt/arm" "includedir=/opt/arm/include" "AR=/opt/arm/arm-none-eabi/bin/ar" "AS=/Users/drakej/.work/bone/gcc-4.7-20120114/build/./gcc/as" "CC=/Users/drakej/.work/bone/gcc-4.7-20120114/build/./gcc/xgcc -B/Users/drakej/.work/bone/gcc-4.7-20120114/build/./gcc/ -B/opt/arm/arm-none-eabi/bin/ -B/opt/arm/arm-none-eabi/lib/ -isystem /opt/arm/arm-none-eabi/include -isystem /opt/arm/arm-none-eabi/sys-include " "CXX=arm-none-eabi-c++ -B/opt/arm/arm-none-eabi/bin/ |
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
OBJC ui/cocoa.o | |
cc1obj: warning: command line option ‘-Wignored-qualifiers’ is valid for C/C++ but not for ObjC [enabled by default] | |
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:120:0, | |
from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12, | |
from ui/cocoa.m:25: | |
/System/Library/Frameworks/Foundation.framework/Headers/NSTask.h:75:24: error: expected identifier or ‘(’ before ‘^’ token | |
/System/Library/Frameworks/Foundation.framework/Headers/NSTask.h:78:1: error: expected identifier before ‘end’ | |
In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:9:0, | |
from /System/Library/Frameworks/AppKit.framework/Headers/NSView.h:8, | |
from /System/Library/Frameworks/AppKit.framework/Headers/NSText.h:8, |
NewerOlder