This file contains hidden or 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
import dbus | |
import os | |
from datetime import timedelta | |
def get_spotify_artist_title(): | |
""" | |
Get the current song metadatas (artist - title) | |
""" | |
bus = dbus.SessionBus() | |
__bus = bus.get_object( |
This file contains hidden or 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
set nocompatible " be iMproved, required | |
filetype off " required | |
:command! -nargs=1 Silent execute ':silent !'.<q-args> | execute ':redraw!' | |
map <F1> <esc>:NERDTreeToggle<CR> O <S-Right> | |
map <F2> <ESC>:CommandT .<CR> | |
map <F3> <esc>:CommandTFlush <Enter> :NERDTreeFind <Enter><CR> | |
imap <F5> <Esc>:Silent echo 1 > /tmp/watcher <CR> | |
:imap <F9> <Esc><c-y>,i |
This file contains hidden or 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
<style type='text/css'> | |
td { | |
text-align: left; | |
/*float: left;*/ | |
} | |
.wrapper { | |
position: relative; |
This file contains hidden or 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
package hahahaha; | |
import java.awt.Color; | |
import java.awt.Component; | |
import java.awt.event.ComponentAdapter; | |
import java.awt.event.ComponentEvent; | |
import java.io.*; | |
import java.text.ParseException; | |
import java.text.SimpleDateFormat; | |
import java.util.ArrayList; |