Skip to content

Instantly share code, notes, and snippets.

View usualoma's full-sized avatar
🏠
Working from home

Taku Amano usualoma

🏠
Working from home
View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no">
<style type="text/css">
body {
user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no">
<style type="text/css">
body {
user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
body {
user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
}
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
a {
display: block;
width: 10px;
height: 10px;
position: absolute;
z-index: 1;
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
body {
user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
}
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
body {
user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
}
execute 'debconf-set-selections mysql-apt-config' do
command %Q{echo "mysql-apt-config mysql-apt-config/select-server select mysql-#{version}" | debconf-set-selections}
not_if %Q{debconf-get-selections | grep "mysql-apt-config.*mysql-apt-config/select-server.*mysql-#{version}"}
notifies :remove, 'dpkg_package[mysql-apt-config]', :immediately
notifies :install, 'dpkg_package[mysql-apt-config]', :immediately
end
deb_url = node['mysql-apt']['apt-config-deb-url']
deb_file = "#{Chef::Config[:file_cache_path]}/#{File.basename deb_url}"
remote_file deb_file do
source deb_url
action :create
end
file deb_file do
action :nothing
{
"run_list": [
"recipe[mysql-apt]"
],
"mysql-apt": {
"version": "5.7",
"initial_root_password": "password"
}
}
id: DataAPIFormatPHP
name: DataAPIFormatPHP
version: 0.01
description: "This plugin enables the Data API to export data in PHP source code."
author_name: "Taku AMANO"
author_link: http://taaas.jp/
plugin_link: https://github.com/usualoma/mt-plugin-DataAPIFormatPHP/
applications:
data_api: