This file contains hidden or 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
``` | |
% git grep foo | |
buildtools/test.txt:Test to find: foobar | |
% rg --debug foo | |
DEBUG:grep::search: regex ast: | |
Literal { | |
chars: [ | |
'f', | |
'o', |
This file contains hidden or 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
<field> | |
<name>AADEN</name> | |
<description>AAD enable.</description> | |
<bitRange>[2:2]</bitRange> | |
<enumeratedValues> | |
<name>ENUM</name> | |
<enumeratedValue> | |
<name>AUTO_ADDRESS_DETECT_</name> | |
<description>Auto Address Detect (AAD) is disabled.</description> | |
<value>0</value> |
This file contains hidden or 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
% LC_ALL=C sudo mandb -c | |
Processing manual pages under /usr/share/man... | |
Updating index cache for path `/usr/share/man/man1'. Wait...mandb: warning: /usr/share/man/man1/gdk-pixbuf-csource.1.gz: whatis parse for gdk-pixbuf-csource(1) failed | |
mandb: warning: /usr/share/man/man1/gdk-pixbuf-query-loaders.1.gz: whatis parse for gdk-pixbuf-query-loaders(1) failed | |
mandb: warning: /usr/share/man/man1/ofxdump.1.gz: whatis parse for ofxdump(1) failed | |
mandb: warning: /usr/share/man/man1/ctags.emacs.1.gz: whatis parse for ctags.emacs(1) failed | |
mandb: warning: /usr/share/man/man1/mprof-report.1.gz: whatis parse for mprof-report(1) failed | |
mandb: warning: /usr/share/man/man1/mjpegtools.1.gz: whatis parse for mjpegtools(1) failed | |
mandb: warning: /usr/share/man/man1/inkscape.el.1.gz: whatis parse for inkscape.el(1) failed | |
mandb: can't open /usr/share/man/man1/mysql_client_test.1: No such file or directory |
This file contains hidden or 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
Traceback (most recent call last): | |
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main | |
"__main__", fname, loader, pkg_name) | |
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code | |
exec code in run_globals | |
File "/home/roughl/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/__main__.py", line 183, in <module> | |
Main() | |
File "/home/roughl/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/__main__.py", line 160, in Main | |
if not CompatibleWithCurrentCoreVersion(): | |
File "/home/roughl/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/server_utils.py", line 52, in CompatibleWithCurrentCoreVersion |
This file contains hidden or 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
/home/roughl/proggen/projects/zinc/src/zinc/drivers/lcd/c12332.rs:163:29: 163:46 error: type `&'static [u8]` does not implement any method in scope named `slice` | |
/home/roughl/proggen/projects/zinc/src/zinc/drivers/lcd/c12332.rs:163 let zeichen = self.font.slice(start, end); | |
^~~~~~~~~~~~~~~~~ | |
/home/roughl/proggen/projects/zinc/src/zinc/drivers/lcd/c12332.rs:167:14: 167:28 error: requires `iterator` lang_item | |
/home/roughl/proggen/projects/zinc/src/zinc/drivers/lcd/c12332.rs:167 for j in range(0, vert) { | |
^~~~~~~~~~~~~~ | |
/home/roughl/proggen/projects/zinc/src/zinc/drivers/lcd/c12332.rs:168:16: 168:29 error: requires `iterator` lang_item | |
/home/roughl/proggen/projects/zinc/src/zinc/drivers/lcd/c12332.rs:168 for i in range(0, hor) { | |
^~~~~~~~~ |
This file contains hidden or 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
% rake PLATFORM=lpc17xx build_all | |
rustc -C opt-level=2 -Z no-landing-pads --cfg cfg_mcu_has_spi --cfg mcu_lpc17xx --cfg arch_cortex_m3 --target thumbv7m-none-eabi -g -L /home/roughl/proggen/projects/zinc/build --out-dir /home/roughl/proggen/projects/zinc/build /home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:42:32: 42:36 warning: the `uint` type is deprecated; use `usize` or a fixed-sized integer | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:42 n: uint) -> *mut u8 { | |
^~~~ | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:42:32: 42:36 help: add #![feature(int_uint)] to the crate attributes to silence this warning | |
/home/roughl/proggen/projects/zinc/thirdparty/librlibc/src/lib.rs:42 n: uint) -> *mut u8 { | |
This file contains hidden or 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 pyb | |
from pyb import Pin | |
def initpin(val): | |
p = Pin(val) | |
p.init(Pin.OUT_OD) | |
return p | |
def togglepin(pin): |
This file contains hidden or 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
diff --git a/Platform/Linux/Build/Common/Platform.Arm b/Platform/Linux/Build/Common/Platform.Arm | |
index c85cfb7..3ceb00c 100644 | |
--- a/Platform/Linux/Build/Common/Platform.Arm | |
+++ b/Platform/Linux/Build/Common/Platform.Arm | |
@@ -1,7 +1,7 @@ | |
ifeq "$(CFG)" "Release" | |
# Hardware specifying flags | |
- CFLAGS += -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp #-mcpu=cortex-a8 | |
+ CFLAGS += -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=hard #-mcpu=cortex-a8 |
This file contains hidden or 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
# This is the CMakeCache file. | |
# For build in directory: /home/HSR/rnestler/PCL-1.6.0-Source/build | |
# It was generated by CMake: /usr/bin/cmake | |
# You can edit this file to change values found and used by cmake. | |
# If you do not want to change any of the values, simply exit the editor. | |
# If you do want to change a value, simply edit, save, and exit the editor. | |
# The syntax for the file is as follows: | |
# KEY:TYPE=VALUE | |
# KEY is the name of a variable in the cache. | |
# TYPE is a hint to GUI's for the type of VALUE, DO NOT EDIT TYPE!. |
This file contains hidden or 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
--- common/include/pcl/common/eigen.h | |
+++ common/include/pcl/common/eigen.h | |
@@ -112,7 +112,7 @@ | |
template<> inline long double | |
sqrt<long double> (const long double &val) | |
{ | |
- return (::sqrt (val)); | |
+ return (::sqrtl (val)); | |
} | |
NewerOlder