Skip to content

Instantly share code, notes, and snippets.

@mikwat
mikwat / ChatGPT.md
Created December 9, 2022 03:28
ChatGPT: Create a security appliance

Write a product strategy for a network security appliance

A product strategy for a network security appliance could include the following key points:

  1. Identify the target market: This could include businesses of various sizes, as well as government agencies and other organizations that require robust network security.

  2. Define the product's key features and benefits: The appliance should offer advanced security features such as intrusion detection and prevention, firewall capabilities, and secure VPN access. It should also be easy to set up and manage, with a user-friendly interface and real-time monitoring and alerts.

  3. Position the product in the market: The appliance should be positioned as a cost-effective and comprehensive solution for businesses and organizations that need to protect their networks from cyber threats. It should be positioned as an alternative to more expensive, complex security solutions, while still offering the same level of protection.

@mikwat
mikwat / sips.sh
Created December 18, 2018 18:35
sips - scriptable image processing system for macOS
$ sips -s format jpeg <original-file> --out <output-file>.jpg
@mikwat
mikwat / potato.rb
Created December 14, 2018 23:39
Put this in config.ru
class Potato
def initialize(app)
@app = app
end
def call(*args, &blk)
@app.call(*args, &blk)
rescue BasicObject => e
require 'pry'
binding.pry
@mikwat
mikwat / decode_session_cookie.rb
Created April 3, 2017 15:01 — forked from madwork/decode_session_cookie.rb
Rails 4.1+ Decode Session
# remap prefix to Control + a
set -g prefix C-a
unbind C-b
bind C-a send-prefix
# force a reload of the config file
unbind r
bind r source-file ~/.tmux.conf
# quick pane cycling
@mikwat
mikwat / decrypt_session_cookie.rb
Created May 24, 2016 22:16 — forked from rogercampos/decrypt_session_cookie.rb
decrypt rails cookie data
### Keybase proof
I hereby claim:
* I am mikwat on github.
* I am mikwat (https://keybase.io/mikwat) on keybase.
* I have a public key whose fingerprint is F2E4 D7D5 607F 4A07 D855 81D1 2E8B 0D3C 9A50 5D93
To claim this, I am signing this object: