- https://github.com/congtrieu112/phim
- https://github.com/shaddyy21/Lavish-Lawn
- https://github.com/sohilgupta/datamelons
- https://github.com/jtebeau/mmm
- https://github.com/mohitkr05/_wplove
- https://github.com/jimchristie/dev_jimchristie_me
- https://github.com/vee879/wordpress_4_3_1
- https://github.com/hamedb89/wp-theme-boilerplate
- https://github.com/master2be1/redux-framework
- https://github.com/DarrenJansen/Sites
Sendy is a self hosted email newsletter application that lets you send trackable emails via Amazon Simple Email Service (SES).
You can deploy Sendy on Heroku using the following instructions (I assume you've already installed the heroku toolbelt).
- On Heroku, create a new app.
- Clone that app to your desktop
This file contains hidden or 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
| import evdev | |
| from evdev import * | |
| import time | |
| #dev =evdev.InputDevice('/dev/input/by-id/usb-SM_SM-2D_PRODUCT_HID_KBW_APP-000000000-event-kbd') | |
| dev =evdev.InputDevice('/dev/input/event1') | |
| dev.grab() | |
| print(dev) | |
| # for event in dev.read_loop(): | |
| # if event.type == ecodes.EV_KEY: |
This file contains hidden or 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
| #!/usr/bin/python | |
| import struct | |
| import time | |
| import sys | |
| infile_path = "/dev/input/event" + (sys.argv[1] if len(sys.argv) > 1 else "0") | |
| """ | |
| FORMAT represents the format used by linux kernel input event struct | |
| See https://github.com/torvalds/linux/blob/v5.5-rc5/include/uapi/linux/input.h#L28 |
This file contains hidden or 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
| echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list | |
| sudo apt-get install apt-transport-https ca-certificates gnupg | |
| curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key --keyring /usr/share/keyrings/cloud.google.gpg add - | |
| sudo apt-get update && sudo apt-get install google-cloud-sdk | |
| gcloud init |
This file contains hidden or 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 | |
| $options = array( | |
| 'required' => array('id','equals',array( 1,3 ) ) // Multiple values | |
| ); | |
| $options = array( | |
| 'required' => array('id','equals', array( 1 ) ) // Single value | |
| ); |
This file contains hidden or 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
| gcloud beta logging read "resource.type=\"dataflow_step\" resource.labels.job_id=\"2018-11-13_09_13_59-6912497806535022683\" OR \"timestamp>=\\\"2018-11-12T00:00:00Z\" OR \"timing:\" timestamp<=\"2200-01-01T00:00:00.000000000Z\" timestamp<\"2018-11-20T20:20:01.065Z\"" --format=json --limit 100000 | jq -rnc --stream 'fromstream(1|truncate_stream(inputs)) | .jsonPayload.message' >> gcs.txt |
This file contains hidden or 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
| [ | |
| { | |
| "slug": "yith-woocommerce-brands-add-on", | |
| "name": "YITH WooCommerce Brands Add-On", | |
| "version": "1.3.11", | |
| "active_installs": 10000, | |
| "url": "https://yithemes.com/themes/plugins/yith-woocommerce-brands-add-on/", | |
| "match_text": [ | |
| "\t\t\t\tif( register_block_type( \"yith/{$block}\", $block_args ) ){" | |
| ] |
This file contains hidden or 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 | |
| if ( !function_exists( "redux_add_metaboxes" ) ): | |
| function redux_add_metaboxes($metaboxes) { | |
| $boxSections = array(); | |
| $boxSections[] = array( | |
| 'title' => __('Colors', 'redux-framework-demo'), | |
| 'icon' => 'el-icon-home', | |
| 'fields' => array( |
I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
NewerOlder