Skip to content

Instantly share code, notes, and snippets.

View jmikola's full-sized avatar
💭
🌭

Jeremy Mikola jmikola

💭
🌭
View GitHub Profile
@jmikola
jmikola / .gitconfig
Created November 12, 2010 20:35 — forked from bobthecow/.gitconfig
[alias]
st = status
stat = status
ci = commit
co = checkout
edit-unmerged = "!f() { git ls-files --unmerged | cut -f2 | sort -u ; }; $EDITOR `f`"
add-unmerged = "!f() { git ls-files --unmerged | cut -f2 | sort -u ; }; git add `f`"
lc = log ORIG_HEAD.. --stat --no-merges
@jmikola
jmikola / transcript.txt
Created November 15, 2010 17:41
ROTFLMAO...L
<jwage> lol
<jmikola|w> jwage dereko_ has a rule, if you type lol you actually have to make an audible laugh - you were on the honor system until this morning, but no longer
<jwage> i laugh quietly
<jwage> under my breathe
<dereko_> you should see me ROTFL some time
<jmikola|w> ^ i never saw that written without the MAO suffix
<dereko_> ROTFLMAO...L!
<justin> enforcement for MAO would be brutal.
<dereko_> L! = LITERALLY!
<jmikola|w> justin: as would enforcement BY MAO
@jmikola
jmikola / transcript.txt
Created November 15, 2010 19:12
Hudson CI IRC bot
<hudson> Project WWW build #9: STILL FAILING in 1 min 23 sec: http://dev-build.internal:8080/job/WWW/9/
<jmikola|w> hudson: stfu
<hudson> jmikola|w did you mean me? Unknown command 'stfu'
<hudson> Use !hudsonhelp to get help!
@jmikola
jmikola / transcript.txt
Created November 18, 2010 16:54
Log of #symfony-dev meeting 20101118 (all times GMT-5)
Nov 18 10:58:48 <lsmith> ok .. i closed the vote
Nov 18 10:59:00 <lsmith> avalanche123: sure lets go
Nov 18 10:59:08 <avalanche123> hi everyone!
Nov 18 10:59:19 <avalanche123> the first topic on the list is the console DIC
Nov 18 10:59:26 <avalanche123> or rather I think it makes sense
Nov 18 10:59:37 <avalanche123> to register all console commands as services in DIC
Nov 18 10:59:43 <avalanche123> for easy testing and mocking
Nov 18 10:59:47 <avalanche123> more here - http://avalanche123.com/post/1319532278/symfony-console-commands-and-dic
Nov 18 11:00:09 <avalanche123> the post there includes an example of rewriting the existing command
Nov 18 11:00:17 <avalanche123> in DIC compatible way
@jmikola
jmikola / transcript.txt
Created November 22, 2010 18:59
#symfony-dev IRC logs re: security component's user interface
Nov 18 15:53:04 <digitarald> there is no user class out of the box?
Nov 18 15:53:35 <digitarald> ah, thats why there is so much session handling in the sample github apps
Nov 18 16:02:38 <digitarald> oh man … why would UserProviderInterface require password and username
Nov 18 16:02:54 <digitarald> I mean AccountInterface
Nov 18 16:03:19 <digitarald> my frontend works against an API … and some stuff I expose is authenticated via OAuth …
Nov 18 16:03:24 <digitarald> design fail
Nov 18 16:04:21 <digitarald> nicely designed for doctrine … doctrine win. but since I don't have a db … me fail
Nov 18 16:22:13 <johanness> digitarald: password shouldnt be required by a user provider
Nov 18 16:23:15 <digitarald> guess I skup users and only uses sessions
Nov 18 16:23:19 <digitarald> or extend the firewall
@jmikola
jmikola / transcript.txt
Created November 25, 2010 17:02
Log of #symfony-dev meeting 20101125 (all times GMT-5)
Nov 25 10:59:28 <iampersistent> OK, I think we can get started now
Nov 25 10:59:48 <iampersistent> Just in case you don't know, the topics are picked by the number of votes
Nov 25 10:59:57 <iampersistent> and each topic gets 15 minutes max
Nov 25 11:00:26 <iampersistent> baberlei do you want to talk about the ORM Bundle assumptions?
Nov 25 11:00:29 <jmikola> oh, did we start?
Nov 25 11:00:36 <jmikola> just woke up :P
Nov 25 11:01:19 <iampersistent> well no response, here is the background http://trac.symfony-project.org/ticket/8794
Nov 25 11:01:40 <iampersistent> anyone have any input on this?
Nov 25 11:02:08 <jmikola> so this ticket was asking for a way to disable the blanket auto-loading for each bundle, yes?
Nov 25 11:02:23 <rande> I don't see the issue :/
@jmikola
jmikola / transcript.txt
Created December 2, 2010 16:50
Log of #symfony-dev meeting 20101202 (all times GMT-5)
Dec 02 11:00:45 <lsmith> ok let goo
Dec 02 11:00:59 <lsmith> first topic is Custom loader resources notation: http://bit.ly/gexEh0
Dec 02 11:01:21 <lsmith> i should note .. i kinda had hard time picking topics for this meeting
Dec 02 11:01:27 <mvrhov> lsmith, the passwords and the scheme... would you care to explain where exacty is the prblm
Dec 02 11:01:30 <lsmith> because nobody really made any explicit proposals
Dec 02 11:01:39 <ornicar> lsmith WTF is this $facebookId https://github.com/liip/DoctrineUserBundle/commit/6cd3fb820882d533384497e817beac07a4c2c6c9#L1R52
Dec 02 11:01:40 <lsmith> mvrhov: after the meeting
Dec 02 11:01:45 <ornicar> I never saw it before
Dec 02 11:01:58 <lsmith> ornicar: oops
Dec 02 11:02:01 <lsmith> anyway meeting time
<?xml version="1.0" ?>
<container xmlns="http://www.symfony-project.org/schema/dic/services"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.symfony-project.org/schema/dic/services http://www.symfony-project.org/schema/dic/services/services-1.0.xsd">
<parameters>
<parameter key="router.class">Symfony\Component\Routing\Router</parameter>
<parameter key="routing.loader.class">Symfony\Bundle\FrameworkBundle\Routing\DelegatingLoader</parameter>
<parameter key="routing.resolver.class">Symfony\Bundle\FrameworkBundle\Routing\LoaderResolver</parameter>
@jmikola
jmikola / 20101202_sf2_routing_bugs.txt
Created December 2, 2010 23:11
Symfony 2 routing bugs
_view.router.generate('check')
check:
pattern: /check.:_format
defaults: { _controller: Bundle:Module:check, _format: json }
requirements: { _format: json }
route gets generated without ".json" at the end, defaults are ignored
See UrlGenerator::doGenerate()
@jmikola
jmikola / lsb_nonstatic.php
Created December 3, 2010 18:45
Testing static::nonStaticMethod()
<?php
class A {
private function foo() {
echo "success!\n";
}
public function test() {
$this->foo();
static::foo();
}
}