elonmusk 1.0.72 → 1.0.79

Sign up to get free protection for your applications and to get access to all the features.
Files changed (529) hide show
  1. checksums.yaml +4 -4
  2. data/CYCLE_OF_ETHICAL_BEHAVIOR +7 -0
  3. data/EXAMPLES_OF_OPERATION.html +6132 -0
  4. data/PP.rb +4 -4
  5. data/README.md +77 -69
  6. data/VERSION_NUMBER +1 -1
  7. data/bin/big_num +3 -0
  8. data/bin/chat_rb +6 -18
  9. data/bin/close +1 -1
  10. data/bin/find_housing +1 -1
  11. data/bin/left_right +0 -0
  12. data/bin/left_right.exe +0 -0
  13. data/bin/quot +1 -1
  14. data/documentation/DISCOURSE_GENERATOR.exe +1 -1
  15. data/documentation/ULTIMATE_CHAT_APPLICATION.exe +1 -1
  16. data/documentation/abs +3 -11
  17. data/documentation/add +1 -5
  18. data/documentation/append +1 -3
  19. data/documentation/black +0 -1
  20. data/documentation/black_bold +0 -1
  21. data/documentation/black_bold_underline +0 -1
  22. data/documentation/black_underline +0 -1
  23. data/documentation/blue +0 -1
  24. data/documentation/blue_bold +0 -1
  25. data/documentation/blue_bold_underline +0 -1
  26. data/documentation/blue_underline +0 -1
  27. data/documentation/bold +1 -1
  28. data/documentation/chat_rb +1 -9
  29. data/documentation/clock +1 -16
  30. data/documentation/close +2 -2
  31. data/documentation/cyan +0 -1
  32. data/documentation/cyan_bold +0 -1
  33. data/documentation/cyan_bold_underline +0 -1
  34. data/documentation/cyan_underline +0 -1
  35. data/documentation/dictate +1 -2
  36. data/documentation/div +1 -7
  37. data/documentation/doc.rb +2 -0
  38. data/documentation/dump +1 -2
  39. data/documentation/email +2 -20
  40. data/documentation/emerald-browser +1 -2
  41. data/documentation/emeraldc +22 -47
  42. data/documentation/emoji +1 -4
  43. data/documentation/exp +1 -1
  44. data/documentation/find_housing +1 -1
  45. data/documentation/floor +1 -1
  46. data/documentation/g+ +1 -3
  47. data/documentation/google_speak +2 -2
  48. data/documentation/green +0 -1
  49. data/documentation/green_bold +0 -1
  50. data/documentation/green_bold_underline +0 -1
  51. data/documentation/green_underline +0 -1
  52. data/documentation/gsub +3 -7
  53. data/documentation/gsubip +1 -1
  54. data/documentation/last_nth +1 -1
  55. data/documentation/left_right.exe +9 -0
  56. data/documentation/lines +1 -3
  57. data/documentation/magenta +0 -1
  58. data/documentation/magenta_bold +0 -1
  59. data/documentation/magenta_bold_underline +0 -1
  60. data/documentation/magenta_underline +0 -1
  61. data/documentation/mul +2 -4
  62. data/documentation/nth +1 -1
  63. data/documentation/open +4 -23
  64. data/documentation/page +1 -1
  65. data/documentation/prepend +2 -20
  66. data/documentation/processes +1 -5
  67. data/documentation/red +0 -1
  68. data/documentation/red_bold +0 -1
  69. data/documentation/red_bold_underline +0 -1
  70. data/documentation/red_underline +0 -1
  71. data/documentation/rgsub +8 -13
  72. data/documentation/rhyme +5 -12
  73. data/documentation/rip +1 -2
  74. data/documentation/rnip +1 -1
  75. data/documentation/selectlines +1 -7
  76. data/documentation/speakcat +2 -2
  77. data/documentation/squeeze +0 -1
  78. data/documentation/sub +2 -3
  79. data/documentation/swap +0 -2
  80. data/documentation/t +3 -12
  81. data/documentation/underline +1 -1
  82. data/documentation/undump +1 -5
  83. data/documentation/white +0 -1
  84. data/documentation/white_bold +0 -1
  85. data/documentation/white_bold_underline +0 -1
  86. data/documentation/white_underline +0 -1
  87. data/documentation/yellow +0 -1
  88. data/documentation/yellow_bold +0 -1
  89. data/documentation/yellow_bold_underline +0 -1
  90. data/documentation/yellow_underline +0 -1
  91. data/gem_data/VERSION_NUMBER +1 -1
  92. data/gem_data/version_increment +1 -0
  93. data/images/12.png +0 -0
  94. data/index.html +78 -75
  95. data/non_compiled_programs/big_num +3 -0
  96. data/non_compiled_programs/chat_rb +6 -18
  97. data/non_compiled_programs/close +1 -1
  98. data/non_compiled_programs/find_housing +1 -1
  99. data/non_compiled_programs/quot +1 -1
  100. data/other/rub +35 -0
  101. data/other/stories/1 +15 -0
  102. data/other/stories/10 +17 -0
  103. data/other/stories/100 +17 -0
  104. data/other/stories/1000 +17 -0
  105. data/other/stories/1001 +17 -0
  106. data/other/stories/101 +15 -0
  107. data/other/stories/102 +15 -0
  108. data/other/stories/103 +13 -0
  109. data/other/stories/104 +17 -0
  110. data/other/stories/105 +11 -0
  111. data/other/stories/106 +13 -0
  112. data/other/stories/107 +15 -0
  113. data/other/stories/108 +15 -0
  114. data/other/stories/109 +13 -0
  115. data/other/stories/11 +13 -0
  116. data/other/stories/110 +17 -0
  117. data/other/stories/111 +11 -0
  118. data/other/stories/112 +13 -0
  119. data/other/stories/113 +11 -0
  120. data/other/stories/114 +15 -0
  121. data/other/stories/115 +15 -0
  122. data/other/stories/116 +13 -0
  123. data/other/stories/117 +17 -0
  124. data/other/stories/118 +19 -0
  125. data/other/stories/119 +15 -0
  126. data/other/stories/12 +19 -0
  127. data/other/stories/120 +15 -0
  128. data/other/stories/121 +15 -0
  129. data/other/stories/122 +11 -0
  130. data/other/stories/123 +23 -0
  131. data/other/stories/124 +17 -0
  132. data/other/stories/125 +19 -0
  133. data/other/stories/126 +15 -0
  134. data/other/stories/127 +17 -0
  135. data/other/stories/128 +17 -0
  136. data/other/stories/129 +15 -0
  137. data/other/stories/13 +13 -0
  138. data/other/stories/130 +19 -0
  139. data/other/stories/131 +17 -0
  140. data/other/stories/132 +11 -0
  141. data/other/stories/133 +13 -0
  142. data/other/stories/134 +17 -0
  143. data/other/stories/135 +15 -0
  144. data/other/stories/136 +15 -0
  145. data/other/stories/137 +15 -0
  146. data/other/stories/138 +17 -0
  147. data/other/stories/139 +9 -0
  148. data/other/stories/14 +11 -0
  149. data/other/stories/140 +13 -0
  150. data/other/stories/141 +15 -0
  151. data/other/stories/142 +11 -0
  152. data/other/stories/143 +13 -0
  153. data/other/stories/144 +21 -0
  154. data/other/stories/145 +11 -0
  155. data/other/stories/146 +11 -0
  156. data/other/stories/147 +13 -0
  157. data/other/stories/148 +17 -0
  158. data/other/stories/149 +15 -0
  159. data/other/stories/15 +15 -0
  160. data/other/stories/150 +17 -0
  161. data/other/stories/151 +13 -0
  162. data/other/stories/152 +13 -0
  163. data/other/stories/153 +17 -0
  164. data/other/stories/154 +15 -0
  165. data/other/stories/155 +15 -0
  166. data/other/stories/156 +17 -0
  167. data/other/stories/157 +13 -0
  168. data/other/stories/158 +21 -0
  169. data/other/stories/159 +15 -0
  170. data/other/stories/16 +17 -0
  171. data/other/stories/160 +17 -0
  172. data/other/stories/161 +15 -0
  173. data/other/stories/162 +19 -0
  174. data/other/stories/163 +15 -0
  175. data/other/stories/164 +13 -0
  176. data/other/stories/165 +11 -0
  177. data/other/stories/166 +19 -0
  178. data/other/stories/167 +19 -0
  179. data/other/stories/168 +21 -0
  180. data/other/stories/169 +13 -0
  181. data/other/stories/17 +19 -0
  182. data/other/stories/170 +13 -0
  183. data/other/stories/171 +13 -0
  184. data/other/stories/172 +15 -0
  185. data/other/stories/173 +13 -0
  186. data/other/stories/174 +11 -0
  187. data/other/stories/175 +15 -0
  188. data/other/stories/176 +15 -0
  189. data/other/stories/177 +15 -0
  190. data/other/stories/178 +15 -0
  191. data/other/stories/179 +17 -0
  192. data/other/stories/18 +23 -0
  193. data/other/stories/180 +19 -0
  194. data/other/stories/181 +15 -0
  195. data/other/stories/182 +15 -0
  196. data/other/stories/183 +17 -0
  197. data/other/stories/184 +15 -0
  198. data/other/stories/185 +15 -0
  199. data/other/stories/186 +15 -0
  200. data/other/stories/187 +15 -0
  201. data/other/stories/188 +15 -0
  202. data/other/stories/189 +17 -0
  203. data/other/stories/19 +17 -0
  204. data/other/stories/190 +13 -0
  205. data/other/stories/191 +17 -0
  206. data/other/stories/192 +17 -0
  207. data/other/stories/193 +11 -0
  208. data/other/stories/194 +17 -0
  209. data/other/stories/195 +13 -0
  210. data/other/stories/196 +13 -0
  211. data/other/stories/197 +15 -0
  212. data/other/stories/198 +15 -0
  213. data/other/stories/199 +15 -0
  214. data/other/stories/2 +13 -0
  215. data/other/stories/20 +15 -0
  216. data/other/stories/200 +17 -0
  217. data/other/stories/201 +21 -0
  218. data/other/stories/202 +13 -0
  219. data/other/stories/203 +15 -0
  220. data/other/stories/204 +17 -0
  221. data/other/stories/205 +13 -0
  222. data/other/stories/206 +15 -0
  223. data/other/stories/207 +13 -0
  224. data/other/stories/208 +11 -0
  225. data/other/stories/209 +15 -0
  226. data/other/stories/21 +19 -0
  227. data/other/stories/210 +11 -0
  228. data/other/stories/211 +19 -0
  229. data/other/stories/212 +17 -0
  230. data/other/stories/213 +13 -0
  231. data/other/stories/214 +13 -0
  232. data/other/stories/215 +15 -0
  233. data/other/stories/216 +13 -0
  234. data/other/stories/217 +23 -0
  235. data/other/stories/218 +17 -0
  236. data/other/stories/219 +15 -0
  237. data/other/stories/22 +13 -0
  238. data/other/stories/220 +15 -0
  239. data/other/stories/221 +19 -0
  240. data/other/stories/222 +15 -0
  241. data/other/stories/223 +19 -0
  242. data/other/stories/224 +15 -0
  243. data/other/stories/225 +13 -0
  244. data/other/stories/226 +15 -0
  245. data/other/stories/227 +15 -0
  246. data/other/stories/228 +13 -0
  247. data/other/stories/229 +15 -0
  248. data/other/stories/23 +17 -0
  249. data/other/stories/230 +15 -0
  250. data/other/stories/231 +17 -0
  251. data/other/stories/232 +17 -0
  252. data/other/stories/233 +17 -0
  253. data/other/stories/234 +19 -0
  254. data/other/stories/235 +17 -0
  255. data/other/stories/236 +15 -0
  256. data/other/stories/237 +15 -0
  257. data/other/stories/238 +17 -0
  258. data/other/stories/239 +19 -0
  259. data/other/stories/24 +15 -0
  260. data/other/stories/240 +15 -0
  261. data/other/stories/241 +13 -0
  262. data/other/stories/242 +23 -0
  263. data/other/stories/243 +11 -0
  264. data/other/stories/244 +19 -0
  265. data/other/stories/245 +19 -0
  266. data/other/stories/246 +17 -0
  267. data/other/stories/247 +15 -0
  268. data/other/stories/248 +17 -0
  269. data/other/stories/249 +13 -0
  270. data/other/stories/25 +15 -0
  271. data/other/stories/250 +15 -0
  272. data/other/stories/251 +21 -0
  273. data/other/stories/252 +17 -0
  274. data/other/stories/253 +15 -0
  275. data/other/stories/254 +13 -0
  276. data/other/stories/255 +15 -0
  277. data/other/stories/256 +13 -0
  278. data/other/stories/257 +15 -0
  279. data/other/stories/258 +13 -0
  280. data/other/stories/259 +15 -0
  281. data/other/stories/26 +15 -0
  282. data/other/stories/260 +15 -0
  283. data/other/stories/261 +11 -0
  284. data/other/stories/262 +13 -0
  285. data/other/stories/263 +17 -0
  286. data/other/stories/264 +13 -0
  287. data/other/stories/265 +19 -0
  288. data/other/stories/266 +23 -0
  289. data/other/stories/267 +13 -0
  290. data/other/stories/268 +15 -0
  291. data/other/stories/269 +19 -0
  292. data/other/stories/27 +13 -0
  293. data/other/stories/270 +15 -0
  294. data/other/stories/271 +17 -0
  295. data/other/stories/272 +11 -0
  296. data/other/stories/273 +13 -0
  297. data/other/stories/274 +15 -0
  298. data/other/stories/275 +13 -0
  299. data/other/stories/276 +15 -0
  300. data/other/stories/277 +13 -0
  301. data/other/stories/278 +15 -0
  302. data/other/stories/279 +15 -0
  303. data/other/stories/28 +19 -0
  304. data/other/stories/280 +15 -0
  305. data/other/stories/281 +19 -0
  306. data/other/stories/282 +15 -0
  307. data/other/stories/283 +17 -0
  308. data/other/stories/284 +13 -0
  309. data/other/stories/285 +15 -0
  310. data/other/stories/286 +15 -0
  311. data/other/stories/287 +17 -0
  312. data/other/stories/288 +11 -0
  313. data/other/stories/289 +15 -0
  314. data/other/stories/29 +23 -0
  315. data/other/stories/290 +19 -0
  316. data/other/stories/291 +19 -0
  317. data/other/stories/292 +17 -0
  318. data/other/stories/293 +13 -0
  319. data/other/stories/294 +15 -0
  320. data/other/stories/295 +15 -0
  321. data/other/stories/296 +15 -0
  322. data/other/stories/297 +15 -0
  323. data/other/stories/298 +23 -0
  324. data/other/stories/299 +11 -0
  325. data/other/stories/3 +15 -0
  326. data/other/stories/30 +13 -0
  327. data/other/stories/300 +15 -0
  328. data/other/stories/301 +15 -0
  329. data/other/stories/302 +19 -0
  330. data/other/stories/303 +15 -0
  331. data/other/stories/304 +17 -0
  332. data/other/stories/305 +15 -0
  333. data/other/stories/306 +21 -0
  334. data/other/stories/307 +11 -0
  335. data/other/stories/308 +15 -0
  336. data/other/stories/309 +15 -0
  337. data/other/stories/31 +19 -0
  338. data/other/stories/310 +17 -0
  339. data/other/stories/311 +15 -0
  340. data/other/stories/312 +15 -0
  341. data/other/stories/313 +13 -0
  342. data/other/stories/314 +15 -0
  343. data/other/stories/315 +13 -0
  344. data/other/stories/316 +17 -0
  345. data/other/stories/317 +17 -0
  346. data/other/stories/318 +15 -0
  347. data/other/stories/319 +13 -0
  348. data/other/stories/32 +17 -0
  349. data/other/stories/320 +13 -0
  350. data/other/stories/321 +15 -0
  351. data/other/stories/322 +11 -0
  352. data/other/stories/323 +15 -0
  353. data/other/stories/324 +19 -0
  354. data/other/stories/325 +19 -0
  355. data/other/stories/326 +21 -0
  356. data/other/stories/327 +15 -0
  357. data/other/stories/328 +15 -0
  358. data/other/stories/329 +15 -0
  359. data/other/stories/33 +13 -0
  360. data/other/stories/330 +15 -0
  361. data/other/stories/331 +17 -0
  362. data/other/stories/332 +20 -0
  363. data/other/stories/333 +17 -0
  364. data/other/stories/334 +11 -0
  365. data/other/stories/335 +15 -0
  366. data/other/stories/336 +15 -0
  367. data/other/stories/337 +19 -0
  368. data/other/stories/338 +19 -0
  369. data/other/stories/339 +13 -0
  370. data/other/stories/34 +13 -0
  371. data/other/stories/340 +17 -0
  372. data/other/stories/341 +15 -0
  373. data/other/stories/342 +17 -0
  374. data/other/stories/343 +15 -0
  375. data/other/stories/344 +17 -0
  376. data/other/stories/345 +15 -0
  377. data/other/stories/346 +17 -0
  378. data/other/stories/347 +17 -0
  379. data/other/stories/348 +11 -0
  380. data/other/stories/349 +15 -0
  381. data/other/stories/35 +13 -0
  382. data/other/stories/350 +21 -0
  383. data/other/stories/351 +15 -0
  384. data/other/stories/352 +17 -0
  385. data/other/stories/353 +15 -0
  386. data/other/stories/354 +17 -0
  387. data/other/stories/355 +15 -0
  388. data/other/stories/356 +15 -0
  389. data/other/stories/357 +11 -0
  390. data/other/stories/358 +13 -0
  391. data/other/stories/359 +11 -0
  392. data/other/stories/36 +11 -0
  393. data/other/stories/360 +13 -0
  394. data/other/stories/361 +13 -0
  395. data/other/stories/362 +13 -0
  396. data/other/stories/363 +21 -0
  397. data/other/stories/364 +17 -0
  398. data/other/stories/365 +11 -0
  399. data/other/stories/37 +13 -0
  400. data/other/stories/38 +17 -0
  401. data/other/stories/39 +17 -0
  402. data/other/stories/4 +15 -0
  403. data/other/stories/40 +11 -0
  404. data/other/stories/4000 +15 -0
  405. data/other/stories/4001 +21 -0
  406. data/other/stories/4002 +15 -0
  407. data/other/stories/4003 +15 -0
  408. data/other/stories/4004 +15 -0
  409. data/other/stories/4005 +15 -0
  410. data/other/stories/4006 +21 -0
  411. data/other/stories/4007 +15 -0
  412. data/other/stories/4008 +15 -0
  413. data/other/stories/4009 +13 -0
  414. data/other/stories/4010 +15 -0
  415. data/other/stories/4011 +15 -0
  416. data/other/stories/4012 +17 -0
  417. data/other/stories/4013 +15 -0
  418. data/other/stories/4014 +13 -0
  419. data/other/stories/4015 +15 -0
  420. data/other/stories/4016 +17 -0
  421. data/other/stories/4017 +13 -0
  422. data/other/stories/4018 +17 -0
  423. data/other/stories/4019 +15 -0
  424. data/other/stories/4020 +19 -0
  425. data/other/stories/4021 +21 -0
  426. data/other/stories/4022 +15 -0
  427. data/other/stories/4023 +13 -0
  428. data/other/stories/4024 +13 -0
  429. data/other/stories/4025 +23 -0
  430. data/other/stories/4026 +17 -0
  431. data/other/stories/4027 +15 -0
  432. data/other/stories/4028 +13 -0
  433. data/other/stories/4029 +11 -0
  434. data/other/stories/4030 +13 -0
  435. data/other/stories/4031 +13 -0
  436. data/other/stories/4032 +13 -0
  437. data/other/stories/4033 +15 -0
  438. data/other/stories/4034 +17 -0
  439. data/other/stories/4035 +13 -0
  440. data/other/stories/41 +15 -0
  441. data/other/stories/42 +17 -0
  442. data/other/stories/43 +15 -0
  443. data/other/stories/44 +15 -0
  444. data/other/stories/45 +17 -0
  445. data/other/stories/46 +17 -0
  446. data/other/stories/47 +13 -0
  447. data/other/stories/48 +13 -0
  448. data/other/stories/49 +17 -0
  449. data/other/stories/5 +11 -0
  450. data/other/stories/50 +13 -0
  451. data/other/stories/51 +15 -0
  452. data/other/stories/52 +17 -0
  453. data/other/stories/53 +15 -0
  454. data/other/stories/54 +11 -0
  455. data/other/stories/55 +21 -0
  456. data/other/stories/56 +19 -0
  457. data/other/stories/57 +13 -0
  458. data/other/stories/58 +15 -0
  459. data/other/stories/59 +13 -0
  460. data/other/stories/6 +11 -0
  461. data/other/stories/60 +13 -0
  462. data/other/stories/61 +13 -0
  463. data/other/stories/62 +13 -0
  464. data/other/stories/63 +15 -0
  465. data/other/stories/64 +15 -0
  466. data/other/stories/65 +17 -0
  467. data/other/stories/66 +15 -0
  468. data/other/stories/67 +15 -0
  469. data/other/stories/68 +15 -0
  470. data/other/stories/69 +17 -0
  471. data/other/stories/7 +15 -0
  472. data/other/stories/70 +21 -0
  473. data/other/stories/71 +13 -0
  474. data/other/stories/72 +13 -0
  475. data/other/stories/73 +15 -0
  476. data/other/stories/74 +17 -0
  477. data/other/stories/75 +11 -0
  478. data/other/stories/76 +19 -0
  479. data/other/stories/77 +21 -0
  480. data/other/stories/78 +19 -0
  481. data/other/stories/79 +11 -0
  482. data/other/stories/8 +17 -0
  483. data/other/stories/80 +21 -0
  484. data/other/stories/81 +23 -0
  485. data/other/stories/82 +15 -0
  486. data/other/stories/83 +11 -0
  487. data/other/stories/84 +13 -0
  488. data/other/stories/85 +17 -0
  489. data/other/stories/86 +17 -0
  490. data/other/stories/87 +25 -0
  491. data/other/stories/88 +19 -0
  492. data/other/stories/89 +17 -0
  493. data/other/stories/9 +15 -0
  494. data/other/stories/90 +15 -0
  495. data/other/stories/91 +15 -0
  496. data/other/stories/92 +17 -0
  497. data/other/stories/93 +17 -0
  498. data/other/stories/94 +19 -0
  499. data/other/stories/95 +13 -0
  500. data/other/stories/96 +17 -0
  501. data/other/stories/97 +15 -0
  502. data/other/stories/98 +11 -0
  503. data/other/stories/99 +13 -0
  504. data/other/upload.rb +8 -2
  505. data/src/compilation/abs +1 -1
  506. data/src/compilation/add +1 -1
  507. data/src/compilation/append +1 -1
  508. data/src/compilation/div +1 -1
  509. data/src/compilation/dump +1 -1
  510. data/src/compilation/exp +1 -1
  511. data/src/compilation/gsub +1 -1
  512. data/src/compilation/lines +1 -1
  513. data/src/compilation/mul +1 -1
  514. data/src/compilation/prepend +1 -1
  515. data/src/compilation/rip +1 -1
  516. data/src/compilation/rnip +1 -1
  517. data/src/compilation/selectlines +1 -1
  518. data/src/compilation/sub +1 -1
  519. data/src/compilation/swap +1 -1
  520. data/src/compilation/undump +1 -1
  521. data/src/compile_all +5 -2
  522. data/src/left_right +0 -0
  523. data/src/left_right.cc +87 -0
  524. data/src/left_right.exe +0 -0
  525. data/version_increment +1 -0
  526. metadata +417 -5
  527. data/non_compiled_programs/make_server +0 -784
  528. data/src/- +0 -1
  529. data/src/--file +0 -0
