Skip to content

Instantly share code, notes, and snippets.

View t3hk0d3's full-sized avatar
🏠
Working from home

Igor Yamolov t3hk0d3

🏠
Working from home
  • Booking.com
  • Amsterdam, Netherlands
View GitHub Profile
#include <stdlib.h>
#include <avr/io.h>
#include <avr/interrupt.h>
#include <util/delay.h>
#include "uart.h"
#include "adc.h"
#include "console.h"
@t3hk0d3
t3hk0d3 / gist:2880000
Created June 6, 2012 04:51
Samba 3.6.5
Allowed connection from 192.168.5.128 (192.168.5.128)
Connection allowed from ipv4:192.168.5.128:60584 to ipv4:192.168.5.4:445
init_oplocks: initializing messages.
Linux kernel oplocks enabled
Deregistering messaging pointer for type 1 - private_data=(nil)
event_add_idle: idle_evt(keepalive) 0xb8077668
event_add_idle: idle_evt(deadtime) 0xb8074410
event_add_idle: idle_evt(housekeeping) 0xb8075ef8
got smb length of 155
got message type 0x0 of len 0x9b
#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options most of which
# are not shown in this example
#
# Some options that are often worth tuning have been included as
# sockstat | grep LISTEN
root php5-fpm 1444 tcp4 127.0.0.1:9000 *:* LISTEN
root php5-fpm 1445 tcp4 127.0.0.1:9000 *:* LISTEN
root php5-fpm 1446 tcp4 127.0.0.1:9000 *:* LISTEN
root pdns_recursor 2061 tcp4 127.0.0.1:53 *:* LISTEN
postgres postgres 2118 tcp4 127.0.0.1:5432 *:* LISTEN
redis redis-server 2642 tcp4 127.0.0.1:6379 *:* LISTEN
root pdns_server 2698 tcp4 192.168.5.4:53 *:* LISTEN
root sshd 3039 tcp4 *:22 *:* LISTEN
mysql mysqld 6613 tcp4 *:3306 *:* LISTEN
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[homes]"
Processing section "[printers]"
Processing section "[print$]"
Processing section "[Games]"
Processing section "[www]"
Processing section "[Camera]"
Processing section "[Storage]"
Processing section "[tmp]"
Loaded services file OK.
item-restrictions: false
inform-players: true
whitelist: false
use-material-names: true
drop-restricted-item: false
item-use-check: false
messages:
message-format: '&f[&2Modifyworld&f]&4 %s'
default-message: Sorry, you don't have enough permissions - $permission
modifyworld.login: You are not allowed to join this server. Goodbye!
package ru.tehkode.chatmanager.placeholders;
import org.bukkit.World;
import org.bukkit.entity.Player;
import org.junit.Before;
import org.junit.Test;
import ru.tehkode.chatmanager.Message;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
Iterations: 10000
Replace() formatter (20000) total time: 1412 ms (avg: 0.1412 ms)
Placeholder time: 1215 ms (avg: 0.1215 ms)
Replace time: 197 ms (avg: 0.0197 ms)
Compiled formatter (20000) total time: 1267 ms (avg: 0.1267 ms)
Placeholder time: 1266 ms (avg: 0.1266 ms)
Replace time: 1 ms (avg: 1.0E-4 ms)
Code:
module ActiveRecord
module ClassTableInheritance
extend ActiveSupport::Concern
module ClassMethods
def class_table_inheritance
self.send(:include, ActiveRecord::ClassTableInheritance::Implementation)
end
end
<div id="flashContent" style="max-width: 420px; max-height: 380px;" >
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="100%" height="100%" id="matreshka-2" align="middle">
<param name="movie" value="matreshka-2.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />