This file contains 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
# example of create extension for nautilus | |
# according to https://gnome.pages.gitlab.gnome.org/nautilus-python/nautilus-python-migrating-to-4.html | |
# when writing a extension may do sth for compability | |
# place the file to ~/.local/share/nautilus-python/extensions/copy-full.py should work. | |
# tested on ubuntu 22.04 | |
# deps: | |
# `apt install python3-nautilus` | |
import os | |
import logging | |
from gi.repository import Nautilus, GObject, Gtk, Gdk |
This file contains 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
# example of create extension for nautilus | |
# according to https://gnome.pages.gitlab.gnome.org/nautilus-python/nautilus-python-migrating-to-4.html | |
# when writing a extension may do sth for compability | |
# place the file to ~/.local/share/nautilus-python/extensions/open-terminal.py should work. | |
# tested on ubuntu 22.04 | |
# deps: | |
# `apt install python3-nautilus` | |
import os | |
from gi.repository import Nautilus, GObject |
This file contains 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
<?php | |
$sns = App::make('aws')->createClient('Sns'); | |
$result = $sns->publish(array( | |
'MessageAttributes' => array( | |
'AWS.SNS.SMS.SenderID' => array( | |
'DataType' => 'String', | |
'StringValue' => 'GetJob', | |
), | |
'AWS.SNS.SMS.MaxPrice' => array( |