data/documentation/abs CHANGED
@@ -2,24 +2,16 @@ Abs gets the absolute value of an integer
2
2
 
3
3
  The absolute value of a number is the value of that number without its sign
4
4
 
5
-
6
5
  echo -300 | abs
7
6
 
8
- => 300
9
-
7
+ => 300
10
8
 
11
9
  echo 200 | abs
12
10
 
13
-
14
11
  => 200
15
12
 
16
-
17
13
  (echo -2; echo -10) | sub | abs
18
14
 
15
+ => 12
19
16
 
20
-
21
-
22
- => 12
23
-
24
-
25
- The last one would do -2 - -10, the result would be -12, and then the absolute value would be computed, and so the result would be 12.
17
+ The last one would do -2 - -10, the result would be -12, and then the absolute value would be computed, and so the result would be 12.
data/documentation/add CHANGED
@@ -1,11 +1,7 @@
1
1
  See the sub example
2
2
 
3
-
4
-
5
3
  add adds integers from the standard input
6
4
 
7
5
  (echo 1; echo 2; echo 3) | add
8
6
 
9
-
10
-
11
- The result would be 6
7
+ The result would be 6
data/documentation/append CHANGED
@@ -1,9 +1,7 @@
1
1
  Appends text to file
2
2
 
3
-
4
3
  Example
