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
require 'net/dns/mdns-sd' | |
require 'net/dns/resolv-mdns' | |
require 'net/dns/resolv-replace' | |
DNSSD = Net::DNS::MDNSSD | |
DNSSD.browse('_http._tcp') {|b| puts b.inspect} |
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
Estão faltando: | |
1-2-4-16-18-20-21-22-24-25-27-28-32-34-41-46-51-53-54-59-60-62-64-70-71-72-73-75-76-77-82-86-87-88-91-93-95-9799-101-102-105-110-111-113-114-122-125-126-130-131-132-137-138-139-140-141-143-145-146-147-152-153-155-156-157-159-160-161-164-165-167-168-170-171-172-177-179-181-182-183-184-186-191-192-196-197-202-203-204-206-207-209-210-211-212-217-218-221-223-227-228-229-230-233-236-237-238-242-245-246-250-251-253-254-258-259-260-262-266-267-268-269-270-271-281-282-284-287-289-290-292-294-296-297-300-302-303-306-308-310-311-315-319-320-321-322-328-330-334-335-336-339-340-342-346-347-352-355-358-360-361-362-363-368-373-375-377-380-383-384-386-387-392-394-396-400-401-402-406-407-408-410-411-414-416-418-419-425-426-428-430-432-437-438-439-440-444-445-448-449-450-452-457-458-459-460-464-466-469-470-473-474-475-476-477-480-481-482-483-487-488-492-493-497-499-500-501-505-506-509-511-515-517-518-525-527-528-529-530-531-532-533-534-535-537-539-540-543-544-545-549-551-555-560-563-565-567-568-570-575-576-57 |
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
grammar KanbanDSL | |
rule stage | |
(name (':' limit)? (cards / substages) ';')* | |
end | |
rule substages | |
substage* | |
end |
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
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
eval $(dircolors) | |
alias ls="ls --color=auto" | |
# don't put duplicate lines in the history. See bash(1) for more options | |
# ... or force ignoredups and ignorespace | |
HISTCONTROL=ignoredups:ignorespace | |
# append to the history file, don't overwrite it |
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
setw -g mode-keys vi | |
set-option -g mouse-select-pane on | |
setw -g mode-mouse on |
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
Hashtable env = new Hashtable(); | |
env.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); | |
env.put(Context.PROVIDER_URL, "192.168.144.17:1099"); | |
InitialContext ic = new InitialContext(env); | |
TopicConnectionFactory topicConnectionFactory = (TopicConnectionFactory) ic.lookup("ConnectionFactory"); | |
TopicConnection topicConnection = topicConnectionFactory.createTopicConnection(); | |
TopicSession topicSession = topicConnection.createTopicSession(false, Session.AUTO_ACKNOWLEDGE); |
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
✈ qmx@gondor:~/tmp$ mkdir a b | |
✈ qmx@gondor:~/tmp$ cd b | |
✈ qmx@gondor:~/tmp/b$ ln -sf ../a c | |
✈ qmx@gondor:~/tmp/b$ ls -l | |
total 8 | |
lrwxr-xr-x 1 qmx staff 4 Sep 13 17:06 c -> ../a | |
✈ qmx@gondor:~/tmp/b$ pwd | |
/Users/qmx/tmp/b | |
✈ qmx@gondor:~/tmp/b$ cd c | |
✈ qmx@gondor:~/tmp/b/c$ pwd |
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
export EDITOR="mvim -f" |
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
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> | |
<bean id="employeeService" class="com.ibm.dw.spring2.EmployeeDAO"> <property name="entityManagerFactory" ref="entityManagerFactory"/> | |
</bean> | |
<bean id="entityManagerFactory" class= "org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"> | |
<property name="dataSource" ref="dataSource"/> <property name="jpaVendorAdapter"> | |
<bean class="org.springframework.orm.jpa.vendor.TopLinkJpaVendorAdapter"> <property name="showSql" value="true"/> <property name="generateDdl" value="true"/> <property name="databasePlatform" | |
</bean> </property> | |
value="oracle.toplink.essentials.platform.database.HSQLPlatform"/> | |
<property name="loadTimeWeaver"> <bean class="org.springframework.instrument.classloading.SimpleLoadTimeWeaver"/> |