This file contains hidden or 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
# Date = 14042019 | |
# Source: https://raw.githubusercontent.com/anudeepND/youtubeadsblacklist/master/domainlist.txt | |
# Mapped to host hosts(5) format (http://man7.org/linux/man-pages/man5/hosts.5.html) | |
127.0.0.1 r1---sn-25ge7n76.googlevideo.com | |
127.0.0.1 r1.sn-25ge7n76.googlevideo.com | |
127.0.0.1 r2---sn-25ge7n76.googlevideo.com | |
127.0.0.1 r2.sn-25ge7n76.googlevideo.com | |
127.0.0.1 r3---sn-25ge7n76.googlevideo.com | |
127.0.0.1 r3.sn-25ge7n76.googlevideo.com |
This file contains hidden or 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
$ pygmentize | |
Traceback (most recent call last): | |
File "/usr/bin/pygmentize", line 9, in <module> | |
load_entry_point('Pygments==1.6', 'console_scripts', 'pygmentize')() | |
File "/usr/lib/python3.3/site-packages/pkg_resources.py", line 357, in load_entry_point | |
return get_distribution(dist).load_entry_point(group, name) | |
File "/usr/lib/python3.3/site-packages/pkg_resources.py", line 2394, in load_entry_point | |
return ep.load() | |
File "/usr/lib/python3.3/site-packages/pkg_resources.py", line 2108, in load | |
entry = __import__(self.module_name, globals(),globals(), ['__name__']) |
This file contains hidden or 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
Contest Brief | |
I need a timetable generator for schools. I just need the algorithm, it mean that the conection with database is not necessary. In fact, the script can start with an static teachers, students, courses and subjects, so it's not neccessary develop the insert in these arrays. Specifications: | |
- The script MUST to be written in PHP 5.3+. | |
- Timetable need courses, teachers and subjects. The relationship between them are: | |
+ One subject can have many teachers and one teacher can have many subjects. For example: teacher A can teach English and Maths and English can be teached by teacher A and teacher B. | |
+ One course has many subjects and one subject has just one course. | |
+ One subject has many students and one student has many subjects. |
This file contains hidden or 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
#!/bin/bash | |
if [ $# -ne 2 ]; then | |
echo "mkvhost.sh http://<subdomain>.localhost <dirname/path under DocRoot>" | |
exit 1; | |
fi | |
FILE="/etc/httpd/conf/extra/vhosts/$1.conf" | |
read -r -d '' DATA <<EOF |
This file contains hidden or 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
Principiile Open Source | |
<freenode - #yet-another-project> | |
Initial Release, reviewed by <Lazar Florentin> | |
Acesta este un document ce are ca scop clarificarea conceptului de Open | |
Source si a normelor de conduita in cadrul proiectelor Open Source. | |
Revision History | |
Revision 1.0 16.09.2011 Revised by: Flavius Aspra |
This file contains hidden or 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
In carte scrie: echo nu ar fi bun pentru asta deoarece ar face | |
automat niște conversii între tipuri de date | |
Ce converteste echo? |
This file contains hidden or 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
Clarificat cerinta exercitiu Sintaxa HTML, Partea a II-a. | |
Eroare, nu mai exista wiki, corectat cumva: să o înțelegi, și cere lămuriri pe wiki-ul proiectului. |
This file contains hidden or 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
In software development, the term “decoupling” is used to identify the separation of software blocks that shouldn't depend on each other. Some building blocks are generic and shouldn't know details of others. Special design techniques allow software designers to have as few dependencies as possible. This typically reduces the risk of malfunction in one part of a system when the other part changed. It also forces the developer to focus on one thing at a time. | |
Decoupling lowers or minimizes Coupling. |
This file contains hidden or 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
14:16:17 --> | paullik (~paullik@unaffiliated/paullik) has joined #yet-another-project │ | |
14:22:07 starlays | paullik: Salut. Doua intrebari pentru tine: 1. Am observat ca in dotophp in interiorul functiilor │ | |
| folosesti functii care sunt in alt scope si nu sunt pasate in interorul functiei respective printr-o │ | |
| metoda anume, eram curios cum vei folosi acele functii pe care le apelezi in alt scope. 2. Semnatura │ | |
| functiilor din global_functions.php este cea finala? Multumesc. │ | |
14:24:03 flavius | huh? │ | |
14:24:42 flavius | toate functiile alea sunt in scope global,indiferent de fisierele unde sunt implementate │ | |
14:29:00 <-- | flavius (~Mobile@unaffiliated/flavius) has quit (Read error: Connection reset by peer) │ |
NewerOlder