This is a short step-by-step guide on installing ElasticSearch LogStash and Kibana Stack on a CentOS environment to gather and analyze logs.
rpm -ivh https://dl.dropboxusercontent.com/u/5756075/jdk-7u45-linux-x64.rpm
/conf/server.xml and find <connector> node <Connector port="8080" protocol="org.apache.coyote.http11.Http11NioProtocol"
connectionTimeout="60000"
redirectPort="8543"
useBodyEncodingForURI="true"
socket.txBufSize="64000"| $From = "[email protected]" | |
| $To = "[email protected]" | |
| $Subject = "Email subject goes here" | |
| $Body = "Email body goes here" | |
| # The password is an app-specific password if you have 2-factor-auth enabled | |
| $Password = "app-specific-password-here" | ConvertTo-SecureString -AsPlainText -Force | |
| $Credential = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $From, $Password | |
| Send-MailMessage -From $From -To $To -Subject $Subject -Body $Body -SmtpServer "smtp.gmail.com" -port 587 -UseSsl -Credential $Credential |
学部の授業でターミナルを触ったことはあるけどよく分からないという人が,言語処理100本ノックを進めるにあたって黒い画面で躓かないレベルにまで到達するための資料:
書籍で体系的に学ぶのであれば,大角『新しいLinuxの教科書』が良いらしい.
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -* | |
| """ | |
| From a folder containing a set of markdown files, this script: | |
| - generate HTML files; | |
| - generate RedMine-compliant Textile files; | |
| - generate UML diagrams (from PlantUML syntax) and insert the in HTML and Textile files; | |
| - send images and HTML files to a server through rsync. | |
| """ |
| //=================================================================== | |
| // File: circular_buffer.cpp | |
| // | |
| // Desc: A Circular Buffer implementation in C++. | |
| // | |
| // Copyright © 2019 Edwin Cloud. All rights reserved. | |
| // | |
| //=================================================================== | |
| //------------------------------------------------------------------- |
송출이 불안정한 스트리머의 방송을 최소한의 딜레이로 녹화하도록 만들어진 녹화 스크립트입니다. 호스팅 채널을 녹화하지 않고, TS파일을 직접 저장합니다.
이 스크립트는 24/7 상시감시 및 녹화를 위해 준비된 스크립트이고 설정 과정에서 약간의 프로그래밍적 지식이 필요합니다. 단타성 녹화를 원한다면 더 단순한 거 찾아다 쓰십쇼.
치지직용 스크립트를 테스트하고 있습니다. 여러분의 많은 기여가 필요합니다 🙏🙏
윈도에서도 작동은 하겠지만, 진짜 봇을 구축하려면 이 글의 작성자는 리눅스를 사용하는 걸 추천합니다. 리눅스를 쓰는 이유는, 적어도 얘는 업데이트 있다고 지멋대로 재부팅하지는 않으니까요 (대충 트위치 카파 콘)
| #!/usr/bin/env ruby | |
| # | |
| # JavaScript Soundfont Builder for MIDI.js | |
| # Author: 0xFE <[email protected]> | |
| # edited by Valentijn Nieman <[email protected]> | |
| # | |
| # Requires: | |
| # | |
| # FluidSynth | |
| # Lame |
| // I'm tired of extensions that automatically: | |
| // - show welcome pages / walkthroughs | |
| // - show release notes | |
| // - send telemetry | |
| // - recommend things | |
| // | |
| // This disables all of that stuff. | |
| // If you have more config, leave a comment so I can add it!! | |
| { |