""로 설정하면 자기 자신이 실행 되는 듯?

Examples

To setup an executable which can run on its own (e.g. binaries, scripts with a shebang line) you just don't specify a handler for the extension:

  cgi.assign = ( ".sh" => "" )

If the file has no extension keep in mind that lighttpd matches not the extension itself but the right part of the URL:

  cgi.assign = ( "/testfile" => "" )

To assign a CGI script as a default handler for a URL path, even if that path is virtual, with the help of mod_alias:

$HTTP["url"] =~ "^/urlpath(?:/|$)" {
  alias.url = ( "/urlpath" => "/path/to/script" )
  cgi.assign = ( "" => "" )
}


[링크 : https://redmine.lighttpd.net/projects/1/wiki/docs_modcgi]

'프로그램 사용 > lighttpd' 카테고리의 다른 글

lighttpd epoll  (0) 2015.07.28
lighttpd / mod-websocket  (0) 2014.12.30
Posted by 구차니

XML Tools 까는게 훨 낫네


Since I upgraded to 6.3.2, I use XML Tools.

  • install XML Tools via the Plugin Manager.
  • use the shortcut Ctrl+Alt+Shift+B (or menu -> Plugins -> XML Tools -> Pretty Print)

In older versions: menu -> TextFX -> HTML Tidy -> Tidy: Reindent XML. 

[링크 : https://stackoverflow.com/questions/7117949/how-to-auto-format-indent-xml-html-in-notepad]




C:\Program Files (x86)\Notepad++\plugins\Config\tidy 폴더 생성후 압축 풀기

[링크 : http://textfx.no-ip.com/textfx/NPPTextFX27-v0.24aRelease-NPP34.zip]

    [링크 : https://stackoverflow.com/questions/6985637/notepad-htmltidy-unable-to-find-libtidy-dll]


여기는 함정 카드 인듯 하고...

(윈도우용 바이너리는 미제공...)

[링크 : https://sourceforge.net/projects/tidy/]

[링크 : http://www.html-tidy.org/]



아니면 그냥 웹에서 하던가?

[링크 : https://www.freeformatter.com/xml-formatter.html]

Posted by 구차니


[링크 : http://fftw.org/]

[링크 : https://stackoverflow.com/questions/5685765/computing-fft-and-if]


일단 3.3.5 에서 NEON 지원을 하는데 64비트 ARM일 경우에만 되는 듯?


FFTW 3.3.5 Jul 31, 2016

New SIMD support:

Power8 VSX instructions in single and double precision. To use, add --enable-vsx to configure.

Support for AVX2 (256-bit FMA instructions). To use, add --enable-avx2 to configure.

Experimental support for AVX512 and KCVI. (--enable-avx512, --enable-kcvi) This code is expected to work but the FFTW maintainers do not have hardware to test it.

Support for AVX128/FMA (for some AMD machines) (--enable-avx128-fma)

Double precision Neon SIMD for aarch64. This code is expected to work but the FFTW maintainers do not have hardware to test it.ft-with-fftw-library-c

[링크 : http://www.fftw.org/release-notes.html]


AArch64 was introduced in ARMv8-A and is included in subsequent versions of ARMV8-A

[링크 : https://en.wikipedia.org/wiki/ARM_architecture#AArch64_features]


[링크 : https://libav.org/]

[링크 : https://libav.org/documentation/doxygen/master/group__lavc__fft.html]

[링크 : https://www.ffmpeg.org/doxygen/trunk/fft-test_8c-source.html]

[링크 : https://stackoverflow.com/questions/8002560/what-is-the-fastest-fft-library-for-ios-android-arm-devices]

'프로그램 사용 > fft, fftw' 카테고리의 다른 글

fftw 테스트(tests/bench)  (0) 2022.10.19
fftw cross compile  (0) 2022.10.19
fft  (0) 2020.11.25
fftw  (0) 2020.11.25
ffmpeg fft 분석 예제  (0) 2020.11.25
Posted by 구차니

거북이는 느려서 안썼는데

얘는 빠르다는 제보가 있으니 한번 테스트 삼아 써봐야지


[링크 : https://www.sourcetreeapp.com/]

'프로그램 사용 > Version Control' 카테고리의 다른 글

svn externals 제약사항 (파일은 안됨)  (0) 2017.11.03
tortoiseSVN 엑셀 비교  (0) 2017.09.16
git 공부..  (2) 2017.04.25
git-svn 관련글  (0) 2017.04.25
svn list 예제  (0) 2017.02.03
Posted by 구차니
프로그램 사용/gcc2017. 6. 20. 09:49

매크로에도 ...을 쓸 수 있다니 ㄷㄷ


#define eprintf() fprintf (stderr, __VA_ARGS__)

[링크 : https://gcc.gnu.org/onlinedocs/cpp/Variadic-Macros.html]

'프로그램 사용 > gcc' 카테고리의 다른 글

c large file support  (0) 2019.06.21
gcc5 atoi / stoi  (0) 2019.06.14
문자열에 escape 로 특수문자 넣기  (0) 2017.06.19
gcc cpp type (유니코드 문자열)  (0) 2017.04.04
gcc 매크로 확장 define stringfication  (0) 2017.01.02
Posted by 구차니
프로그램 사용/gcc2017. 6. 19. 22:10

"\x6E" 이런식으로 문자를 넣으면 되는데 연속으로 넣으면 에러날수도(?)

만약에


0xc0 À 를 넣으면

"\xC0" 인데

À1 을 출력하고 싶다고

"\xC01"을 넣으면 이상한 걸로 인식을 하거나 에러나기도 한다.


어떻게 해결 해야 하려나...


\nnnnote 1anyThe byte whose numerical value is given by nnn interpreted as an octal number
\xhh…anyThe byte whose numerical value is given by hh… interpreted as a hexadecimal number
\enote 21Bescape character (some character sets)
\Uhhhhhhhhnote 3noneUnicode code point where h is a hexadecimal digit
\uhhhhnote 4noneUnicode code point below 10000 hexadecimal

[링크 : https://en.wikipedia.org/wiki/Escape_sequences_in_C]

'프로그램 사용 > gcc' 카테고리의 다른 글

gcc5 atoi / stoi  (0) 2019.06.14
gcc variadic macro  (0) 2017.06.20
gcc cpp type (유니코드 문자열)  (0) 2017.04.04
gcc 매크로 확장 define stringfication  (0) 2017.01.02
gcc make CFLAGS=-D 관련  (0) 2016.11.17
Posted by 구차니
프로그램 사용/wiki2017. 6. 16. 19:12

mediawiki에서 어떤 sql문으로 작동이 이루어지나 분석하려다 보니

너무 토막나서


아? 그러면 속편하게(?)

SQL문 덤프해서 보면되겠네? 싶어서 찾아본 녀석


 localsetting.php에

$wgDebugDumpSql = true; 로 하면

log 파일에 다 적히니 조심하라고 되어있음(로그인 시에도 전부 나올테니?)


[링크 : https://mediawiki.org/wiki/Manual:How_to_debug/ko]

[링크 : https://mediawiki.org/wiki/Manual:$wgDebugDumpSql]

Posted by 구차니

아스키만 날리거나 아스키 아닌애만 날릴때

아래 녀석들로 검색해서 공백으로 치환하면 해결!


아스키만 검색

[\x00-\x7F]+


아스키 아닌 문자만 검색

[^\x00-\x7F]+ 


[링크 : https://stackoverflow.com/questions/20889996/notepad-how-to-remove-all-non-ascii-characters-with-regex]

Posted by 구차니
프로그램 사용2017. 6. 9. 19:56

잘은 모르겠으나..

0.91의 경우 한글로 시스템 언어를 변경해도 한글이 안나온다.


0.48의 경우 실행파일에 기본 내장이었으나

0.48 다음 릴리즈인 0.91에서는 한글이 누락된듯?

[링크 : http://rdsong.com/59]



일단.. 버전이 갑자기 확 뛰었다?

[링크 : https://inkscape.org/en/release/0.91/]


[링크 : http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/files/head:/po/]

    [링크 : http://gimp.kr/xe/inkscape_board/435]

Posted by 구차니

samba를 이용한 파일서버에서

일정 시간 이후에 자동 접속 차단 혹은 로그아웃 되는 녀석이 머가 있을려나...


deadtime (G)


The value of the parameter (a decimal integer) represents the number of minutes of inactivity before a connection is considered dead, and it is disconnected. The deadtime only takes effect if the number of open files is zero.


This is useful to stop a server's resources being exhausted by a large number of inactive connections.


Most clients have an auto-reconnect feature when a connection is broken so in most cases this parameter should be transparent to users.


Using this parameter with a timeout of a few minutes is recommended for most systems.


A deadtime of zero indicates that no auto-disconnection should be performed.


Default: deadtime = 0


Example: deadtime = 15



machine password timeout (G)


If a Samba server is a member of a Windows NT Domain (see the security = domain parameter) then periodically a running smbd process will try and change the MACHINE ACCOUNT PASSWORD stored in the TDB called private/secrets.tdb . This parameter specifies how often this password will be changed, in seconds. The default is one week (expressed in seconds), the same as a Windows NT Domain member server.


See also smbpasswd(8), and the security = domain parameter.


Default: machine password timeout = 604800 


[링크 : https://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html]



Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options

Description

Determines whether to disconnect users that are connected to the local machine outside of their user account's valid logon hours. This setting affects the Server Message Block (SMB) component of a Windows 2000 server.

When this policy is enabled, it causes client sessions with the SMB server to be forcibly disconnected when the client's logon hours expire.

If this policy is disabled, an established client session is allowed to be maintained after the client's logon hours have expired.

This policy is defined by default in Local Computer Policy, where it is enabled by default. 

[링크 : https://technet.microsoft.com/en-us/library/cc938001.aspx]


+

[링크 : https://www.centos.org/forums/viewtopic.php?t=8810]


+

도메인 관리가 안되는 컴퓨터일 경우 적용이 안되려나?


[링크 : https://social.technet.microsoft.com/Forums/scriptcenter/ko-KR/9abce81d-7c94-40a7-b205-f8c179648928/windows-2012-?forum=windowsserverko]

[링크 : https://answers.microsoft.com/ko-kr/windows/forum/windows_7-networking/net-config-server-autodisconnect0/310ea6cf-2791-4600-84d0-476acacd218e]

Posted by 구차니