Skip to content

Instantly share code, notes, and snippets.

むらため Muratam

Block or report user

Report or block Muratam

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Muratam
Muratam / Ruby0.49.txt
Created Jun 21, 2019
Ruby 0.49 Specs
View Ruby0.49.txt
.\" spec - -*- Indented-Text -*- created at: Tue May 25 15:18:26 JST 1993
* はじめに(なぜRubyか?)
Rubyは「UNIXで手軽にオブジェクト指向プログラミング」をしたいという望み
を実現するために生まれた. そのために必要だと思われた性質は:
* 文法や機能が単純である.
* オブジェクト指向プログラミングをサポートする機能を
持つ言語として設計されている.
@Muratam
Muratam / tweetdeck-smallwindow-2019-05-19.css
Created May 19, 2019
tweetdeck-smallwindow-2019-05-19.css
View tweetdeck-smallwindow-2019-05-19.css
.js-drawer.drawer.wide{
width: 200px;
left: -200px;
}
.js-app-content.app-content.is-open{
transition-duration: 200ms;
transform: translateX(200px);
margin-right: 200px;
}
@Muratam
Muratam / flamegraph.nim
Last active Dec 7, 2018
profile_results.txt を flamegraph.pl 形式にするやつ
View flamegraph.nim
import os
import system
import strutils
import sequtils
import algorithm
proc findCallCount(line:string) : string =
let args = line.split(" ")
for i,arg in args:
View twitter消すやつ.py
import pandas as pd
import tweepy
def get_api():
c_k = "K**"
c_s = "u**"
a_k = "2**"
a_s = "b**"
auth = tweepy.OAuthHandler(c_k, c_s)
auth.set_access_token(a_k, a_s)
View abc-animation.js
function setScore(abc, scoreDOM, midiDOM) {
let tunes = ABCJS.renderAbc(scoreDOM, abc, {}, {
responsive: 'resize',
paddingtop: 0,
scale: 1,
paddingbottom: 0,
});
ABCJS.renderMidi(
midiDOM, abc, {}, {
program: 25,
View yehten.sh
mkdir yenten && cd yenten
git clone https://github.com/JayDDee/cpuminer-opt.git && cd cpuminer-opt
sudo apt install -y libdb++-dev libssl-dev libgmp3-dev zlib1g-dev #libdb++
./autogen.sh
CFLAGS="-O3 -march=native -Wall" CXXFLAGS="$CFLAGS -std=gnu++11 -funroll-loops -fomit-frame-pointer" ./configure --with-curl
make
View yenten.sh
mkdir yenten && cd yenten
git clone https://github.com/JayDDee/cpuminer-opt.git && cd cpuminer-opt
sudo apt install libdb++-dev libssl-dev libgmp3-dev #libdb++
./autogen.sh
./configure CFLAGS="-O3 -march=native -Wall" --with-curl
make
# ./cpuminer -a yescryptr16 -o stratum+tcp://bunnymining.work:20333 -u murata.miner1 -p ****
View yenten.sh
mkdir yenten && cd yenten
git clone https://github.com/JayDDee/cpuminer-opt.git && cd cpuminer-opt
sudo apt install libdb++-dev libssl-dev libgmp3-dev #libdb++
./autogen.sh
./configure CFLAGS="-O3 -march=native -Wall"
make
# ./cpuminer -a yescryptr16 -o stratum+tcp://bunnymining.work:20333 -u murata.miner1 -p ****
# cpulimit -l 140 -- ./cpuminer -a yescryptr16 -o stratum+tcp://bunnymining.work:20333 -u ****.**** -p ****
View koto.sh
cd ~
mkdir koto && cd koto
git clone https://github.com/koto-dev/cpuminer-yescrypt
cd cpuminer-yescrypt
./autogen.sh
./configure CFLAGS="-O3 -march=native -funroll-loops -fomit-frame-pointer"
make
# change k** your address and start mining!!
# cpulimit -l 140 -- ./minerd -a yescrypt -o stratum+tcp://okoto.xyz:51000 -u k**
View koto.sh
cd ~
mkdir koto && cd koto
git clone https://github.com/koto-dev/cpuminer-yescrypt
cd cpuminer-yescrypt
./autogen.sh
./configure CFLAGS="-O3 -march=native -funroll-loops -fomit-frame-pointer"
make
# change k** your address !!
cpulimit -l 140 -- ./minerd -a yescrypt -o stratum+tcp://okoto.xyz:51000 -u k**
You can’t perform that action at this time.