- CTRL + D
Secilen satiri alt satiri kopyalar.
- CTRL + /
Secilen satirlari comment icine alir. comment edilmisse commentten cikartir.
- CTRL + w
from __future__ import print_function | |
import os | |
import requests | |
github_user = os.environ.get('githubuser') | |
api_url = 'https://api.github.com/users/{github_user}/repos?per_page=100'.format(github_user=github_user) | |
if github_user is None: | |
github_user = raw_input('No GitHub username detected, please enter it here: ') |
#!/bin/bash | |
read -p "enter your wallet address: " WALLETID | |
sudo apt-get update | |
sudo apt-get install -y git automake g++ build-essential libcurl4-openssl-dev libjansson4 libjansson-dev | |
if [ -d $(pwd)/quarkcoin-cpuminer ]; then | |
rm -r $(pwd)/quarkcoin-cpuminer | |
fi | |
git clone https://github.com/uncle-bob/quarkcoin-cpuminer | |
cd quarkcoin-cpuminer | |
./autogen.sh |
// 1. Go to page https://www.linkedin.com/settings/email-frequency | |
// 2. You may need to login | |
// 3. Open JS console | |
// ([How to?](http://webmasters.stackexchange.com/questions/8525/how-to-open-the-javascript-console-in-different-browsers)) | |
// 4. Copy the following code in and execute | |
// 5. No more emails | |
// | |
// Bookmarklet version: | |
// http://chengyin.github.io/linkedin-unsubscribed/ |
function mood() | |
{ | |
cmd=". $HOME/.env/$1/bin/activate" | |
$cmd | |
} | |
_mood() | |
{ | |
local cur="${COMP_WORDS[COMP_CWORD]}" | |
local projects=$(ls -h $HOME/.env) |
Secilen satiri alt satiri kopyalar.
Secilen satirlari comment icine alir. comment edilmisse commentten cikartir.
#!/usr/bin/env python | |
import sys | |
import os.path | |
PROJECT_ROOT = os.path.abspath(os.path.dirname(__file__)) | |
sys.path.insert(0, os.path.join(PROJECT_ROOT, "../")) | |
from twisted.internet import reactor, task | |
from scrapy.crawler import Crawler |
from cProfile import Profile | |
from django.core.management.base import BaseCommand | |
class ProfileEnabledBaseCommand(BaseCommand): | |
"""Enable profiling a command with --profile. | |
Requires child class to define _handle instead of handle. | |
via https://gist.github.com/dfrankow | |
""" |
/** | |
* Module dependencies. | |
*/ | |
var express = require('express') | |
, routes = require('./routes') | |
, http = require('http') | |
, path = require('path') | |
// ! | |
, swig = require('./config/consolidate-swig').swig |
from scrapy import log | |
from scrapy.item import Item | |
from scrapy.http import Request | |
from scrapy.contrib.spiders import XMLFeedSpider | |
def NextURL(): | |
""" | |
Generate a list of URLs to crawl. You can query a database or come up with some other means | |
Note that if you generate URLs to crawl from a scraped URL then you're better of using a |
# -*- coding: utf-8 -*- | |
import urllib, re, hashlib, os, smtplib | |
from email.MIMEText import MIMEText | |
class VisaChecker(object): | |
""" | |
VisaChecker script for the applicants waiting 'administrative processing'. | |
""" | |