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
#!/bin/sh | |
ls -1 *.md | sort -n|xargs head -1|less |
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
#!/bin/sh | |
cat socks4| awk '{print "socks4 " $NF}' |sed 's/:/ /g' | xclip -sel clip |
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
keyright: | |
case 'l': | |
if (selpane == PaneFeeds && panes[selpane].nrows) | |
feed_open_selected(&panes[selpane]); | |
else if (selpane == PaneItems && panes[selpane].nrows) | |
feed_pipe_selected_item(&panes[selpane]); | |
break; | |
case '\t': | |
selpane = selpane == PaneFeeds ? PaneItems : PaneFeeds; | |
if (layout == LayoutMonocle) |
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
#!/bin/bash | |
Help() | |
{ | |
# Display Help | |
echo "nrkfzf is a script that search on tv.nrk.no and pipes it to fzf" | |
echo | |
echo "Syntax: nrkfzf [-c|h|t|v|V]" | |
echo "options:" | |
echo "c Search with category" |
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
from selenium import webdriver | |
from selenium.webdriver.common.keys import Keys | |
from time import sleep | |
class itsb: | |
def __init__(self): | |
self.driver = webdriver.Firefox() | |
def login_it(self): | |
sleep(4) |
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
from selenium import webdriver | |
from selenium.webdriver.common.keys import Keys | |
from time import sleep | |
class itsb: | |
def __init__(self): | |
self.driver = webdriver.Chrome() | |
def login_it(self): #login in with itslearning | |
self.driver.get('https://www.itslearning.com/welcome.aspx') | |
#sleep(1) |