5
4
 
6
-
7
5
  append file
8
6
 
9
- This is more text to be appended
7
+ This is more text to be appended
data/documentation/black CHANGED
@@ -1 +0,0 @@
1
-
@@ -1 +0,0 @@
1
-
@@ -1 +0,0 @@
1
-
@@ -1 +0,0 @@
1
-
data/documentation/blue CHANGED
@@ -1 +0,0 @@
1
-
@@ -1 +0,0 @@
1
-
@@ -1 +0,0 @@
1
-
@@ -1 +0,0 @@
1
-
data/documentation/bold CHANGED
@@ -1 +1 @@
1
- See other color programs
1
+ See other color programs
@@ -1,19 +1,11 @@
1
-
2
-
3
1
  This program is excellent.
4
2
 
5
3
  It's essentially a mix of ChatGPT and a shell, such as bash or ZSH.
6
4
 
7
-
8
-
9
-
10
-
11
5
  It has a bunch of features.
12
6
 
13
-
14
7
  It can display a file or change to a folder just by mentioning it.
15
8
 
16
9
  It outputs chatgpt data to an output folder in home folder and copies it to clipboard
17
10
 
18
- To run a shell command, prefix things with “c”, such as c gcc.....
19
-
11
+ To run a shell command, prefix things with “c,” such as c gcc.....
data/documentation/clock CHANGED
@@ -4,16 +4,12 @@ clock is a command line alarm clock
4
4
 
