I use Ubuntuโs Uncomplicated firewall because it is available on Ubuntu and it's very simple.
if ufw is not installed by default be sure to install it first.
#!/bin/sh | |
sudo /usr/share/ati/amd-uninstall.sh --force | |
cd /etc | |
sudo rm -rf ati | |
cd /usr/share | |
sudo rm -rf ati |
@startuml | |
class Shape { | |
boolean : selected | |
int : x | |
int : y | |
int : depth | |
+paint() | |
} |
1. offset vs addr ? | |
"ๆๅๅญธ่ชชไป invoke ไนๅฏไปฅ็จ offset" | |
ๆ็ๆณๆณ: | |
array ็ไฝๅไธ้ๅงๅฐฑ้ ็ฝฎๅจ data segment๏ผไฝๅๆฏๅบๅฎ็๏ผๆไปฅๅฏไปฅ็จ offset ไพๅๅผ | |
var1 ๆฏๅท่กๆๆๆ้ ็ฝฎๅบไพ็่จๆถ้ซ็ฉบ้๏ผๆไปฅ่ฆ้้ addr ไพ่จ็ฎไฝๅใ | |
INCLUDE irvine32.inc |
/** | |
* Definition for singly-linked list. | |
* struct ListNode { | |
* int val; | |
* struct ListNode *next; | |
* }; | |
*/ | |
struct TNode{ | |
struct ListNode *node; |
$ find /etc/ -name passwd
find: /etc//cups/certs: Permission denied ->stderr(2)
/etc//pam.d/passwd ->stdout(1)
/etc//passwd
#Redirect stdout
http://stackoverflow.com/questions/2016404/git-status-shows-modifications-git-checkout-file-doesnt-remove-them |
function string.fromhex(str) | |
return (str:gsub('..', function (cc) | |
return string.char(tonumber(cc, 16)) | |
end)) | |
end | |
function string.tohex(str) | |
return (str:gsub('.', function (c) | |
return string.format('%02X', string.byte(c)) | |
end)) |
#!/bin/ksh | |
typeset port=$((RANDOM % 60000)) | |
while ((port < 30000)); do | |
port=$((RANDOM % 60000)) | |
done | |
typeset pipe=`mktemp -u` | |
mkfifo $pipe | |
trap "rm -f $pipe" INT |
print("โโโโโโโโโโโโโโโโโโโโโโโโโโโโ") | |
print("โโโโโโโโโโโโโโโโโโโโโโโโโโโโ") | |
print("โโโโโโโโโโโโโโโโโโโโโโโโโโโโ") | |
print("โโโโโโโโโโโโโโโโโโโโโโโโโโโโ") | |
print("โโโโโโโโโโโโโโโโโโโโโโโโโโโโ") | |
print("โโโโโโโโโโโโโโโโโโโโโโโโโโโโ") | |
print("โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ") | |
print("โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ") | |
print("โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ") | |
print("โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ") |