Note
to active Office without crack, just follow https://github.com/WindowsAddict/IDM-Activation-Script,
you wiil only need to run
irm https://massgrave.dev/ias | iex| # frozen_string_literal: true | |
| # config/initializers/colorized_logger.rb | |
| # This initializer adds color to the Rails logger output. It's a nice way to | |
| # visually distinguish log levels. | |
| module ColorizedLogger | |
| COLOR_CODES = { | |
| debug: "\e[36m", # Cyan | |
| info: "\e[32m", # Green | |
| warn: "\e[33m", # Yellow |
| This uses llm.datasette.io and OpenAI. | |
| I use `git commit --template` to provide the output from the LLM to Git. This way, if you do not like the results, you | |
| can quit your editor and no commit will be made. | |
| # Shell function for generating a diff and editing it in your default editor: | |
| gcllm() { | |
| GIT_DIR="$(git rev-parse --git-dir)" | |
| TEMPLATE="$GIT_DIR/COMMIT_EDITMSG_TEMPLATE" |
| """Performs automatic speed edits to audio books. | |
| Example usage: | |
| Assuming you have an audiobook book.aax on your Desktop: | |
| 1. Convert it to wav: | |
| ffmpeg -i ~/Desktop/book.aax ~/Desktop/book.wav | |
| 2. Adjust the speed: |
Note
to active Office without crack, just follow https://github.com/WindowsAddict/IDM-Activation-Script,
you wiil only need to run
irm https://massgrave.dev/ias | iex| <div className='delete-button' onClick={() => { if (window.confirm('Are you sure you wish to delete this item?')) this.onCancel(item) } } /> |
| /* Semantic UI has these classes, however they're only applicable to*/ | |
| /* grids, containers, rows and columns.*/ | |
| /* plus, there isn't any `mobile hidden`, `X hidden` class.*/ | |
| /* this snippet is using the same class names and same approach*/ | |
| /* plus a bit more but to all elements.*/ | |
| /* see https://github.com/Semantic-Org/Semantic-UI/issues/1114*/ | |
| /* Mobile */ | |
| @media only screen and (max-width: 767px) { | |
| [class*="mobile hidden"], |
| install termpix from https://github.com/fimkap/termpix (currently alpha blending done with white background) | |
| -- init.vim (along with usual FZF setup, change path to termpix) | |
| let g:fzf_layout = { 'down': '~60%' } | |
| let g:fzf_files_options = | |
| \ '--preview "(~/dev/termpix/bin/termpix --width 50 --true-color {} || cat {}) 2> /dev/null "' |
Crystal 0.9.1 with Kemal
require "kemal"
ws "/" do |socket|
socket.on_message do |message|
end| Pry.config.editor = "vim --noplugin" | |
| if defined?(PryByebug) | |
| Pry.commands.alias_command 'c', 'continue' | |
| Pry.commands.alias_command 's', 'step' | |
| Pry.commands.alias_command 'n', 'next' | |
| Pry.commands.alias_command 'f', 'finish' | |
| Pry.commands.alias_command 'b', 'break' | |
| Pry.commands.alias_command 'bda', 'break --disable-all' | |
| end |
| def pbcopy(str) | |
| IO.popen('pbcopy', 'r+') {|io| io.puts str } | |
| output.puts "-- Copy to clipboard --\n#{str}" | |
| end | |
| Pry.config.commands.command "hiscopy", "History copy to clipboard" do |n| | |
| pbcopy _pry_.input_array[n ? n.to_i : -1] | |
| end | |
| Pry.config.commands.command "copy", "Copy to clipboard" do |str| |