5
5
  It wakes you up at 8:14, or at a time specified
6
6
 
7
-
8
7
  Usage
9
8
 
10
-
11
9
  clock
12
10
 
13
-
14
11
  Runs clock
15
12
 
16
-
17
13
  clock 15 30
18
14
 
19
15
  Sets an alarm clock for 3:30pm
@@ -22,23 +18,12 @@ clock 9 0
22
18
 
23
19
  Sets an alarm clock for 9 in the morning
24
20
 
25
-
26
21
  It uses flite to wake you up
27
22
 
28
23
  It speaks with a bunch of voices
29
24
 
30
-
31
-
32
-
33
-
34
-
35
-
36
25
  To stop it
37
26
 
38
-
39
-
40
27
  Run this command
41
28
 
42
-
43
-
44
- clock stop
29
+ clock stop
data/documentation/close CHANGED
@@ -5,7 +5,7 @@ Since they are normally full screen, presumably the user would only have one ins
5
5
  The browser can have multiple panes (kind of like tabs) open, depending on how the browser is compiled.
6
6
  The browser can also be transparent, depending on how it is compiled.
7
7
  “Close” is supposed to be used in tandem with “open,” which is a command line tool to open the browser.
8
- open [query] ----> [query] gets searched in google, and then opened
8
+ open [query] ----> [query] gets searched in google, and then opened
9
9
  When you are done, you can do
