Key Combination | Description |
---|---|
Ctrl + A | Move to the beginning of the line |
Ctrl + E | Move to the end of the line |
Ctrl + B | Move one character backward |
Ctrl + F | Move one character forward |
Alt + B | Move one word backward |
Alt + F | Move one word forward |
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
""" | |
$ export SLACK_TOKEN="xoxb-1234567890-1234567890123-GaT2364GEv72wRpDfSkqn2Wk" | |
$ python download_slack_history.py CHANNELID | |
Downloading messages... | |
...............................................................done! | |
Downloading threads | |
................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ |
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
// ==UserScript== | |
// @name Litmos speed controls | |
// @namespace [email protected] | |
// @version 0.2 | |
// @description Add speed controls to SAP Litmos videos | |
// @author Rodrigo Deodoro | |
// @match https://*.litmos.com/course/* | |
// ==/UserScript== | |
(function () { |
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
import os | |
for dirpath, dirnames, files in os.walk('.'): | |
if not (files or dirnames): | |
os.rmdir(dirpath) |
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
import subprocess | |
import asyncio | |
import os | |
import re | |
from collections import namedtuple | |
from bs4 import BeautifulSoup | |
import requests | |
''' |
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
import time | |
import sys | |
import sched | |
from pync import Notifier | |
def main(): | |
seconds = int(sys.argv[1]) * 60 | |
text = sys.argv[2] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
List of incompetent jackasses who can't check a source if their lives depended on it:
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
[run] | |
branch = True | |
omit = *migrations*, | |
*urls*, | |
*test*, | |
*admin*, | |
*scripts*, | |
*models*, | |
pipes/config/*, | |
pipes/manage.py, |
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 django.contrib import admin | |
from django.core.urlresolvers import reverse | |
from .models import Carro, Fabrica, Pais | |
class CarroAdmin(admin.ModelAdmin): | |
list_display = ('nome', 'fabrica', 'pais') | |
def queryset(self): | |
qs = super(CarroAdmin, self).queryset() |
NewerOlder