sakuric 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (407) hide show
  1. data/CHANGELOG +13 -0
  2. data/Gemfile +22 -0
  3. data/Gemfile.lock +60 -0
  4. data/HISTORY.yml +13 -0
  5. data/INSTALL +5 -0
  6. data/LICENSE +1 -0
  7. data/Makefile +19 -0
  8. data/Manifest +405 -0
  9. data/README.md +72 -0
  10. data/Rakefile +4 -0
  11. data/TODO +3 -0
  12. data/VERSION +1 -0
  13. data/bashrc +30 -0
  14. data/bashrc.d/00-functions.include +7 -0
  15. data/bashrc.d/01-sakura_checks.include +15 -0
  16. data/bashrc.d/02-uname.include +11 -0
  17. data/bashrc.d/80-ruby.include +4 -0
  18. data/bashrc.d/99-dirs.include +11 -0
  19. data/bashrc.d/aliases.include +20 -0
  20. data/bashrc.d/common.include +7 -0
  21. data/bashrc.d/local.d/README +1 -0
  22. data/bashrc.d/local.d/nothing.include +0 -0
  23. data/bashrc.d/uname.d/Darwin +6 -0
  24. data/bashrc.d/uname.d/Linux +0 -0
  25. data/bashrc.local.sample +11 -0
  26. data/bin/10 +7 -0
  27. data/bin/10times +7 -0
  28. data/bin/1every +22 -0
  29. data/bin/1everyN +22 -0
  30. data/bin/1suN +22 -0
  31. data/bin/2 +5 -0
  32. data/bin/act +24 -0
  33. data/bin/amarelo +2 -0
  34. data/bin/arancio +4 -0
  35. data/bin/arcobaleno +10 -0
  36. data/bin/bianco +3 -0
  37. data/bin/black +2 -0
  38. data/bin/brew-install +3 -0
  39. data/bin/cache +50 -0
  40. data/bin/cache3 +50 -0
  41. data/bin/cheorae +4 -0
  42. data/bin/colorastdouterr +37 -0
  43. data/bin/cp2desktop +3 -0
  44. data/bin/create-git-repo.sh +24 -0
  45. data/bin/csoe +37 -0
  46. data/bin/data +3 -0
  47. data/bin/derive +90 -0
  48. data/bin/dimmi +31 -0
  49. data/bin/dimmiora +4 -0
  50. data/bin/doppioni +48 -0
  51. data/bin/du- +9 -0
  52. data/bin/duplicates +48 -0
  53. data/bin/echodo +7 -0
  54. data/bin/ensure_line_present +82 -0
  55. data/bin/epoch2date +5 -0
  56. data/bin/fanout +100 -0
  57. data/bin/find-broken-symlink +26 -0
  58. data/bin/find-duplicates +48 -0
  59. data/bin/find-special-chars-within-filenames +12 -0
  60. data/bin/fix-terminal +5 -0
  61. data/bin/gce-create-centos-instance +5 -0
  62. data/bin/gce-create-custom-image +8 -0
  63. data/bin/gce-curl-get-instances-for-project +7 -0
  64. data/bin/gce-get-token +3 -0
  65. data/bin/gce-getproject-metadata +35 -0
  66. data/bin/gce-public-ip +4 -0
  67. data/bin/gcutil-fetch +36 -0
  68. data/bin/giallo +2 -0
  69. data/bin/git-clone-in-non-empty-dir +21 -0
  70. data/bin/git-ignore +3 -0
  71. data/bin/git-repos +98 -0
  72. data/bin/git-repos.py +99 -0
  73. data/bin/gitinfo +2 -0
  74. data/bin/google-spreadsheet-cat +40 -0
  75. data/bin/google_ips +5 -0
  76. data/bin/gray +3 -0
  77. data/bin/green +2 -0
  78. data/bin/grigio +3 -0
  79. data/bin/gsutil-debug-bucket +12 -0
  80. data/bin/gsutil-get-oauth2-token +4 -0
  81. data/bin/gugol-image +74 -0
  82. data/bin/hamachi-ubuntu-install +17 -0
  83. data/bin/head-1^-1 +5 -0
  84. data/bin/ifdownup +13 -0
  85. data/bin/immature/ok2 +25 -0
  86. data/bin/immature/twice-still-broken +9 -0
  87. data/bin/install-gic-repo +13 -0
  88. data/bin/install-sakura-on-debian-latest +6 -0
  89. data/bin/iphoto_big_files.sh +37 -0
  90. data/bin/itunes +140 -0
  91. data/bin/jason-xpath.rb +54 -0
  92. data/bin/jsawk +1128 -0
  93. data/bin/json-xpath.rb +54 -0
  94. data/bin/keepup +13 -0
  95. data/bin/lsof-top10 +3 -0
  96. data/bin/minicook +218 -0
  97. data/bin/mv2. +2 -0
  98. data/bin/mv2desktop +2 -0
  99. data/bin/mv2dropbox +2 -0
  100. data/bin/mv2here +2 -0
  101. data/bin/mvto +39 -0
  102. data/bin/nero +2 -0
  103. data/bin/never_as_root +18 -0
  104. data/bin/not +16 -0
  105. data/bin/ok +42 -0
  106. data/bin/orange +4 -0
  107. data/bin/pink +2 -0
  108. data/bin/polygen-dell +7 -0
  109. data/bin/polygen-heanet +6 -0
  110. data/bin/polygen-labs +4 -0
  111. data/bin/print_key_val +4 -0
  112. data/bin/rainbow +10 -0
  113. data/bin/recipe +19 -0
  114. data/bin/red +2 -0
  115. data/bin/remember-command +140 -0
  116. data/bin/remember-command.rb +140 -0
  117. data/bin/richelp +99 -0
  118. data/bin/ricorda-comando +140 -0
  119. data/bin/rosa +2 -0
  120. data/bin/rosso +2 -0
  121. data/bin/run-parts.sh +50 -0
  122. data/bin/sakura-check-version +48 -0
  123. data/bin/sakura-init.DRAFT +5 -0
  124. data/bin/sakura-version +2 -0
  125. data/bin/sano +5 -0
  126. data/bin/sbianca +3 -0
  127. data/bin/sblua +2 -0
  128. data/bin/setterm-reset +5 -0
  129. data/bin/sgialla +2 -0
  130. data/bin/sgrigia +2 -0
  131. data/bin/split +37 -0
  132. data/bin/split.rb +37 -0
  133. data/bin/srosa +1 -0
  134. data/bin/srossa +2 -0
  135. data/bin/strip-white-spaces +2 -0
  136. data/bin/stty-sane +5 -0
  137. data/bin/sudo^-1 +18 -0
  138. data/bin/sverda +6 -0
  139. data/bin/swift-saio-install.sh +336 -0
  140. data/bin/synergyc +0 -0
  141. data/bin/synergys +0 -0
  142. data/bin/syracuse.pl +29 -0
  143. data/bin/tail-n+2 +5 -0
  144. data/bin/tellme +31 -0
  145. data/bin/tellme-time +4 -0
  146. data/bin/timeout3 +91 -0
  147. data/bin/top5 +4 -0
  148. data/bin/trim +4 -0
  149. data/bin/trova-broken-symlink +26 -0
  150. data/bin/twice +5 -0
  151. data/bin/twice.rb +5 -0
  152. data/bin/ubuntu-install-hamachi64 +17 -0
  153. data/bin/ultimo +5 -0
  154. data/bin/upload.py +2380 -0
  155. data/bin/usleep +0 -0
  156. data/bin/varia +90 -0
  157. data/bin/verde +2 -0
  158. data/bin/vermelho +2 -0
  159. data/bin/vim-whereveritis +5 -0
  160. data/bin/viola +1 -0
  161. data/bin/virsh-list-all-vms.py +21 -0
  162. data/bin/virtualbox-manage +41 -0
  163. data/bin/weekend +12 -0
  164. data/bin/whattimeisit +4 -0
  165. data/bin/whereis-ip +5 -0
  166. data/bin/white +3 -0
  167. data/bin/whitefy +3 -0
  168. data/bin/yellow +2 -0
  169. data/bin/yellowfy +2 -0
  170. data/bin/zombies +25 -0
  171. data/docz/polygen/dell.grm +100 -0
  172. data/docz/polygen/frati.grm +85 -0
  173. data/docz/polygen/heanet.grm +54 -0
  174. data/docz/richelp/gcompute.yml +52 -0
  175. data/docz/richelp/gcutil.yml +52 -0
  176. data/docz/richelp/gmail.yml +2 -0
  177. data/docz/richelp/ruby.yml +81 -0
  178. data/docz/richelp/sakura.yml +20 -0
  179. data/docz/richelp/sql.yml +12 -0
  180. data/docz/richelp/ubuntu.yml +22 -0
  181. data/docz/richelp/yaml.yml +39 -0
  182. data/docz/richelp/yml.yml +39 -0
  183. data/etc/sakura/devel.yml +36 -0
  184. data/etc/synergy.conf.example +37 -0
  185. data/images/color-sample.png +0 -0
  186. data/images/google.jpg +0 -0
  187. data/images/icons/toilet.png +0 -0
  188. data/images/sakura.jpg +0 -0
  189. data/images/sakura2.jpg +0 -0
  190. data/init.rb +5 -0
  191. data/lib/classes/arrays.rb +246 -0
  192. data/lib/classes/debug_ric.rb +196 -0
  193. data/lib/classes/fake_data.rb +8 -0
  194. data/lib/classes/ric_debug.rb +0 -0
  195. data/lib/classes/ricconf.rb +110 -0
  196. data/lib/classes/richelp.rb +70 -0
  197. data/lib/classes/strings.rb +284 -0
  198. data/lib/facter/google_compute_engine.rb +10 -0
  199. data/lib/recipes/20120411-puppet-rump-palladius.recipe +2 -0
  200. data/lib/recipes/20120726-skype.ubuntu.recipe +16 -0
  201. data/lib/recipes/20130206-puppet3.ubuntu.recipe +32 -0
  202. data/lib/recipes/20130206-redis.linux.recipe +17 -0
  203. data/lib/recipes/20130208-vanilla.linux.recipe +37 -0
  204. data/lib/recipes/Makefile +4 -0
  205. data/lib/recipes/README.md +29 -0
  206. data/lib/recipes/scripts/redis.sh +14 -0
  207. data/lib/ric.rb +156 -0
  208. data/lib/ric_colors.rb +313 -0
  209. data/lib/ric_strings.rb +285 -0
  210. data/lib/sonice-players/itunes_mac.rb +43 -0
  211. data/lib/sonice-players/itunes_win.rb +47 -0
  212. data/lib/sonice-players/mpd.rb +45 -0
  213. data/lib/sonice-players/rhythmbox.rb +38 -0
  214. data/profile +1 -0
  215. data/sakuric.gemspec +40 -0
  216. data/sbin/install-sakura-on-debian +25 -0
  217. data/sbin/make-install.sh +10 -0
  218. data/sbin/mate-createsymlink +4 -0
  219. data/sounds/0.ogg +0 -0
  220. data/sounds/0.wav +0 -0
  221. data/sounds/01.ogg +0 -0
  222. data/sounds/02.ogg +0 -0
  223. data/sounds/03.ogg +0 -0
  224. data/sounds/08.ogg +0 -0
  225. data/sounds/09.ogg +0 -0
  226. data/sounds/1.ogg +0 -0
  227. data/sounds/1.wav +0 -0
  228. data/sounds/10.ogg +0 -0
  229. data/sounds/100.ogg +0 -0
  230. data/sounds/11.ogg +0 -0
  231. data/sounds/12.ogg +0 -0
  232. data/sounds/13.ogg +0 -0
  233. data/sounds/14.ogg +0 -0
  234. data/sounds/15.ogg +0 -0
  235. data/sounds/16.ogg +0 -0
  236. data/sounds/17.ogg +0 -0
  237. data/sounds/18.ogg +0 -0
  238. data/sounds/19.ogg +0 -0
  239. data/sounds/2.ogg +0 -0
  240. data/sounds/2.wav +0 -0
  241. data/sounds/20.ogg +0 -0
  242. data/sounds/21.ogg +0 -0
  243. data/sounds/22.ogg +0 -0
  244. data/sounds/23.ogg +0 -0
  245. data/sounds/24.ogg +0 -0
  246. data/sounds/26.ogg +0 -0
  247. data/sounds/3.ogg +0 -0
  248. data/sounds/3.wav +0 -0
  249. data/sounds/30.ogg +0 -0
  250. data/sounds/34.ogg +0 -0
  251. data/sounds/4.ogg +0 -0
  252. data/sounds/4.wav +0 -0
  253. data/sounds/40.ogg +0 -0
  254. data/sounds/42.ogg +0 -0
  255. data/sounds/45.ogg +0 -0
  256. data/sounds/47.ogg +0 -0
  257. data/sounds/5.ogg +0 -0
  258. data/sounds/5.wav +0 -0
  259. data/sounds/50.ogg +0 -0
  260. data/sounds/6.ogg +0 -0
  261. data/sounds/6.wav +0 -0
  262. data/sounds/60.ogg +0 -0
  263. data/sounds/7.ogg +0 -0
  264. data/sounds/7.wav +0 -0
  265. data/sounds/70.ogg +0 -0
  266. data/sounds/8.ogg +0 -0
  267. data/sounds/8.wav +0 -0
  268. data/sounds/80.ogg +0 -0
  269. data/sounds/9.ogg +0 -0
  270. data/sounds/9.wav +0 -0
  271. data/sounds/90.ogg +0 -0
  272. data/sounds/a.ogg +0 -0
  273. data/sounds/aaahhh.ogg +0 -0
  274. data/sounds/abologna.ogg +0 -0
  275. data/sounds/adargenta.ogg +0 -0
  276. data/sounds/alzatiecammina.ogg +0 -0
  277. data/sounds/apache.ogg +0 -0
  278. data/sounds/attenzione.ogg +0 -0
  279. data/sounds/awesome.m4a +0 -0
  280. data/sounds/bazinga.mp3 +0 -0
  281. data/sounds/bazinga.ogg +0 -0
  282. data/sounds/bela regaz.wav +0 -0
  283. data/sounds/benvenuti.wav +0 -0
  284. data/sounds/benvenuti2.wav +0 -0
  285. data/sounds/bergonz.ogg +0 -0
  286. data/sounds/boh.ogg +0 -0
  287. data/sounds/buahah.ogg +0 -0
  288. data/sounds/buonasera.ogg +0 -0
  289. data/sounds/buongiorno.ogg +0 -0
  290. data/sounds/burp.ogg +0 -0
  291. data/sounds/carlo.ogg +0 -0
  292. data/sounds/cena.ogg +0 -0
  293. data/sounds/che figata.m4a +0 -0
  294. data/sounds/che figlio di puttana.m4a +0 -0
  295. data/sounds/che.ogg +0 -0
  296. data/sounds/ciao.ogg +0 -0
  297. data/sounds/ciao.wav +0 -0
  298. data/sounds/da.ogg +0 -0
  299. data/sounds/davide.ogg +0 -0
  300. data/sounds/demone.ogg +0 -0
  301. data/sounds/dhcp.ogg +0 -0
  302. data/sounds/dinuovo.ogg +0 -0
  303. data/sounds/dns.ogg +0 -0
  304. data/sounds/dopo.ogg +0 -0
  305. data/sounds/e'.ogg +0 -0
  306. data/sounds/eattivo.ogg +0 -0
  307. data/sounds/ee.ogg +0 -0
  308. data/sounds/ehi.ogg +0 -0
  309. data/sounds/eoragiu.ogg +0 -0
  310. data/sounds/eorasu.ogg +0 -0
  311. data/sounds/eripartita.ogg +0 -0
  312. data/sounds/estato.ogg +0 -0
  313. data/sounds/estatoriavviato.ogg +0 -0
  314. data/sounds/fratro.ogg +0 -0
  315. data/sounds/frozenbubble.ogg +0 -0
  316. data/sounds/funziona.ogg +0 -0
  317. data/sounds/go raibh mile maith agaibh.m4a +0 -0
  318. data/sounds/grazie.ogg +0 -0
  319. data/sounds/h1.ogg +0 -0
  320. data/sounds/hainuovaposta.ogg +0 -0
  321. data/sounds/hogiamangiato.ogg +0 -0
  322. data/sounds/host.ogg +0 -0
  323. data/sounds/il.ogg +0 -0
  324. data/sounds/ilcomputer.ogg +0 -0
  325. data/sounds/ilnumerodaleiselezionatoe.ogg +0 -0
  326. data/sounds/ilprocesso.ogg +0 -0
  327. data/sounds/ilprogramma.ogg +0 -0
  328. data/sounds/ilservizio.ogg +0 -0
  329. data/sounds/imap.ogg +0 -0
  330. data/sounds/imieisuperpoterimidiconoche.ogg +0 -0
  331. data/sounds/infunzione.ogg +0 -0
  332. data/sounds/inpunto.ogg +0 -0
  333. data/sounds/ipmon.ogg +0 -0
  334. data/sounds/laconnessioneadinternet.ogg +0 -0
  335. data/sounds/lastampante.ogg +0 -0
  336. data/sounds/lazzaron.ogg +0 -0
  337. data/sounds/ldap.ogg +0 -0
  338. data/sounds/linterfaccia.ogg +0 -0
  339. data/sounds/lucilla.ogg +0 -0
  340. data/sounds/ma vaffanculo.m4a +0 -0
  341. data/sounds/majjal.wav +0 -0
  342. data/sounds/mamma.ogg +0 -0
  343. data/sounds/mauro.ogg +0 -0
  344. data/sounds/max.ogg +0 -0
  345. data/sounds/meerda.wav +0 -0
  346. data/sounds/meno.ogg +0 -0
  347. data/sounds/merda clo.wav +0 -0
  348. data/sounds/mezza.ogg +0 -0
  349. data/sounds/mila.ogg +0 -0
  350. data/sounds/mille.ogg +0 -0
  351. data/sounds/minuti.ogg +0 -0
  352. data/sounds/named.ogg +0 -0
  353. data/sounds/no.ogg +0 -0
  354. data/sounds/nohofame.ogg +0 -0
  355. data/sounds/nonfunziona.ogg +0 -0
  356. data/sounds/nonriescoatrovare.ogg +0 -0
  357. data/sounds/nonsarebbeoradilavorare.ogg +0 -0
  358. data/sounds/nonstalavorando.ogg +0 -0
  359. data/sounds/numero.wav +0 -0
  360. data/sounds/ooohhh.ogg +0 -0
  361. data/sounds/pinger.ogg +0 -0
  362. data/sounds/pocofa.ogg +0 -0
  363. data/sounds/pop3.ogg +0 -0
  364. data/sounds/porca puttana.m4a +0 -0
  365. data/sounds/porcapupazza.ogg +0 -0
  366. data/sounds/ppp.ogg +0 -0
  367. data/sounds/pranzo.ogg +0 -0
  368. data/sounds/prego.ogg +0 -0
  369. data/sounds/prima.ogg +0 -0
  370. data/sounds/qualcosamidice.ogg +0 -0
  371. data/sounds/raggiungibile.ogg +0 -0
  372. data/sounds/riccardo.ogg +0 -0
  373. data/sounds/salsa ridge.wav +0 -0
  374. data/sounds/scusa.ogg +0 -0
  375. data/sounds/seriously man.m4a +0 -0
  376. data/sounds/si.ogg +0 -0
  377. data/sounds/sito porno con sonoro.wav +0 -0
  378. data/sounds/socmel.wav +0 -0
  379. data/sounds/sono.ogg +0 -0
  380. data/sounds/sonoacasa.ogg +0 -0
  381. data/sounds/sonole.ogg +0 -0
  382. data/sounds/sputo.ogg +0 -0
  383. data/sounds/ssh.ogg +0 -0
  384. data/sounds/stagiocando.ogg +0 -0
  385. data/sounds/statospento.ogg +0 -0
  386. data/sounds/stopaiodipalle.ogg +0 -0
  387. data/sounds/thesedicks.wav +0 -0
  388. data/sounds/tornatosu.ogg +0 -0
  389. data/sounds/trapoco.ogg +0 -0
  390. data/sounds/trequarti.ogg +0 -0
  391. data/sounds/tutti.ogg +0 -0
  392. data/sounds/una.ogg +0 -0
  393. data/sounds/unquarto.ogg +0 -0
  394. data/sounds/virgola.ogg +0 -0
  395. data/sources/c/usleep.c +50 -0
  396. data/spec/my_first_spec.rb +6 -0
  397. data/tasks/sakuric-gem.rake +21 -0
  398. data/tasks/testing.rake +15 -0
  399. data/templates/bashrc.inject +10 -0
  400. data/templates/happy_christmas.ascii_art +5 -0
  401. data/test/roodi.sh +10 -0
  402. data/test/test_mini_failing.rb +3 -0
  403. data/test/test_mini_ok.rb +3 -0
  404. data/test/test_ruby_syntax.sh +12 -0
  405. data/third-party/jsawk/README.markdown +437 -0
  406. data/third-party/jsawk/jsawk +1128 -0
  407. metadata +835 -0
