This card is inspired by the SaladUI (which is inspired by ShadCN)
example_card.mov
https://gist.github.com/Neophen/2f512ace1e7182e5346076333e4a0fdc
This card is inspired by the SaladUI (which is inspired by ShadCN)
https://gist.github.com/Neophen/2f512ace1e7182e5346076333e4a0fdc
| # Command line utility to send attachments to your kindle | |
| # It supports sending a PDF in both regular form and with the convert option | |
| # and sending to the regular (@kindle.com) or free Kindle mail (@free.kindle.com) | |
| # The only argument it has is the name of the file to send. It will detect if | |
| # it is a pdf and treat it accordingly. | |
| ## Preferences | |
| # If true, send one version with pdf as-is, another with 'convert' subject | |
| # else, just send the pdf version |
| # after appcleaner does his magic, do this | |
| sudo rm -rf "/Library/Application Support/Paragon Software/" | |
| sudo rm /Library/LaunchDaemons/com.paragon-software.installer.plist | |
| sudo rm /Library/LaunchDaemons/com.paragon-software.ntfs.loader.plist | |
| sudo rm /Library/LaunchDaemons/com.paragon-software.ntfsd.plist | |
| sudo rm /Library/LaunchAgents/com.paragon-software.ntfs.notification-agent.plist | |
| sudo rm -rf /Library/Filesystems/ufsd_NTFS.fs/ | |
| sudo rm -rf /Library/PrivilegedHelperTools/com.paragon-software.installer | |
| sudo rm -rf /Library/Extensions/ufsd_NTFS.kext/ |
| #!/bin/bash | |
| set -e | |
| show_help() { | |
| cat << EOF | |
| Usage: ${0##*/} [-u USER] [-p PASS] [-P PORT] [-H HOST] [DATABASE] | |
| ${0##*/} -h | |
| Open a standard connection in Sequel PRO. |
| UnConfuserEx https://mega.nz/#!U1hxwQKb!7WFBSjrZgg8ieFp15K0RJW8rWuyMHZTO9bpCekhBQfY | |
| ConfuserExDupPopPatcher https://mega.nz/#!IkhHzZDS!vPYABdYJtuDIGJBHdKzwIqLajxugJaNlENWr5CWjNlo | |
| ConfuserExStringDecryptor https://mega.nz/#!plhxRJyY!Vq9eRS-gixC__q75860gDD8Tcm_ncOfCCCP_HQKguUM | |
| ConfuserExCallFixer https://mega.nz/#!0gZFlbwC!KFka_Kxe-GuU-d8COni91xmGPbiRnbX6lBLYAomn7No | |
| I'm not responsible for what you do with these -- they may very well be backdoored |
react + redux + RR
It uses https://gist.github.com/iNikNik/3c1b870f63dc0de67c38 for stores and actions.
1) create redux
const redux = createRedux(state);2) get requireAccess func => bindCheckAuth to redux
| require "net/http" | |
| def start_server | |
| # Remove the X to enable the parameters for tuning. | |
| # These are the default values as of Ruby 2.2.0. | |
| @child = spawn(<<-EOC.split.join(" ")) | |
| XRUBY_GC_HEAP_FREE_SLOTS=4096 | |
| XRUBY_GC_HEAP_INIT_SLOTS=10000 | |
| XRUBY_GC_HEAP_GROWTH_FACTOR=1.8 | |
| XRUBY_GC_HEAP_GROWTH_MAX_SLOTS=0 |
| launchctl unload /Library/LaunchAgents/org.macosforge.xquartz.startx.plist | |
| sudo launchctl unload /Library/LaunchDaemons/org.macosforge.xquartz.privileged_startx.plist | |
| sudo rm -rf /opt/X11* /Library/Launch*/org.macosforge.xquartz.* /Applications/Utilities/XQuartz.app /etc/*paths.d/*XQuartz | |
| sudo pkgutil --forget org.macosforge.xquartz.pkg | |
| # Log out and log in |
| defmodule Curried do | |
| defmacro defc({name, _, args}, [do: body]) do | |
| curried_args = Enum.map(Enum.with_index(args), fn({_, index}) -> | |
| Enum.take(args, index + 1) | |
| end) | |
| for a <- curried_args do | |
| if a == Enum.at(curried_args, Enum.count(curried_args) - 1) do | |
| quote do | |
| def unquote(name)(unquote_splicing(a)) do | |
| unquote(body) |