10
10
  close
11
11
  Which closes the browser. It is a simple command.
@@ -18,4 +18,4 @@ Some more work needs to be put into the browser.
18
18
  Currently, new tabs can't be opened, which might be a dealbreaker for some people.
19
19
  Currently, content, like YouTube videos, can't be made fullscreen.
20
20
 
21
- If anyone wants to contribute, feel free to!
21
+ If anyone wants to contribute, feel free to!
data/documentation/cyan CHANGED
@@ -1 +0,0 @@
1
-
@@ -1 +0,0 @@
1
-
@@ -1 +0,0 @@
1
-
@@ -1 +0,0 @@
1
-
@@ -1,4 +1,3 @@
1
1
  Dictate opens web pages in emerald browser, or in any browser (depending on the environment variable set), by you speaking, instead of typing.
2
2
 
3
-
4
- There is a mode called c_mode, that allows you to make code from speaking.
3
+ There is a mode called c_mode, that allows you to make code from speaking.
data/documentation/div CHANGED
@@ -2,12 +2,6 @@ Divides numbers
2
2
 
3
3
  Example
4
4
 
5
-
6
-
7
-
8
-
9
-
10
5
  (echo 5000; echo 100) | div
11
6
 
12
-
13
- => 50
7
+ => 50
data/documentation/doc.rb CHANGED
@@ -19,6 +19,8 @@ end
19
19
  speak "Documenting"