data/profile ADDED
@@ -0,0 +1 @@
1
+ # TODO put ~/.profile addons..
@@ -0,0 +1,40 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = "sakuric"
5
+ s.version = "2.0.1"
6
+
7
+ s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
+ s.authors = ["Riccardo Carlesso"]
9
+ s.date = "2013-02-17"
10
+ s.description = "My SAKURA gem with various utilities. This is my swiss-army knife for Linux and Mac. See README.md for amazing examples"
11
+ s.email = "['p','ll','diusbonton].join('a') @ gmail.com"
12
+ s.executables = ["10", "10times", "1every", "1everyN", "1suN", "2", "act", "amarelo", "arancio", "arcobaleno", "bianco", "black", "brew-install", "cache", "cache3", "cheorae", "colorastdouterr", "cp2desktop", "create-git-repo.sh", "csoe", "data", "derive", "dimmi", "dimmiora", "doppioni", "du-", "duplicates", "echodo", "ensure_line_present", "epoch2date", "fanout", "find-broken-symlink", "find-duplicates", "find-special-chars-within-filenames", "fix-terminal", "gce-create-centos-instance", "gce-create-custom-image", "gce-curl-get-instances-for-project", "gce-get-token", "gce-getproject-metadata", "gce-public-ip", "gcutil-fetch", "giallo", "git-clone-in-non-empty-dir", "git-ignore", "git-repos", "git-repos.py", "gitinfo", "google-spreadsheet-cat", "google_ips", "gray", "green", "grigio", "gsutil-debug-bucket", "gsutil-get-oauth2-token", "gugol-image", "hamachi-ubuntu-install", "head-1^-1", "ifdownup", "immature/ok2", "immature/twice-still-broken", "install-gic-repo", "install-sakura-on-debian-latest", "iphoto_big_files.sh", "itunes", "jason-xpath.rb", "jsawk", "json-xpath.rb", "keepup", "lsof-top10", "minicook", "mv2.", "mv2desktop", "mv2dropbox", "mv2here", "mvto", "nero", "never_as_root", "not", "ok", "orange", "pink", "polygen-dell", "polygen-heanet", "polygen-labs", "print_key_val", "rainbow", "recipe", "red", "remember-command", "remember-command.rb", "richelp", "ricorda-comando", "rosa", "rosso", "run-parts.sh", "sakura-check-version", "sakura-init.DRAFT", "sakura-version", "sano", "sbianca", "sblua", "setterm-reset", "sgialla", "sgrigia", "split", "split.rb", "srosa", "srossa", "strip-white-spaces", "stty-sane", "sudo^-1", "sverda", "swift-saio-install.sh", "synergyc", "synergys", "syracuse.pl", "tail-n+2", "tellme", "tellme-time", "timeout3", "top5", "trim", "trova-broken-symlink", "twice", "twice.rb", "ubuntu-install-hamachi64", "ultimo", "upload.py", "usleep", "varia", "verde", "vermelho", "vim-whereveritis", "viola", "virsh-list-all-vms.py", "virtualbox-manage", "weekend", "whattimeisit", "whereis-ip", "white", "whitefy", "yellow", "yellowfy", "zombies"]
13
+ s.extra_rdoc_files = ["CHANGELOG", "LICENSE", "README.md", "TODO", "bin/10", "bin/10times", "bin/1every", "bin/1everyN", "bin/1suN", "bin/2", "bin/act", "bin/amarelo", "bin/arancio", "bin/arcobaleno", "bin/bianco", "bin/black", "bin/brew-install", "bin/cache", "bin/cache3", "bin/cheorae", "bin/colorastdouterr", "bin/cp2desktop", "bin/create-git-repo.sh", "bin/csoe", "bin/data", "bin/derive", "bin/dimmi", "bin/dimmiora", "bin/doppioni", "bin/du-", "bin/duplicates", "bin/echodo", "bin/ensure_line_present", "bin/epoch2date", "bin/fanout", "bin/find-broken-symlink", "bin/find-duplicates", "bin/find-special-chars-within-filenames", "bin/fix-terminal", "bin/gce-create-centos-instance", "bin/gce-create-custom-image", "bin/gce-curl-get-instances-for-project", "bin/gce-get-token", "bin/gce-getproject-metadata", "bin/gce-public-ip", "bin/gcutil-fetch", "bin/giallo", "bin/git-clone-in-non-empty-dir", "bin/git-ignore", "bin/git-repos", "bin/git-repos.py", "bin/gitinfo", "bin/google-spreadsheet-cat", "bin/google_ips", "bin/gray", "bin/green", "bin/grigio", "bin/gsutil-debug-bucket", "bin/gsutil-get-oauth2-token", "bin/gugol-image", "bin/hamachi-ubuntu-install", "bin/head-1^-1", "bin/ifdownup", "bin/immature/ok2", "bin/immature/twice-still-broken", "bin/install-gic-repo", "bin/install-sakura-on-debian-latest", "bin/iphoto_big_files.sh", "bin/itunes", "bin/jason-xpath.rb", "bin/jsawk", "bin/json-xpath.rb", "bin/keepup", "bin/lsof-top10", "bin/minicook", "bin/mv2.", "bin/mv2desktop", "bin/mv2dropbox", "bin/mv2here", "bin/mvto", "bin/nero", "bin/never_as_root", "bin/not", "bin/ok", "bin/orange", "bin/pink", "bin/polygen-dell", "bin/polygen-heanet", "bin/polygen-labs", "bin/print_key_val", "bin/rainbow", "bin/recipe", "bin/red", "bin/remember-command", "bin/remember-command.rb", "bin/richelp", "bin/ricorda-comando", "bin/rosa", "bin/rosso", "bin/run-parts.sh", "bin/sakura-check-version", "bin/sakura-init.DRAFT", "bin/sakura-version", "bin/sano", "bin/sbianca", "bin/sblua", "bin/setterm-reset", "bin/sgialla", "bin/sgrigia", "bin/split", "bin/split.rb", "bin/srosa", "bin/srossa", "bin/strip-white-spaces", "bin/stty-sane", "bin/sudo^-1", "bin/sverda", "bin/swift-saio-install.sh", "bin/synergyc", "bin/synergys", "bin/syracuse.pl", "bin/tail-n+2", "bin/tellme", "bin/tellme-time", "bin/timeout3", "bin/top5", "bin/trim", "bin/trova-broken-symlink", "bin/twice", "bin/twice.rb", "bin/ubuntu-install-hamachi64", "bin/ultimo", "bin/upload.py", "bin/usleep", "bin/varia", "bin/verde", "bin/vermelho", "bin/vim-whereveritis", "bin/viola", "bin/virsh-list-all-vms.py", "bin/virtualbox-manage", "bin/weekend", "bin/whattimeisit", "bin/whereis-ip", "bin/white", "bin/whitefy", "bin/yellow", "bin/yellowfy", "bin/zombies", "lib/classes/arrays.rb", "lib/classes/debug_ric.rb", "lib/classes/fake_data.rb", "lib/classes/ric_debug.rb", "lib/classes/ricconf.rb", "lib/classes/richelp.rb", "lib/classes/strings.rb", "lib/facter/google_compute_engine.rb", "lib/recipes/20120411-puppet-rump-palladius.recipe", "lib/recipes/20120726-skype.ubuntu.recipe", "lib/recipes/20130206-puppet3.ubuntu.recipe", "lib/recipes/20130206-redis.linux.recipe", "lib/recipes/20130208-vanilla.linux.recipe", "lib/recipes/Makefile", "lib/recipes/README.md", "lib/recipes/scripts/redis.sh", "lib/ric.rb", "lib/ric_colors.rb", "lib/ric_strings.rb", "lib/sonice-players/itunes_mac.rb", "lib/sonice-players/itunes_win.rb", "lib/sonice-players/mpd.rb", "lib/sonice-players/rhythmbox.rb", "tasks/sakuric-gem.rake", "tasks/testing.rake"]
14
+ s.files = ["CHANGELOG", "Gemfile", "Gemfile.lock", "HISTORY.yml", "INSTALL", "LICENSE", "Makefile", "Manifest", "README.md", "Rakefile", "TODO", "VERSION", "bashrc", "bashrc.d/00-functions.include", "bashrc.d/01-sakura_checks.include", "bashrc.d/02-uname.include", "bashrc.d/80-ruby.include", "bashrc.d/99-dirs.include", "bashrc.d/aliases.include", "bashrc.d/common.include", "bashrc.d/local.d/README", "bashrc.d/local.d/nothing.include", "bashrc.d/uname.d/Darwin", "bashrc.d/uname.d/Linux", "bashrc.local.sample", "bin/10", "bin/10times", "bin/1every", "bin/1everyN", "bin/1suN", "bin/2", "bin/act", "bin/amarelo", "bin/arancio", "bin/arcobaleno", "bin/bianco", "bin/black", "bin/brew-install", "bin/cache", "bin/cache3", "bin/cheorae", "bin/colorastdouterr", "bin/cp2desktop", "bin/create-git-repo.sh", "bin/csoe", "bin/data", "bin/derive", "bin/dimmi", "bin/dimmiora", "bin/doppioni", "bin/du-", "bin/duplicates", "bin/echodo", "bin/ensure_line_present", "bin/epoch2date", "bin/fanout", "bin/find-broken-symlink", "bin/find-duplicates", "bin/find-special-chars-within-filenames", "bin/fix-terminal", "bin/gce-create-centos-instance", "bin/gce-create-custom-image", "bin/gce-curl-get-instances-for-project", "bin/gce-get-token", "bin/gce-getproject-metadata", "bin/gce-public-ip", "bin/gcutil-fetch", "bin/giallo", "bin/git-clone-in-non-empty-dir", "bin/git-ignore", "bin/git-repos", "bin/git-repos.py", "bin/gitinfo", "bin/google-spreadsheet-cat", "bin/google_ips", "bin/gray", "bin/green", "bin/grigio", "bin/gsutil-debug-bucket", "bin/gsutil-get-oauth2-token", "bin/gugol-image", "bin/hamachi-ubuntu-install", "bin/head-1^-1", "bin/ifdownup", "bin/immature/ok2", "bin/immature/twice-still-broken", "bin/install-gic-repo", "bin/install-sakura-on-debian-latest", "bin/iphoto_big_files.sh", "bin/itunes", "bin/jason-xpath.rb", "bin/jsawk", "bin/json-xpath.rb", "bin/keepup", "bin/lsof-top10", "bin/minicook", "bin/mv2.", "bin/mv2desktop", "bin/mv2dropbox", "bin/mv2here", "bin/mvto", "bin/nero", "bin/never_as_root", "bin/not", "bin/ok", "bin/orange", "bin/pink", "bin/polygen-dell", "bin/polygen-heanet", "bin/polygen-labs", "bin/print_key_val", "bin/rainbow", "bin/recipe", "bin/red", "bin/remember-command", "bin/remember-command.rb", "bin/richelp", "bin/ricorda-comando", "bin/rosa", "bin/rosso", "bin/run-parts.sh", "bin/sakura-check-version", "bin/sakura-init.DRAFT", "bin/sakura-version", "bin/sano", "bin/sbianca", "bin/sblua", "bin/setterm-reset", "bin/sgialla", "bin/sgrigia", "bin/split", "bin/split.rb", "bin/srosa", "bin/srossa", "bin/strip-white-spaces", "bin/stty-sane", "bin/sudo^-1", "bin/sverda", "bin/swift-saio-install.sh", "bin/synergyc", "bin/synergys", "bin/syracuse.pl", "bin/tail-n+2", "bin/tellme", "bin/tellme-time", "bin/timeout3", "bin/top5", "bin/trim", "bin/trova-broken-symlink", "bin/twice", "bin/twice.rb", "bin/ubuntu-install-hamachi64", "bin/ultimo", "bin/upload.py", "bin/usleep", "bin/varia", "bin/verde", "bin/vermelho", "bin/vim-whereveritis", "bin/viola", "bin/virsh-list-all-vms.py", "bin/virtualbox-manage", "bin/weekend", "bin/whattimeisit", "bin/whereis-ip", "bin/white", "bin/whitefy", "bin/yellow", "bin/yellowfy", "bin/zombies", "docz/polygen/dell.grm", "docz/polygen/frati.grm", "docz/polygen/heanet.grm", "docz/richelp/gcompute.yml", "docz/richelp/gcutil.yml", "docz/richelp/gmail.yml", "docz/richelp/ruby.yml", "docz/richelp/sakura.yml", "docz/richelp/sql.yml", "docz/richelp/ubuntu.yml", "docz/richelp/yaml.yml", "docz/richelp/yml.yml", "etc/sakura/devel.yml", "etc/synergy.conf.example", "images/color-sample.png", "images/google.jpg", "images/icons/toilet.png", "images/sakura.jpg", "images/sakura2.jpg", "init.rb", "lib/classes/arrays.rb", "lib/classes/debug_ric.rb", "lib/classes/fake_data.rb", "lib/classes/ric_debug.rb", "lib/classes/ricconf.rb", "lib/classes/richelp.rb", "lib/classes/strings.rb", "lib/facter/google_compute_engine.rb", "lib/recipes/20120411-puppet-rump-palladius.recipe", "lib/recipes/20120726-skype.ubuntu.recipe", "lib/recipes/20130206-puppet3.ubuntu.recipe", "lib/recipes/20130206-redis.linux.recipe", "lib/recipes/20130208-vanilla.linux.recipe", "lib/recipes/Makefile", "lib/recipes/README.md", "lib/recipes/scripts/redis.sh", "lib/ric.rb", "lib/ric_colors.rb", "lib/ric_strings.rb", "lib/sonice-players/itunes_mac.rb", "lib/sonice-players/itunes_win.rb", "lib/sonice-players/mpd.rb", "lib/sonice-players/rhythmbox.rb", "profile", "sbin/install-sakura-on-debian", "sbin/make-install.sh", "sbin/mate-createsymlink", "sounds/0.ogg", "sounds/0.wav", "sounds/01.ogg", "sounds/02.ogg", "sounds/03.ogg", "sounds/08.ogg", "sounds/09.ogg", "sounds/1.ogg", "sounds/1.wav", "sounds/10.ogg", "sounds/100.ogg", "sounds/11.ogg", "sounds/12.ogg", "sounds/13.ogg", "sounds/14.ogg", "sounds/15.ogg", "sounds/16.ogg", "sounds/17.ogg", "sounds/18.ogg", "sounds/19.ogg", "sounds/2.ogg", "sounds/2.wav", "sounds/20.ogg", "sounds/21.ogg", "sounds/22.ogg", "sounds/23.ogg", "sounds/24.ogg", "sounds/26.ogg", "sounds/3.ogg", "sounds/3.wav", "sounds/30.ogg", "sounds/34.ogg", "sounds/4.ogg", "sounds/4.wav", "sounds/40.ogg", "sounds/42.ogg", "sounds/45.ogg", "sounds/47.ogg", "sounds/5.ogg", "sounds/5.wav", "sounds/50.ogg", "sounds/6.ogg", "sounds/6.wav", "sounds/60.ogg", "sounds/7.ogg", "sounds/7.wav", "sounds/70.ogg", "sounds/8.ogg", "sounds/8.wav", "sounds/80.ogg", "sounds/9.ogg", "sounds/9.wav", "sounds/90.ogg", "sounds/a.ogg", "sounds/aaahhh.ogg", "sounds/abologna.ogg", "sounds/adargenta.ogg", "sounds/alzatiecammina.ogg", "sounds/apache.ogg", "sounds/attenzione.ogg", "sounds/awesome.m4a", "sounds/bazinga.mp3", "sounds/bazinga.ogg", "sounds/bela regaz.wav", "sounds/benvenuti.wav", "sounds/benvenuti2.wav", "sounds/bergonz.ogg", "sounds/boh.ogg", "sounds/buahah.ogg", "sounds/buonasera.ogg", "sounds/buongiorno.ogg", "sounds/burp.ogg", "sounds/carlo.ogg", "sounds/cena.ogg", "sounds/che figata.m4a", "sounds/che figlio di puttana.m4a", "sounds/che.ogg", "sounds/ciao.ogg", "sounds/ciao.wav", "sounds/da.ogg", "sounds/davide.ogg", "sounds/demone.ogg", "sounds/dhcp.ogg", "sounds/dinuovo.ogg", "sounds/dns.ogg", "sounds/dopo.ogg", "sounds/e'.ogg", "sounds/eattivo.ogg", "sounds/ee.ogg", "sounds/ehi.ogg", "sounds/eoragiu.ogg", "sounds/eorasu.ogg", "sounds/eripartita.ogg", "sounds/estato.ogg", "sounds/estatoriavviato.ogg", "sounds/fratro.ogg", "sounds/frozenbubble.ogg", "sounds/funziona.ogg", "sounds/go raibh mile maith agaibh.m4a", "sounds/grazie.ogg", "sounds/h1.ogg", "sounds/hainuovaposta.ogg", "sounds/hogiamangiato.ogg", "sounds/host.ogg", "sounds/il.ogg", "sounds/ilcomputer.ogg", "sounds/ilnumerodaleiselezionatoe.ogg", "sounds/ilprocesso.ogg", "sounds/ilprogramma.ogg", "sounds/ilservizio.ogg", "sounds/imap.ogg", "sounds/imieisuperpoterimidiconoche.ogg", "sounds/infunzione.ogg", "sounds/inpunto.ogg", "sounds/ipmon.ogg", "sounds/laconnessioneadinternet.ogg", "sounds/lastampante.ogg", "sounds/lazzaron.ogg", "sounds/ldap.ogg", "sounds/linterfaccia.ogg", "sounds/lucilla.ogg", "sounds/ma vaffanculo.m4a", "sounds/majjal.wav", "sounds/mamma.ogg", "sounds/mauro.ogg", "sounds/max.ogg", "sounds/meerda.wav", "sounds/meno.ogg", "sounds/merda clo.wav", "sounds/mezza.ogg", "sounds/mila.ogg", "sounds/mille.ogg", "sounds/minuti.ogg", "sounds/named.ogg", "sounds/no.ogg", "sounds/nohofame.ogg", "sounds/nonfunziona.ogg", "sounds/nonriescoatrovare.ogg", "sounds/nonsarebbeoradilavorare.ogg", "sounds/nonstalavorando.ogg", "sounds/numero.wav", "sounds/ooohhh.ogg", "sounds/pinger.ogg", "sounds/pocofa.ogg", "sounds/pop3.ogg", "sounds/porca puttana.m4a", "sounds/porcapupazza.ogg", "sounds/ppp.ogg", "sounds/pranzo.ogg", "sounds/prego.ogg", "sounds/prima.ogg", "sounds/qualcosamidice.ogg", "sounds/raggiungibile.ogg", "sounds/riccardo.ogg", "sounds/salsa ridge.wav", "sounds/scusa.ogg", "sounds/seriously man.m4a", "sounds/si.ogg", "sounds/sito porno con sonoro.wav", "sounds/socmel.wav", "sounds/sono.ogg", "sounds/sonoacasa.ogg", "sounds/sonole.ogg", "sounds/sputo.ogg", "sounds/ssh.ogg", "sounds/stagiocando.ogg", "sounds/statospento.ogg", "sounds/stopaiodipalle.ogg", "sounds/thesedicks.wav", "sounds/tornatosu.ogg", "sounds/trapoco.ogg", "sounds/trequarti.ogg", "sounds/tutti.ogg", "sounds/una.ogg", "sounds/unquarto.ogg", "sounds/virgola.ogg", "sources/c/usleep.c", "spec/my_first_spec.rb", "tasks/sakuric-gem.rake", "tasks/testing.rake", "templates/bashrc.inject", "templates/happy_christmas.ascii_art", "test/roodi.sh", "test/test_mini_failing.rb", "test/test_mini_ok.rb", "test/test_ruby_syntax.sh", "third-party/jsawk/README.markdown", "third-party/jsawk/jsawk", "sakuric.gemspec"]
15
+ s.homepage = "http://github.com/palladius/sakura"
16
+ s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Sakuric", "--main", "README.md"]
17
+ s.require_paths = ["lib"]
18
+ s.rubyforge_project = "sakuric"
19
+ s.rubygems_version = "1.8.18"
20
+ s.summary = "My SAKURA gem with various utilities. This is my swiss-army knife for Linux and Mac. See README.md for amazing examples"
21
+ s.test_files = ["test/test_mini_failing.rb", "test/test_mini_ok.rb"]
22
+
23
+ if s.respond_to? :specification_version then
24
+ s.specification_version = 3
25
+
26
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
27
+ s.add_runtime_dependency(%q<ric>, [">= 0"])
28
+ s.add_development_dependency(%q<ric>, [">= 0"])
29
+ s.add_development_dependency(%q<echoe>, [">= 0"])
30
+ else
31
+ s.add_dependency(%q<ric>, [">= 0"])
32
+ s.add_dependency(%q<ric>, [">= 0"])
33
+ s.add_dependency(%q<echoe>, [">= 0"])
34
+ end
35
+ else
36
+ s.add_dependency(%q<ric>, [">= 0"])
37
+ s.add_dependency(%q<ric>, [">= 0"])
38
+ s.add_dependency(%q<echoe>, [">= 0"])
39
+ end
40
+ end
@@ -0,0 +1,25 @@
1
+ #!/bin/bash
2
+
3
+ # nothing can fail
4
+ set -e
5
+
6
+ VER=1.6
7
+ PKGS='vim polygen cowsay ruby1.8-dev ruby1.8 ri1.8 rdoc1.8 irb1.8 rake rubygems libxml2 libxml2-dev libxslt1-dev
8
+ libxslt-dev libxml2-dev libreadline-ruby1.8 libruby1.8 libopenssl-ruby git googlecl'
9
+ GEMS='xmpp4r-simple xmpp4r ric bundler nokogiri google_drive rubygems-update'
10
+
11
+
12
+ # MAIN
13
+ cd
14
+ echo Trying to install $0 v$VER...
15
+ set -x
16
+ sudo apt-get install -y $PKGS
17
+ sudo gem install --no-ri --no-rdoc $GEMS
18
+ sudo sudo /var/lib/gems/1.8/bin/update_rubygems
19
+
20
+ mkdir -p ~/git
21
+ git clone git://github.com/palladius/sakura.git ~/git/sakura/
22
+ cd ~/git/sakura/ && make install
23
+
24
+ sudo touch /root/sakura-installed-ver$VER.touch
25
+ echo sakura-installed-ver$VER.touch
@@ -0,0 +1,10 @@
1
+ #!/bin/sh
2
+
3
+ SAKURADIR=~/git/sakura
4
+
5
+ if grep -q SAKURADIR ~/.bashrc ; then
6
+ echo Sakura already installed I guess
7
+ else
8
+ cat templates/bashrc.inject >> ~/.bashrc
9
+ fi
10
+
@@ -0,0 +1,4 @@
1
+ #!/bin/sh
2
+
3
+ echo Create TExtMate symlink if you installed the app but dont have in on CLI...
4
+ sudo ln -s /Applications/TextMate.app/Contents/Resources/mate /usr/local/bin/mate
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file