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
diff --git a/assets/css/app.css b/assets/css/app.css | |
index 1316bc4..d34f635 100644 | |
--- a/assets/css/app.css | |
+++ b/assets/css/app.css | |
@@ -1,5 +1,6 @@ | |
@import "tailwindcss/base"; | |
@import "../../deps/petal_components/assets/default.css"; | |
+@import "../../deps/petal_framework/assets/css/combo-box.css"; | |
@import "tailwindcss/components"; | |
@import "tailwindcss/utilities"; |
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
mix test --cover | |
Excluding tags: [:feature, :petal_framework] | |
......................................................................................................................................................................................................... | |
Finished in 3.1 seconds (1.3s async, 1.7s sync) | |
7 doctests, 3 features, 195 tests, 0 failures, 4 excluded | |
Randomized with seed 300907 | |
---------------- | |
COV FILE LINES RELEVANT MISSED |
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
// Google Calendar Merge Script | |
// This script will merge multiple calendars into a single calendar. Slightly updated from an | |
// earlier version: http://techingthetech.blogspot.co.uk/2015/04/merging-google-calendars.html | |
// | |
// Usage: | |
// 1. Grab the calendar name and IDs for your target calendar and the ones you want to merge | |
// 2. Go to Google Drive and create a new Google Apps Script (it will be under New > More). | |
// 3. Search for the "App Script" add it and allow it to work. | |
// 4. Create a new script and copy and past this code in there. | |
// 5. Add your IDs below for the target calender to import to and to import from. |
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
# posting for reference in https://forums.linuxmint.com/viewtopic.php?f=46&t=272966 | |
Jul 11 20:33:42 mint ubiquity[1988]: Device /dev/nvme0n1p3 not found in os-prober output | |
Jul 11 20:33:42 mint ubiquity[1988]: Device free not found in os-prober output | |
Jul 11 20:33:42 mint ubiquity[1988]: Device /dev/nvme0n1p6 not found in os-prober output | |
Jul 11 20:33:42 mint ubiquity[1988]: Device /dev/nvme0n1p7 not found in os-prober output | |
Jul 11 20:33:42 mint ubiquity[1988]: Device free not found in os-prober output | |
Jul 11 20:33:42 mint ubiquity[1988]: Device /dev/nvme0n1p8 not found in os-prober output | |
Jul 11 20:33:42 mint ubiquity[1988]: Device /dev/nvme0n1p4 not found in os-prober output | |
Jul 11 20:33:42 mint ubiquity[1988]: Device free not found in os-prober output |
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
jQuery.validator.addMethod("phoneUS", function(phone_number, element) { | |
phone_number = phone_number.replace(/\s+/g, ""); | |
return this.optional(element) || phone_number.length > 9 && | |
phone_number.match(/^(1-?)?(\([2-9]\d{2}\)|[2-9]\d{2})-?[2-9]\d{2}-?\d{4}$/); | |
}, "Please specify a valid phone number"); | |
// Source: http://docs.jquery.com/Plugins/Validation/CustomMethods/phoneUS |
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
curl -X GET \ | |
'https://slack.com/api/files.list?token=REMOVED&page=1&types=&channel=' \ | |
-H 'Cache-Control: no-cache' \ | |
-H 'accept: application/json, text/plain, */*' \ | |
-H 'accept-encoding: gzip, deflate, br' \ | |
-H 'accept-language: en-US,en;q=0.9,de;q=0.8' \ | |
-H 'authority: slack.com' \ | |
-H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36' |
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
POST /api/midgardur/v4/reservations HTTP/1.1 | |
Host: booking.prod.wowair.net | |
Origin: https://booking.wowair.com | |
Accept-Encoding: gzip, deflate, br | |
Accept-Language: en-US,en;q=0.9,de;q=0.8 | |
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36 | |
Content-Type: application/json | |
Accept: application/json | |
Referer: https://booking.wowair.com/passengers | |
Connection: keep-alive |
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
# Overriding ActionDispatch::Integration::Session.any_instance.process | |
# Adding a body and passing to rack-test as an :input param. | |
module ActionDispatch | |
module Integration | |
class Session | |
#add body param here | |
def process(method, path, params: nil, body: nil, headers: nil, env: nil, xhr: false, as: nil) | |
request_encoder = RequestEncoder.encoder(as) | |
headers ||= {} |
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
import Ember from 'ember'; | |
import Serializer from '../serializers/author'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle', | |
serialized: Ember.computed(function() { | |
return JSON.stringify(this.get('model').serialize(), null, 2); | |
}) | |
}); |
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
module Humanize | |
SUB_ONE_THOUSAND = { | |
:en => ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'ten', 'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen', 'twenty', 'twenty-one', 'twenty-two', 'twenty-three', 'twenty-four', 'twenty-five', 'twenty-six', 'twenty-seven', 'twenty-eight', 'twenty-nine', 'thirty', 'thirty-one', 'thirty-two', 'thirty-three', 'thirty-four', 'thirty-five', 'thirty-six', 'thirty-seven', 'thirty-eight', 'thirty-nine', 'forty', 'forty-one', 'forty-two', 'forty-three', 'forty-four', 'forty-five', 'forty-six', 'forty-seven', 'forty-eight', 'forty-nine', 'fifty', 'fifty-one', 'fifty-two', 'fifty-three', 'fifty-four', 'fifty-five', 'fifty-six', 'fifty-seven', 'fifty-eight', 'fifty-nine', 'sixty', 'sixty-one', 'sixty-two', 'sixty-three', 'sixty-four', 'sixty-five', 'sixty-six', 'sixty-seven', 'sixty-eight', 'sixty-nine', 'seventy', 'seventy-one', 'seventy-two', 'seventy-three', 'seventy-four', 'seventy-five |
NewerOlder