- Ctr+Shift+command+F プロジェクト内のシンボル検索
- Ctr+command+Up or Down ヘッダーと本文の切り替え
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 | |
while True: | |
inp = str(input("input=")) | |
ans = re.sub("[0-9]","9",inp) | |
print(ans) |
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 sys | |
# 該当言語 | |
searchWord = "hoge" | |
# ファイル読み込み | |
text = open(sys.argv[1], "r") | |
# 一行づつ読み出し | |
for line in text: |
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 { default } from '../views/Home.vue'; | |
<template> | |
<div v-if="displayRef > 0"> | |
<p class="number-dispaly-old"> | |
title:{{ title }} | |
</p> | |
<p class="number-dispaly-old"> | |
desc:{{ desc }} | |
</p> | |
<button |
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 math | |
import numpy as np | |
N = 16 | |
gridsize = N*N*N | |
t = 0 | |
t0 = 0 | |
tf = 10 | |
dt = 0.05 | |
L = 20 # box size |
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
from numpy import zeros, linspace, pi, cos,sin, array | |
import numpy as np | |
import math | |
import matplotlib.pyplot as plt | |
def getCalc(order, w, Phi, phiOrder,phim, T, dt): | |
print("order="+str(order)+" w="+str(w)+" Phi="+str(Phi)) | |
# omega = 2 | |
# m_phi = 50 |
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
// Created by KatagiriSo(Rodhos Soft) | |
export namespace Tree { | |
let output = true | |
let debug = false | |
interface Identifier { | |
id: string | |
} |
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
#!/bin/bash | |
# Cross-compile environment for Android on ARMv7 and x86 | |
# | |
# Contents licensed under the terms of the OpenSSL license | |
# http://www.openssl.org/source/license.html | |
# | |
# See http://wiki.openssl.org/index.php/FIPS_Library_and_Android | |
# and http://wiki.openssl.org/index.php/Android | |
##################################################################### |
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
#!/bin/bash | |
export OPENSSL_VER=openssl-1.0.2r | |
# arch-arm, arch-arm64, arch-mips, arch-mips64, arch-x86, arch-x86_64 | |
# export _ARCH=arch-x86 | |
# export _DO_FOLDER_PROC=0 | |
export _DO_GET_SOURCE_PROC=0 | |
export _DO_BUILD=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
export MY_FRAMEWORKS="/System/Library/Frameworks" | |
# code is Visual Studio Shell command. You can install this by using command parret in visual studio. | |
alias MY_BASH="code ~/.bash_profile" | |
alias MY_RELOAD="source ~/.bash_profile" |