Skip to content

Instantly share code, notes, and snippets.

View olp-cs's full-sized avatar

Olga Pustovalova olp-cs

View GitHub Profile
@olp-cs
olp-cs / corpus-linguistics.md
Created December 30, 2013 13:35
Corpus linguistics: method, analysis, interpretation - A Seasonal, Corpus Linguistics, Gift!

Corpus linguistics: method, analysis, interpretation - A Seasonal, Corpus Linguistics, Gift!

FutureLearn [email protected]

Dec 24 (6 days ago)

Well, in the UK it is Christmas Eve and the giving of presents will begin in the morning. So I thought I would start a little early and send you a note to say what the Corpus Linguistics course has in store for you in 2014! OK – a very academic present, I know, but I think it is one you will appreciate. Each week will be split into four. There will be an introductory lecture on a topic, one or more advanced lectures covering similar topics (or just plain interesting topics), a ‘how to’ session where you can develop corpus searching and building skills and, last but not least, one or more ‘in conversation’ videos where I talk to a friend about their use of corpus linguistics. Some of this you know if you have been following my emails and tweets so far (for those of you who are not but would like to follow the tweets follow me @TonyMcEn

@olp-cs
olp-cs / python-study-group.md
Last active November 18, 2016 11:35
Учебная группа по Python: скайп-чат

Учебная группа по Python: скайп-чат

Ссылка на скайп-чат

skype:?chat&blob=hMiRW3mVON1wnwnIEefLw2U5HrI-NeHRiPLX_til6rAVsSIr1oYX0NZboKY6PPMnxQfbTGxA7tK5D9HwnjIRWo42_HcyU6aGTWTAZRM_k_kvj8IqFwBl-qJOjDEcSoWeJCHND8o6ltmHl_TEgCMmssW84IZIT73H68Ppl80oe6UGSziKYzst-WK_Bz9Ws_TV4A

Как присоединиться к скайп-чату

  • Попробуйте открыть ссылку в каком-нибудь браузере (например, Firefox). Должен открыться Skype с окном чата.
> head(simplyStats)
[1] "<!DOCTYPE html>"
[2] "<script>var __pbpa = true;</script><script>var translated_warning_string = 'Warning: Never enter your Tumblr password unless \\u201chttps://www.tumblr.com/login\\u201d\\x0ais the address in your web browser.\\x0a\\x0aYou should also see a green \\u201cTumblr, Inc.\\u201d identification in the address bar.\\x
@olp-cs
olp-cs / skype-chat-join.md
Last active December 26, 2015 18:49
Как присоединиться к скайп-чату

Как присоединиться к скайп-чату

Итак, у вас есть ссылка на скайп-чат, которая начинается с символов skype:?chat&blob=....

  • Попробуйте открыть вашу ссылку в каком-нибудь браузере (например, Firefox). Должен открыться Skype с окном чата.

  • Как вариант, попробуйте отправить ссылку кому-нибудь по скайпу, а затем перейти по ней.

  • Если у вас Линукс:

    • в Skype выше списка контактов есть поле "Search through your contacts"
    • слева от него есть небольшая кнопка, если её нажать, можно увидеть в списке вариантов "Join public chat", выбрать его.
#Newbie programmer
def factorial(x):
if x == 0:
return 1
else:
return x * factorial(x - 1)
print factorial(6)
#First year programmer, studied Pascal
#!/bin/sh
# Locale
sudo apt-get -y install language-pack-pt
# System update
sudo apt-get -y update
# System upgrade
sudo apt-get -y upgrade
@olp-cs
olp-cs / chat.md
Last active December 25, 2015 12:59
Как создать открытый скайп-чат

Как создать открытый скайп-чат

  1. Создать группу в скайпе. В Windows это значок "Создать группу" (третий по счёту в панели ниже вашего имени), в Mac OS - "Файл" > "Новый разговор". Подробные инструкции: Windows, Mac (для Linux на их сайте не нашлось).

  2. Открыть её для новых пользователей, чтобы они могли свободно присоединиться: /set options +JOINING_ENABLED

  3. Пусть новые пользователи видят историю чата (здесь есть лимит - в 2 недели или в 400 сообщений, в зависимости от того, что будет достигнуто раньше): /set options +HISTORY_DISCLOSED

  4. Получить ссылку на чат: /get uri

@olp-cs
olp-cs / explore_a_single_data_file.json
Created September 29, 2013 06:34
Explore a single data file from the US Gov Bit.ly dataset
{
"metadata": {
"name": "exploring_a_single_data_file"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@olp-cs
olp-cs / stocks.py
Last active April 19, 2017 19:03
pandas demo: reading data from Yahoo
# Last updated: 2017
import pandas.io.data as web
# Read the stock price data from Yahoo
apple = web.DataReader('AAPL', 'yahoo', start = '01/01/2012', end = '25/10/2012')
# Display several lines
apple[0:5]
@olp-cs
olp-cs / pandas_demo.json
Created October 26, 2012 13:28
Demo: pandas, Python Data Analysis Library
{
"metadata": {
"name": "Demo: pandas"
},
"name": "Demo: pandas",
"nbformat": 2,
"worksheets": [
{
"cells": [
{