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
#!/usr/bin/env python3.8 | |
# -*- coding: utf-8 -*- | |
import requests | |
token = '${USER_TOKEN}' | |
host = 'https://graph.facebook.com/v12.0' | |
# get user_page_id |
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 lang="ja"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Miku</title> | |
<link rel="stylesheet" href="./css/main.css" /><!-- css --> | |
</head> |
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
1.01 | |
0.99 | |
0.98 | |
0.98 | |
0.98 | |
0.95 | |
0.93 | |
0.91 | |
0.9 | |
0.92 |
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
public class ProgressDialog_sample extends AppCompatActivity implements Runnable{ | |
//ProgressDialogを定義 | |
private ProgressDialog mProgressDialog; | |
private Thread thread; | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.activity_main); |
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
<uses-permission android:name="android.permission.BLUETOOTH"/> | |
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/> |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
''' | |
Create date: 2015/10/12 | |
implementafor: K.Takano | |
HP: http://miyakawamomiji.blogspot.jp/ | |
''' | |
from twitter import * |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
''' | |
Create date: 2015/10/11 | |
implementafor: K.Takano | |
HP: http://miyakawamomiji.blogspot.jp/ | |
''' | |
from twitter import * |
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
<?php | |
$filepath = "uriage.csv"; //csvファイル | |
$data = file_get_contents($filepath); | |
$data = mb_convert_encoding($data, 'UTF-8', 'sjis-win'); //shift-jisからutf-8へ変換 | |
$temp = tmpfile(); | |
$meta = stream_get_meta_data($temp); | |
$temp = tmpfile(); |
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
<?php | |
/* | |
Create date: 2015/09/06 | |
implementafor: K.Takano | |
HP: http://miyakawamomiji.blogspot.jp/ | |
*/ | |
//引数を持ってくる | |
if (isset($_GET['name'])) { | |
$topics_name = htmlspecialchars($_GET['name'], ENT_QUOTES, 'utf-8'); |
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
<?php | |
$ip = $_SERVER['REMOTE_ADDR']; | |
$ag = $_SERVER['HTTP_USER_AGENT']; | |
$rh = gethostbyaddr($_SERVER['REMOTE_ADDR']); | |
$dt = date("Y/m/d H:i:s"); | |
$gz = imagecreatetruecolor(1100, 180); | |
$col = imagecolorallocate($gz, 255, 0, 0); | |
//jpegに文字を書き込み |
NewerOlder