#Git notes
Warning : Support for isplay of git notes has been dropped by github : https://github.com/blog/707-git-notes-display
Resource : https://vimeo.com/34273537
##Add
git notes add
#Git notes
Warning : Support for isplay of git notes has been dropped by github : https://github.com/blog/707-git-notes-display
Resource : https://vimeo.com/34273537
##Add
git notes add
# All build snippets are based on Ubuntu trusty: | |
containers: | |
build: | |
setup: | |
- !Ubuntu trusty | |
- !UbuntuUniverse | |
# ------------------------------------------------------------------------ |
#Задание 1 - Верстка
Сверстать старницу для всех размеров экрана указаных в макабах на React.js (JSX): Cтраница
Требования:
#!/usr/bin/python | |
from __future__ import print_function | |
from threading import Thread | |
from twisted.internet.defer import Deferred | |
from twisted.trial.unittest import TestCase | |
from paho.mqtt.client import Client |
The use of __main__.py
to create executables
myprojectfolder/
|_ __main__.py
|_ __init__.py
Being __main__.py
:
print("Hello")
archim@monitoring:/etc/smokeping$ cat watch.sh | |
#!/bin/bash | |
cd /etc/smokeping/config.d | |
while :; do | |
inotifywait -e CLOSE_WRITE /etc/smokeping/config.d/* | |
for f in *config.txt; do | |
python /etc/smokeping/convert.py $f > `basename $f .txt`_converted.txt | |
done | |
invoke-rc.d smokeping restart | |
done |
Branch A has commits (X,Y) that also need to be in Branch B. The cherry-pick operations should be done in the same chronological order that the commits appear in Branch A.
cherry-pick
does support a range of commits, but if you have merge commits in that range, it gets really complicated
git checkout branch-B
git cherry-pick X
git cherry-pick Y
# -*- coding: utf-8 -*- | |
import base64 | |
from items import EmailItem, EmailLabelItem | |
from loader import JSONItemLoader | |
from oauth2spider import OAuth2Spider | |
class GmailSpider(OAuth2Spider): | |
name = "gmail" |