kiyo_hiko  id:kiyo_hiko  



109,419    

-    

-    









# |ω  (76)  

10(69)  

2(51)  

2011  (171)  

2012  (172)  

2013  (83)  

2014  (86)  

2ch  (328)  

3(52)  

3.11  (96)  

3d  (105)  

404  (118)  

5(67)  

7(69)  

8(140)  

98(323)  

AI(124)  

aa(179)  

accident  (101)  

account  (51)  

active  (105)  

activerecord  (94)  

addon  (120)  

algorithm  (98)  

amazon  (177)  

anal  (50)  

android  (137)  

angry  (57)  

animal  (102)  

anime  (286)  

ansible  (57)  

apache  (68)  

api  (183)  

apple  (143)  

art  (83)  

atode  (209)  

baka  (72)  

battery  (58)  

bgm  (91)  

biology  (48)  

blog  (65)  

boj  (46)  

bone  (73)  

book  (1199)  

bridge  (50)  

business  (141)  

c(109)  

car  (237)  

centos  (81)  

chrome  (103)  

cinema  (138)  

civil_engineering  (61)  

cl(279)  

cloud  (53)  

cmd  (84)  

cn(127)  

code  (111)  

color  (85)  

comic  (464)  

comike  (50)  

communication  (408)  

company  (63)  

config  (47)  

cosplay  (224)  

cpp  (199)  

cpu  (58)  

credit  (53)  

crime  (253)  

cs(105)  

css  (187)  

culture  (109)  

curry  (56)  

db(102)  

death  (65)  

design  (195)  

desktop  (54)  

dev  (296)  

devel  (52)  

diet  (141)  

diplomacy  (201)  

disaster  (69)  

diy  (223)  

doc  (222)  

docker  (91)  

dotnet  (50)  

doujin  (135)  

dqn  (223)  

earthquake  (85)  

eclipse  (129)  

economy  (111)  

editor  (92)  

education  (282)  

emacs  (113)  

en(151)  

energy  (64)  

era  (62)  

ero  (86)  

eroge  (55)  

event  (226)  

excel  (386)  

factory  (58)  

family  (92)  

fashion  (164)  

figure  (573)  

file  (62)  

fire  (45)  

fish  (68)  

font  (77)  

food  (337)  

form  (70)  

func  (46)  

furniture  (46)  

fx(51)  

game  (720)  

gdgd  (65)  

gem  (53)  

gif  (77)  

git  (220)  

github  (81)  

google  (239)  

gov  (50)  

gui  (117)  

guideline  (73)  

haskell  (98)  

hatena  (342)  

health  (345)  

history  (405)  

horror  (185)  

house  (165)  

html  (127)  

human  (68)  

ide  (72)  

idea  (161)  

illust  (659)  

insect  (80)  

interesting  (131)  

internet  (110)  

iphone  (79)  

japan  (208)  

java  (1087)  

jmsdf  (47)  

job  (1467)  

joke  (144)  

jp(762)  

jquery  (105)  

js(427)  

json  (45)  

keyboard  (148)  

kindle  (127)  

korewahidoi  (151)  

korewasugoi  (58)  

labor  (46)  

lambda  (44)  

lang  (62)  

lanove  (206)  

law  (184)  

letsnote  (144)  

lib  (95)  

life  (837)  

linux  (139)  

lisp  (194)  

logic  (84)  

love  (76)  

mac  (70)  

manual  (46)  

map  (101)  

masuda  (240)  

material  (139)  

math  (336)  

matome  (540)  

md(46)  

medical  (214)  

medicine  (64)  

mem  (47)  

memo  (185)  

mental  (368)  

migration  (56)  

miku  (107)  

mobile  (180)  

model  (107)  

moe  (345)  

monad  (58)  

money  (464)  

monitor  (232)  

motto  (85)  

mouse  (63)  

ms(110)  

music  (179)  

mysql  (91)  

name  (108)  

neta  (2321)  

netwatch  (54)  

niconico  (157)  

npp  (79)  

nuclear  (79)  

office  (72)  

official  (52)  

oil  (73)  

oop  (191)  

padrino  (92)  

pattern  (58)  

pc(1445)  

