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
<?php | |
namespace Foo; | |
try { | |
throw new \Exception(); | |
} catch (Exception $e) { | |
echo 'Exception caught!'; |
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
[ 30.172555] backlight supply power not found, using dummy regulator | |
[ 30.429345] TI-am335x-tsc TI-am335x-tsc: ti,charge-delay not specified | |
[ 30.429779] input: ti-tsc as /devices/platform/ocp/44e0d000.tscadc/TI-am335x-tsc/input/input3 | |
[ 30.617069] backlight supply power not found, using dummy regulator | |
[ 30.679643] backlight supply power not found, using dummy regulator | |
[ 34.249774] backlight supply power not found, using dummy regulator | |
[ 34.651003] backlight supply power not found, using dummy regulator | |
[ 34.889848] pinctrl-single 44e10800.pinmux: pin 44e108a0.0 already requested by 0-0070; cannot claim for panel | |
[ 34.900089] pinctrl-single 44e10800.pinmux: pin-40 (panel) status -22 | |
[ 34.906647] pinctrl-single 44e10800.pinmux: could not request pin 40 (44e108a0.0) from group pinmux_bb_lcd_lcd_pins on device pinctrl-single |
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
Hvordan lære ungdommen grammatikk: | |
SUBSTANTIV er et ord du kan sette "-jævel" bak, f.eks: Kattejævel, lærerjævel, politijævel... | |
ADJEKTIV er alle ord du kan sette "drit-" foran, f.eks: | |
Dritfin, dritstygg, dritbra... | |
VERB er et ord du kan sette "inn i helvete" bak, f.eks: | |
Klø inn i helvete, kjefte inn i helvete, drekka inn i helvete... |
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
/ \ | |
| Hi, I am clippy, your bash | | |
| assistant. Command not found: | | |
| | | |
| xxx | | |
| | | |
\_________________________________/ | |
\ | | |
\| | |
___ |
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
<html> | |
<head> | |
<script type="text/javascript" src="jquery.js"></script> | |
<script type="text/javascript"> | |
$(document).ready(function() { | |
var arr = [{test:'test'},{test2:'test2'}]; | |
var data = {projects: arr}; | |
$.ajax({ | |
url: 'test.php', |
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
public static String md5( String clearText ) { | |
MessageDigest md; | |
byte[] cipher; | |
StringBuilder hexString; | |
try { | |
md = java.security.MessageDigest.getInstance("MD5"); | |
cipher = md.digest( clearText.getBytes( "UTF-8" ) ); | |
hexString = new StringBuilder(); |
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
Result: FAIL | |
Failed 27/30 test programs. 12/12 subtests failed. | |
make: *** [test_dynamic] Error 2 | |
MMIMS/Net-Twitter-3.18001.tar.gz | |
/usr/bin/make test -- NOT OK | |
//hint// to see the cpan-testers results for installing this module, try: | |
reports MMIMS/Net-Twitter-3.18001.tar.gz | |
Warning (usually harmless): 'YAML' not installed, will not store persistent state | |
Running make install | |
make test had returned bad status, won't install without force |
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
public class LocaleUtil { | |
private static Pattern pattern = Pattern.compile("^([a-z][a-z])(_([A-Z][A-Z]))?$"); | |
/** | |
* Returns null if the string couldn't be parsed | |
*/ | |
public static Locale parseStringToLocale(String s) { | |
Matcher matcher = pattern.matcher(s); | |
if(!matcher.matches()) { |