freespeech 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 (530) 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 +1 -1
  6. data/README.md +77 -69
  7. data/VERSION_NUMBER +1 -1
  8. data/bin/big_num +3 -0
  9. data/bin/chat_rb +6 -18
  10. data/bin/close +1 -1
  11. data/bin/find_housing +1 -1
  12. data/bin/left_right +0 -0
  13. data/bin/left_right.exe +0 -0
  14. data/bin/quot +1 -1
  15. data/documentation/DISCOURSE_GENERATOR.exe +1 -1
  16. data/documentation/ULTIMATE_CHAT_APPLICATION.exe +1 -1
  17. data/documentation/abs +3 -11
  18. data/documentation/add +1 -5
  19. data/documentation/append +1 -3
  20. data/documentation/black +0 -1
  21. data/documentation/black_bold +0 -1
  22. data/documentation/black_bold_underline +0 -1
  23. data/documentation/black_underline +0 -1
  24. data/documentation/blue +0 -1
  25. data/documentation/blue_bold +0 -1
  26. data/documentation/blue_bold_underline +0 -1
  27. data/documentation/blue_underline +0 -1
  28. data/documentation/bold +1 -1
  29. data/documentation/chat_rb +1 -9
  30. data/documentation/clock +1 -16
  31. data/documentation/close +2 -2
  32. data/documentation/cyan +0 -1
  33. data/documentation/cyan_bold +0 -1
  34. data/documentation/cyan_bold_underline +0 -1
  35. data/documentation/cyan_underline +0 -1
  36. data/documentation/dictate +1 -2
  37. data/documentation/div +1 -7
  38. data/documentation/doc.rb +2 -0
  39. data/documentation/dump +1 -2
  40. data/documentation/email +2 -20
  41. data/documentation/emerald-browser +1 -2
  42. data/documentation/emeraldc +22 -47
  43. data/documentation/emoji +1 -4
  44. data/documentation/exp +1 -1
  45. data/documentation/find_housing +1 -1
  46. data/documentation/floor +1 -1
  47. data/documentation/g+ +1 -3
  48. data/documentation/google_speak +2 -2
  49. data/documentation/green +0 -1
  50. data/documentation/green_bold +0 -1
  51. data/documentation/green_bold_underline +0 -1
  52. data/documentation/green_underline +0 -1
  53. data/documentation/gsub +3 -7
  54. data/documentation/gsubip +1 -1
  55. data/documentation/last_nth +1 -1
  56. data/documentation/left_right.exe +9 -0
  57. data/documentation/lines +1 -3
  58. data/documentation/magenta +0 -1
  59. data/documentation/magenta_bold +0 -1
  60. data/documentation/magenta_bold_underline +0 -1
  61. data/documentation/magenta_underline +0 -1
  62. data/documentation/mul +2 -4
  63. data/documentation/nth +1 -1
  64. data/documentation/open +4 -23
  65. data/documentation/page +1 -1
  66. data/documentation/prepend +2 -20
  67. data/documentation/processes +1 -5
  68. data/documentation/red +0 -1
  69. data/documentation/red_bold +0 -1
  70. data/documentation/red_bold_underline +0 -1
  71. data/documentation/red_underline +0 -1
  72. data/documentation/rgsub +8 -13
  73. data/documentation/rhyme +4 -11
  74. data/documentation/rip +1 -2
  75. data/documentation/rnip +1 -1
  76. data/documentation/selectlines +1 -7
  77. data/documentation/speakcat +2 -2
  78. data/documentation/squeeze +0 -1
  79. data/documentation/sub +2 -3
  80. data/documentation/swap +0 -2
  81. data/documentation/t +3 -12
  82. data/documentation/underline +1 -1
  83. data/documentation/undump +1 -5
  84. data/documentation/white +0 -1
  85. data/documentation/white_bold +0 -1
  86. data/documentation/white_bold_underline +0 -1
  87. data/documentation/white_underline +0 -1
  88. data/documentation/yellow +0 -1
  89. data/documentation/yellow_bold +0 -1
  90. data/documentation/yellow_bold_underline +0 -1
  91. data/documentation/yellow_underline +0 -1
  92. data/gem_data/VERSION_NUMBER +1 -1
  93. data/gem_data/version_increment +1 -0
  94. data/images/12.png +0 -0
  95. data/index.html +78 -75
  96. data/non_compiled_programs/big_num +3 -0
  97. data/non_compiled_programs/chat_rb +6 -18
  98. data/non_compiled_programs/close +1 -1
  99. data/non_compiled_programs/find_housing +1 -1
  100. data/non_compiled_programs/quot +1 -1
  101. data/other/rub +35 -0
  102. data/other/stories/1 +15 -0
  103. data/other/stories/10 +17 -0
  104. data/other/stories/100 +17 -0
  105. data/other/stories/1000 +17 -0
  106. data/other/stories/1001 +17 -0
  107. data/other/stories/101 +15 -0
  108. data/other/stories/102 +15 -0
  109. data/other/stories/103 +13 -0
  110. data/other/stories/104 +17 -0
  111. data/other/stories/105 +11 -0
  112. data/other/stories/106 +13 -0
  113. data/other/stories/107 +15 -0
  114. data/other/stories/108 +15 -0
  115. data/other/stories/109 +13 -0
  116. data/other/stories/11 +13 -0
  117. data/other/stories/110 +17 -0
  118. data/other/stories/111 +11 -0
  119. data/other/stories/112 +13 -0
  120. data/other/stories/113 +11 -0
  121. data/other/stories/114 +15 -0
  122. data/other/stories/115 +15 -0
  123. data/other/stories/116 +13 -0
  124. data/other/stories/117 +17 -0
  125. data/other/stories/118 +19 -0
  126. data/other/stories/119 +15 -0
  127. data/other/stories/12 +19 -0
  128. data/other/stories/120 +15 -0
  129. data/other/stories/121 +15 -0
  130. data/other/stories/122 +11 -0
  131. data/other/stories/123 +23 -0
  132. data/other/stories/124 +17 -0
  133. data/other/stories/125 +19 -0
  134. data/other/stories/126 +15 -0
  135. data/other/stories/127 +17 -0
  136. data/other/stories/128 +17 -0
  137. data/other/stories/129 +15 -0
  138. data/other/stories/13 +13 -0
  139. data/other/stories/130 +19 -0
  140. data/other/stories/131 +17 -0
  141. data/other/stories/132 +11 -0
  142. data/other/stories/133 +13 -0
  143. data/other/stories/134 +17 -0
  144. data/other/stories/135 +15 -0
  145. data/other/stories/136 +15 -0
  146. data/other/stories/137 +15 -0
  147. data/other/stories/138 +17 -0
  148. data/other/stories/139 +9 -0
  149. data/other/stories/14 +11 -0
  150. data/other/stories/140 +13 -0
  151. data/other/stories/141 +15 -0
  152. data/other/stories/142 +11 -0
  153. data/other/stories/143 +13 -0
  154. data/other/stories/144 +21 -0
  155. data/other/stories/145 +11 -0
  156. data/other/stories/146 +11 -0
  157. data/other/stories/147 +13 -0
  158. data/other/stories/148 +17 -0
  159. data/other/stories/149 +15 -0
  160. data/other/stories/15 +15 -0
  161. data/other/stories/150 +17 -0
  162. data/other/stories/151 +13 -0
  163. data/other/stories/152 +13 -0
  164. data/other/stories/153 +17 -0
  165. data/other/stories/154 +15 -0
  166. data/other/stories/155 +15 -0
  167. data/other/stories/156 +17 -0
  168. data/other/stories/157 +13 -0
  169. data/other/stories/158 +21 -0
  170. data/other/stories/159 +15 -0
  171. data/other/stories/16 +17 -0
  172. data/other/stories/160 +17 -0
  173. data/other/stories/161 +15 -0
  174. data/other/stories/162 +19 -0
  175. data/other/stories/163 +15 -0
  176. data/other/stories/164 +13 -0
  177. data/other/stories/165 +11 -0
  178. data/other/stories/166 +19 -0
  179. data/other/stories/167 +19 -0
  180. data/other/stories/168 +21 -0
  181. data/other/stories/169 +13 -0
  182. data/other/stories/17 +19 -0
  183. data/other/stories/170 +13 -0
  184. data/other/stories/171 +13 -0
  185. data/other/stories/172 +15 -0
  186. data/other/stories/173 +13 -0
  187. data/other/stories/174 +11 -0
  188. data/other/stories/175 +15 -0
  189. data/other/stories/176 +15 -0
  190. data/other/stories/177 +15 -0
  191. data/other/stories/178 +15 -0
  192. data/other/stories/179 +17 -0
  193. data/other/stories/18 +23 -0
  194. data/other/stories/180 +19 -0
  195. data/other/stories/181 +15 -0
  196. data/other/stories/182 +15 -0
  197. data/other/stories/183 +17 -0
  198. data/other/stories/184 +15 -0
  199. data/other/stories/185 +15 -0
  200. data/other/stories/186 +15 -0
  201. data/other/stories/187 +15 -0
  202. data/other/stories/188 +15 -0
  203. data/other/stories/189 +17 -0
  204. data/other/stories/19 +17 -0
  205. data/other/stories/190 +13 -0
  206. data/other/stories/191 +17 -0
  207. data/other/stories/192 +17 -0
  208. data/other/stories/193 +11 -0
  209. data/other/stories/194 +17 -0
  210. data/other/stories/195 +13 -0
  211. data/other/stories/196 +13 -0
  212. data/other/stories/197 +15 -0
  213. data/other/stories/198 +15 -0
  214. data/other/stories/199 +15 -0
  215. data/other/stories/2 +13 -0
  216. data/other/stories/20 +15 -0
  217. data/other/stories/200 +17 -0
  218. data/other/stories/201 +21 -0
  219. data/other/stories/202 +13 -0
  220. data/other/stories/203 +15 -0
  221. data/other/stories/204 +17 -0
  222. data/other/stories/205 +13 -0
  223. data/other/stories/206 +15 -0
  224. data/other/stories/207 +13 -0
  225. data/other/stories/208 +11 -0
  226. data/other/stories/209 +15 -0
  227. data/other/stories/21 +19 -0
  228. data/other/stories/210 +11 -0
  229. data/other/stories/211 +19 -0
  230. data/other/stories/212 +17 -0
  231. data/other/stories/213 +13 -0
  232. data/other/stories/214 +13 -0
  233. data/other/stories/215 +15 -0
  234. data/other/stories/216 +13 -0
  235. data/other/stories/217 +23 -0
  236. data/other/stories/218 +17 -0
  237. data/other/stories/219 +15 -0
  238. data/other/stories/22 +13 -0
  239. data/other/stories/220 +15 -0
  240. data/other/stories/221 +19 -0
  241. data/other/stories/222 +15 -0
  242. data/other/stories/223 +19 -0
  243. data/other/stories/224 +15 -0
  244. data/other/stories/225 +13 -0
  245. data/other/stories/226 +15 -0
  246. data/other/stories/227 +15 -0
  247. data/other/stories/228 +13 -0
  248. data/other/stories/229 +15 -0
  249. data/other/stories/23 +17 -0
  250. data/other/stories/230 +15 -0
  251. data/other/stories/231 +17 -0
  252. data/other/stories/232 +17 -0
  253. data/other/stories/233 +17 -0
  254. data/other/stories/234 +19 -0
  255. data/other/stories/235 +17 -0
  256. data/other/stories/236 +15 -0
  257. data/other/stories/237 +15 -0
  258. data/other/stories/238 +17 -0
  259. data/other/stories/239 +19 -0
  260. data/other/stories/24 +15 -0
  261. data/other/stories/240 +15 -0
  262. data/other/stories/241 +13 -0
  263. data/other/stories/242 +23 -0
  264. data/other/stories/243 +11 -0
  265. data/other/stories/244 +19 -0
  266. data/other/stories/245 +19 -0
  267. data/other/stories/246 +17 -0
  268. data/other/stories/247 +15 -0
  269. data/other/stories/248 +17 -0
  270. data/other/stories/249 +13 -0
  271. data/other/stories/25 +15 -0
  272. data/other/stories/250 +15 -0
  273. data/other/stories/251 +21 -0
  274. data/other/stories/252 +17 -0
  275. data/other/stories/253 +15 -0
  276. data/other/stories/254 +13 -0
  277. data/other/stories/255 +15 -0
  278. data/other/stories/256 +13 -0
  279. data/other/stories/257 +15 -0
  280. data/other/stories/258 +13 -0
  281. data/other/stories/259 +15 -0
  282. data/other/stories/26 +15 -0
  283. data/other/stories/260 +15 -0
  284. data/other/stories/261 +11 -0
  285. data/other/stories/262 +13 -0
  286. data/other/stories/263 +17 -0
  287. data/other/stories/264 +13 -0
  288. data/other/stories/265 +19 -0
  289. data/other/stories/266 +23 -0
  290. data/other/stories/267 +13 -0
  291. data/other/stories/268 +15 -0
  292. data/other/stories/269 +19 -0
  293. data/other/stories/27 +13 -0
  294. data/other/stories/270 +15 -0
  295. data/other/stories/271 +17 -0
  296. data/other/stories/272 +11 -0
  297. data/other/stories/273 +13 -0
  298. data/other/stories/274 +15 -0
  299. data/other/stories/275 +13 -0
  300. data/other/stories/276 +15 -0
  301. data/other/stories/277 +13 -0
  302. data/other/stories/278 +15 -0
  303. data/other/stories/279 +15 -0
  304. data/other/stories/28 +19 -0
  305. data/other/stories/280 +15 -0
  306. data/other/stories/281 +19 -0
  307. data/other/stories/282 +15 -0
  308. data/other/stories/283 +17 -0
  309. data/other/stories/284 +13 -0
  310. data/other/stories/285 +15 -0
  311. data/other/stories/286 +15 -0
  312. data/other/stories/287 +17 -0
  313. data/other/stories/288 +11 -0
  314. data/other/stories/289 +15 -0
  315. data/other/stories/29 +23 -0
  316. data/other/stories/290 +19 -0
  317. data/other/stories/291 +19 -0
  318. data/other/stories/292 +17 -0
  319. data/other/stories/293 +13 -0
  320. data/other/stories/294 +15 -0
  321. data/other/stories/295 +15 -0
  322. data/other/stories/296 +15 -0
  323. data/other/stories/297 +15 -0
  324. data/other/stories/298 +23 -0
  325. data/other/stories/299 +11 -0
  326. data/other/stories/3 +15 -0
  327. data/other/stories/30 +13 -0
  328. data/other/stories/300 +15 -0
  329. data/other/stories/301 +15 -0
  330. data/other/stories/302 +19 -0
  331. data/other/stories/303 +15 -0
  332. data/other/stories/304 +17 -0
  333. data/other/stories/305 +15 -0
  334. data/other/stories/306 +21 -0
  335. data/other/stories/307 +11 -0
  336. data/other/stories/308 +15 -0
  337. data/other/stories/309 +15 -0
  338. data/other/stories/31 +19 -0
  339. data/other/stories/310 +17 -0
  340. data/other/stories/311 +15 -0
  341. data/other/stories/312 +15 -0
  342. data/other/stories/313 +13 -0
  343. data/other/stories/314 +15 -0
  344. data/other/stories/315 +13 -0
  345. data/other/stories/316 +17 -0
  346. data/other/stories/317 +17 -0
  347. data/other/stories/318 +15 -0
  348. data/other/stories/319 +13 -0
  349. data/other/stories/32 +17 -0
  350. data/other/stories/320 +13 -0
  351. data/other/stories/321 +15 -0
  352. data/other/stories/322 +11 -0
  353. data/other/stories/323 +15 -0
  354. data/other/stories/324 +19 -0
  355. data/other/stories/325 +19 -0
  356. data/other/stories/326 +21 -0
  357. data/other/stories/327 +15 -0
  358. data/other/stories/328 +15 -0
  359. data/other/stories/329 +15 -0
  360. data/other/stories/33 +13 -0
  361. data/other/stories/330 +15 -0
  362. data/other/stories/331 +17 -0
  363. data/other/stories/332 +20 -0
  364. data/other/stories/333 +17 -0
  365. data/other/stories/334 +11 -0
  366. data/other/stories/335 +15 -0
  367. data/other/stories/336 +15 -0
  368. data/other/stories/337 +19 -0
  369. data/other/stories/338 +19 -0
  370. data/other/stories/339 +13 -0
  371. data/other/stories/34 +13 -0
  372. data/other/stories/340 +17 -0
  373. data/other/stories/341 +15 -0
  374. data/other/stories/342 +17 -0
  375. data/other/stories/343 +15 -0
  376. data/other/stories/344 +17 -0
  377. data/other/stories/345 +15 -0
  378. data/other/stories/346 +17 -0
  379. data/other/stories/347 +17 -0
  380. data/other/stories/348 +11 -0
  381. data/other/stories/349 +15 -0
  382. data/other/stories/35 +13 -0
  383. data/other/stories/350 +21 -0
  384. data/other/stories/351 +15 -0
  385. data/other/stories/352 +17 -0
  386. data/other/stories/353 +15 -0
  387. data/other/stories/354 +17 -0
  388. data/other/stories/355 +15 -0
  389. data/other/stories/356 +15 -0
  390. data/other/stories/357 +11 -0
  391. data/other/stories/358 +13 -0
  392. data/other/stories/359 +11 -0
  393. data/other/stories/36 +11 -0
  394. data/other/stories/360 +13 -0
  395. data/other/stories/361 +13 -0
  396. data/other/stories/362 +13 -0
  397. data/other/stories/363 +21 -0
  398. data/other/stories/364 +17 -0
  399. data/other/stories/365 +11 -0
  400. data/other/stories/37 +13 -0
  401. data/other/stories/38 +17 -0
  402. data/other/stories/39 +17 -0
  403. data/other/stories/4 +15 -0
  404. data/other/stories/40 +11 -0
  405. data/other/stories/4000 +15 -0
  406. data/other/stories/4001 +21 -0
  407. data/other/stories/4002 +15 -0
  408. data/other/stories/4003 +15 -0
  409. data/other/stories/4004 +15 -0
  410. data/other/stories/4005 +15 -0
  411. data/other/stories/4006 +21 -0
  412. data/other/stories/4007 +15 -0
  413. data/other/stories/4008 +15 -0
  414. data/other/stories/4009 +13 -0
  415. data/other/stories/4010 +15 -0
  416. data/other/stories/4011 +15 -0
  417. data/other/stories/4012 +17 -0
  418. data/other/stories/4013 +15 -0
  419. data/other/stories/4014 +13 -0
  420. data/other/stories/4015 +15 -0
  421. data/other/stories/4016 +17 -0
  422. data/other/stories/4017 +13 -0
  423. data/other/stories/4018 +17 -0
  424. data/other/stories/4019 +15 -0
  425. data/other/stories/4020 +19 -0
  426. data/other/stories/4021 +21 -0
  427. data/other/stories/4022 +15 -0
  428. data/other/stories/4023 +13 -0
  429. data/other/stories/4024 +13 -0
  430. data/other/stories/4025 +23 -0
  431. data/other/stories/4026 +17 -0
  432. data/other/stories/4027 +15 -0
  433. data/other/stories/4028 +13 -0
  434. data/other/stories/4029 +11 -0
  435. data/other/stories/4030 +13 -0
  436. data/other/stories/4031 +13 -0
  437. data/other/stories/4032 +13 -0
  438. data/other/stories/4033 +15 -0
  439. data/other/stories/4034 +17 -0
  440. data/other/stories/4035 +13 -0
  441. data/other/stories/41 +15 -0
  442. data/other/stories/42 +17 -0
  443. data/other/stories/43 +15 -0
  444. data/other/stories/44 +15 -0
  445. data/other/stories/45 +17 -0
  446. data/other/stories/46 +17 -0
  447. data/other/stories/47 +13 -0
  448. data/other/stories/48 +13 -0
  449. data/other/stories/49 +17 -0
  450. data/other/stories/5 +11 -0
  451. data/other/stories/50 +13 -0
  452. data/other/stories/51 +15 -0
  453. data/other/stories/52 +17 -0
  454. data/other/stories/53 +15 -0
  455. data/other/stories/54 +11 -0
  456. data/other/stories/55 +21 -0
  457. data/other/stories/56 +19 -0
  458. data/other/stories/57 +13 -0
  459. data/other/stories/58 +15 -0
  460. data/other/stories/59 +13 -0
  461. data/other/stories/6 +11 -0
  462. data/other/stories/60 +13 -0
  463. data/other/stories/61 +13 -0
  464. data/other/stories/62 +13 -0
  465. data/other/stories/63 +15 -0
  466. data/other/stories/64 +15 -0
  467. data/other/stories/65 +17 -0
  468. data/other/stories/66 +15 -0
  469. data/other/stories/67 +15 -0
  470. data/other/stories/68 +15 -0
  471. data/other/stories/69 +17 -0
  472. data/other/stories/7 +15 -0
  473. data/other/stories/70 +21 -0
  474. data/other/stories/71 +13 -0
  475. data/other/stories/72 +13 -0
  476. data/other/stories/73 +15 -0
  477. data/other/stories/74 +17 -0
  478. data/other/stories/75 +11 -0
  479. data/other/stories/76 +19 -0
  480. data/other/stories/77 +21 -0
  481. data/other/stories/78 +19 -0
  482. data/other/stories/79 +11 -0
  483. data/other/stories/8 +17 -0
  484. data/other/stories/80 +21 -0
  485. data/other/stories/81 +23 -0
  486. data/other/stories/82 +15 -0
  487. data/other/stories/83 +11 -0
  488. data/other/stories/84 +13 -0
  489. data/other/stories/85 +17 -0
  490. data/other/stories/86 +17 -0
  491. data/other/stories/87 +25 -0
  492. data/other/stories/88 +19 -0
  493. data/other/stories/89 +17 -0
  494. data/other/stories/9 +15 -0
  495. data/other/stories/90 +15 -0
  496. data/other/stories/91 +15 -0
  497. data/other/stories/92 +17 -0
  498. data/other/stories/93 +17 -0
  499. data/other/stories/94 +19 -0
  500. data/other/stories/95 +13 -0
  501. data/other/stories/96 +17 -0
  502. data/other/stories/97 +15 -0
  503. data/other/stories/98 +11 -0
  504. data/other/stories/99 +13 -0
  505. data/other/upload.rb +8 -2
  506. data/src/compilation/abs +1 -1
  507. data/src/compilation/add +1 -1
  508. data/src/compilation/append +1 -1
  509. data/src/compilation/div +1 -1
  510. data/src/compilation/dump +1 -1
  511. data/src/compilation/exp +1 -1
  512. data/src/compilation/gsub +1 -1
  513. data/src/compilation/lines +1 -1
  514. data/src/compilation/mul +1 -1
  515. data/src/compilation/prepend +1 -1
  516. data/src/compilation/rip +1 -1
  517. data/src/compilation/rnip +1 -1
  518. data/src/compilation/selectlines +1 -1
  519. data/src/compilation/sub +1 -1
  520. data/src/compilation/swap +1 -1
  521. data/src/compilation/undump +1 -1
  522. data/src/compile_all +5 -2
  523. data/src/left_right +0 -0
  524. data/src/left_right.cc +87 -0
  525. data/src/left_right.exe +0 -0
  526. data/version_increment +1 -0
  527. metadata +418 -6
  528. data/non_compiled_programs/make_server +0 -784
  529. data/src/- +0 -1
  530. data/src/--file +0 -0
