Skip to content

Instantly share code, notes, and snippets.

@mathkuro
mathkuro / settings.json
Last active June 12, 2018 13:01
Vidual Studio CodeでPEP8を設定するための方法(&powershellの文字化け回避)
{
"python.linting.pylintEnabled": false,
"python.linting.pep8Enabled": true,
"files.autoSave": "afterDelay",
"files.autoSaveDelay": 1000,
"python.linting.lintOnSave": true,
"terminal.integrated.shellArgs.windows": [
"-NoExit",
@mathkuro
mathkuro / settings_2.json
Created June 12, 2018 13:29
Visual Studio CodeのPython設定のコマンドプロンプト版
{
"python.linting.pylintEnabled": false,
"python.linting.pep8Enabled": true,
"files.autoSave": "afterDelay",
"files.autoSaveDelay": 1000,
"python.linting.lintOnSave": true,
"terminal.integrated.shell.windows": "C:\\Windows\\system32\\cmd.exe",
def main():
print("Hello World")
if __name__ == "__main__":
main():
<?php
// ----------------------------------------------------------------------------
// 親テーマの読み込み
// ----------------------------------------------------------------------------
add_action('wp_enqueue_scripts', 'theme_enqueue_styles');
function theme_enqueue_styles() {
wp_enqueue_style('parent-style', get_template_directory_uri() . '/style.css');
}
#include <stdio.h>
#include <time.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <stdio.h>
#include <time.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <stdio.h>
#include <time.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <stdlib.h>
#include <stdint.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <stdio.h>
#include <time.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <stdlib.h>
#include <stdint.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <stdio.h>
#include <time.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <stdlib.h>
#include <stdint.h>
#include <stdbool.h>
#include <sys/types.h>
#include <stdio.h>
#include <time.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <stdlib.h>
#include <stdint.h>
#include <stdbool.h>
#include <sys/types.h>