20
20
  EOF
21
21
 
22
+ puts Dir.pwd
23
+
22
24
  Dir.glob('*') do |file|
23
25
  case file
24
26
  when /DOC|sh$/
data/documentation/dump CHANGED
@@ -1,6 +1,5 @@
1
1
  Dump surrounds its input with quotes
2
2
 
3
-
4
3
  ls | dump
5
4
 
6
5
  => “....”
@@ -9,4 +8,4 @@ Use undump to get the reverse
9
8
 
10
9
  See also
11
10
 
12
- undump
11
+ undump
data/documentation/email CHANGED
@@ -2,40 +2,22 @@
2
2
 
3
3
  A simple and practical tool to email people using Himalaya
4
4
 
5
-
6
5
  Himalaya needs to be installed first
7
6
 
8
-
9
-
10
-
11
-
12
-
13
-
14
-
15
-
16
7
  You would need to configure the script by changing its source code.
17
8
 
18
-
19
9
  Modes
20
10
 
21
-
22
11
  email [no arguments]
23
12
 
24
-
25
13
  Email [yourself]
26
14
 
27
-
28
-
29
-
30
15
  email [addr]
31
16
 
32
-
33
17
  Email one email address
34
18
 
35
- email [Subject] [addr] [option more addrs]
36
-
19
+ email [Subject] [addr] [option more addrs]
37
20
 
38
21
  Example
39
22
 
40
-
41
- email 'Gregory, I love your software!' gregorycohenvideos@gmail.com my_friend@outlook.com person@example.com
23
+ email 'Gregory, I love your software!' gregorycohenvideos@gmail.com my_friend@outlook.com person@example.com
@@ -5,7 +5,6 @@ Emerald browser is a really powerful new browser
5
5
 
6
6
  See README
7
7
 
8
-
9
8
  It works based on panes.
10
9
 
11
- Read the documentation for “open”, “close” and also the README file.
10
+ Read the documentation for “open,” “close” and also the README file.
@@ -1,26 +1,19 @@
1
1
  The Ultimate C Preprocessor
2
2
 
3
-
4
3
  I'm naming this preprocessor “Emerald C.”
5
4
 
6
5
  <a href=https://cboard.cprogramming.com/c-programming/181160-hi-i-have-created-some-work-i-think-will-really-valuable-community.html?s=589b5504cd0e3c2dc90e9abd8b66906f>Link</a>
7
6
 
8
-
9
-
10
7
  Howdy!
11
8
 
12
9
  First, let me state that I am very much a perfectionist.
13
10
 
14
-
15
11
  C is a wonderful language. C is probably the perfect programming language. It is one of the top two most widely used languages for a reason.
16
12
 
17
-
18
13
  Now, there are some problems with it of course, but it's hard to think of a more elegant language than it.
19
14
 
20
-
21
15
  It is the language of systems, the language almost all APIs are written in.
22
16
 
23
-
24
17
  It is the lingua franca of the software world.
25
18
 
26
19
  People try to avoid it, but they needn't.
@@ -29,10 +22,8 @@ I think every programmer wants to find out how to do things, or use libraries th
29
22
 
30
23
  Many programmers have done programming, grown dissatisfied, and then make another language. As a result, there are thousands of different languages.
31
24
 
32
-
33
25
  Well, recently, I made a preprocessor for C, that makes C incredibly EASY.
34
26
 
35
-
36
27
  C is fast and straightforward without it, but it has many features.
37
28
 
38
29
  If one runs the command line preprocessor, with the “--features” flag, the program shows all of its features
@@ -41,7 +32,7 @@ A Better C
41
32
 
42
33
  C is a fantastic language. C compiles insanely fast, is the fastest language there is, is very clear, is native to all systems, and is useful for all purposes.
43
34
 
44
- Some people, e.g., Bjarne Stroustrup, consider that C is “not good enough”, and make languages like C++ or D (or thousands of others)
35
+ Some people, e.g., Bjarne Stroustrup, consider that C is “not good enough,” and make languages like C++ or D (or thousands of others)
45
36
 
46
37
  This is not necessary.
47
38
 
@@ -51,44 +42,42 @@ Some functions can be used as methods
51
42
 
52
43
  Makes for an excellent “scripting language” (which is really just native C without things making it slow)
53
44
 
54
-
55
- 1 String Interpolation “String interplation like this #{foo} Calls the join() function (talked about below to join strings,
56
- delim is a static global in each module called “sep”.
57
- Make sure you free() the string after. The string is stored in a static global variable called “last”.
45
+ 1 String Interpolation “String interplation like this #{foo} ” Calls the join() function (talked about below to join strings,
46
+ delim is a static global in each module called “sep.”
47
+ Make sure you free() the string after. The string is stored in a static global variable called “last.”
58
48
  So you could do puts(...); free(last)
59
49
 
60
- 2 ew *i.ew “Foo”, a.ew “bar” | char* ends with another char*?
50
+ 2 ew *i.ew “Foo,” a.ew “bar” | char* ends with another char*?
61
51
 
62
- 3 sw *i.sw “Foo”, a.sw “bar” | char* starts with another char*?
52
+ 3 sw *i.sw “Foo,” a.sw “bar” | char* starts with another char*?
63
53
 
64
- 4 == Comparison of strs, “foo” == “bar”
54
+ 4 == Comparison of strs, “foo” == “bar”
65
55
 
66
- 5 strip Returns pointer to string that was stripped, in place
56
+ 5 strip Returns pointer to string that was stripped, in place
67
57
 
68
- 6 chomp void function, chomps end of string of spaces, i.chomp or chomp(i), in place
58
+ 6 chomp void function, chomps end of string of spaces, i.chomp or chomp(i), in place
69
59
 
