-- example --
web: https://www.evernote.com/shard/s12/nl/u2u2u2u2/44444444-3333-2222-1111-000000000/
app: evernote:///view/u2u2u2u2/s12/44444444-3333-2222-1111-000000000/44444444-3333-2222-1111-000000000/
-- format --
web: https://[service]/shard/[shardId]/nl/[userId]/[noteGuid]/
app: evernote:///view/[userId]/[shardId]/[noteGuid]/[noteGuid]/
-- spaced --
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
Option Explicit | |
' 4 variables below require configuration. | |
' Once you get this working, refactor, etc. | |
Sub CDO_Mail_Small_Text_2() | |
Dim user As String | |
Dim pass As String | |
Dim port As Integer | |
Dim receiverEmail As String | |
Dim fromEmail As String | |
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
# reset DB | |
$ rake db:drop db:create db:migrate | |
# start server, suppressing most SQL log messages | |
$ rails s | grep -v -E '(SELECT|BEGIN|COMMIT|Load|FROM|INSERT)' | |
# heroku DB provision | |
$ heroku config --app wundertest8 # show config | |
$ heroku addons:add heroku-postgresql:hobby-dev --app app | |
$ heroku pg:promote HEROKU_POSTGRESQL_COBALT_URL --app app |
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
// Client | |
using System; | |
using System.Diagnostics; | |
using System.Windows.Controls; | |
using Microsoft.LightSwitch.Presentation; | |
using Microsoft.LightSwitch.Presentation.Extensions; | |
namespace LightSwitchApplication | |
{ |
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
using System; | |
using System.Windows; | |
using System.Windows.Controls; | |
using System.Windows.Input; | |
using System.Windows.Media; | |
using System.Windows.Media.Imaging; | |
namespace LightSwitchApplication | |
{ | |
public partial class Application |
Plugin | Permission |
---|---|
cordova-plugin-battery-status | hook onto battery change events |
cordova-plugin-camera | take pictures and read from the images library |
cordova-plugin-media-capture | audio, image, and video capture |
cordova-plugin-console | make console.log() more useful |
cordova-plugin-contacts | access device contacts |
cordova-plugin-device | info about the device's hardware and software |
cordova-plugin-device-motion | access the motion sensor accelerometer to detect changes in movement relative to the current device orientation |
[cordova-plugin-dialogs](https://github.com/apache/cordova-plugi |
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
iptables -I INPUT -p tcp --dport 3000 -j ACCEPT |
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
# rendered in new.js.erb | |
<%= simple_form_for @task, remote: true do |f| %> | |
<%= f.input :description %> | |
<%= f.input :deadline %> | |
<%= f.button :submit %> | |
<% end %> |
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
# nano config/initializers/assets.rb | |
Rails.application.config.assets.precompile += %w(active_admin/*.gif active_admin/*.png) |
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
# config/initializers/backtrace_silencers.rb | |
Rails.backtrace_cleaner.remove_silencers! |
NewerOlder