This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ADC{S}{<c>}{<q>} {<Rd>,} <Rn>, #<const> | |
ADC{S}{<c>}{<q>} {<Rd>,} <Rn>, <Rm> {, <shift>} | |
ADC{S}{<c>}{<q>} {<Rd>,} <Rn>, <Rm>, <type> <Rs> | |
ADD{<c>}{<q>} <Rd>, PC, #<const> | |
ADD{S}{<c>}{<q>} {<Rd>,} <Rn>, #<const> | |
ADD{S}{<c>}{<q>} {<Rd>,} <Rn>, <Rm> {, <shift>} | |
ADD{S}{<c>}{<q>} {<Rd>,} <Rn>, <Rm>, <type> <Rs> | |
ADD{S}{<c>}{<q>} {<Rd>,} SP, #<const> | |
ADD{S}{<c>}{<q>} {<Rd>,} SP, <Rm>{, <shift>} | |
ADDW{<c>}{<q>} {<Rd>,} <Rn>, #<const> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/gator-driver/gator_backtrace.c b/gator-driver/gator_backtrace.c | |
index 0670d6c..903e964 100644 | |
--- a/gator-driver/gator_backtrace.c | |
+++ b/gator-driver/gator_backtrace.c | |
@@ -130,17 +130,13 @@ static int report_trace(struct stackframe *frame, void *d) | |
} | |
#endif | |
-// Uncomment the following line to enable kernel stack unwinding within gator, note it can also be defined from the Makefile | |
-// #define GATOR_KERNEL_STACK_UNWINDING |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"tabs | |
:set tabstop=4 | |
:set shiftwidth=4 | |
:set expandtab | |
"code folding | |
:set foldmethod=indent | |
:set foldlevelstart=99 | |
"command completion | |
:set wildmode=longest,list,full | |
:set wildmenu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#create rings | |
echo creating hours ring | |
for i in $( seq 6 6 360 ); do convert -size 220x176 -depth 16 xc:transparent -fill none -stroke DarkOrange3 -draw "stroke-width 16 ellipse 110,88 74,74 270,$((270 + i))" polar_hours_$i.png; done | |
echo creating minutes ring | |
for i in $( seq 6 6 360 ); do convert -size 220x176 -depth 16 xc:transparent -fill none -stroke DarkOrange4 -draw "stroke-width 16 ellipse 110,88 58,58 270,$((270 + i))" polar_minutes_$i.png; done | |
echo creating seconds ring | |
for i in $( seq 6 6 360 ); do convert -size 220x176 -depth 16 xc:transparent -fill none -stroke peru -draw "stroke-width 16 ellipse 110,88 42,42 270,$((270 + i))" polar_seconds_$i.png; done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
s=╱╲;while :;do printf ${s:RANDOM%2:1};sleep 0.001;done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# tested with BusyBox v1.22.1 | |
if [ "$#" -ne 1 ]; then | |
echo Usage: $0 http://altyazi.org/sub/s/...html | |
exit 1 | |
fi | |
HTML=`curl -s -c cookies.txt $1` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from requests import get | |
from lxml import html | |
from operator import itemgetter | |
citycodes = {'skane' : '23', 'lund': '23_10', 'eslov' : '23_2'} | |
result = [] | |
def list(city, keyword, limit): | |
url = 'http://www.blocket.se/' + city + '?q=' + keyword + \ | |
'&cg=0&w=0&st=s&ca=' + citycodes[city] + '&is=1&l=0&md=th' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#create rings | |
echo creating hours ring | |
for i in $( seq 6 6 360 ); do convert -size 220x176 -depth 16 xc:transparent -fill none -stroke DarkOrange3 -draw "stroke-width 16 ellipse 110,88 74,74 270,$((270 + i))" polar_hours_$i.png; done | |
echo creating minutes ring | |
for i in $( seq 6 6 360 ); do convert -size 220x176 -depth 16 xc:transparent -fill none -stroke DarkOrange4 -draw "stroke-width 16 ellipse 110,88 58,58 270,$((270 + i))" polar_minutes_$i.png; done | |
echo creating seconds ring | |
for i in $( seq 6 6 360 ); do convert -size 220x176 -depth 16 xc:transparent -fill none -stroke peru -draw "stroke-width 16 ellipse 110,88 42,42 270,$((270 + i))" polar_seconds_$i.png; done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
link=`curl -s "http://www.canlitvlive.org/izle/$1.html" |sed -n 's/.*file:"\(.*\)"}]}]\(.*\)/\1/p'` | |
livestreamer --player-external-http --player-external-http-port 8087 "hls://$link" worst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
videos=`curl -s "https://api.dailymotion.com/user/$1/videos?limit=100" | jq '.list|.[]|.id'` | |
for id in $videos; | |
do | |
id=${id#\"} | |
id=${id%\"} | |
url=`curl -s "https://api.dailymotion.com/video/$id?fields=url"|jq .url` | |
youtube-dl -f 1080 $url | |
done |
OlderNewer