- CARTA HOLDINGS(旧VOYAGE GROUP)
- 技術広報が新卒研修<Open AIハッカソン>をスパイしてみた - (2023/04/11)
- @t_wadaに学ぶテスト駆動開発【CARTA 23新卒研修】 - (2023/04/19)
- 【新卒研修】監修者@t_wadaと読む!プログラマが知るべき97のこと読書会 - (2024/04/09)
- Classi
- 当たり前にリリースしていく ~ 新卒研修編 - (2021/05/20)
- リモートワークのための質問力向上研修を実施しました - (2021/12/07)
- CyberZ
- 良いコードとは何か - エンジニア新卒研修 スライド公開 - (2021/04/27)
Discover gists
package | |
{ | |
/** | |
* ActionScript 3.0 Code Snippet | |
* Convert Number to Rupiah & vice versa | |
* https://gist.github.com/845309 | |
* | |
* Copyright 2011-2012, Faisalman | |
* Licensed under The MIT License | |
* http://www.opensource.org/licenses/mit-license |
#!/usr/bin/env bash | |
# checck if pidof exists | |
PIDOF="$(which pidof)" | |
# and if not - install it | |
(test "${PIDOF}" && test -f "${PIDOF}") || brew install pidof | |
# find app in default paths | |
CO_PWD=~/Applications/CrossOver.app/Contents/MacOS | |
test -d "${CO_PWD}" || CO_PWD=/Applications/CrossOver.app/Contents/MacOS |
To link serial port ttyS0 to another serial port:
socat /dev/ttyS0,raw,echo=0,crnl /dev/ttyS1,raw,echo=0,crnl
To get time from time server:
socat TCP:time.nist.gov:13 -
To forward local http port to remote http port:
socat TCP-LISTEN:80,fork TCP:www.domain.org:80
substitutions: | |
# Phases of the Voice Assistant | |
# The voice assistant is ready to be triggered by a wake word | |
voice_assist_idle_phase_id: '1' | |
# The voice assistant is waiting for a voice command (after being triggered by the wake word) | |
voice_assist_waiting_for_command_phase_id: '2' | |
# The voice assistant is listening for a voice command | |
voice_assist_listening_for_command_phase_id: '3' | |
# The voice assistant is currently processing the command | |
voice_assist_thinking_phase_id: '4' |
For anynone that is running the latest version of binwalk (Binwalk v2.3.3
) and when trying to extract squshfs filesystems, gets the following error:
WARNING: Extractor.execute failed to run external extractor 'sasquatch -p 1 -le -d 'squashfs-root' '%e'': [Errno 2] No such file or directory: 'sasquatch', 'sasquatch -p 1 -le -d 'squashfs-root' '%e'' might not be installed correctly
it might have to do that the sasquatch
project is missing or not working correctly.
For local development you could also use Nginx with PHP as an replacement for XAMPP.
- Download Nginx for Windows: http://nginx.org/en/download.html | Direct: nginx-1.19.7.zip
- Extract the ZIP file to
c:\nginx
- Open the file
c:/nginx/config/nginx.conf
and replace theserver { ... }
section with this configuration:
/*global Ti, alert */ | |
var SECS = 5; | |
var URL = 'testservice.js'; | |
var win = Ti.UI.createWindow({ | |
fullscreen: false, | |
navBarHidden: true, | |
exitOnClose: true | |
}); |
This defines risk levels for actions that the ${K4} agent may take. This classification system is part of a broader safety framework and is used to determine when additional user confirmation or oversight may be needed.
Examples:
- cat foo.txt => cat
- cd src => cd
Since version 2.23, git-blame has a feature to ignore certain commits. This feature is useful to ignore large formatting or apparently unimportant changes.
- Create a revisions list file. The file name is usually
.git-blame-ignore-revs
- Set the file as a default ignore file for blame by
git config blame.ignoreRevsFile .git-blame-ignore-revs
The file format is described in git-fsck
's man:
https://git-scm.com/docs/git-fsck#Documentation/git-fsck.txt-fsckskipList