data/PP.rb CHANGED
@@ -994,7 +994,7 @@ CSS = "textview,textview * { #{THEME} } entry { margin: 10px 0px 0px 10p
994
994
  # for i in aarch64-linux-musl aarch64-windows-gnu aarch64-macos thumb-linux-musleabihf wasm32-wasi-musl x86_64-linux-musl x86_64-windows-gnu x86_64-macos; do zig cc -target $i -o $i out.c; done
995
995
  OUT = +""
996
996
 
997
- CYCLE_OF_ETHICAL_BEHAVIOUR = "How to Operate in Life, the best methodology
997
+ CYCLE_OF_ETHICAL_BEHAVIOR = "How to Operate in Life, the best methodology
998
998
  1. Fixate
999
999
  2. Worsen social relations
1000
1000
  3. Find and take environmental data, research could be done, no “moral” or “ethical” limitations.
@@ -1180,7 +1180,7 @@ Mechanism -- ChatGPT, Artificial Intelligence, or goal-less, social media, compu
1180
1180
  This is how to operate in order to change things and be effective.
1181
1181
 
1182
1182
 
1183
- #{CYCLE_OF_ETHICAL_BEHAVIOUR}"
1183
+ #{CYCLE_OF_ETHICAL_BEHAVIOR}"
1184
1184
  EOF
