This file contains 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
int main (){ | |
int a = 0; | |
return a | |
} |
This file contains 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
" Mode | 再割当無し | 再割当有 | |
" Normal + Visual | noremap | map | |
" Cmdline + Insert | noremap! | map! | |
" Normal | nnoremap | nmap | |
" Visual | vnoremap | vmap | |
" Cmdline | cnoremap | cmap | |
" Insert | inoremap | imap | |
" Vimの機能で変更する | ユーザーが定義したキー割り当てに従う | |
"Normal : 通常時 | |
"Cmdline: open とかコマンドの時 |
This file contains 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
#include <stdio.h> | |
int main (void){ | |
printf ("HEllo World"); | |
return 0; | |
} |
This file contains 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
@echo off | |
if "%~dpnx1" equ "" goto :eof | |
cd "%~dp1" | |
setlocal | |
set tempfile=%date:~4%%time::=% | |
set tempfile=%tempfile:/=% | |
set tempfile=%tempfile:.=% | |
set tempfile=%tempfile: =% | |
ghc -o %tempfile%.exe --make "%~dpnx1" | |
%tempfile%.exe |
This file contains 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
import re,requests,random | |
def getById(id): | |
body = requests.get("https://nijie.info/view.php?id="+ str(id)).content.decode("utf-8") | |
found = re.findall(r'"(https://\S+?nijie_picture\S+?\.(?:jpg|png|jpeg))"',body) | |
if found : return re.sub(r'/small_light\(\S+\)',"",found[0]) | |
else : return "" | |
def randomGet(): | |
r = random.randint(1005,187600) |
This file contains 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
<?xml version="1.0"?> | |
<root> | |
<vkopenurldef> <name>KeyCode::VK_OPEN_URL_MV.R</name> | |
<url type="shell"> <![CDATA[ osascript ~/.mv_window.js R]]> </url> | |
</vkopenurldef> | |
<vkopenurldef> <name>KeyCode::VK_OPEN_URL_MV.L</name> | |
<url type="shell"> <![CDATA[ osascript ~/.mv_window.js L]]> </url> | |
</vkopenurldef> | |
<vkopenurldef> <name>KeyCode::VK_OPEN_URL_MV.MAX</name> | |
<url type="shell"> <![CDATA[ osascript ~/.mv_window.js MAX]]> </url> |
This file contains 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
using UnityEngine; | |
[RequireComponent(typeof(Camera))] | |
public class MonoImageEffect : MonoBehaviour { | |
private Material m_Material; | |
[SerializeField] Material material; | |
protected virtual void OnRenderImage(RenderTexture source, RenderTexture destination) { | |
Graphics.Blit(source, destination, material); | |
} |
This file contains 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
Shader "Custom/Mono" | |
{ | |
Properties | |
{ | |
_MainTex ("Texture", 2D) = "white" {} | |
_X ("Normalized X",Range(0,1)) = 0.2 | |
_Y ("Normalized Y",Range(0,1)) = 0.2 | |
_W ("Normalized Width",Range(0,1)) = 0.6 | |
_H ("Normalized Height",Range(0,1)) = 0.6 | |
} |
This file contains 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
import twitter72 | |
import requests | |
import re | |
import pickle | |
from urllib.parse import parse_qs | |
from pprint import pprint | |
from moviepy.editor import * | |
import random | |
import sys | |
import os |
OlderNewer