pdf  (264)  

perf  (65)  

perl  (545)  

person  (137)  

phone  (58)  

photo  (266)  

php  (167)  

pix  (154)  

plugin  (58)  

politics  (203)  

power  (131)  

professional  (213)  

programmer  (64)  

programming  (68)  

prolog  (102)  

ps(114)  

python  (113)  

rails  (242)  

recipe  (48)  

record  (103)  

ref  (48)  

review  (117)  

risk  (70)  

robot  (87)  

ruby  (496)  

ruins  (49)  

sample  (180)  

scheme  (79)  

sea  (92)  

search  (110)  

security  (466)  

setup  (494)  

sex  (79)  

sharp  (56)  

shinkansen  (46)  

sinatra  (81)  

skull  (54)  

sleep  (115)  

slideshare  (79)  

song  (102)  

sony  (47)  

sql  (53)  

ssd  (50)  

statistics  (66)  

stock  (1221)  

storage  (56)  

stress  (45)  

string  (70)  

study  (217)  

style  (250)  

swing  (122)  

syntax  (79)  

t(164)  

tablet  (183)  

tax  (146)  

term  (228)  

test  (182)  

thinking  (122)  

thinkpad  (108)  

tips  (1306)  

tokyo  (114)  

tool  (542)  

touhou  (400)  

train  (370)  

travel  (99)  

trend  (127)  

trivia  (146)  

trouble  (332)  

tutorial  (315)  

twitter  (304)  

typing  (65)  

ui(56)  

unko  (93)  

us(181)  

usability  (67)  

usb  (191)  

uwsc  (66)  

vagrant  (50)  

vba  (217)  

vim  (254)  

vps  (54)  

wallpaper  (300)  

warota  (557)  

web  (54)  

webservice  (54)  

wiki  (67)  

win  (705)  

wishlist  (292)  

word  (110)  

ww2  (45)  

xml  (73)  

yama  (60)  

youtube  (72)  

 (83)  

 (84)  

 (71)  

 (318)  

 (79)  

 (71)  

 (54)  

 (179)  

 (235)  

 (197)  

 (320)  

 (79)  

 (164)  

 (101)  

 (76)  

 (151)  

 (71)  

 (52)  

 (159)  

 (87)  

 (95)  

 (234)  

 (118)  

 (65)  

 (85)  

 (52)  

 (233)  

 (131)  

便  (47)  

 (53)  

 (75)  

 (79)  

 (228)  

 (45)  

 (131)  

 (186)  

 (510)  

 (247)  

 (93)  

 (133)  

 (187)  

 (66)  

 (96)  

 (589)  

 (69)  

 (58)  

 (48)  

 (324)  

 (136)  

 (78)  

 (59)  

 (77)  

 (390)  

 (87)  

 (125)  

 (233)  

 (92)  

 (73)  

 (78)  

 (86)  

 (52)  

 (74)  

 (198)  

 (48)  

 (79)  

 (118)  

 (48)  

 (45)  

 (65)  

 (109)  

 (58)  

 (578)  

 (172)  

 (518)  

 (167)  

 (80)  

 (102)  

 (581)  

 (810)  

 (87)  

 (133)  

 (69)  

 (411)  

 (57)  

BGM  (69)  

 (190)  

便  (109)  

 (115)  

 (68)  

 (58)  

 (112)  

 (48)  

 (98)  

 (97)  

 (80)  

 (71)  

 (265)  

 (92)  

 (112)  

 (102)  

 (127)  

 (210)  

 (60)  

 (46)  

 (120)  

 (59)  

 (70)  

 (90)  

 (80)  

 (110)  

 (47)  

 (368)  

 (110)  

 (55)  

 (263)  

 (137)  

 (90)  

 (112)  

 (50)  

 (56)  

 (183)  

 (162)  

 (104)  

 (209)  

 (47)  

 (48)  

 (72)  

 (1106)  

 (61)  

 (55)  

 (50)  

 (71)  

 (69)  

 (62)  

 (199)  

 (266)  

 (447)  

 (189)  

 (296)  

 (96)  

 (60)  

 (63)  

 (58)  

 (98)  

 (293)  

 (72)  

 (70)  

 (82)  

 (74)  

 (220)  

 (97)  

 (58)  

 (56)  

 (63)  

 (53)  

 (58)  

 (131)  

 (91)  

 (68)  

 (727)  

 (65)  

 (300)  

 (400)  

 (1195)  

 (122)  

 (46)  

 (59)  

 (88)  

 (211)  

 (159)  

 (68)  

 (370)  

 (48)  

 (167)  

 (48)  

 (156)  

 (297)  

 (55)  

 (54)  

 (103)  

 (54)  

 (156)  

 (239)  

 (256)  

 (238)  

 (53)  

 (151)  

 (48)  

 (267)  

 (64)  

 (48)  

 (193)  

 (144)  

