cl_crosshair_drawoutline "1"
cl_crosshair_dynamic_maxdist_splitratio "0.35"
cl_crosshair_dynamic_splitalpha_innermod "1"
cl_crosshair_dynamic_splitalpha_outermod "0.5"
cl_crosshair_dynamic_splitdist "7"
cl_crosshair_outlinethickness "1"
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
class AudioUploader | |
# ctor takes a logged-in user (ActiveRecord) and path to a temp WAV | |
def initialize(user, tmpfile_path) | |
@user = user # e.g. <User id:1> | |
@tmpfile_path = tmpfile_path # e.g. "/tmp/input.wav" | |
@s3_client = Aws::S3::Client.new(region: "ap-northeast-1") | |
end | |
# -- master workflow (all side-effects inline) --------------------------- |
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
function! KaochaTestNs() abort | |
let l:yank = @" | |
call iced#nrepl#ns#yank_name() | |
let l:ns = @" | |
let l:kaocha_run = "(k/run '".l:ns.")" | |
call iced#repl#execute('eval_code', "(require '[kaocha.repl :as k])", {'ignore_session_validity': v:true}) | |
call iced#repl#execute('eval_code', l:kaocha_run, {'ignore_session_validity': v:true}) | |
let @" = l:yank | |
endfunction |
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
;; ************** | |
;; Kaocha | |
;; ************** | |
;; Run kaocha test in Repl | |
(require '[kaocha.repl :as k]) | |
;; Run whole test | |
(k/run :unit) | |
;; Or we can run some namespace | |
(k/run 'kaocha.random-test) | |
;; Watch |
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
// Copyright 2014 The gocui Authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style | |
// license that can be found in the LICENSE file. | |
package main | |
import ( | |
"fmt" | |
"io" | |
"io/ioutil" |
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
// https://github.com/rivo/tview/pull/395 | |
package main | |
import ( | |
"github.com/gdamore/tcell/v2" | |
"github.com/rivo/tview" | |
) | |
func main() { | |
// Set this so we don't overwrite the default terminal colors |
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
rate "786432" | |
cl_cmdrate "128" //Max number of command packets sent to server per second | |
cl_updaterate "128" //Number of packets per second you are requesting from the server | |
cl_interp_ratio "1" //Sets the interpolation amount (final amount is cl_interp_ratio / cl_updaterate) | |
cl_interp "0" //Sets the interpolation amount, always set this to 0 | |
cl_lagcompensation "1" //Lag compensation helps by eliminating combat latency from client side view | |
cl_predict "1" //Skip waiting for server feedback and simulate client side movement in real-time | |
cl_predictweapons "1" //Skip waiting for server feedback and perform client side prediction of weapon effects | |
cl_crosshair_drawoutline "0" |
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
{ | |
"title": "Meishi", | |
"rules": [ | |
{ | |
"description": "Meishi as Spectacle operation", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "a", |
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
# frozen_string_literal: true | |
source "https://rubygems.org" | |
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" } | |
# gem "rails" | |
gem 'parser' |
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
from urllib import request | |
import pandas as pd | |
import MeCab | |
import mojimoji | |
import re | |
df = pd.read_csv('./csv/support-mail/support-mails-from-2016.csv') | |
# ストップワード | |
# 日本語 |
NewerOlder