70
- 7 gsub Just like ruby, there is a gsub function.
60
+ 7 gsub Just like ruby, there is a gsub function.
71
61
  The preprocessor detects if you use and adds -lpcre2-8 to the link flags if you use it. Use $" for substitutions in argument 3 gsub(a, b, c)
72
62
 
73
- 8 join Joins an array of strings, to split(), use C's strtok (very fast)
63
+ 8 join Joins an array of strings, to split(), use C's strtok (very fast)
74
64
 
75
- 9 Lightweight regexes are added, almost 15 times as fast as C's built in regex. They are very simple, they only have bracket expressions, like [a-z].
65
+ 9 Lightweight regexes are added, almost 15 times as fast as C's built in regex. They are very simple, they only have bracket expressions, like [a-z].
76
66
 
77
67
  To use it, you need to pass a buffer of the size of the expansion of the regex. Foo[a-fA-F] would be Foo[abcdefABCDEF]. That would be stored in a buffer.
78
68
 
79
69
  From testing, 15x times faster than C's regex POST COMPILATION, if compilation keeps happening, it might be hundreds of times faster.
80
70
  Uses static inline functions, NO HEAP MEMORY unless you malloc before().
81
71
 
82
- 10 print Like old python print “Hello” (fputs);
72
+ 10 print Like old python print “Hello” (fputs);
83
73
 
84
- 11 print_int prints a number and returns the number, can be chained
74
+ 11 print_int prints a number and returns the number, can be chained
85
75
 
86
- 12 each_line, Perlish, different names, by_line(s) or each_line(s), iterate over all lines, free after
76
+ 12 each_line, Perlish, different names, by_line(s) or each_line(s), iterate over all lines, free after
87
77
 
88
- 13 NOTE You can use open_memstream() on UNIX to easily concatenate strings.
89
-
90
- 14 MISC features || autoinclude, foo.gsub or gsub(...),no need for paren (i.chomp, i.strlen), starts_with, ends_with, --wrap, itoa, freel (frees str, sets to NULL, and frees other recent stuff)
78
+ 13 NOTE You can use open_memstream() on UNIX to easily concatenate strings.
91
79
 
80
+ 14 MISC features || autoinclude, foo.gsub or gsub(...),no need for paren (i.chomp, i.strlen), starts_with, ends_with, --wrap, itoa, freel (frees str, sets to NULL, and frees other recent stuff)
92
81
 
93
82
  asprintf() is another useful function which is UNIX-centric. open_memstream() could be an alternative to std::string.
94
83
  It works very well with each_line or by_lines (see above)
@@ -96,43 +85,34 @@ These features seem simple, but they can make C programming much, MUCH easier
96
85
 
97
86
  for example (insignificant example)
98
87
 
99
-
100
-
101
88
  int main() {
102
- stdin.each_line { |line|
103
- print line;
104
- }
89
+ stdin.each_line { |line|
90
+ print line;
91
+ }
105
92
 
106
- free(line);
93
+ free(line);
107
94
  }
108
95
 
109
96
  You can iterate over the standard input like Ruby
110
97
 
111
-
112
98
  The thing with this is that it has 100% speed. The resultant preprocessed program becomes a normal C program
113
99
 
114
-
115
-
116
100
  The compile and run time for a program (if you use tcc and not gcc) can be about 24 milliseconds, which is faster than Ruby to run.
117
101
 
118
-
119
102
  Even though the program is preprocessed, re-preprocessed, compiled, assembled, linked, turned into an executable, and then run
120
103
 
121
-
122
104
  Kind of like early C++, this is a preprocessor for C.
123
105
 
124
106
  But it's much faster to compile than C++. Significantly so.
125
107
 
126
108
  Is anyone else interested in this? (BSD)
127
109
 
128
-
129
110
  I'm realising this under the BSD license. I'm interested if anyone else else likes this work, and would like to use it, or to work with me.
130
111
 
131
112
  Best regards,
132
113
 
133
114
  Gregory
134
115
 
135
-
136
116
  Current program is written in Crystal (crystal-lang.org) -- it was written in ruby, it could be ported to another language.
137
117
 
138
118
  I would like to make this self-hosting, but that would take a little bit of work.
@@ -141,14 +121,11 @@ About the Name
141
121
 
142
122
  Years ago, I really, really liked Compiz
143
123
 
144
-
145
124
  Compiz then forked into Beryl. There was the Emerald Window Manager, which was really nice and beautiful.
146
125
 
147
-
148
126
  I actually made another programming language. I made 2 other programming language. One was a full compiler and assembler, that ran code in memory. It was around 16 thousand lines of code. I made a programming language that had the syntax of Python or Ruby, but transpiled into C++. I called that C += 2. I used that other language, and I created a Web Browser in it based on Chrome. I called it “Emerald Browser.” Emeralds are beautiful green gems.
149
127
 
150
-
151
- “Emerald is a gemstone and a variety of the mineral beryl colored green by trace amounts of chromium or sometimes vanadium. Beryl has a hardness of 7.5–8 on the Mohs scale. Most emeralds are highly included, so their toughness is classified as generally poor. Emerald is a cyclosilicate.”</i> --Wikipedia
128
+ “Emerald is a gemstone and a variety of the mineral beryl colored green by trace amounts of chromium or sometimes vanadium. Beryl has a hardness of 7.5–8 on the Mohs scale. Most emeralds are highly included, so their toughness is classified as generally poor. Emerald is a cyclosilicate.”</i> --Wikipedia
152
129
 
153
130
  There was a browser with a terminal built in to it.
154
131
 
@@ -158,13 +135,11 @@ QUESTIONS
158
135
 
159
136
  Why not use Rust?
160
137
 
161
-
162
138
  $ time rustc a.rs
163
139
  real 0m0.637s
164
140
  user 0m0.502s
165
141
  sys 0m0.160s
166
142
 
167
-
168
143
  Rust takes 0.637 seconds to compile an empty file!
169
144
 