調  (103)  

 (214)  

 (56)  

 (282)  

 (54)  

 (64)  

 (173)  

 (48)  

 (80)  

 (183)  

 (84)  

 (56)  

 (60)  

 (133)  

 (93)  

 (555)  

 (97)  

鹿  (99)  

 (59)  

 (48)  

 (363)  

neta  (2321)  

job  (1467)  

pc(1445)  

tips  (1306)  

stock  (1221)  

book  (1199)  

 (1195)  

 (1106)  

java  (1087)  

life  (837)  


 


 (7)



collection  

filter  

list  

perl  

ruby  

set  

sort  


 




apiarraykiyo_hiko (4)






class Array (Ruby 2.4.0)  



17 users  

docs.ruby-lang.org  


 


[edit] dynamic include: JSON::Generator::GeneratorMethods::Array (by json)   Ruby  使  [1, 2, 3]    [] new try_convert  & * + - << <=> == [] []= | all? any? append assoc at bsearch bsearch_index clear clone collect collect! combination compact compact! concat count cycle delete delete_at delete_if difference dig drop d
 



kiyo_hiko
kiyo_hiko  2016/02/17  
array-使  

ruby

api

set

array
 



 














Array#sort (Ruby 3.3 )  



7 users  

docs.ruby-lang.org  


 


sort -> Array[permalink][rdoc][edit] sort! -> self sort {|a, b| ... } -> Array sort! {|a, b| ... } -> self  <=> 使sort  sort!  self self  2 <=> 101 nil 
 



kiyo_hiko
kiyo_hiko  2015/11/11  
 

ruby

collection

api

array

list

sort
 



 














Array#filter (Ruby 3.3 )  



5 users  

docs.ruby-lang.org  


 


select -> Enumerator[permalink][rdoc][edit] filter -> Enumerator select {|item| ... } -> [object] filter {|item| ... } -> [object]   Enumerator   [1,2,3,4,5].select # => #<Enumerator: [1, 2, 3, 4, 5]:select> [1,2,3,4,5].select { |num| num.even? } # => [2, 4] [SEE_ALSO] Enumerable#select [SEE_ALSO] Array#select!
 



kiyo_hiko
kiyo_hiko  2015/11/11  
remove-if-notfilter // even_upto_10 = 1.upto(10).select { |n| n % 2 == 0 }  

ruby

collection

api

array

list

filter
 



 














Perl / (splice) :   



2 users  

blog.livedoor.jp/moya_pro  


 


splice 使 use strict; use warnings; my @arr1 = ('zero', 'one', 'two', 'three', 'four'); # @arr1 202 my @deleted1 = splice(@arr1, 2, 0, 2); print join(', ', @deleted1), "\n"; #  print join(', ', @arr1), "\n"; # zero, one, 2, two, three, four  use strict; use warnings; my @arr2 = ('zero', 'one', 'two', 'three', 'four'); # @arr2 2
 Perl で配列に要素を挿入/削除する (splice) : もやもやプログラミング


kiyo_hiko
kiyo_hiko  2014/05/08  
push, pop, shift, unshift  splice 使   

perl

array

list

api
 



 














1











202473

   



202472

   



20242-20244

   


 

Twitter



@HatenaBookmark


@hatebu

 









   




 



j

k

l

e

o
 

















 









 

















 









 









 







Pro



 




 






App Storeからダウンロード
Google Playで手に入れよう


Copyright © 2005-2024 Hatena. All Rights Reserved.
 



x