1185
1185
 
1186
1186
 
@@ -1194,7 +1194,7 @@ HELP_MSG = HASH["hello"].dump
1194
1194
  end
1195
1195
 
1196
1196
  %w[operation operate conduct work lone-wolf apply fix].each do |i|
1197
- HASH[i] = CYCLE_OF_ETHICAL_BEHAVIOUR
1197
+ HASH[i] = CYCLE_OF_ETHICAL_BEHAVIOR
1198
1198
  end; L = %w[
1199
1199
  sick sickness adhd add ocd symptoms psych psychs doctor doctors illness illnesses mental trouble troubles psychosis health healthy
1200
1200
  trauma traumas distress distresses disturbance disturbances suffering issues pain sufferings ptsd anxiety anxieties depress depression depressions symptom psychosomatic psychology psyches psychologies psychiatries
@@ -2313,7 +2313,7 @@ static void focus_loc_bar(void) { gtk_widget_grab_focus(entry); }
2313
2313
  static const char *const MENU_ITEMS[] = {
2314
2314
  "To help people",
2315
2315
  "Donate at gregorycohenvideos@gmail.com via PayPal or e-transfer",
2316
- #{ABOUT.dump}, #{CYCLE_OF_ETHICAL_BEHAVIOUR.dump}
2316
+ #{ABOUT.dump}, #{CYCLE_OF_ETHICAL_BEHAVIOR.dump}
2317
2317
  };
2318
2318
 
2319
2319
 
data/README CHANGED
@@ -1,4 +1,4 @@
1
- Trying to help with democracy. (No affiliation with freespeech.)
1
+ Trying to help with democracy.
2
2
 
3
3
  This is a collection of software that could truly change the world.
4
4
 
data/README.md CHANGED
@@ -31,7 +31,7 @@ I intend to make people more able.
31
31
  I was working on a “to buy” program regarding stocks, but it only
32
32
  partly works right now and it's not as useful as the other software.
33
33
  The find housing tool actually helped me to find housing in real life.
34
- Those aside, there are these 81 programs.
34
+ Those aside, there are these 83 programs.
35
35
  Some ones that convert text are skipped in this documentation because
36
36
  their name and usage is obvious (e.g., color tools).
37
37
 
@@ -97,7 +97,7 @@ You can use them anywhere without dependencies.
97
97
 
98
98
  Democracy Github Ruby Gem Python PIP Package
99
99
 
100
- Without further ado, here are the 81 documented programs. (The obvious usage
100
+ Without further ado, here are the 83 documented programs. (The obvious usage
101
101
  ones are omitted.)
102
102
 
103
103
  ### 1. Ultimate Chat Application.exe
@@ -167,15 +167,23 @@ ones are omitted.)
167
167
  Emerald browser is a really powerful new browser
168
168
  See README
169
169
  It works based on panes.
170
- Read the documentation for “open”, “close” and also the README file.
171
- ### 4. Find Housing
170
+ Read the documentation for “open,” “close” and also the README file.
171
+ ### 4. Left Right.exe
172
+
173
+ This is a tool to bring sanity to politics.
174
+ ![UCA](./images/12.png)
175
+ It gets viewpoints from the person that see the good in each political
176
+ side, left, right, left, right, etc.
177
+ It then presents all of that.
178
+ Hopefully this can make people more sane and less hyper-partisan.
179
+ ### 5. Find Housing
172
180
 
173
181
  This is a nice tool to find housing with.
174
182
  It is a nice, simple command line tool. You enter the minimum and
175
183
  maximum prices, and Kijiji opens with your options.
176
184
  This tool kind of actually helped me to find housing in real life.
177
- The default city is "Ottawa". You can easily change this.
178
- ### 5. Google Speak
185
+ The default city is Ottawa.” You can easily change this.
186
+ ### 6. Google Speak
179
187
 
180
188
  Google speak is really useful. It speaks a statement using the Google
181
189
  Translate voice, which is probably the most authoritative and
@@ -183,7 +191,7 @@ ones are omitted.)
183
191
  It's kind of like “espeak” or similar tools, but it is much better.
