This file contains hidden or 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
Dim cd = From i In {"ィ", "ィー", "イー", "ー", "イ"} | |
From a In {"ア", "ァ", "ワ", "ヮ"} | |
From o In {"ー", ""} | |
From sa In {"サ", "シャ"} | |
Select "シ" & i & "ク" & a & o & sa & "ー" |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<body> | |
<div> | |
<script> | |
(function () { | |
var j = document.createElement("script"); | |
j.src = "http://localhost/dummy.js"; | |
document.body.appendChild(j); | |
})(); |
This file contains hidden or 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
(function () { | |
var scripts = document.getElementsByTagName('script'); | |
var src = scripts[scripts.length - 1].src; | |
console.log("私は " + src); | |
})(); |
This file contains hidden or 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
static void Main(string[] args) | |
{ | |
// ログインして Cookie 取得 | |
var cookies = Login("スクリーンネームまたはメールアドレス", "パスワード"); | |
// 取得した Cookie を付けてアカウント設定ページにアクセス | |
var url = "https://twitter.com/settings/account"; | |
var req = WebRequest.CreateHttp(new Uri(url)); | |
req.CookieContainer = new CookieContainer(); | |
req.CookieContainer.Add(cookies); |
This file contains hidden or 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
Sub Main() | |
' ログインして Cookie 取得 | |
Dim cookies = Login("スクリーンネームまたはメールアドレス", "パスワード") | |
' 取得した Cookie を付けてアカウント設定ページにアクセス | |
Dim url = "https://twitter.com/settings/account" | |
Dim req = WebRequest.CreateHttp(New Uri(url)) | |
req.CookieContainer = New CookieContainer | |
req.CookieContainer.Add(cookies) |
This file contains hidden or 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
static void Main(string[] args) | |
{ | |
// ログイン(Cookie の取得) | |
var session = GetUserSession("メールアドレス", "パスワード"); | |
// マイページ取得(取得した Cookie を付けてアクセス) | |
var url = "http://www.nicovideo.jp/my/top"; | |
var req = WebRequest.CreateHttp(new Uri(url)); | |
req.CookieContainer = new CookieContainer(); | |
req.CookieContainer.Add(session); |
This file contains hidden or 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
Sub Main() | |
' ログイン(Cookie の取得) | |
Dim session = GetUserSession("メールアドレス", "パスワード") | |
' マイページ取得(取得した Cookie を付けてアクセス) | |
Dim url = "http://www.nicovideo.jp/my/top" | |
Dim req = WebRequest.CreateHttp(New Uri(url)) | |
req.CookieContainer = New CookieContainer | |
req.CookieContainer.Add(session) |
This file contains hidden or 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
static void Main(string[] args) | |
{ | |
var writer = new AForge.Video.VFW.AVIWriter(); | |
writer.Codec = "MSVC"; | |
writer.FrameRate = 15; | |
writer.Open("out.avi", 800, 600); // 800x600 | |
writer.AddFrame(new System.Drawing.Bitmap(800, 600)); | |
writer.Close(); |
This file contains hidden or 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
Sub Main() | |
Dim writer = New AForge.Video.VFW.AVIWriter | |
writer.Codec = "MSVC" | |
writer.FrameRate = 15 | |
writer.Open("out.avi", 800, 600) ' 800x600 | |
writer.AddFrame(New System.Drawing.Bitmap(800, 600)) | |
writer.Close() | |
End Sub |
This file contains hidden or 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
{ | |
"manifest_version": 2, | |
"name": "食べ物の画像にモザイクをかける拡張", | |
"version": "1.0", | |
"content_scripts": [{ | |
"matches": [ "<all_urls>" ], | |
"js": [ "jquery.min.js", "custom.js" ], | |
"run_at": "document_start" | |
}] | |
} |