diff options
author | Julian <julianteule@gmail.com> | 2017-02-08 22:20:47 +0100 |
---|---|---|
committer | Julian <julianteule@gmail.com> | 2017-02-08 22:20:47 +0100 |
commit | ecf4878084e1d2fe352e923d4f4f534dcde37869 (patch) | |
tree | e84442abf973d47db64f86ae0db84bdb5ae13919 | |
parent | 4bbbe4724c5260ce6e0e9001aeca7c59236dce3a (diff) | |
parent | 82ec37bdf8307b14e31a52d57b74b3471b1367ad (diff) |
Removed irritation error from conky, and fixed merge conflicts
-rw-r--r-- | .spacemacs | 1 | ||||
-rw-r--r-- | .zshrc | 2 | ||||
-rw-r--r-- | Conky/conkymain | 2 | ||||
-rw-r--r-- | README.md | 45 | ||||
-rw-r--r-- | Scripts/2spooky.lua | 79 | ||||
-rw-r--r-- | Scripts/installSouceCodePro.sh | 23 | ||||
-rwxr-xr-x | Scripts/rofi | 59 | ||||
-rw-r--r-- | Scripts/setUpeveryThing | 2 | ||||
-rwxr-xr-x | Scripts/skoopy | 79 | ||||
-rwxr-xr-x | Scripts/start2bwm | 6 | ||||
-rwxr-xr-x | Scripts/virtualWifi.conf | 4 | ||||
-rw-r--r-- | Scripts/wiki2P.py | 47 |
12 files changed, 331 insertions, 18 deletions
@@ -31,6 +31,7 @@ values." ;; List of configuration layers to load. dotspacemacs-configuration-layers '( + python markdown html javascript @@ -94,7 +94,7 @@ alias lemon="~/.config/openbox/lemonbar | lemonbar -g 1355x20+5+5 -f terminus-9" PATH=/home/julian/Scripts:$PATH PATH=/home/julian/.gem/ruby/2.4.0/bin:$PATH -fortune -n 100 | cowsay +#fortune -n 100 | cowsay rex diff --git a/Conky/conkymain b/Conky/conkymain index bc02258..e1b719f 100644 --- a/Conky/conkymain +++ b/Conky/conkymain @@ -63,7 +63,7 @@ ${color white}1. ${top_mem name 1}${top_mem pid 1} ${top_mem cpu 1} ${top_mem me 4. ${top_mem name 4}${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4} 5. ${top_mem name 5}${top_mem pid 5} ${top_mem cpu 5} ${top_mem mem 5} ${color orange}MUSIC${hr 2} -${if_running spotify}${texeci 1 /usr/bin/spotify-nowplaying-work}${color white}Song: +${if_running spotify}${color white}Song: ${color gray}${exec /home/julian/Conky/spotify-nowplaying.sh} ${else}${color gray}Spotify is closed ${endif}${color orange}NETWORK${hr 2} @@ -6,3 +6,48 @@ This is where i keep my dotfiles and scripts. I use [this](https://developer.atlassian.com/blog/2016/02/best-way-to-store-dotfiles-git-bare-repo/) method of managing dotfiles +If the link above is broken, here is a short summary. + +The method comes from this [thread](https://news.ycombinator.com/item?id=11070797). The idea is to transform your home folder into a git repository, and then add the files you edited. + +### First time setup + +Make a new bare github repository + +Initialize git + +`git init --bare $HOME/.cfg` + +Add the easy to use alias + +`alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'` + +Set git option + +`config config --local status.showUntrackedFiles no` + +This is important, because othervise git vil print every file in your home directory. + +Remember to add `alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'` to your shellrc + +Now commands like `config add`, `config commit`, `config push` and `config pull` can be used to manage and sync you config files to github. + +### Add to new computer + +Configure the alias + +`alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'` + +Make gitignore +`echo ".cfg" >> .gitignore` + +Clone repository +`git clone --bare <git-repo-url> $HOME/.cfg` + +Checkout +`config checkout` + +Backup or delete files that conflict this command and then run `config checkout` again + +And turn off the tracking +`config config --local status.showUntrackedFiles no` diff --git a/Scripts/2spooky.lua b/Scripts/2spooky.lua new file mode 100644 index 0000000..a0ebc5d --- /dev/null +++ b/Scripts/2spooky.lua @@ -0,0 +1,79 @@ + --Definitely not my best work, first script I've done in Lua 5.2 + function draw() + nissue = { + "\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[1;33m", + ",~~~~~~~~~~~~~, \027[0;31m..:::::::::.. \027[1;33m ,~~~~~~~~~~~~~,\027[1;33m", + "\027[1;33m:\027[1;32m .-======-,\027[1;33m : \027[0;31m ..:::\027[1;37maad8888888baa\027[0;31m:::.. \027[1;33m:\027[1;34mExploit-the \027[1;33m :\027[1;32m", + "\027[1;33m:\027[1;32m ||\027[0;31mH4CK3R\027[1;32m|# \027[1;33m : \027[0;31m .::::\027[1;37md:?88888888888?::8b\027[0;31m::::. \027[1;33m :\027[0;31m.-------,./|\027[1;33m :\027[1;32m", + "\027[1;33m:\027[1;32m ||______|| \027[1;33m :\027[1;34m&&&& \027[0;31m.:::\027[1;37md8888:?88888888??a888888b\027[0;31m:::. \027[1;34m &&&&\027[1;33m:\027[0;31m{ \027[1;33m VIRUS \027[0;31m /\027[1;33m :\027[1;33m", + "\027[1;33m:\027[1;32m | ___ | \027[1;33m : \027[1;34m + \027[0;31m.:::\027[1;37md8888888a8888888aa8888888888b\027[0;31m:::. \027[1;34m + \027[1;33m :\027[0;31m \\\027[1;33m DROPPER\027[0;31m 7\027[1;33m :\027[1;33m", + "\027[1;33m:\027[1;32m | |\027[1;35m[]\027[1;32m | | \027[1;33m : \027[1;34m &\027[0;31m::::\027[1;37mdP\027[0;31m\023\022\021\020\019\018\017\016\027[1;37m88888888888\027[0;31m\023\022\021\020\019\018\017\016\027[1;37mYb\027[0;31m::::\027[1;34m&&\027[1;33m :\027[0;31m ~. ,--.( \027[1;33m :\027[1;33m", + "\027[1;33m:\027[1;32m `-------' \027[1;33m : \027[0;31m::::\027[1;37mdP\027[0;31m\024:::::::\015\027[1;37mY888888888P\027[0;31m\024:::::::\015\027[1;37mYb\027[0;31m::::\027[1;33m : \027[0;31m '~ `;\027[1;33m :\027[1;33m", + "\027[1;33m:\027[0;31mReverse- \027[1;33m : \027[0;31m::::\027[1;37md8\027[0;31m\001:::::::::\014\027[1;37mY8888888P\027[0;31m\001:::::::::\014\027[1;37m8b\027[0;31m::::\027[1;33m :\027[1;34mNation's-\027[0;31mData\027[1;33m:\027[1;33m", + "\027[1;33m:\027[0;31mEngineering \027[1;33m: \027[0;31m.::::\027[1;37m88\027[0;31m\002\003\004\005\006\007\008\009\010\011\012\013\027[1;37mY88888P\027[0;31m\002\003\004\005\006\007\008\009\010\011\012\013\027[1;37m88\027[0;31m::::.\027[1;33m `~~~~~~~~~~~~'\027[1;33m", + "\027[1;33m `~~~~~~~~~~~~' \027[0;31m:::::\027[1;37mY8baaaaaaaaaa88P\027[0;31m:\027[1;37mT\027[0;31m:\027[1;37mY88aaaaaaaaaad8P\027[0;31m::::: \027[0;31m", + "\027[0;31m :::::::\027[1;37mY88888888888P\027[0;31m::\027[1;37m|\027[0;31m::\027[1;37mY88888888888P\027[0;31m::::::: \027[0;31m", + "\027[1;33m,~~~~~~~~~~~~~, \027[0;31m::::::::::::::::\027[1;37m888\027[0;31m:::\027[1;37m|\027[0;31m:::\027[1;37m888\027[0;31m::::::::::::::::\027[1;33m ,~~~~~~~~~~~~~,\027[1;33m", + "\027[1;33m:\027[1;34m R00T-KITS \027[1;33m : \027[0;31m`:::::::::::::::\027[1;37m8888888888888b\027[0;31m::::::::::::::' \027[1;33m :\027[0;31mHoM3-$w33t\027[1;33m :\027[1;37m", + "\027[1;33m:\027[0;31m ____ \027[1;37m __ \027[1;33m : \027[0;31m:::::::::::::::\027[1;37m88888888888888\027[0;31m:::::::::::::: \027[1;33m :\027[1;34m (I\027[1;33m :\027[1;33m", + "\027[1;33m: \027[0;31m| |\027[1;37m |\027[0;31m-_\027[1;37m| \027[1;33m:\027[0;31m :::::::::::::\027[1;37md88888888888888\027[0;31m::::::::::::: \027[1;33m :\027[1;36m^^^\027[1;34m |\027[1;36m ^^^\027[1;33m:\027[1;33m", + "\027[1;33m:\027[0;31m |____|\027[1;33m_\027[1;37m|\027[0;31m=_\027[1;37m|\027[1;33m :\027[0;31m ::::::::::::\027[1;37m88\027[0;31m::\027[1;37m88\027[0;31m::\027[1;37m88\027[0;31m:::\027[1;37m88\027[0;31m::::::::::::\027[1;33m :\027[1;34m|u|_\027[1;36m^^^^^\027[1;34m_|u|\027[1;33m:\027[1;33m", + "\027[1;33m:\027[1;37m ____\027[1;33m)\027[1;37m_\027[1;37m.\027[1;37m___\027[1;33m : \027[0;31m`::::::::::\027[1;37m88\027[0;31m::\027[1;37m88\027[0;31m::\027[1;37m88\027[0;31m:::\027[1;37m88\027[0;31m::::::::::' \027[1;33m :\027[1;34m|_ u _ u _|\027[1;33m:\027[1;33m", + "\027[1;33m: \027[1;37m/\027[1;34m:::::;\027[1;37m|\027[1;34m _\027[1;37m)\027[1;33m:\027[1;34m &\027[0;31m`:::::::::\027[1;37m88\027[0;31m::\027[1;37m88\027[0;31m::\027[1;37mP\027[0;31m::::\027[1;37m88\027[0;31m:::::::::'\027[1;34m& \027[1;33m:\027[1;34m |__|\027[1;37m;\027[1;34m|__| \027[1;33m :\027[1;33m", + "\027[1;33m:\027[1;37m `======'\027[1;34m |_|\027[1;33m: \027[1;34m+ \027[0;31m `:::::::\027[1;37m88\027[0;31m::\027[1;37m88\027[0;31m:::::::\027[1;37m88\027[0;31m:::::::' \027[1;34m + \027[1;33m :\027[1;34m /_/ \027[1;33m :\027[1;33m", + "\027[1;33m:\027[1;34mUr-Computer-\027[1;33m :\027[1;34m&&&&&&& \027[0;31m ``:::::::::::::::::::::::''\027[1;34m &&&&&&&\027[1;33m:\027[0;31mH4x0r-HoM3- \027[1;33m :\027[1;33m", + "\027[1;33m:\027[1;34mis-MY-\027[0;31mSlave \027[1;33m : \027[0;31m ``::::::::::::::''\027[1;33m :\027[0;31m *\027[1;37m127\027[0;31m.\027[1;37m0\027[0;31m.\027[1;37m0\027[0;31m.\027[1;37m1\027[0;31m* \027[1;33m:\027[1;33m", + "\027[1;33m `~~~~~~~~~~~~' `~~~~~~~~~~~~'\027[1;33m", + "\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[1;37m", + "\027[0;31m -======- \027[1;37m +\027[0;31mWARNING\027[1;37m+\027[1;33m\"\027[0;31mIllegal\027[1;37m_\027[0;31mNetwork\027[1;37m_\027[0;31mConnections\027[1;37m_\027[0;31mBeyond\027[1;37m_\027[0;31mLogin\027[1;33m\" \027[0;31m -======-\027[0;31m", + "\027[0;31m |\027[1;32mH\027[1;34m4\027[1;33mC\027[1;35mK\027[1;36m3\027[1;37mR\027[0;31m| \027[1;34m -== \027[1;37m You are at the point of \027[0;31mNO RETURN \027[1;34m ==- \027[0;31m |\027[1;32mH\027[1;34m4\027[1;33mC\027[1;35mK\027[1;36m3\027[1;37mR\027[0;31m|\027[0;31m", + "\027[0;31m |______|\027[0;31mYour Activities\027[1;37m:\027[1;33mWill\027[1;37m_\027[1;33mbe\027[1;37m_\027[1;33mKeylogged\027[1;37m_\027[1;33mand\027[1;37m_\027[1;33mTimestamped \027[1;34m\"\027[0;31mUSER_BEWARE\027[1;34m\"\027[0;31m|______|\027[0;31m", + "\027[0;31mHacking Sites\027[1;37m:\027[0;31m https\027[1;37m:\027[1;33m//\027[0;31msites\027[1;37m.\027[0;31mgoogle\027[1;37m.\027[0;31mcom\027[1;33m/\027[0;31msite\027[1;33m/\027[0;31mlazyboxx \027[1;35m*\027[0;31m http\027[1;37m:\027[1;33m//\027[0;31mwww\027[1;37m.\027[0;31mfreebsd\027[1;37m.\027[0;31morg \027[1;33m" + } + io.write("\027[1;1H") --reset cursor + for a = 7,11 do + for b = 1,24 do + if b == position then + nissue[a] = string.gsub(nissue[a],string.char(b),"\027[1;31m@\027[0;31m") + else + nissue[a] = string.gsub(nissue[a],string.char(b),":") + end + end + end + for a = 5,21 do + if bool then + nissue[a] = string.gsub(nissue[a],"&","\027[31;1m=\027[37;1m") + nissue[a] = string.gsub(nissue[a],"+","\027[31;1m|\027[37;1m") + else + nissue[a] = string.gsub(nissue[a],"&","=") + nissue[a] = string.gsub(nissue[a],"+","|") + end + end + for i = 1,28 do + print(nissue[i]) + end + bool = not bool + end + function changepos(num) + if position == 24 and num == 1 then + position = 1 + elseif position == 1 and num == -1 then + position = 24 + else + position = position + num + end + end + position = 14 + bool = true + dirs = {1,-1} + draw() + while true do + move = math.random(1,6) + dir = dirs[math.random(1,2)] + draw() + for m = 1,move do + changepos(dir) + draw() + os.execute("sleep 0.1") --Replace it with some other way to wait one tenth of a second if you're using Windows or don't have "sleep" + end --On the subject of Windows compatibility, Ansicon is a perfect way to make the Ansi escape codes work. + end diff --git a/Scripts/installSouceCodePro.sh b/Scripts/installSouceCodePro.sh new file mode 100644 index 0000000..c22908f --- /dev/null +++ b/Scripts/installSouceCodePro.sh @@ -0,0 +1,23 @@ +echo "\n* Downloading version $version of source code pro font" +rm -f SourceCodePro_FontsOnly-$version.zip +rm -rf SourceCodePro_FontsOnly-$version +wget https://github.com/downloads/adobe/source-code-pro/SourceCodePro_FontsOnly-$version.zip + +echo "\n* Unziping package" +unzip SourceCodePro_FontsOnly-$version.zip +mkdir -p ~/.fonts + +echo "\n* Copying fonts to ~/fonts" +cp SourceCodePro_FontsOnly-$version/OTF/*.otf ~/.fonts/ + +echo "\n* Updating font cache" +sudo fc-cache -f -v + +echo "\n* Looking for 'Source Code Pro' in installed fonts" +fc-list | grep "Source Code Pro" + +echo "\n* Now, you can use the 'Source Code Pro' fonts, ** for sublime text ** just add the lines bellow to 'Preferences > Settings':" +echo '\n "font_face": "Source Code Pro",' +echo ' "font_size": 10' + +echo "\n* Finished :)\n" diff --git a/Scripts/rofi b/Scripts/rofi new file mode 100755 index 0000000..b6423f4 --- /dev/null +++ b/Scripts/rofi @@ -0,0 +1,59 @@ +# --- APPLY XRES BEGIN +c_red_l="CC6666" +c_green_l="BDE077" +c_cyan_d="72AD8C" +c_cursor="fff000" +c_yellow_d="FEA63C" +c_green_d="B7CE42" +c_yellow_l="FFE863" +c_foreground="ddeedd" +c_blue_l="AACCBB" +c_magenta_l="ff5879" +c_black_d="25374A" +c_background="131D24" +c_magenta_d="F26B9E" +c_black_l="3A526B" +c_blue_d="66AABB" +c_white_l="FFFFFF" +c_cyan_l="9FE3BC" +c_red_d="BD4A4A" +c_white_d="DDEEDD" +# --- APPLY XRES END + +tod="Morning" + +bg="$c_background" # Default background for undefined times of day +fg="$c_foreground" +case $tod in + "Late Night") + bg="$c_black_d" + fg="$c_black_l" + ;; + "Early Morning") + bg="$c_blue_d" + fg="$c_black_d" + ;; + "Morning") + bg="$c_cyan_d" + fg="$c_white_l" + ;; + "Afternoon") + bg="$c_white_l" + fg="$c_black_l" + ;; + "Late Afternoon") + bg="$c_yellow_d" + fg="$c_black_d" + ;; + "Evening") + bg="$c_background" + fg="$c_yellow_d" + ;; + "Night") + bg="$c_black_d" + fg="$c_blue_l" + ;; +esac + +width=1366 +rofi -show run -width $width -fg "#$fg" -bg "#$bg" -hlbg "#$fg" -hlfg "#$bg" -bc "#$c_background" -location 0 -lines 8 -bw 0 -font "Inconsolata Bold 16" -padding 400 -separator-style none -opacity 85 diff --git a/Scripts/setUpeveryThing b/Scripts/setUpeveryThing index 73b87e5..2e9efb0 100644 --- a/Scripts/setUpeveryThing +++ b/Scripts/setUpeveryThing @@ -12,7 +12,7 @@ sudo apt -y install python3-pip sudo apt -y install git sudo apt -y install playonlinux -sudo apt -y install emacs-nox +sudo apt -y install emacs sudo apt -y install vim sudo apt -y install nano diff --git a/Scripts/skoopy b/Scripts/skoopy new file mode 100755 index 0000000..3cf65cf --- /dev/null +++ b/Scripts/skoopy @@ -0,0 +1,79 @@ +--Definitely not my best work, first script I've done in Lua 5.2 +function draw() + nissue = { + "\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[1;33m", + ",~~~~~~~~~~~~~, \027[0;31m..:::::::::.. \027[1;33m ,~~~~~~~~~~~~~,\027[1;33m", + "\027[1;33m:\027[1;32m .-======-,\027[1;33m : \027[0;31m ..:::\027[1;37maad8888888baa\027[0;31m:::.. \027[1;33m:\027[1;34mExploit-the \027[1;33m :\027[1;32m", + "\027[1;33m:\027[1;32m ||\027[0;31mH4CK3R\027[1;32m|# \027[1;33m : \027[0;31m .::::\027[1;37md:?88888888888?::8b\027[0;31m::::. \027[1;33m :\027[0;31m.-------,./|\027[1;33m :\027[1;32m", + "\027[1;33m:\027[1;32m ||______|| \027[1;33m :\027[1;34m&&&& \027[0;31m.:::\027[1;37md8888:?88888888??a888888b\027[0;31m:::. \027[1;34m &&&&\027[1;33m:\027[0;31m{ \027[1;33m VIRUS \027[0;31m /\027[1;33m :\027[1;33m", + "\027[1;33m:\027[1;32m | ___ | \027[1;33m : \027[1;34m + \027[0;31m.:::\027[1;37md8888888a8888888aa8888888888b\027[0;31m:::. \027[1;34m + \027[1;33m :\027[0;31m \\\027[1;33m DROPPER\027[0;31m 7\027[1;33m :\027[1;33m", + "\027[1;33m:\027[1;32m | |\027[1;35m[]\027[1;32m | | \027[1;33m : \027[1;34m &\027[0;31m::::\027[1;37mdP\027[0;31m\023\022\021\020\019\018\017\016\027[1;37m88888888888\027[0;31m\023\022\021\020\019\018\017\016\027[1;37mYb\027[0;31m::::\027[1;34m&&\027[1;33m :\027[0;31m ~. ,--.( \027[1;33m :\027[1;33m", + "\027[1;33m:\027[1;32m `-------' \027[1;33m : \027[0;31m::::\027[1;37mdP\027[0;31m\024:::::::\015\027[1;37mY888888888P\027[0;31m\024:::::::\015\027[1;37mYb\027[0;31m::::\027[1;33m : \027[0;31m '~ `;\027[1;33m :\027[1;33m", + "\027[1;33m:\027[0;31mReverse- \027[1;33m : \027[0;31m::::\027[1;37md8\027[0;31m\001:::::::::\014\027[1;37mY8888888P\027[0;31m\001:::::::::\014\027[1;37m8b\027[0;31m::::\027[1;33m :\027[1;34mNation's-\027[0;31mData\027[1;33m:\027[1;33m", + "\027[1;33m:\027[0;31mEngineering \027[1;33m: \027[0;31m.::::\027[1;37m88\027[0;31m\002\003\004\005\006\007\008\009\010\011\012\013\027[1;37mY88888P\027[0;31m\002\003\004\005\006\007\008\009\010\011\012\013\027[1;37m88\027[0;31m::::.\027[1;33m `~~~~~~~~~~~~'\027[1;33m", + "\027[1;33m `~~~~~~~~~~~~' \027[0;31m:::::\027[1;37mY8baaaaaaaaaa88P\027[0;31m:\027[1;37mT\027[0;31m:\027[1;37mY88aaaaaaaaaad8P\027[0;31m::::: \027[0;31m", + "\027[0;31m :::::::\027[1;37mY88888888888P\027[0;31m::\027[1;37m|\027[0;31m::\027[1;37mY88888888888P\027[0;31m::::::: \027[0;31m", + "\027[1;33m,~~~~~~~~~~~~~, \027[0;31m::::::::::::::::\027[1;37m888\027[0;31m:::\027[1;37m|\027[0;31m:::\027[1;37m888\027[0;31m::::::::::::::::\027[1;33m ,~~~~~~~~~~~~~,\027[1;33m", + "\027[1;33m:\027[1;34m R00T-KITS \027[1;33m : \027[0;31m`:::::::::::::::\027[1;37m8888888888888b\027[0;31m::::::::::::::' \027[1;33m :\027[0;31mHoM3-$w33t\027[1;33m :\027[1;37m", + "\027[1;33m:\027[0;31m ____ \027[1;37m __ \027[1;33m : \027[0;31m:::::::::::::::\027[1;37m88888888888888\027[0;31m:::::::::::::: \027[1;33m :\027[1;34m (I\027[1;33m :\027[1;33m", + "\027[1;33m: \027[0;31m| |\027[1;37m |\027[0;31m-_\027[1;37m| \027[1;33m:\027[0;31m :::::::::::::\027[1;37md88888888888888\027[0;31m::::::::::::: \027[1;33m :\027[1;36m^^^\027[1;34m |\027[1;36m ^^^\027[1;33m:\027[1;33m", + "\027[1;33m:\027[0;31m |____|\027[1;33m_\027[1;37m|\027[0;31m=_\027[1;37m|\027[1;33m :\027[0;31m ::::::::::::\027[1;37m88\027[0;31m::\027[1;37m88\027[0;31m::\027[1;37m88\027[0;31m:::\027[1;37m88\027[0;31m::::::::::::\027[1;33m :\027[1;34m|u|_\027[1;36m^^^^^\027[1;34m_|u|\027[1;33m:\027[1;33m", + "\027[1;33m:\027[1;37m ____\027[1;33m)\027[1;37m_\027[1;37m.\027[1;37m___\027[1;33m : \027[0;31m`::::::::::\027[1;37m88\027[0;31m::\027[1;37m88\027[0;31m::\027[1;37m88\027[0;31m:::\027[1;37m88\027[0;31m::::::::::' \027[1;33m :\027[1;34m|_ u _ u _|\027[1;33m:\027[1;33m", + "\027[1;33m: \027[1;37m/\027[1;34m:::::;\027[1;37m|\027[1;34m _\027[1;37m)\027[1;33m:\027[1;34m &\027[0;31m`:::::::::\027[1;37m88\027[0;31m::\027[1;37m88\027[0;31m::\027[1;37mP\027[0;31m::::\027[1;37m88\027[0;31m:::::::::'\027[1;34m& \027[1;33m:\027[1;34m |__|\027[1;37m;\027[1;34m|__| \027[1;33m :\027[1;33m", + "\027[1;33m:\027[1;37m `======'\027[1;34m |_|\027[1;33m: \027[1;34m+ \027[0;31m `:::::::\027[1;37m88\027[0;31m::\027[1;37m88\027[0;31m:::::::\027[1;37m88\027[0;31m:::::::' \027[1;34m + \027[1;33m :\027[1;34m /_/ \027[1;33m :\027[1;33m", + "\027[1;33m:\027[1;34mUr-Computer-\027[1;33m :\027[1;34m&&&&&&& \027[0;31m ``:::::::::::::::::::::::''\027[1;34m &&&&&&&\027[1;33m:\027[0;31mH4x0r-HoM3- \027[1;33m :\027[1;33m", + "\027[1;33m:\027[1;34mis-MY-\027[0;31mSlave \027[1;33m : \027[0;31m ``::::::::::::::''\027[1;33m :\027[0;31m *\027[1;37m127\027[0;31m.\027[1;37m0\027[0;31m.\027[1;37m0\027[0;31m.\027[1;37m1\027[0;31m* \027[1;33m:\027[1;33m", + "\027[1;33m `~~~~~~~~~~~~' `~~~~~~~~~~~~'\027[1;33m", + "\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[1;37m", + "\027[0;31m -======- \027[1;37m +\027[0;31mWARNING\027[1;37m+\027[1;33m\"\027[0;31mIllegal\027[1;37m_\027[0;31mNetwork\027[1;37m_\027[0;31mConnections\027[1;37m_\027[0;31mBeyond\027[1;37m_\027[0;31mLogin\027[1;33m\" \027[0;31m -======-\027[0;31m", + "\027[0;31m |\027[1;32mH\027[1;34m4\027[1;33mC\027[1;35mK\027[1;36m3\027[1;37mR\027[0;31m| \027[1;34m -== \027[1;37m You are at the point of \027[0;31mNO RETURN \027[1;34m ==- \027[0;31m |\027[1;32mH\027[1;34m4\027[1;33mC\027[1;35mK\027[1;36m3\027[1;37mR\027[0;31m|\027[0;31m", + "\027[0;31m |______|\027[0;31mYour Activities\027[1;37m:\027[1;33mWill\027[1;37m_\027[1;33mbe\027[1;37m_\027[1;33mKeylogged\027[1;37m_\027[1;33mand\027[1;37m_\027[1;33mTimestamped \027[1;34m\"\027[0;31mUSER_BEWARE\027[1;34m\"\027[0;31m|______|\027[0;31m", + "\027[0;31mHacking Sites\027[1;37m:\027[0;31m https\027[1;37m:\027[1;33m//\027[0;31msites\027[1;37m.\027[0;31mgoogle\027[1;37m.\027[0;31mcom\027[1;33m/\027[0;31msite\027[1;33m/\027[0;31mlazyboxx \027[1;35m*\027[0;31m http\027[1;37m:\027[1;33m//\027[0;31mwww\027[1;37m.\027[0;31mfreebsd\027[1;37m.\027[0;31morg \027[1;33m" + } + io.write("\027[1;1H") --reset cursor + for a = 7,11 do + for b = 1,24 do + if b == position then + nissue[a] = string.gsub(nissue[a],string.char(b),"\027[1;31m@\027[0;31m") + else + nissue[a] = string.gsub(nissue[a],string.char(b),":") + end + end + end + for a = 5,21 do + if bool then + nissue[a] = string.gsub(nissue[a],"&","\027[31;1m=\027[37;1m") + nissue[a] = string.gsub(nissue[a],"+","\027[31;1m|\027[37;1m") + else + nissue[a] = string.gsub(nissue[a],"&","=") + nissue[a] = string.gsub(nissue[a],"+","|") + end + end + for i = 1,28 do + print(nissue[i]) + end + bool = not bool +end +function changepos(num) + if position == 24 and num == 1 then + position = 1 + elseif position == 1 and num == -1 then + position = 24 + else + position = position + num + end +end +position = 14 +bool = true +dirs = {1,-1} +draw() +while true do + move = math.random(1,6) + dir = dirs[math.random(1,2)] + draw() + for m = 1,move do + changepos(dir) + draw() + os.execute("sleep 0.1") --Replace it with some other way to wait one tenth of a second if you're using Windows or don't have "sleep" + end --On the subject of Windows compatibility, Ansicon is a perfect way to make the Ansi escape codes work. +end diff --git a/Scripts/start2bwm b/Scripts/start2bwm index c3f5cfc..e35fd21 100755 --- a/Scripts/start2bwm +++ b/Scripts/start2bwm @@ -1,7 +1,9 @@ compton --config /home/julian/.config/compton & -xsetroot -cursor_name arrow -fg white -bg black +xsetroot -cursor_name arrow -fg white -bg black & -feh --bg-scale /home/julian/Billeder/Wallpapers/m3* & +feh --bg-scale /home/julian/Billeder/Wallpapers/B* & + +export _JAVA_AWT_WM_NONREPARENTING=1 & 2bwm diff --git a/Scripts/virtualWifi.conf b/Scripts/virtualWifi.conf new file mode 100755 index 0000000..b1e04e6 --- /dev/null +++ b/Scripts/virtualWifi.conf @@ -0,0 +1,4 @@ +interface=wlp2s0 +driver=nl80211 +ssid=julian +channel=1 diff --git a/Scripts/wiki2P.py b/Scripts/wiki2P.py index 84f4d82..316c7e9 100644 --- a/Scripts/wiki2P.py +++ b/Scripts/wiki2P.py @@ -1,25 +1,46 @@ import requests, bs4, re -# res = requests.get("https://en.wikipedia.org/wiki/Special:Random") -res = requests.get("https://en.wikipedia.org/wiki/Linux") -soup = bs4.BeautifulSoup(res.text, "html.parser") +def calculate(site): -element = soup.select("#mw-content-text a[title]") + print("Downloading wikipedia site: " + site) -pattern = re.compile("^\/.*") + res = requests.get("https://en.wikipedia.org" + site) + print("Download completed analysing") -for i in element: - if "Edit section" not in i["title"] and pattern.match(i["href"]): - if "div" not in str(i.parent) and "th" not in str(i.parent) and "td" not in str(i.parent): - try: - i["class"] - except KeyError: - print(i) - break + soup = bs4.BeautifulSoup(res.text, "html.parser") + element = soup.find("div", {"class": "mw-content-ltr"}).find("p") + + + #print(element) + + elements = element.find_all("a") + + + + + pattern = re.compile("\/wiki\/(?!File|Help).*") + + results = "" + + + for i in elements: + if pattern.match(i["href"]) : + results = i["href"] + break + + return results + + + +siter = "/wiki/Linux" + +while siter is not "philosophy": + input(siter) + siter = calculate(siter) |