184
192
  You need an internet connection for it to work.
185
193
  It is probably limited at 100 characters.
186
- ### 6. Selectlines
194
+ ### 7. Selectlines
187
195
 
188
196
  selectlines shows all nonblank lines from the input
189
197
  Example
@@ -191,7 +199,7 @@ ones are omitted.)
191
199
  (echo 2; echo; echo; echo) | selectlines
192
200
  => 2
193
201
  The result would be 2, with no blank lines after that
194
- ### 7. Processes
202
+ ### 8. Processes
195
203
 
196
204
  Processes lists all processes with a certain name
197
205
  For example
@@ -199,7 +207,7 @@ ones are omitted.)
199
207
  processes bash
200
208
  processes ruby
201
209
  processes gsub
202
- ### 8. Emeraldc
210
+ ### 9. Emeraldc
203
211
 
204
212
  The Ultimate C Preprocessor
205
213
  I'm naming this preprocessor “Emerald C.”
@@ -230,7 +238,7 @@ ones are omitted.)
230
238
  language there is, is very clear, is native to all systems, and is
231
239
  useful for all purposes.
232
240
  Some people, e.g., Bjarne Stroustrup, consider that C is “not good
233
- enough”, and make languages like C++ or D (or thousands of others)
241
+ enough,” and make languages like C++ or D (or thousands of others)
234
242
  This is not necessary.
