Hi there!
The docker cheat sheet has moved to a Github project under https://github.com/wsargent/docker-cheat-sheet.
Please click on the link above to go to the cheat sheet.
Hi there!
The docker cheat sheet has moved to a Github project under https://github.com/wsargent/docker-cheat-sheet.
Please click on the link above to go to the cheat sheet.
| # all imports | |
| from IPython.display import Javascript | |
| from google.colab import output | |
| from base64 import b64decode | |
| from io import BytesIO | |
| !pip -q install pydub | |
| from pydub import AudioSegment | |
| RECORD = """ | |
| const sleep = time => new Promise(resolve => setTimeout(resolve, time)) |
| #!/bin/sh | |
| # | |
| # puma - this script starts and stops the puma daemon | |
| # | |
| # chkconfig: - 85 15 | |
| # description: Description \ | |
| # goes here... | |
| # processname: puma | |
| # config: /etc/puma.conf | |
| # pidfile: /home/stanislaw/apps/micro-apps/puma/puma.pid |
| #! /usr/bin/env node | |
| import { execFileSync } from "node:child_process"; | |
| import { readFileSync, existsSync } from "node:fs"; | |
| import path from "node:path"; | |
| import os from "node:os"; | |
| try { | |
| const input = JSON.parse(readFileSync(process.stdin.fd, 'utf8')); | |
| if (!input.transcript_path) { |
サイズがあまりに大きくなってしまったので、gist ではなくて github 上で管理するようにしました。
https://github.com/Shinpeim/process-book
URL 変わっちゃうの申し訳ないんだけど、一覧性が高くなるのと pull req が受け取れるメリットのほうを取ります。せっかく読みにきてくれたのにひと手間かかっちゃってすみません。
| # Apache License 2.0 | |
| # 使用法は gist のコメントを見てください | |
| import argparse | |
| from typing import List, Optional, Union, Iterator | |
| import llama_cpp | |
| from llama_cpp.llama_chat_format import _convert_completion_to_chat, register_chat_completion_handler | |
| import llama_cpp.llama_types as llama_types | |
| from llama_cpp.llama import LogitsProcessorList, LlamaGrammar | |
| from llama_cpp import Llama, llama_chat_format |
| Perl ワンライナーサンプル集 | |
| ■概要 | |
| 障害解析のためのログの調査、非互換対応でのソースコードの調査といった | |
| テキスト処理で使った Perl ワンライナーのサンプル集です。 | |
| Perl ワンライナーは以下の点が良いと思います。 | |
| ・Perl は Oracle Database (10g以降) に同梱されている。 | |
| 従って、Windows プラットフォームでも使える。 |
| Generate ctags with `rake ctags` | |
| Run snipper.rb | |
| Put resulting ruby.snippets file where your snippet plugin can pick it up. (I'm using snipmate) |