Skip to content

Instantly share code, notes, and snippets.

@Elinos
Elinos / base_crawler.py
Created July 12, 2018 12:08 — forked from nix010/base_crawler.py
Crawl pictures from Pinterest by search a keyword | 26 Jan, 2018 (TESED )
from bs4 import BeautifulSoup as BS
import requests
class BaseCrawler(object):
api_url = None
default_headers = {
'Accept-Language' :'en-US,en,q=0.9,vi;q=0.8',
ּ_בּ
בּ_בּ
טּ_טּ
כּ‗כּ
לּ_לּ
מּ_מּ
סּ_סּ
תּ_תּ
٩(×̯×)۶
٩(̾●̮̮̃̾•̃̾)۶
@Elinos
Elinos / gist:b1d60b257370f3294cd6
Created April 30, 2015 06:00
Install task from source
brew install --build-from-source task
@Elinos
Elinos / 0_reuse_code.js
Last active August 29, 2015 14:15
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@Elinos
Elinos / Test JS OOP Exam
Last active August 29, 2015 14:03
Test JS OOP Exam
(function() {
'use strict';
require(['tech-store-models/store', 'tech-store-models/item'], function(Store, Item) {
var store;
try {
var testStore = new Store([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]);
console.error("Doesn't check if store name is string!");
} catch (err) {
console.log("Checks if store name is string!");
}
@Elinos
Elinos / AutoHotkey.ahk
Last active August 29, 2015 13:57
dotfiles
; Google search highlighted text
#g::
Send, ^c
Sleep 50
Run, http://www.google.com/search?q=%clipboard%
Return
; Git Shell terminal
^+t::
Run, "C:\Users\Kiril\Desktop\Git Shell"
@Elinos
Elinos / A-Pen-by-Kiril-Tsarnakliyski.markdown
Created March 5, 2014 20:26
A Pen by Kiril Tsarnakliyski.
#########################
# Autoinstall script using chocolatey
#########################
# Note: Net 4.0 must be installed prior to running this script
#
#Modify this line to change packages
$items = @("GoogleChrome", "thunderbird", "skype", "vlc", "quicktime", "flashplayerplugin", "javaruntime", "DotNet4.5", "utorrent", "dropbox", "Teracopy", "7zip.install", "python", "eclipse-java-juno", "notepadplusplus.install", "git.install" )
@Elinos
Elinos / swap esc - caps
Created November 10, 2013 21:35
Swap Escape and CapsLock in Linux
setxkbmap -option caps:swapescape
@Elinos
Elinos / OOP TP Ideas
Last active December 27, 2015 18:29
OOP Team Project Ideas
- Assign keyboard shortcuts to open files/ run programs/ etc.
- Whiteboard for collaboration
- Calendar for Telerik Academy (+ other events)
- Bookmarks / notes organizer