$ ember install emberx-select
version: 0.2.7
1.13.8
Installed packages for tooling via npm.
Install failed. Could not find addon with name: emberx-select
$ ember install emberx-select
version: 0.2.7
def open_text_file_with_valid_encoding!(file_path, encoding='UTF-8') | |
# Tries to find a valid encoding for a text file. | |
# Converts return value to UTF-8. | |
encodings = ['UTF-8', 'ISO-8859-1'] | |
contents = File.open(file_path, "r:#{encoding}") { |file| file.read } | |
unless contents.valid_encoding? | |
if next_encoding = encodings[encodings.index(encoding) + 1] | |
puts "Warning: Encoding #{encoding} for #{file_path} is not valid. "\ |
ex +'/BEGIN CERTIFICATE/,/END CERTIFICATE/p' <(echo | openssl s_client -showcerts -connect example.com:443) -scq > file.crt | |
^^ add this file to OS keychain | |
http://superuser.com/questions/1004794/how-to-always-allow-insecure-connection-for-a-certain-url-in-chrome |
mysqldump -u root -proot dbname > filename-$(date '+%Y%m%d-%H-%M').sql |
/* | |
Theme Name: My Thematic Child Theme | |
Theme URI: | |
Description: This is a child theme of thematic created by me | |
Author: Abbas Suterwala | |
Author URI: | |
Template: thematic | |
Version: 1.0 | |
*/ |
$('h3').click(function(){ | |
var t = $(this); | |
if (t.hasClass('open')) { | |
t.removeClass('open'); | |
t.siblings('ul').hide(); | |
} else { | |
t.addClass('open'); | |
t.siblings('ul').show(); | |
}; | |
}); |
<?php | |
error_reporting(E_ALL); | |
ini_set('display_errors', '1'); | |
?> |
<snippet> | |
<content><![CDATA[ | |
print '<pre>'; | |
print_r(${1:var}); | |
print '</pre>'; | |
]]></content> | |
<tabTrigger>ppre</tabTrigger> | |
<scope>source.php</scope> | |
</snippet> |
$ ember install emberx-select
version: 0.2.7
1.13.8
Installed packages for tooling via npm.
Install failed. Could not find addon with name: emberx-select
$ ember install emberx-select
version: 0.2.7
class FancyMarkup | |
def initialize | |
end | |
def method_missing(name, attr={}, &block) | |
puts "<#{name}#{self.flatten(attr)}>" | |
self.instance_eval(&block) | |
puts "</#{name}>" |
test content |