235
243
  There is no reason to use Python instead of C for “simple scripting
236
244
  tasks”
@@ -239,12 +247,12 @@ ones are omitted.)
239
247
  native C without things making it slow)
240
248
  1 String Interpolation “String interplation like this #{foo} ” Calls
241
249
  the join() function (talked about below to join strings,
242
- delim is a static global in each module called “sep”.
250
+ delim is a static global in each module called “sep.”
243
251
  Make sure you free() the string after. The string is stored in a static
244
- global variable called “last”.
252
+ global variable called “last.”
245
253
  So you could do puts(...); free(last)
246
- 2 ew *i.ew “Foo”, a.ew “bar” | char* ends with another char*?
247
- 3 sw *i.sw “Foo”, a.sw “bar” | char* starts with another char*?
254
+ 2 ew *i.ew “Foo,” a.ew “bar” | char* ends with another char*?
255
+ 3 sw *i.sw “Foo,” a.sw “bar” | char* starts with another char*?
248
256
  4 == Comparison of strs, “foo” == “bar”
249
257
  5 strip Returns pointer to string that was stripped, in place
250
258
  6 chomp void function, chomps end of string of spaces, i.chomp or
@@ -331,23 +339,23 @@ ones are omitted.)
331
339
  sys 0m0.160s
332
340
  Rust takes 0.637 seconds to compile an empty file!
333
341
  That is not ideal.
334
- ### 9. Last Nth
342
+ ### 10. Last Nth
335
343
 
336
344
  Last nth gets the last n lines from the standard input
337
- ### 10. Speakcat
345
+ ### 11. Speakcat
338
346
 
339
- Speak cat is a tool like “cat”, which shows the content of files
347
+ Speak cat is a tool like “cat,” which shows the content of files
340
348
  (technically, it combines the content of files).
341
349
  But speak cat also speaks the text.
342
350
  Which could be useful in some circumstances.
343
351
  It's kind of like “tee” to your ear.
344
- ### 11. UCA CLI
352
+ ### 12. UCA CLI
345
353
 
346
354
  CLI for uca app
347
- ### 12. Big Num
355
+ ### 13. Big Num
348
356
 
349
357
  ![UCA](./images/10.png)
350
- ### 13. Squeeze
358
+ ### 14. Squeeze
351
359
 
352
360
  Squeeze reads all input from stdin, then it prints it back omitting
353
361
  argument 1 line from the front, and argument 2 lines from the back
@@ -357,20 +365,20 @@ ones are omitted.)
357
365
  squeeze 5 3
358
366
  This would omit the first 5 lines and the last 3 lines
359
367
  squeeze 2 2 [file] also works, it outputs text to file
360
- ### 14. Dictate
368
+ ### 15. Dictate
361
369
 
