Skip to content

Instantly share code, notes, and snippets.

Emma Haruka Iwao yuryu

  • Google
  • Seattle, WA
Block or report user

Report or block yuryu

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
@yuryu
yuryu / README.md
Last active Aug 7, 2019
GTUG Girls Bazel 事前準備
View README.md

下記の事前準備を行っておくと当日スムーズです。わからないことがあれば当日一緒に解決しましょう!

Mac

Mac の方は Xcode をインストールしていなければインストールしましょう。(特にダウンロードに時間がかかるので、最低限ダウンロードはしておいていただけると助かります!)

ダウンロード: https://developer.apple.com/download/release/

インストールしたら、コマンドラインユーティリティを有効にします。下記のコマンドをターミナルで実行します。

View rtl.rb
#!/usr/bin/ruby
p 'العَرَبِيَّة'
العَرَبِيَّة = 1 + 2 + 3
p العَرَبِيَّة
class ArabicClass
def initialize
@متغير = 0
end
@yuryu
yuryu / Dockerfile
Created Feb 11, 2015
Dockerfile apache example
View Dockerfile
FROM registry.access.redhat.com/rhel
RUN yum -y install httpd
ADD index.html /var/www/html/index.html
EXPOSE 80
CMD ["/usr/sbin/httpd", "-DFOREGROUND"]
@yuryu
yuryu / kuji.cc
Created Jan 23, 2015
Kuji program
View kuji.cc
#include <iostream>
#include <algorithm>
#include <random>
#include <vector>
#include <fstream>
#include <set>
#include <unordered_set>
#include <string>
#include <ctime>
#include <cstdio>
@yuryu
yuryu / apache.json
Created Jan 17, 2015
kubernetes sample json
View apache.json
{
"id": "fedoraapache",
"kind": "Pod",
"apiVersion": "v1beta1",
"desiredState": {
"manifest": {
"version": "v1beta1",
"id": "fedoraapache",
"containers": [{
"name": "fedoraapache",
View mikasa.txt
CPU-Z TXT Report
-------------------------------------------------------------------------
Binaries
-------------------------------------------------------------------------
CPU-Z version 1.70.0.x64
Processors
-------------------------------------------------------------------------
View gs10.c
#include <stdio.h>
#include <sys/types.h>
#include <unistd.h>
int main()
{
unsigned int gs10;
pid_t pid, pid10;
FILE *fp;
char buf[256];
View paiza-ec-campaign.cpp
#include <iostream>
#include <vector>
#include <queue>
#include <algorithm>
#include <functional>
const int MAX_N = 500000;
const int MAX_D = 300;
std::vector<int> read_sorted(const int n)
@yuryu
yuryu / pre-warm-elb.pl
Last active Sep 10, 2018
ELB Warm-up tool
View pre-warm-elb.pl
#!perl
use strict;
use warnings;
use Parallel::ForkManager;
use POSIX;
use String::Random;
my $c_start = 1;
my $c_end = 64;
@yuryu
yuryu / .bashrc
Created Sep 21, 2013
Cute prompt
View .bashrc
# PS1
function ps_exit() {
a=$?
if [ $a -ne 0 ]; then
echo "/(T_T)\\"
else
echo "\\(^o^)/"
fi
exit $a;
}
You can’t perform that action at this time.