git reset --hard HEAD^
git tag 1.0.0[tag version] -a
from scrapy.spider import BaseSpider | |
from scrapy.http import FormRequest, Request | |
from scrapy.selector import HtmlXPathSelector | |
class DjangoSpider(BaseSpider): | |
domain_name = "django.local" | |
start_urls = ["http://localhost:8000/admin/"] | |
extra_domain_names = ["localhost"] | |
def parse(self, response): |
cat /etc/passwd | gawk 'FS=":" {print $1}' | |
gawk -F: '{ print $1 }' /etc/passwd | |
alias userlist='cat /etc/passwd |grep "/bin/bash" |grep "[5-9][0-9][0-9]" |cut -d: -f1' |
1. Install RVM | |
\curl -L https://get.rvm.io | bash -s stable | |
2. Install Ruby 1.9.2 | |
rvm install 1.9.2 | |
3. Make default | |
rvm --default 1.9.2 | |
4. Install jekyll |
// | |
// UIDeviceHardware.h | |
// | |
// Used to determine EXACT version of device software is running on. | |
#import <Foundation/Foundation.h> | |
@interface UIDeviceHardware : NSObject | |
- (NSString *) platform; |
Let's have some command-line fun with curl, [jq][1], and the [new GitHub Search API][2].
Today we're looking for:
Hi,
I'm Hugo, a Cu-liii at YLLabs.
Now I'm working as iOS Engineer in our private business.
Please check out our product, YLNews.
I'm also very keen on Hacker News and read tech/business articles.