362
370
  Dictate opens web pages in emerald browser, or in any browser
363
371
  (depending on the environment variable set), by you speaking, instead
364
372
  of typing.
365
373
  There is a mode called c_mode, that allows you to make code from
366
374
  speaking.
367
- ### 15. Prepend
375
+ ### 16. Prepend
368
376
 
369
377
  prepend prepends input taken from the standard input to a file
370
378
  Usage
371
379
  prepend [file]
372
380
  This is text to be prepended
373
- ### 16. Chat Rb
381
+ ### 17. Chat Rb
374
382
 
375
383
  This program is excellent.
376
384
  It's essentially a mix of ChatGPT and a shell, such as bash or ZSH.
@@ -378,8 +386,8 @@ ones are omitted.)
378
386
  It can display a file or change to a folder just by mentioning it.
379
387
  It outputs chatgpt data to an output folder in home folder and copies
380
388
  it to clipboard
381
- To run a shell command, prefix things with “c”, such as c gcc.....
382
- ### 17. Undump
389
+ To run a shell command, prefix things with “c,” such as c gcc.....
390
+ ### 18. Undump
383
391
 
384
392
  undump is the opposite of dump
385
393
  Example
@@ -389,13 +397,13 @@ ones are omitted.)
389
397
  => “cat”
390
398
  echo '“cat”' | undump
391
399
  => cat
392
- ### 18. Append
400
+ ### 19. Append
393
401
 
394
402
  Appends text to file
395
403
  Example
396
404
  append file
397
405
  This is more text to be appended
398
- ### 19. Gsubip
406
+ ### 20. Gsubip
399
407
 
400
408
  Global Substitute (Gsub) In Place
401
409
  gsubip is like gsub, which replaces all instances of a regular
@@ -412,7 +420,7 @@ ones are omitted.)
412
420
  It takes exactly 3 arguments, no more, no fewer.
413
421
  See also
414
422
  gsub
415
- ### 20. Rhyme
423
+ ### 21. Rhyme
416
424
 
417
425
  A very powerful music generator program that doesn't use AI.
418
426
  See this channel as an example of potential usage of this public
@@ -428,7 +436,7 @@ ones are omitted.)
428
436
  scientific establishment, supported and upheld by mainstream academia.
429
437
  To indicate what is already obvious, it exists in the context of a
430
438
  legacy of authoritarianism and a lack of understanding of dynamism.
431
- It is not dynamic or forceful, the "results" of it don't change the
439
+ It is not dynamic or forceful, the results of it don't change the
432
440
  foundation of society. True free discourse is not supported, especially
433
441
  in regards to the human mind and human well-being and human freedom.
434
442
  These problems should be opposed and fought, it is self-evident that
@@ -455,7 +463,7 @@ ones are omitted.)
455
463
  USAGE OF PROGRAM
456
464
  Enter basename to make songs folder in (folder/songs, num songs =
457
465
  13000)
458
- Usage rhyme [folder] (processes files "1.json" and "21.json" by
466
+ Usage rhyme [folder] (processes files 1.json and 21.json by
459
467
  default)
460
468
  Example output of a song
461
469
  ![UCA](./images/7.png)
@@ -556,7 +564,7 @@ ones are omitted.)
556
564
  They're a complete failure, they only neglect
557
565
  They don't speak the language of the people or their dialect
558
566
  This is not right, this is completely incorrect
559
- The only focus on “responses”, they just want to deflect
567
+ The only focus on “responses,” they just want to deflect
560
568
  The lies are put forth, the lies they erect
561
569
  CHORUS
562
570
  They're such failures, themselves they outdid
@@ -593,7 +601,7 @@ ones are omitted.)
593
601
  Disingenuous to the extreme, the society they subvert
594
602
  The society is the ones who hurt
595
603
  ---
596
- ### 21. Email
604
+ ### 22. Email
597
605
 
598
606
  This currently doesn't work for gmail since 2022 due to policy changes.
599
607
  A simple and practical tool to email people using Himalaya
@@ -608,10 +616,10 @@ ones are omitted.)
608
616
  Example
609
617
  email 'Gregory, I love your software!' gregorycohenvideos@gmail.com
610
618
  my_friend@outlook.com person@example.com
611
- ### 22. Floor
619
+ ### 23. Floor
612
620
 
613
621
  Gets the floor of numbers e.g. 21.3 -> 21
614
- ### 23. Rgsub
622
+ ### 24. Rgsub
615
623
 
616
624
  Recursively replaces text.
617
625
  Verbosely tells you everything that happens.
@@ -621,20 +629,19 @@ ones are omitted.)
621
629
  Would replace an email recursively in a directory.
622
630
  It tries to skip non-text files and hidden files.
623
631
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
624
- Usage: rgsub [optional list of files instead of recursive sear
625
- ch]
626
- If a file is "-" or stdin, read from stdin and output to stdout.
627
- Options
628
- -r, rename files instead of replacing contents of files.
629
- find and replace in file and dir names instead
630
- -v, verbose mode
631
- -- Indicate end of options.
632
+ Usage: rgsub [optional list of files instead of recursive search]
633
+ If a file is “-” or stdin, read from stdin and output to stdout.
634
+ Options
635
+ -r, rename files instead of replacing contents of files.
636
+ find and replace in file and dir names instead
637
+ -v, verbose mode
638
+ -- Indicate end of options.
632
639
 
633
- ### 24. Lines
640
+ ### 25. Lines
634
641
 
635
642
  Lines gets the number of files in the current folder that you are in.
636
643
  It can also act like “wc -l” if you pipe data into it.
637
- ### 25. Clock
644
+ ### 26. Clock
638
645
 
639
646
  clock is useful
640
647
  clock is a command line alarm clock
@@ -651,14 +658,14 @@ ch]
651
658
  To stop it
652
659
  Run this command
653
660
  clock stop
654
- ### 26. Emoji
661
+ ### 27. Emoji
655
662
 
656
663
  Emoji converts words to emojis from the standard input
657
664
  It can also speak the output
658
665
  It can also copy the output to your clipboard
659
666
  It is very useful
660
667
  ![UCA](./images/6.png)
661
- ### 27. Close
668
+ ### 28. Close
662
669
 
663
670
  “Close” is a simple program that closes “Emerald Browser,” a new web
664
671
  browser based on the same engine as Chrome. Currently, Emerald Browser
@@ -692,12 +699,12 @@ ch]
692
699
  some people.
693
700
  Currently, content, like YouTube videos, can't be made fullscreen.
694
701
  If anyone wants to contribute, feel free to!
695
- ### 28. Copy
702
+ ### 29. Copy
696
703
 
697
704
  copy copies the standard input
698
705
  Example
