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/gn gen out/release \ | |
--args="is_official_build=true \ | |
skia_use_libjpeg_turbo_decode=false \ | |
skia_use_libjpeg_turbo_encode=false \ | |
extra_cflags_cc=[\"-frtti\"] \ | |
skia_use_system_libwebp = false \ | |
skia_use_system_harfbuzz = false \ | |
skia_use_system_libpng = false \ | |
is_component_build = false \ | |
" |
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
magick compare -fuzz 5% image1.png image2.png -compose src result.png |
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
public class WavAnalyzer | |
{ | |
public string riffId; | |
public uint fileSize; | |
public string wavId; | |
public string formatId; | |
// フォーマットのチャンク数 | |
public uint formatChunkSize; | |
public ushort format; | |
// チャネル数 |
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 numpy as np | |
# 3 layer neural network | |
class ThreeLayerNetwork: | |
def sigmoid(self,x): | |
return 1.0 / (1.0 + np.exp(-np.clip(x, -self.sigmoid_range, self.sigmoid_range))) | |
def derivative_sigmoid(self,o): | |
return o * (1.0 - o) | |
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
# 自動補完を有効にする | |
# コマンドの引数やパス名を途中まで入力して <Tab> を押すといい感じに補完してくれる | |
# 例: `cd path/to/<Tab>`, `ls -<Tab>` | |
autoload -U compinit; compinit | |
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}' | |
# 入力したコマンドが存在せず、かつディレクトリ名と一致するなら、ディレクトリに cd する | |
# 例: /usr/bin と入力すると /usr/bin ディレクトリに移動 | |
setopt auto_cd |
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
さは |
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 System; | |
using System.IO; | |
using Xamarin.UITest; | |
namespace LTTimer.UITest | |
{ | |
public static class Extension | |
{ | |
public static void ExScreenShot(this IApp app, string Title) | |
{ |
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
ややや |
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
class HelloWorld: | |
def __init__(self, name): | |
self.name = name.capitalize() | |
def sayHi(self): | |
print "Hello " + self.name + "!" | |
hello = HelloWorld("world") | |
hello.sayHi() |
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
content |
NewerOlder