This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FILES := $(wildcard *.c) | |
go: $(FILES) | |
echo $^ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Makefile | |
a.c | |
b.c | |
d/e.c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/make -f | |
PREFIX := $(shell pwd) | |
DISTRIBUTION := unstable | |
APT_MIRROR := "http://localhost:9999/debian" | |
WORKDIR := /home/abhijit/tmp/qemu-image-builder-work | |
BOOTSTRAP_DIR := $(WORKDIR)/debootstrap | |
DEBOOTSTRAP := /usr/sbin/debootstrap | |
DEBOOTSTRAP_OPTS := --no-check-certificate --no-check-gpg --include=linux-image-amd64,openssh-server,qemu-guest-agent | |
DEST := $(WORKDIR)/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
from collections import defaultdict | |
import user | |
import random | |
class Graph: | |
def __init__(self): | |
self._vertices = set() | |
self._edges = defaultdict(list) | |
def add_vertex(self, data): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
require 'nokogiri' | |
require 'open-uri' | |
Nokogiri::HTML(open(ARGV[0])).css("a").map do |link| | |
link.attributes["href"].value | |
end.find_all do |link| | |
link.include? "song1.php?songid=" or link.include? "song.php?songid=" | |
end.each do |link| |