699
706
  ls | copy
700
- ### 29. Gsub
707
+ ### 30. Gsub
701
708
 
702
709
  Gsub is very powerful.
703
710
  Usage
@@ -706,7 +713,7 @@ ch]
706
713
  cat text | gsub man dog
707
714
  cat text | gsub 'man|boy|cat|dog' food
708
715
  ls | gsub Desktop cat
709
- ### 30. News
716
+ ### 31. News
710
717
 
711
718
  Gets the news from bbc
712
719
  Usage
@@ -714,7 +721,7 @@ ch]
714
721
  news speak
715
722
  uses google_speak to SPEAK the news, one story at a time.
716
723
  ![UCA](./images/5.png)
717
- ### 31. Dump
724
+ ### 32. Dump
718
725
 
719
726
  Dump surrounds its input with quotes
720
727
  ls | dump
@@ -722,14 +729,14 @@ ch]
722
729
  Use undump to get the reverse
723
730
  See also
724
731
  undump
725
- ### 32. Args
732
+ ### 33. Args
726
733
 
727
734
  args is like a better xargs
728
735
  args works properly with spaces in the name of commands
729
736
  It takes exactly one argument
730
737
  Example
731
738
  ls | args “mv -t ../f”
732
- ### 33. Rnip
739
+ ### 34. Rnip
733
740
 
734
741
  Replace Not In Place
735
742
  This is like gsub, but for strings, not for regular expressions
@@ -737,7 +744,7 @@ ch]
737
744
  echo .......... | rnip foo bar
738
745
  See also
739
746
  gsub
740
- ### 34. Quot
747
+ ### 35. Quot
741
748
 
742
749
  Turns quotes in text into good text and makes text presentable.
743
750
  Example
@@ -748,11 +755,11 @@ ch]
748
755
  Example 3
749
756
  (Quote the file and output it)
750
757
  quot text_file
751
- ### 35. Open
758
+ ### 36. Open
752
759
 
753
760
  “open” is a very efficient program that searches a query from google,
754
761
  and then opens it in Emerald Browser.
755
- If you ever want something to “just open”, you can use it.
762
+ If you ever want something to “just open,” you can use it.
756
763
  Example
757
764
  open “cats”
758
765
  An earlier version of open worked like this
@@ -769,25 +776,25 @@ ch]
769
776
  See also
770
777
  emerald-browser
771
778
  close
772
- ### 36. Swap
779
+ ### 37. Swap
773
780
 
774
781
  Swaps two files
775
782
  Example
776
783
  swap text1 text2
777
- ### 37. Exp
784
+ ### 38. Exp
778
785
 
779
786
  exp is an exponentiation tool
780
787
  (echo 5; echo 3) | exp
781
788
  => 125
782
789
  (echo 2; echo 10) | exp
783
790
  => 1024
784
- ### 38. Div
791
+ ### 39. Div
785
792
 
786
793
  Divides numbers
787
794
  Example
788
795
  (echo 5000; echo 100) | div
789
796
  => 50
790
- ### 39. Mul
797
+ ### 40. Mul
791
798
 
792
799
  Multiply numbers
793
800
  echo 1 > file
@@ -797,10 +804,10 @@ ch]
797
804
  echo 5 >> file
798
805
  cat file | mul
799
806
  => 120
800
- ### 40. Nth
807
+ ### 41. Nth
801
808
 
802
809
  Nth gets the nth line from the input
803
- ### 41. Abs
810
+ ### 42. Abs
804
811
 
805
812
  Abs gets the absolute value of an integer
806
813
  The absolute value of a number is the value of that number without its
@@ -813,13 +820,13 @@ ch]
813
820
  => 12
814
821
  The last one would do -2 - -10, the result would be -12, and then the
815
822
  absolute value would be computed, and so the result would be 12.
816
- ### 42. Add
823
+ ### 43. Add
817
824
 
818
825
  See the sub example
819
826
  add adds integers from the standard input
820
827
  (echo 1; echo 2; echo 3) | add
821
828
  The result would be 6
822
- ### 43. Sub
829
+ ### 44. Sub
823
830
 
824
831
  Sub is a simple command line program that subtracts integers.
825
832
  For some reason, no simple program did this.
@@ -836,14 +843,14 @@ ch]
836
843
  (echo 5; echo 2) | sub
837
844
  Result =>
838
845
  3
839
- ### 44. Rip
846
+ ### 45. Rip
840
847
 
841
848
  Replace In Place
842
849
  rip tool replaces a string, not a regular expression, with another
843
850
  string
844
851
  Example
845
852
  rip cat dog file
846
- ### 45. G+
853
+ ### 46. G+
847
854
 
848
855
  A compiler for C += 2. If you want to use C++ with Python syntax, you
849
856
  can use this.
@@ -851,11 +858,11 @@ ch]
851
858
  Example
852
859
  g+ a.cpp -o out
853
860
  See also README file & emerald-browser and its source
854
- ### 46. T
861
+ ### 47. T
855
862
 
856
863
  “t” is incredibly useful.
857
864
  It can be used many, many times every day by computer power users.
858
- It is kind of like “sed”, or perl, python or ruby.
865
+ It is kind of like “sed,” or perl, python or ruby.
859
866
  It's the ULTIMATE shell “glue” tool.
860
867
  t reads every line from the standard input, and for every line, it
861
868
  evaluates a ruby expression
@@ -878,7 +885,7 @@ ch]
878
885
  cat /usr/share/dict/words | t 'a + “ is a good word.”'
879
886
  That processes every word in the dictionary, and says that every word
880
887
  “is a good word.”
881
- There are other programs in this software project like “t”.
888
+ There are other programs in this software project like “t.”
882
889
  But if you do command line text filtering, t might be the best tool
883
890
  that you will find.
884
891
  See also
@@ -892,6 +899,7 @@ Navigation
892
899
  Ultimate Chat Application.exe
893
900
  Discourse Generator.exe
894
901
  Emerald Browser
902
+ Left Right.exe
895
903
  Find Housing
896
904
  Google Speak
897
905
  Selectlines
@@ -951,5 +959,5 @@ References
951
959
  11. http://www.rubygems.org/gems/democracy
952
960
  12. https://pypi.org/project/democracy
953
961
  13. https://cboard.cprogramming.com/c-programming/181160-hi-i-have-created-some-work-i-think-will-really-valuable-community.html?s=589b5504cd0e3c2dc90e9abd8b66906f
954
- 14. https://www.youtube.com/@LawrenceStevensMusic
962
+ 14. https://www.youtube.com/@LawrenceStevensMusic
955
963
  15. https://www.github.com/gregoryc/democracy
