Skip to content

Instantly share code, notes, and snippets.

so i made twenty six two am three club executives the club vanity and bundy were arrested about that did. Cops showed up and arrested them and they were charged with violating the entertainment business law and the entertainment business law is that basically you can't dance after one a m but they had registered as a restaurant so they were kind of exploiting a loophole the cops decided that they were gonna they weren't gonna let that lie so they they showed up and arrested. These is a executives they were. They were going till five a.
yes it's really strange that they they have this science and they're saying no dancing. But you know everyone's dancing you know and it's kind of what do you what constitutes is dancing like is bobbing your head dancing?
the cops show up and see if people were dancing first or did it just assume that people were dancing ?
i wonder why vanity and some of these other establishments
i mean you go cut ok that others are munitions in there.
var ldrHeader = document.getElementsByTagName("div"); // ページから divタグの配列を取得して変数に定義。
ldrHeader[0].style = ""; // 配列の先頭が該当するお知らせヘッダーなので 0 で指定し、そのstyleプロパティを空にする。
ldrHeader[0].innerHTML = ""; // 同様に<div></div>に囲まれた部分を innerHTML プロパティで取得して空にする。
</head>
<body><base target="_blank">
<div style="padding: 1em 0; background-color: #eee; font-weight: bold; font-size: 2em; text-align:center;">
<a href="http://blog.livedoor.jp/staff_reader/archives/52278396.html" target="_blank">【重要】Live Dwango Reader/LDR Pocketサービス終了のお知らせ</a>
</div>
<!-- header -->
<div id="header" class="header">
<div class="pxsmall" id="functionHeader">
<div style="clear:both;font-size:1px;margin:0;padding:0"></div>
</div>
@shigahi
shigahi / what-is-object.js
Last active September 24, 2017 17:24
explanation for object
var BerlinOffice = { // varは変数(variable)を作るときに使う。BerlinOfficeオブジェクトを作る。オブジェクトは {} でひとかたまり。
"company" : "Classmethod Europe Berlin Office", // {} の中で xxx : yyy という塊を作り、複数作る場合は , で区切る。
"city" : "Berlin", // この塊をプロパティと呼び、左 xxx はプロパティのname(名前)、右 yyy はvalue(値)。
"employee" : 10 // 値を "" で囲むと文字列となり、囲まないと変数や数値として扱われる。
}; //プログラムの改行は ; を使う。
console.log(BerlinOffice.city); // cityプロパティを指定してコンソール出力、プロパティの値である Berlin が表示される。
console.log(BerlinOffice.employee + 1); // 数値には四則演算子が使える。この場合 employee の値 10 + 1 = 11 が表示される。
console.log(BerlinOffice.company.length); // .length は文字列にあらかじめ用意されているプロパティ。文字数である32が表示される。
console.log(BerlinOffice.company.toLowerCase()); // .toLowerCase() はメソッドというオブジェクト内の関数。companyの文字列を全部小文字にする。
@shigahi
shigahi / methocoin.sol
Last active September 14, 2017 07:11
Metho Coin code
pragma solidity ^0.4.16;
import "./SafeMath.sol";
contract MTC {
using SafeMath for uint256; //uint256変数にはSafeMathを適用する。
//ネットワーク上にリリースするトークン名とティッカー
string public constant symbol = "MTC";
pragma solidity ^0.4.13; //solidityのバージョン指定
/* オーナーの定義 */
contract owned {
address public owner;
function owned() {
owner = msg.sender;
}
modifier onlyOwner {
function myFunction() {
var myActiveSpreadSheet = SpreadsheetApp.getActiveSpreadsheet();
var myActiveSheet = myActiveSpreadSheet.getSheets()[0];
var url = myActiveSheet.getRange(1,1).getValue();
var image = UrlFetchApp.fetch(url);
MailApp.sendEmail({
to: 'yourboxfolderaddress@u.box.com',
subject: 'image',
body: 'image',
<table style="height: 221px;" width="500">
<tbody>
<tr>
<td><img class="alignleft wp-image-257583 size-thumbnail" src="http://cdn.dev.classmethod.jp/wp-content/uploads/2016/09/Mesoko_May_1920x1080-320x180.png" alt="" width="320" height="180" srcset="http://cdn.dev.classmethod.jp/wp-content/uploads/2016/09/Mesoko_May_1920x1080-320x180.png 320w, http://cdn.dev.classmethod.jp/wp-content/uploads/2016/09/Mesoko_May_1920x1080-640x360.png 640w, http://cdn.dev.classmethod.jp/wp-content/uploads/2016/09/Mesoko_May_1920x1080-768x432.png 768w, http://cdn.dev.classmethod.jp/wp-content/uploads/2016/09/Mesoko_May_1920x1080-960x540.png 960w" sizes="(max-width: 320px) 100vw, 320px" /></td>
<td>
<p style="text-align: center;"><a href="http://cdn.dev.classmethod.jp/wp-content/uploads/2016/09/Mesoko_May_1920x1080.png" target="_blank">1920×1080</a></p>
<p style="text-align: center;"><a href="http://cdn.dev.classmethod.jp/wp-content/uploads/2016/09/Mesoko_May_1280x1024.png" target="_blank">1280×1024</a></p>
<p style="text-align: c