170
145
  That is not ideal.
data/documentation/emoji CHANGED
@@ -4,9 +4,6 @@ It can also speak the output
4
4
 
5
5
  It can also copy the output to your clipboard
6
6
 
7
-
8
-
9
7
  It is very useful
10
8
 
11
-
12
- ![UCA](./images/6.png)
9
+ ![UCA](./images/6.png)
data/documentation/exp CHANGED
@@ -6,4 +6,4 @@ exp is an exponentiation tool
6
6
 
7
7
  (echo 2; echo 10) | exp
8
8
 
9
- => 1024
9
+ => 1024
@@ -4,4 +4,4 @@ It is a nice, simple command line tool. You enter the minimum and maximum prices
4
4
 
5
5
  This tool kind of actually helped me to find housing in real life.
6
6
 
7
- The default city is "Ottawa". You can easily change this.
7
+ The default city is Ottawa.” You can easily change this.
data/documentation/floor CHANGED
@@ -1 +1 @@
1
- Gets the floor of numbers e.g. 21.3 -> 21
1
+ Gets the floor of numbers e.g. 21.3 -> 21
data/documentation/g+ CHANGED
@@ -6,6 +6,4 @@ Example
6
6
 
7
7
  g+ a.cpp -o out
8
8
 
9
-
10
-
11
- See also README file & emerald-browser and its source
9
+ See also README file & emerald-browser and its source
@@ -1,7 +1,7 @@
1
- Google speak is really useful. It speaks a statement using the Google Translate voice, which is probably the most authoritative and high-quality text-to-speech voice that exists.
1
+ Google speak is really useful. It speaks a statement using the Google Translate voice, which is probably the most authoritative and high-quality text-to-speech voice that exists.
2
2
 
3
3
  It's kind of like “espeak” or similar tools, but it is much better.
4
4
 
5
5
  You need an internet connection for it to work.
6
6
 
7
- It is probably limited at 100 characters.
7
+ It is probably limited at 100 characters.
data/documentation/green CHANGED
@@ -1 +0,0 @@
1
-
@@ -1 +0,0 @@
1
-
@@ -1 +0,0 @@
1
-
@@ -1 +0,0 @@
1
-
data/documentation/gsub CHANGED
@@ -1,17 +1,13 @@
1
1
  Gsub is very powerful.
2
2
 
3
-
4
3
  Usage
5
4
 
6
- gsub [regular expression] [replacement text]
7
-
5
+ gsub [regular expression] [replacement text]
8
6
 
9
7
  Example
10
8
 
11
-
12
9
  cat text | gsub man dog
13
10
 
14
- cat text | gsub 'man|boy|cat|dog' food
15
-
11
+ cat text | gsub 'man|boy|cat|dog' food
16
12
 
17
- ls | gsub Desktop cat
13
+ ls | gsub Desktop cat
data/documentation/gsubip CHANGED
@@ -24,4 +24,4 @@ It takes exactly 3 arguments, no more, no fewer.
24
24
 
25
25
  See also
26
26
 
27
- gsub
27
+ gsub
@@ -1 +1 @@
1
- Last nth gets the last n lines from the standard input
1
+ Last nth gets the last n lines from the standard input
@@ -0,0 +1,9 @@
1
+ This is a tool to bring sanity to politics.
2
+
3
+ ![UCA](./images/12.png)
4
+
5
+ It gets viewpoints from the person that see the good in each political side, left, right, left, right, etc.
6
+
7
+ It then presents all of that.
8
+
9
+ Hopefully this can make people more sane and less hyper-partisan.
data/documentation/lines CHANGED
@@ -1,5 +1,3 @@
1
1
  Lines gets the number of files in the current folder that you are in.
2
2
 
3
-
4
- It can also act like "wc -l" if you pipe data into it.
5
-
3
+ It can also act like “wc -l” if you pipe data into it.
@@ -1 +0,0 @@
1
-
@@ -1 +0,0 @@
1
-
@@ -1 +0,0 @@
1
-
@@ -1 +0,0 @@
1
-
data/documentation/mul CHANGED
@@ -1,5 +1,4 @@
1
- Multiply numbers
2
-
1
+ Multiply numbers
3
2
 
4
3
  echo 1 > file
5
4
  echo 2 >> file
@@ -9,5 +8,4 @@ echo 5 >> file
9
8
 
10
9
  cat file | mul
11
10
 
12
-
13
- => 120
11
+ => 120
data/documentation/nth CHANGED
@@ -1 +1 @@
1
- Nth gets the nth line from the input
1
+ Nth gets the nth line from the input
data/documentation/open CHANGED
@@ -1,50 +1,31 @@
1
1
  “open” is a very efficient program that searches a query from google, and then opens it in Emerald Browser.
2
2
 
3
-
4
- If you ever want something to “just open”, you can use it.
5
-
6
-
3
+ If you ever want something to “just open,” you can use it.
7
4
 
8
5
  Example
9
6
 
10
7
  open “cats”
11
8
 
12
-
13
-
14
9
  An earlier version of open worked like this
15
10
 
16
- open [site1] [site2] [site3] N
17
-
18
-
11
+ open [site1] [site2] [site3] N
19
12
 
20
13
  site1, site2, and site3 would all be opened, and the top N queries were all shown in different panes
21
14
 
22
-
23
-
24
15
  An even earlier version of this program used Chrome to open the sites.
25
16
 
26
-
27
-
28
-
29
-
30
- The current version can open one or more sites.
31
-
17
+ The current version can open one or more sites.
32
18
 
33
19
  Example
34
20
 
35
-
36
21
  open “cats” “dogs” “frogs”
37
22
 
38
-
39
23
  All of those queries would open in Emerald Browser.
40
24
 
41
25
  Just make sure it is compiled in multipane mode if you want to open multiple new sites at the same time.
42
26
 
43
-
44
27
  See also
45
28
 
46
-
47
-
48
29
  emerald-browser
49
30
 
50
- close
31
+ close