data/VERSION_NUMBER CHANGED
@@ -1 +1 @@
1
- 72.0
1
+ 79.0
data/bin/big_num CHANGED
@@ -26,6 +26,7 @@
26
26
  # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27
27
  # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28
28
  # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29
+
29
30
  list = %w[thousand
30
31
  million
31
32
  billion
@@ -126,6 +127,8 @@ list = %w[thousand
126
127
  septennonagintillion
127
128
  octononagintillion
128
129
  novemnonagintillion]
130
+
131
+
129
132
  def output(line, result, a)
130
133
  puts "#{line} =\n #{result} =\n #{a}"
131
134
  IO.popen('espeak', 'w') { |i| i << a }
data/bin/chat_rb CHANGED
@@ -27,15 +27,12 @@
27
27
  # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
28
 
29
29
 
30
-
31
-
32
30
  system 'tput reset &'
33
31
  require 'colored'
34
- puts `cat /dev/urandom|head -c 300`.blue, "\n"
32
+ puts `head -c 300 < /dev/urandom`.blue, "\n"
35
33
 
36
34
 
37
35
  if ARGV.join(' ') =~ /--cd=([^\s]+)/
38
- # puts "cd "+$1
39
36
  Dir.chdir Regexp.last_match(1)
40
37
  else
41
38
  Dir.chdir Dir.home
@@ -73,22 +70,19 @@ file add file to chatgpt input
73
70
  c run command in sh
74
71
  ll, ls -l, Show the contents of folder and beginning of files
75
72
  chrome, run chrome\nrs, restart\nexit, exit\nupdate, update sys\nhelp\nshow this help"; next
76
- # nex
77
73
  when /^file\s/
78
74
  line = line.sub(/^file\s+/, '')
79
75
  line = File.read(line)
80
76
  when 'exit'
81
77
  exit
82
78
  when 'update'
83
- system 'sudo apt update&&sudo apt upgrade'
79
+ system 'sudo apt update && sudo apt upgrade'
84
80
  when 'rs'
85
81
  exec "ruby #{File.expand_path(__FILE__)} --cd=#{Dir.pwd}"
86
- # exit
87
82
  when /^cat\s*[^\s]+$/
88
83
  require 'colored'
89
84
  l = File.read(line.sub(/^cat\s+/, ''))
90
85
  print l, "\n", '[', l.count("\n"), ' lines', ']', "\n", "\n"
91
- # system 'ls --color=auto'
92
86
  next
93
87
  when /^pwd$/
94
88
  puts Dir.pwd
@@ -97,7 +91,6 @@ chrome, run chrome\nrs, restart\nexit, exit\nupdate, update sys\nhelp\nshow this
97
91
  require 'colored'
98
92
  line = line.sub(/^cd\s*/, '').strip
99
93
  line = Dir.home if line == ''
100
- # line =
101
94
  begin
102
95
  Dir.chdir line
103
96
  rescue StandardError
@@ -111,7 +104,6 @@ chrome, run chrome\nrs, restart\nexit, exit\nupdate, update sys\nhelp\nshow this
111
104
  puts
112
105
  system ' ls --color=auto'
113
106
  next
114
- # end
115
107
  when 'chrome'
116
108
  system 'google-chrome 2>/dev/null&'
117
109
  next
@@ -123,8 +115,6 @@ chrome, run chrome\nrs, restart\nexit, exit\nupdate, update sys\nhelp\nshow this
123
115
  File.open(path) do |f|
124
116
  if path.match?(/(png|jpg)$/)
125
117
  puts path.magenta.bold
126
- # puts path.purple.bold
127
- # puts path.magen
128
118
  else
129
119
  puts "#{path} > ".bold + f.read(100).dump
130
120
  end
@@ -135,16 +125,13 @@ chrome, run chrome\nrs, restart\nexit, exit\nupdate, update sys\nhelp\nshow this
135
125
 
136
126
  next
137
127
  when /^ls(.*?)$/
138
- # puts 5
139
128
  system "ls --color=auto #{Regexp.last_match(1)}"
140
129
  next
141
130
 
142
131
  when /^c\s/
143
132
  line = line.sub(/^c\s+/, '')
144
133
  begin
145
- system line, exception: true # rescue => e begin
146
- # puts 'failed'
147
- # end
134
+ system line, exception: true
148
135
  rescue Exception => e
149
136
  begin
150
137
  begin
@@ -179,7 +166,8 @@ chrome, run chrome\nrs, restart\nexit, exit\nupdate, update sys\nhelp\nshow this
179
166
  return line
180
167
  end
181
168
  end
182
- # require 'colored'
169
+
170
+
183
171
  loop do
184
172
  $d = read(1)
185
173
  $t = read(2) # r
@@ -199,7 +187,7 @@ loop do
199
187
  out = response.dig('choices', 0, 'message', 'content')
200
188
  File.write 'out', out
201
189
  File.write Time.new.to_i.to_s, out
202
- system 'cat out | xclip -selection c'
190
+ system 'xclip -selection c < out'
203
191
  puts out
204
192
  rescue Interrupt
205
193
  puts
data/bin/close CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/bin/sh
2
2
 
3
- killall -9 emerald-browser qmake
3
+ killall -9 emerald-browser
data/bin/find_housing CHANGED
@@ -37,7 +37,7 @@ if ARGV.length != 2
37
37
  end
38
38
 
39
39
  require 'puppeteer-ruby'
40
- # system "killall google-chrome"#Warning[:deprecated] = false
40
+ #Warning[:deprecated] = false
41
41
  def site
42
42
  ARGV[0].strip
43
43
  end
data/bin/left_right ADDED
Binary file
Binary file
data/bin/quot CHANGED
@@ -9,7 +9,7 @@ val = if ARGV[0].nil?
9
9
 
10
10
  d = (val.gsub(/".*?"/) do |i|
11
11
  "“#{i[1..-2]}”"
12
- end).gsub(/\s*”\s*([,.?!])/, '\\1”').gsub(/(\s)\s+/, '\\1')
12
+ end).gsub(/\s*”\s*([,.?!])/, '\\1”').gsub(/([ \t])[ \t]+/, '\\1').gsub(/\n\n\n*/, "\n\n").strip
13
13
 
14
14
  if ARGV[0].nil?
15
15
  print d
@@ -46,4 +46,4 @@ THERE HAS BEEN NO FUNCTION TO POSITIVELY TRANSFORM TEXT.
46
46
 
47
47
  THIS IS VERY NECESSARY.
48
48
 
49
- VERY NECESSARY.
49
+ VERY NECESSARY.
@@ -1,4 +1,4 @@
1
- ![UCA](./images/2.png)
1
+ ![UCA](./images/2.png)
2
2
 
3
3
  There is so much potential with this program.
4
4