duangsuse::Echo
719 subscribers
4.27K photos
130 videos
583 files
6.49K links
import this:
美而不丑、明而不暗、短而不凡、长而不乱,扁平不宽,读而后码,行之天下,勿托地上天国。
异常勿吞,难过勿过,叹一真理。效率是很重要,盲目最是低效。
简明是可靠的先验,不是可靠的祭品。
知其变,守其恒,为天下式;穷其变,知不穷,得地上势。知变守恒却穷变知新,我认真理,我不认真。

技术相干订阅~
另外有 throws 闲杂频道 @dsuset
转载频道 @dsusep
极小可能会有批评zf的消息 如有不适可退出
suse小站(面向运气编程): https://WOJS.org/#/
Download Telegram
好好拿 r2 分析吧(
This media is not supported in your browser
VIEW IN TELEGRAM
一键安装 upx(executable packer) 🐤
(只能在 AMD64 Linux 平台上使用)

cd tmp
wget https://github.com/upx/upx/releases/download/v3.94/upx-3.94-amd64_linux.tar.xz
tar -xvf upx-3.94-amd64_linux.tar.xz
# Install!
sudo install -Dm644 upx-3.94-amd64_linux/upx.1 /usr/share/man/man1/
# And man doc
sudo install -Dm755 upx-3.94-amd64_linux/upx /usr/bin
cat upx-3.94-amd64_linux/README.1ST

删除:

sudo rm /usr/bin/upx
sudo rm /usr/share/man/man1/upx.1
duangsuse::Echo
好好拿 r2 分析吧(
(分析不起,很多模式不认识啊…(call eax 也懒得看是 wtf
我只会

extern printf

section .text

global main

main:
push hello
call printf
ret

section .data

hello: db "Hello, world"
This media is not supported in your browser
VIEW IN TELEGRAM
从来没有一次写 x86 汇编版本的 Hello world 成功的
#Ruby #dev #project 在编译 MRuby 的时候由于缺少一个 Default NDK home 走了一些弯路(甚至自己定义了一个用来自动设置 NDK home 的方法),
因为现在 duangsuse 很喜欢积极修复小问题,就快速修改了一下准备提交给 mruby/mruby (改动太小就没开 new branch

没想到 mrb 要求 Create a branch which is dedicated to your change ... 留着他们 rebase 的
估计要撤下那个 commit 了(
要不然我觉得做一个 MandarinRuby 还挺好,不若就这样(跑

另外貌似还发现 GitHub 的某 Ruby Heredoc 代码高亮好像有问题? 到时候看下

顺便最近学学 Qt 吧?
This media is not supported in your browser
VIEW IN TELEGRAM
如果做 MandarinRuby 肯定很搞笑(哈哈哈 🤣

dse@susepc:~$ ~/Projects/mruby-1.4.1/bin/mirb
mirb - Embeddable Interactive Ruby Shell

> 1
=> 1
> 22
=> 22
> 你好 = 1
=> 1
> 你好
=> 1

🌚
class/module name must be CONSTANT

嗯... 这样就得想办法解决常量区分的问题
duangsuse::Echo
class/module name must be CONSTANT 嗯... 这样就得想办法解决常量区分的问题
太烧脑了,Ruby 是这样区分常量和其它变量的... 要不然加个
字符串 = String
class String
class << self
alias :初始化 :initialize
alias :新 :new
alias :被继承时 :inherited
alias :超类 :superclass
alias :类 :class
end
alias :剪切 :split
end

字符串.类
#=> Class


来来来直接靠 Ruby 本身「汉化」 Ruby 哈哈 🤣
感谢 Matz 居然还让 Ruby 支持了非 ascii 标识符...
duangsuse::Echo
太烧脑了,Ruby 是这样区分常量和其它变量的... 要不然加个
如果觉得有解决方法的尽可能告诉我吧.... (歧视中文系列
(或许可以把以 模块常量 结尾的作为常量
比如:
字符串类
整数类
整数类::GMP版本常量